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 Center および File ExchangeFilter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by