using sisotool and controlsystemdesign for designing a controller

조회 수: 21 (최근 30일)
Amir Hosein Fardi
Amir Hosein Fardi 2019년 12월 27일
댓글: David Wilson 2019년 12월 29일
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
Amir Hosein Fardi
Amir Hosein Fardi 2019년 12월 28일
no matter what ur system is!!
but it's g=.024187*(z+.9672)/(z-1)/(z-0.9048)
David Wilson
David Wilson 2019년 12월 29일
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')

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by