Using Simscape to Model Lowpass RC Circuit

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

采纳的回答

Joel Van Sickel
Joel Van Sickel 2020-8-24
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 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by