using sisotool and controlsystemdesign for designing a controller

21 vues (au cours des 30 derniers jours)
Amir Hosein Fardi
Amir Hosein Fardi le 27 Déc 2019
Commenté : David Wilson le 29 Déc 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 commentaires
Amir Hosein Fardi
Amir Hosein Fardi le 28 Déc 2019
no matter what ur system is!!
but it's g=.024187*(z+.9672)/(z-1)/(z-0.9048)
David Wilson
David Wilson le 29 Déc 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')

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by