- https://www.mathworks.com/help/dsp/ref/digitalfilterdesign.html
- https://www.mathworks.com/help/dsp/ug/using-digital-filter-design-block.html
How to design your own input signal characteristics in Simulink?
조회 수: 3 (최근 30일)
이전 댓글 표시
While Designing Active noise cancellation algorithm in simulink, generally white noise or pink noise is used, however if the source of noise is from cetrain plane with specific dB at defined frequency in frequency band from 50Hz to 10KHz. How to design source noise signal in simulink. Or do I need to intergate the simulink model to hardware system in real time?
댓글 수: 0
답변 (1개)
Jaynik
2024년 6월 28일
Hi Savi,
In Simulink, you can design a source noise signal using the Noise block. This block allows you to model noise as an ideal current or voltage source for blocks. You can select the noise distribution type as white, piecewise-linear, or colored.
If you want to generate Gaussian noise with a certain mean and variance, you can use the Random Source block from the DSP System Toolbox. You can adjust the block parameters such as Source type, Mean, and Variance. You can refer this documentation page for more information: https://www.mathworks.com/help/dsp/ref/randomsource.html. You can then use the Digital Filter Design block to create a band-pass filter that allows frequencies from 50Hz to 10KHz. Adjust the filter parameters to match the specific dB and frequency characteristics of your noise source. Refer to these pages to learn more:
For a more realistic simulation, you can consider integrating your Simulink model with a hardware system in real time. This is often done using Hardware-in-the-Loop (HIL) simulation. HIL simulation allows you to use Simulink Real-Time to download and execute a real-time application that you generate from your model. You can also check for simulation overruns and change run-time parameters for your application on a real-time target using Simulink Real-Time. Refer this documentation link to learn more about HIL simulation: https://www.mathworks.com/help/simscape/hardware-in-the-loop-simulation-with-simulink-real-time.html
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with DSP System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!