using sisotool and controlsystemdesign for designing a controller

23 visualizzazioni (ultimi 30 giorni)
hi
i'm gonna design a controller by using sisotool but as I define a trasnfer function and try to open sisotool it shows me below error:
Error using controlSystemDesigner (line 245)
The model for "G" must be single input, single output.
Error in sisotool (line 88)
h = controlSystemDesigner(varargin{:});
even when I try to obtain a step response by using 'step' command it either doesn't work and shows me the same error as written above
whooooooooooooooooooooooooo can help me ??
  4 Commenti
Amir Hosein Fardi
Amir Hosein Fardi il 28 Dic 2019
no matter what ur system is!!
but it's g=.024187*(z+.9672)/(z-1)/(z-0.9048)
David Wilson
David Wilson il 29 Dic 2019
Works for me.
Are you sure you have defined the correct transfer function?
Try the following:
z = tf('z',1) % discrete variable (with Ts = 1)
g = 0.024187*(z+.9672)/(z-1)/(z-0.9048)
zpk(g) % check TF
Now open sisotool or other controller design tool, say
C = pidtune(g,'pi')

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with Control System Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by