How to design PI controllers within Maltab?
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Sam Chak
2022-4-20
If the result from the PID Tuner app can be admitted as the design solution, then just do so to directly obtain and .
Otherwise, you may have to design the PI controller manually, by finding the Characteristic Equation.
For example, since the PI controller is given by , can you compute the Closed-loop system for us to see?
%% Simulation
s = tf('s');
Gp = 1/(0.52*s + 1)
Gc = 131/25 + (468/25)/s
Gcl = feedback(Gp*Gc, 1);
Gcl = minreal(Gcl)
figure(1)
step(Gcl, 3) % step response for 3 seconds
figure(2)
rlocus(Gcl) % root locus to evaluate the stability
Results:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!