How to convert tf2ss for MIMO system?

22 visualizaciones (últimos 30 días)
Mashitah
Mashitah el 2 de Mayo de 2012
Editada: Arkadiy Turevskiy el 3 de Mzo. de 2015
Hello
Right now, I'm doing simulation that involve MIMO model. But the problem is I'm not sure with the result that was obtained.
Here is the command that I use to obtained TF of the model
g11=tf([134 295.2 53.5 0.5853],[1 2.462 0.986 0.1108 0.0007886]);
g12=tf([-0.03117 -0.006172 -6.789e-005],[1 2.462 0.986 0.1108 0.0007886]);
g21=tf([-9.083 -14.93 -2.62 -0.01219],[1 2.462 0.986 0.1108 0.0007886]);
g22=tf([0.06994 0.03405 0.004153 2.892e-005],[1 2.462 0.986 0.1108 0.0007886]);
s=tf('s');
Gspm=[g11 g12;g21 g22]
And I use sys=ss(Gspm) to obtain ss.
But the result look like something wrong. It's command sys=ss(Gspm) is wrong?
Anyone can help me?
Thank you in advance =)

Respuesta aceptada

Arkadiy Turevskiy
Arkadiy Turevskiy el 2 de Mayo de 2012
Editada: Arkadiy Turevskiy el 3 de Mzo. de 2015
There is no error in your code and the resulting sys is an accurate representation of your MIMO system.
bode(Gspm);
hold on;
bode(sys,'r');
If your question is really about the number of states you get, this page might help.
HTH. Arkadiy

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by