{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ControlsMatlab1(erica)

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

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %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');

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

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

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

View Full Document
Ask a homework question - tutors are online