Using Simscape to Model Lowpass RC Circuit
8 views (last 30 days)
Show older comments
Lewis Wilson
on 27 Feb 2019
Answered: Joel Van Sickel
on 24 Aug 2020
I'm currently modelling a RC cirucit using simscape. Vs1 correctly displays on the scope, however Vs2 incorrectly appears on the scope. At 100Hz both these waves should have the same amplitude and phase, since this is well below the cutoff frequency of 30000Hz. The voltage is set to 25V and 100Hz, C=520pF and R=10kOhms.
Simscape Circuit used:
Scope Output:
Simulink file also attached.
0 Comments
Accepted Answer
Joel Van Sickel
on 24 Aug 2020
Hello Lewis,
the model you shared it not set to 100 hz or 520 pf. It was at 10000 hz and 520 uf. when I changed them, it worked. You could also change your solver to ode23T, use a smaller max step size, and change your scope to have unlimited data points.
Regards,
Joel
0 Comments
More Answers (0)
See Also
Categories
Find more on Simscape Electrical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!