![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1235012/image.png)
Sinusodial Wave for PID controller
1 view (last 30 days)
Show older comments
need help on finding a sinusodial wave for a PID controller = 410.39*[(s^2+3.24+1.136)/1]
0 Comments
Answers (1)
Sam Chak
on 18 Dec 2022
After simplifying the expression, what does
mean?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1235012/image.png)
If you want to simulate the system in transfer functions, you can try the following.
s = tf('s');
% Plant
Gp = 410.39/(s^2 + 4.376)
step(Gp, 20)
% PID controller
kp = - 0.0026657569;
ki = 0.0053315139;
kd = 0.0025512318;
Tf = 0.5;
Gc = pid(kp, ki, kd, Tf)
% Closed-loop transfer function
Gcl = minreal(feedback(Gc*Gp, 1))
step(Gcl, 20)
0 Comments
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!