This simple simulation shows the implementation of FxLMS algorithm for a single channel feed-forward active noise control system. Here, the controller generates an "anti-noise" signal to result a destructive interference at the sensor position. The objective is to minimize the noise residue.
The process comprises of two tasks: the "off-line" identification of the secondary propagation path that stays between the actuator and sensor; and the "on-line" control, in which the parameters of the controller are adjusted.
Similar to my previous code, "BEM Code for 2D Pulsating Cylinder", I use only simple programming technique and basic commands. Function "filter()" can be substitute with convolution routine, i.e., y=h(k)*s(k). A brief explanation on the system and line by line comments are provided.
Agustinus Oey (2023). Active noise control system using FxLMS algorithm (https://www.mathworks.com/matlabcentral/fileexchange/27277-active-noise-control-system-using-fxlms-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!