Identifying Maximum Damping Factor and Frequency in Root Locus Plots
Ältere Kommentare anzeigen
How can I find the maximum damping factor and frequency of a root locus plot, in order to find the shortest settilng time. This is the sample code and plot. I need to know the max damping factor and frequency in order to calculate for minimum settling time. Or is there another way to find minimum settling time while knowing the gain (k) of the controller at which this occurs at?
s = tf('s');
G = (s+2)/((s^2 + 3*s + 8)*(s+6));
Ks = 1;
Q = Ks*G;
%k=gain;
%sys_c = feedback(Q*k,1);
%figure(2);
% Plot the root locus
figure(1);
rlocus(Q);
Antworten (1)
You can use the damp() command to find out the damping and frequency information. You can also use the looping method to find the gain 'k' that returns the minimum settling time,
.
s = tf('s');
G = (s+2)/((s^2 + 3*s + 8)*(s+6));
Ks = 1;
Q = Ks*G
damp(Q)
% Plot the root locus
figure(1)
rlocus(Q), grid on
figure(2)
k = 26:0.1:28;
for j = 1:length(k)
Gcl = feedback(k(j)*Q, 1);
S = stepinfo(Gcl);
Ts = S.SettlingTime;
data(j,:) = [k(j), Ts];
step(Gcl), grid on, hold on
end
hold off
best = sortrows(data, 2);
fprintf('%6s %12s \r\n', 'k', 'Ts');
fprintf('%6.2f %12.4f \r\n', best(1,:));
Kategorien
Mehr zu Classical Control Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


