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

18 vues (au cours des 30 derniers jours)
Quentin MOUTY
Quentin MOUTY le 23 Sep 2015
Commenté : @Johannes le 23 Sep 2015
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.

Réponses (2)

@Johannes
@Johannes le 23 Sep 2015
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 le 23 Sep 2015
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 commentaire
@Johannes
@Johannes le 23 Sep 2015
It´s me again. Thanks for the errormessage. Now it would be great if you upload the model.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by