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

17 次查看(过去 30 天)
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
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
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

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by