Build a variale discrete transfer function

14 visualizzazioni (ultimi 30 giorni)
xone_92
xone_92 il 5 Set 2018
Risposto: Stephan il 5 Set 2018
Hello there,
I'm want to build a observer control model in Simulink. My Plant in continuous time is described by the transfer function
G(s)=1/(Ts+1)
To realise the observer model I Need the inverse of the function
G(s)^-1=Ts+1
Because it's an improper function I Need to add a filter to it. I want to use a bandpass filter described by
H(s)=(s*2*D*w)/(s^2+s*2*D*w+w^2)
So the complete transfer function i have is now
H(s)G(s)^-1=(s*T+1)(s*2*D*w)/(s^2+s*2*D*w+w^2)
I want the values T, w and D to be variable. So I can't use the Transfer function block. I want to build these functions with blocks. So I Need to convert these functions into discrete time and then build it with blocks. But I can't figure it out :(
Probably you can help me

Risposte (1)

Stephan
Stephan il 5 Set 2018
Hi,
have a look to the realp function. It allows to build generalized state space models genss with tuneable parameters, which then can be used for further processing. You find some examples if you follow this topic in the documentation.
Interesting links also may be:
Best regards
Stephan

Community Treasure Hunt

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

Start Hunting!

Translated by