Problem with SimScape Controlled Voltage Source
3 ビュー (過去 30 日間)
古いコメントを表示
Carlos Jiménez Guerra
2020 年 11 月 7 日
コメント済み: Carlos Jiménez Guerra
2020 年 11 月 10 日
Hi, I'm trying to simulate a simple RC divisor with Simulink SimScape.
As stimulation, I use Controlled Voltage Source block, controlled with the Signal Generator block. My problem is with frequencies higher than 10kHz, the amplitude of the signal changes.
This are some examples:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/406105/image.png)
And the results:
![Scope 1: The simulink block signal](https://www.mathworks.com/matlabcentral/answers/uploaded_files/406110/Scope%201:%20The%20simulink%20block%20signal.jpeg)
![Scope 2: The SimScape block signal](https://www.mathworks.com/matlabcentral/answers/uploaded_files/406115/Scope%202:%20The%20SimScape%20block%20signal.jpeg)
If any more information it's required please ask me.
0 件のコメント
採用された回答
Juan Sagarduy
2020 年 11 月 8 日
Hi Carlos
Check that the maximum step in your solver is small enough to capture the sine wave (10kHz). For example 10us. If the circuit is only resistive, amplitude should be the same regardless of frequency. However, if u have a capacitance, high frequencies are naturally ”filtered”.
Hope this helps / Juan
5 件のコメント
Juan Sagarduy
2020 年 11 月 10 日
Hola Carlos
El problema era simplemente que tenias activado el filtro en el elemento Simulink-PS Converter. Si restableces la configuracion inicial, el resultado es el esperado.
Siempre que sea posible, es preferible utilizar Simscape Physical Signals como estimulo ya que el problema matematico se resuelve mejor y no se requieren derivadas o filtrado en el S-PS componente.
Buena suerte / Juan
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Electrical Sensors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!