This paper presents an algorithm structure for an active noise control (ANC) system based on an improved equation error (EE) model that employs the offline secondary path modeling method. The noise of a compressor in a gas station is taken as an example to verify the performance of the proposed ANC system. The results show that the proposed ANC system improves the noise reduction performance and convergence speed compared with other typical ANC systems. In particular, it achieves 28 dBA noise attenuation at a frequency of about 250 Hz and a mean square error (MSE) of about −20 dB.
As a typical active noise control algorithm, Filtered-x Least Mean Square (FxLMS) is widely used in the field of audio denoising. In this study, an audio denoising coprocessor based on Retrenched Injunction System Computer-V (RISC-V), a custom instruction set extension was designed and a software and hardware co-design was adopted; based on the traditional pure hardware implementation, the accelerator optimization design was carried out, and the accelerator was connected to the RISC-V core in the form of coprocessor. Meanwhile, the corresponding custom instructions were designed, the compiling environment was established, and the library function of coprocessor acceleration instructions was established by embedded inline assembly. Finally, the active noise control (ANC) system was built and tested based on Hbird E203-Core, and the test data were collected through an audio analyzer. The results showed that the audio denoising algorithm can be realized by combining a heterogeneous System on Chip (SoC) with a hardware accelerator, and the denoising effect was approximately 8 dB. The number of instructions consumed by testing custom instructions for specific operations was reduced by approximately 60%, and the operation acceleration effect was significant.