Ziegler Nichols PID Method
60 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have a problem ,this is my G(s)=59000/(s^2+59000)
I want to apply the tangent method of Ziegler-Nichols, but my step is a sinusoid undumped. How I can approximate my G(s) to apply this method? Thanks very much.
5 commentaires
Réponses (1)
Sam Chak
le 18 Mai 2024
I revisit your problem. I'm unsure if you are looking for something like this:
%% original system (marginally stable)
a = 59000;
G = tf(a, [1, 0, a])
%% stabilizer
Kd = 2*sqrt(a)/a;
Gc = pid(0, 0, Kd);
%% closed-loop system (exponentially-stabilized dynamic process)
Gcl = feedback(G, Gc)
tfin= 0.04;
step(Gcl, tfin), grid on
hold on
t = 0:1e-5:tfin;
sol = @(t) exp(-10*sqrt(590)*t).*(exp(10*sqrt(590)*t) - 10*sqrt(590)*t - 1);
m = 89.3576; % max slope
tm = 0.00411693; % time where max slope is
c = - (m*tm - sol(tm)); % offset
y = m*t + c; % line equation
td = 0.00116027; % time delay
plot(t, y)
xline(td, '-.', sprintf('Dead Time: %.5f sec', td), 'color', '#7F7F7F')
ylim([-0.2, 1.2])
hold off
0 commentaires
Voir également
Catégories
En savoir plus sur PID Controller Tuning dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!