[Beginner] Simulink - Active Low Pass Filter of 1st Order

Hello everyone, I am not really familiar with Simulink and I have some difficulties to build my model. I have to make an Active Low Pass Filter of 1st Order like this :
The problem is that I have many errors when I try to run the simulation with my actual model
I don't know with block should I use to make a good model and measure the gain (dB) depending the frequency (Hz).
Thank you for your help.

답변 (2개)

@Johannes
@Johannes 2015년 9월 23일

0 개 추천

Hello,
what kind of errors are appearing? What Version of Matlab do you use? Is it possible to upload the Model to MatlabAnswers?
Regards, John
Quentin MOUTY
Quentin MOUTY 2015년 9월 23일

0 개 추천

Hello, I use Matlab 2014, I upload the model and i have the following error :
--------------------------------------------------------------------------------
Initial conditions solve failed to converge. ...Problems possible for transient initialization, as well as stepsize control for transient solve, due to equations of one or more components: 'HW2_2_1/AC Voltage Source' Equation locations are: 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/source.ssc' (line 23) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+sources/ac_voltage.ssc' (line 29)
'HW2_2_1/Capacitor' Equation locations are: 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/capacitor.ssc' (line 45) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/branch.ssc' (line 23) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/capacitor.ssc' (line 44)
'HW2_2_1/Op-Amp' Equation locations are: 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/op_amp.ssc' (line 32) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/op_amp.ssc' (line 33) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/op_amp.ssc' (line 34)
'HW2_2_1/Resistor' Equation locations are: 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/branch.ssc' (line 23) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/resistor.ssc' (line 26)
'HW2_2_1/Resistor1' Equation locations are: 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/branch.ssc' (line 23) 'D:/Program Files/MATLAB/R2014a/toolbox/physmod/simscape/library/m/+foundation/+electrical/+elements/resistor.ssc' (line 26) Component: Simulink | Category: Block error

댓글 수: 1

It´s me again. Thanks for the errormessage. Now it would be great if you upload the model.

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2015년 9월 23일

댓글:

2015년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by