Problem with SimScape Controlled Voltage Source
2 views (last 30 days)
Show older comments
Carlos Jiménez Guerra
on 7 Nov 2020
Commented: Carlos Jiménez Guerra
on 10 Nov 2020
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:
And the results:
If any more information it's required please ask me.
0 Comments
Accepted Answer
Juan Sagarduy
on 8 Nov 2020
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 Comments
Juan Sagarduy
on 10 Nov 2020
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
More Answers (0)
See Also
Categories
Find more on Electrical Sensors 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!