Matlab control theory basic understanding
8 次查看(过去 30 天)
显示 更早的评论
Hello everyone.
Iam just starting with Control theory and Matlab and have some problems understanding the concept of open and closed loop systems. As far as I have understood, open loop uses no feedback while closed loop does.
Now if I in example have a first order transfer function given as:
G = 10/(s+1)
From the transfer function I can see that my DC Gain is 10, meaning my final value will be 10 if my input is 1.
I assume that the DC Gain of my plant is constant and cannot be changed (like in the real World?).
If I now use feedback Control loop with a p controller:
Kp = 1;
G = 10/(s+1);
H = feeback(Kp*G,1);
step(H)
Now my step response is approximately 1 but not exactly because of the steady state error.
Now my question is, if I want my step response to be 10, like for the open loop system, how do I implement a reference? Is it just
step(10*H)
Thanks in advance,
regards,
Mike
0 个评论
采纳的回答
Birdman
2017-11-14
step(10*H)
means adding a gain to the system by multiplying the denominator with 10.
If you want your step response to be 10, then use the following code:
response=(10/(10/11))*step(H);
When you type
response(end)
the result will be almost 10.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Control System Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!