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:
Scope 1: The simulink block signal
Scope 2: The SimScape block signal
If any more information it's required please ask me.

 Akzeptierte Antwort

Juan Sagarduy
Juan Sagarduy am 8 Nov. 2020

1 Stimme

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 Kommentare

Hi Juan,
All my simulations were made with a fixed time step of 1ns (1e-9). This is the reason why I really don´t understand the results. All my test are made only with resistors.
Thanks for your reply.
Can you share the model Carlos? I can look into it. Br Juan
Yes, of course, there is.
Thank you very much for your help Juan.
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
Hola Juan,
Muchas gracias por tu respuesta. Me alegro de poder hablar en español, ya que hace todo un poco más fácil. Gracias, era eso. Estoy familiarizándome con el entorno y hay cosas que se hacen algo cuesta arriba.
Un saludo y una vez más gracias.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by