sHW5 - “m; fl/ ME 9M szi :;;©2U~w; U :3 . o v . {/2} w...

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

View Full Document Right Arrow Icon
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: “m; fl/ ME 9M szi :;;©2U~w; U :3 . o v . {/2} w ‘ a" K \ i {a ,. , w W7 MS >< C 53) w w (a) w a) x) H" 1/ My N In om‘ew “ht; E“?st (Tag/“f, 355? “To be {any {1/1/3qu “if/J: :x. m WAT: \ k . , (4 p (:H“ (/ “‘ W27?“ QMW SCn(/%Ct-T)) :: ~~ Sm ‘ W " s h' « . ,‘ \g m w+ ng Sim/>4 \ r \ ' E ’ M: r“ ‘ mm? L136; 896 (so wmafln I m VAC/‘C‘gV'%Cki/“ W “W? ‘53 ' i (‘1 V 41/ 4 “ML N C I RDJ‘S“ Cam'“{“{0“""\0>/ ELLE): \ ~ ON (*5) Lb} Ec is) » * l . m W3 : 31,. E {a} r I’ .J {<73 1; '7 'I i ,:) MA 3 wgflé; ymx/x/K CA W: Error Unit—step response 1.8 1.6 time “.1. I I Original ~~~~~ ~~ Tachometer—feedback Error vs time for unit—ramp response 10 0.35 0.3 0.25 0.2 0.15 0.1 0.05 I I ' —— Original — — — — - Tachometer-feedback MN, P OU‘AYV» USES}; g g Z / 2 ’ / >/\ 33 } l 1 OW. 3‘sz 1% M Rr gi-c»«\a\ Wy‘? O\> c), b> D S1 3 K _____ M. WWW ‘ q I M W w a 0 § N w. < K < q S?) b 0 $3 1“ : K [wwfiwmwm .fi.,____._\\V 33 l BHK &:_7(3‘;-%1<") ------ v-";2..a<f) : 3+8 W S (Ss‘wLBBfK 3 “SW F‘V’Tf 653: \MA am 7"" 1mm it: NWMW ......................................................................... w ...... , ............................................................................................................................................................................ _,\ $9th w xiii“??? am 22%;?” w: 019 cm? A: M3 B / m r K?“ “3 9"“‘3 K x . W.MMW.«_W«- m» " _ z / Vii-fin IMAM; Q ~P2mflq Unit—step response 0.4 I I I r I I —I 0.2L ’ 0 _ .— -0.2 ~ 4‘ I :5 o. ‘5 O -0.4 * ' —O.6 ~ " -O.8— ‘ _1 l I _&——I _._.__l__—|__.___—— 0 4 5 6 7 8 9 10 60 @ 9/26/11 1:16 PM \\roger.ecn.£2urdue...\HW5 B 5 7 Problem2.m 1 of 1 %% 3—5—7 c1c;c1ear a11;close all; %% Unit step response num = 10; denfla = [1 1 10]; den_b = [1 sqrt(10) 10]; t = [0:O.1:10]; y a = step(num,denfia,t);y_b = step(num,den_b,t); %% Errors with unitwramp iDpUt num_e_a = [1 1]; den_e_a = [1 1 10]; num‘e_b = [1 sqrt(10)]; den#eflb = [1 sqrt(10) 10]; y_eua = step(num_eaa,den_e_a,t); y_e_b = step(num_e’b,den_e-b,t); %% Problem 2 n = [2 —2]; d = [1 3 2]; y = step(n,d,t); %% Plots figure(1) subplot(211) plot(t,y_a,t,ydb,'r——') title('Unit—step response');xlabe1('time'):ylabe1('Output'); 1egend('Origina1','Tachometer—feedback'); subplot(212) p10t(t,y_e_a,t,y_e_b,'r——') title('3rror vs time for unit-ramp response');X1abel('time');ylabe1('Error'); 1egend('0riginal','Tachometer—feedback'); figure(2) plot(t,y) tit1e('Unit—step response');xlabe1('time');ylabe1('0utput'); ...
View Full Document

This document was uploaded on 02/21/2012.

Page1 / 8

sHW5 - “m; fl/ ME 9M szi :;;©2U~w; U :3 . o v . {/2} w...

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

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