Modeling an Active Noise Cancellation System in OpenModelica and MATLAB

Open Access
- Author:
- Bhat, Nikhil
- Area of Honors:
- Electrical Engineering
- Degree:
- Bachelor of Science
- Document Type:
- Thesis
- Thesis Supervisors:
- Stephen C. Thompson, Thesis Supervisor
Dr. Julio V. Urbina, Thesis Honors Advisor - Keywords:
- OpenModelica
MATLAB
Acoustics
Active Noise Cancellation
Electrical Engineering
Speakers
Microphones - Abstract:
- Noise cancellation is a desirable effect that is achieved by adding a phase reversed copy of undesired noise to a signal that contains this noise, which cancels it through destructive interference. Noise cancellation has proven to be popular in both consumer headphones as well as industrial and office work spaces. Both styles of noise cancellation operate in a similar way: a microphone senses the noise source from a very small distance away and a speaker at some distance away replays the sound with magnitude and phase adjusted so that the sum of these sound pressure levels cancels or attenuates the overall noise. This study aims to develop a model for this noise cancellation effect in OpenModelica, an open-source modeling software for electrical and mechanical components based on the Modelica language. This model will provide a more granular look at the dynamics of this phenomenon in two dimensions and will also be more accessible to the public. The in-depth look will be provided by the expanded nature of the speaker and microphone models, which display individual circuit components with easily customizable parameters in lieu of the equivalent circuits which dominate in other models. The model will be more accessible because it is being created in a free, open-source software (OpenModelica) as opposed to a more popular Modelica environment, such as Dymola, which can cost thousands of dollars. The result of this study will provide speaker and microphone designers with the tools they need to understand current methodologies and subsequently spur innovation.