using sisotool and controlsystemdesign for designing a controller

19 Ansichten (letzte 30 Tage)
Amir Hosein Fardi
Amir Hosein Fardi am 27 Dez. 2019
Kommentiert: David Wilson am 29 Dez. 2019
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 Kommentare
Amir Hosein Fardi
Amir Hosein Fardi am 28 Dez. 2019
no matter what ur system is!!
but it's g=.024187*(z+.9672)/(z-1)/(z-0.9048)
David Wilson
David Wilson am 29 Dez. 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')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by