This preview shows pages 1–12. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: omega_n = 5; K_dc = 3; G_0 = tf([K_dc*omega_n^2], [1 2*xi*omega_n omega_n^2]); % Plot the step response of the open loop system and check the % settling time and overshoot. figure(1), step(G_0), hold on; % The desired overshoot and settling time; ts_d = 1; % Desired settling time; delta_d = 0.02; % Desired overshoot; % Find the desired damping ratio and the desired natural frequency xi_hat = sqrt((log(1/delta_d))^2/(pi^2 + (log(1/delta_d))^2)); omega_n_hat = 4/(ts_d*xi_hat); % Find the desired Kp and Kd; Kp = ((omega_n_hat^2/omega_n^2)1)/K_dc; Kd = (2*omega_n_hat*xi_hat  2*omega_n*xi)/(K_dc*omega_n^2); My_PD = tf([Kd Kp], 1); % Form the feedback system; My_Gcl = feedback(G_0, My_PD); [Num_cl, Den_cl] = tfdata(My_Gcl,'v'); My_Gcl = tf(Num_cl(3), Den_cl); figure(1), step(My_Gcl); grid;...
View
Full
Document
This document was uploaded on 03/23/2010.
 Spring '09

Click to edit the document details