Simulink transfer function with sinusoidal parameters

10 views (last 30 days)
I need to design a transfer function in the following form: 1 / (s^2 + K*s) where K is scalar and varies sinusoidal; the denominator should look like [1 K 0].
What would be the way to implement this behavior ?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 12 Nov 2012
Edited: Azzi Abdelmalek on 12 Nov 2012
The corresponding equation is
  • x(t) is the input of your system
  • y(t) is its output
you have just to replace k by sin(t) using a clock and a sine wave block. and use derivative and integrator block instead of transfer function block to realize your model
or you can do this
from your transfer function
P^2 Y(p) + K p Y(p)+ 1=X(p)
Y(p)+K Y(p)/p+Y(p)/p^2=X(p)/p^2
this can be represented by
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 12 Nov 2012
realize 1/p with continuous transfer function (not integrator)

Sign in to comment.

More Answers (1)

River Rock
River Rock on 12 Nov 2012
Thanks for your great response
I had to adapt the diagram for the denominator [1 K 0], as you use [1 K 1] in your example.
Why did you use the gain blocks?
Azzi Abdelmalek
Azzi Abdelmalek on 12 Nov 2012
If you use D=[1 K], remove the first sum and 1/p blocks

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!