Input signal -->abs block-->ideal low pass filter block-->output signal - Ideal low pass filter in Simulink

조회 수: 15 (최근 30일)
Hello everyone. I have the following time-continuous system: input signal -->abs block-->ideal low pass filter block-->output signal. In simulink I make the abs block with the Fcn block. My problem is to get ideal low pass filter with a 3000Hz band and 1 amplitude (linear scale). How could I get it? Maybe I should use Lowpass filter block? In this case what are the right parameters?
Thank you for your time.

채택된 답변

Julian Rosker
Julian Rosker 2017년 7월 5일
편집: Julian Rosker 2017년 7월 6일
Simulink does not support an ideal filter block. As a substitute, a non-ideal filter with a very small transition band can be created. A filter structure of "Direct-form FIR" with a passband just below 3000Hz and a stopband of just over 3000Hz should achieve this. Below shows one example of this filter.
Frequency response for the above filter:
Alternatively, you can design your own filter using the Analog Filter Design block. This won't be an ideal filter either, but may be more desirable for your implementation. To examine the frequency response of, for instance, a custom Butterworth filter, see https://www.mathworks.com/help/signal/ref/butter.html. Other options include cheby1, cheby2, ellip, and besself.
Further information on the pre-R2015b Lowpass Filter Simulink block can be found here: https://www.mathworks.com/help/dsp/ref/lowpassfilterobsolete.html .
  댓글 수: 2
Gennaro Arguzzi
Gennaro Arguzzi 2017년 7월 5일
Hi @Julian Rosker, I tried to run the simulation, but Matlab shows the following error (below there is also the block diagram):
Julian Rosker
Julian Rosker 2017년 7월 6일
편집: Julian Rosker 2017년 7월 6일
Depending on your data, you may be able to add a zero-order hold after the signal to discretize the input. Information on that is here: https://www.mathworks.com/help/control/ug/continuous-discrete-conversion-methods.html
If your data is not well suited for that, try using the Analog Filter Design block. Most likely you would want a Bessel or Chebyshev filter.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Filter Design에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by