ControlsMatlab1a(erica)

# ControlsMatlab1a(erica) - s3 = Jm*Jl*Ra s2 = Jm*Bl*Ra...

This preview shows page 1. Sign up to view the full content.

%EE 3530 %Project 1 %Part 2 %Define the numerator and denominator of the transfer function num = 5*10^8; den = [1 139.4615 17884.6154 1.29385 * 10^6 32 * 10^6]; % Create the transfer function G = tf(num, den); % Declare a constant value for D D = 1.22; % Define the output equation S = 1 / (1 + D * G); % Plot the output of the system bode(S); %Part 3 %Define constants Ra = .2; Ke = .052; Kt = 10; Jm = .1; Bm = .5; Bl = .5; Kl = 130; Jl = .013; % Define the numerator and denominator of the transfer function
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s3 = Jm*Jl*Ra; s2 = Jm*Bl*Ra + Bm*Jl*Ra + Kt*Ke*Jl; s1 = Bm*Bl*Ra + Kt*Ke*Kl + Kl*Jm*Ra; s0 = Kl*Ra*Bl + Kl*Bm*Ra + Kt*Ke*Kl; % Determine the response from removing the electrical subsystem num2 = Kt * Kl; den2 = [s3, s2, s1, s0]; % Formalize the new transfer function G2 = tf(num2, den2); % Determine the response from removing non-dominant poles [z,p,k] = tf2zp(num, den); % Remove the poles using direct trunction...
View Full Document

## This note was uploaded on 02/03/2012 for the course EE 3530 taught by Professor Chen during the Fall '07 term at LSU.

Ask a homework question - tutors are online