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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206155/image.png)
Scope Output:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206156/image.png)
Simulink file also attached.
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!