ControlsMatlab1(erica)

ControlsMatlab1(erica) - % %Original Transfer Function %...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Original Transfer Function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% tnum = [1300]; tden = [2.6e-6 3.626e-4 0.0465 3.364 83.2]; t = tf(tnum, tden); bodemag(t, {10, 100}), grid, title('Original Transfer Function'); pause %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Analyzing Sensitivity of the Transfer Function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Controller Gain (Proportional Controller) D = 1.3; % DC Motor Transfer Function tnum = [5e8] tden = [1 139.4615 17884.6154 1.29385e6 32e6]; t = tf(tnum, tden); % Sensitivity Function den = D * t + 1; sens = 1 / den; % Frequency Response bode(sens, {10, 100}); title ('Sensitivity of the Closed-Loop System'); pause %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Simplified Model of DC Motor System %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Original System Step Response step(t), grid, xlabel ('Time(sec)'), ylabel('Amplitude'), title('Original System Step Response');
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

ControlsMatlab1(erica) - % %Original Transfer Function %...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online