Sinusodial Wave for PID controller

32 ビュー (過去 30 日間)
Juan Barragan
Juan Barragan 2022 年 12 月 18 日
回答済み: Sam Chak 2022 年 12 月 18 日
need help on finding a sinusodial wave for a PID controller = 410.39*[(s^2+3.24+1.136)/1]

回答 (1 件)

Sam Chak
Sam Chak 2022 年 12 月 18 日
After simplifying the expression, what does mean?
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)
Gp = 410.4 ----------- s^2 + 4.376 Continuous-time transfer function.
step(Gp, 20)
% PID controller
kp = - 0.0026657569;
ki = 0.0053315139;
kd = 0.0025512318;
Tf = 0.5;
Gc = pid(kp, ki, kd, Tf)
Gc = 1 s Kp + Ki * --- + Kd * -------- s Tf*s+1 with Kp = -0.00267, Ki = 0.00533, Kd = 0.00255, Tf = 0.5 Continuous-time PIDF controller in parallel form.
% Closed-loop transfer function
Gcl = minreal(feedback(Gc*Gp, 1))
Gcl = s^2 + 4.104e-08 s + 4.376 ----------------------------------------- s^4 + 2 s^3 + 5.376 s^2 + 8.752 s + 4.376 Continuous-time transfer function.
step(Gcl, 20)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by