using sisotool and controlsystemdesign for designing a controller
21 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!