Total No. o f Pages 3 SIXTH S EM ESTER END SEMESTER EXAMINATION Roll No, ..... . B.E. (COE) MYlY-2009 Time : 3 Hours Not e : C O E-314 CONTROL ENGINE ERING Ma x. M arks : 70 I [ a] Draw the signal flow graph and determine transfer function US1l1g Mason' s gain formul a , for th e block diagram shown in Fig . l . 6 F I § - I , ' [ b] A thermometer has a t me constant o f 15 .33 sec. It is qu ick ly tak en from temperature O °C to water ba th having temperature ' 10 0 ° C . Wha t t emperature will be indicated after 60 sec. ' 4 [c] Exp lain the effect o f feedback on sensi tivity a nd over a ll gain o f t he system. 4 2[a] D e du c e the time esponse o f a second order system s ubj e cted t o unit ramp input. 5 [ b] A servo mechani sm is represen ted by y +4.8y =144E where E = C - 0 .54 is actuating signal. Find th e value o f damping rat io, damped and undamped frequency oscilla tions. Draw the b lock diagram o f the system described by abo ve different i al equations. c . ( ) s(s + 2 ) [c ] A ne twork runction H s = ( X 2 ) s + 4 .I' + 6.1' + 18 F ind h(t) using pole zero p lot. 4 5 www.nsitonline.in
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
B .E. Btl lSemester. EC/CoE/IC-311 ; Microprocessors
Maximum Marks : 70. Time: Three Hours . Assume any missing data .
Question num ber 1 is compulsory. Attempt any four othe r questions .
<)1. ( ' I "
(a ) D itlc rcm iatc betwee n ( i) th e ins tructions " RS TO'" au rl ".1 iV lI' 0000 '" a nd (ii ) the
acri ou o f execut in g th e '"I II .r instruct ion am i 'Isse rti llg th e " I IO j .I )" s igllal.
( ~ !\ ighl ;l!k r a l l :-:lOX) xvst ciu is reset. the lirsl inst ruc t iou tha t is executed at ad d ress0000 [hcx I is " I'llsh 1\" . \Vh:rl a rc till' c" "k "t s "r Ihe S lac k .unl Ihe S lac k Poiu t.-r:a lic r this inxtrucI iou is cxccurcd? .I l1 st il'y .\"llll r an swer.
(d) l r l lh: ln tcnup t Rcspon«: l ime or a \\'s tCIll is tlclilll'd ;IS l h l . · ~ ] l t illlC between
till' uccurrcncc ol ,01 iu tcrru p: signa l andexecution or (he COITCSpoJldillg interrup t
<uh ro ut in c . then w hat is Ihe ,,"orst ra .'\t' illlc rrt 'j)l respon se l illi e Il l!" a ll :)()X)
: - S C l l l operating \\-jlll ,I 1. 1\1 111. rrvx t.rl? i \ SS Il Il I\. that :111 inl e rru pl s a rc enabled
:lIld tluu non e or tlu: inrcrrupt s is mas ked.
(c) \Vl" i tc ;\ progralll scg lllc...' lli wirl: l '.\act ly 2 iuxtruct iun s th.uwou ld \:;111 a subrout ine
at :\lId l" \' :-;: '; /\ !3 ( 'I ) {l l l ' ' \ ) (l Il ly ilt h.: co ntents or /\C ClI l l l UI; l l p !" arc les s tl1<1 11 0 1" Clltl :lI10 . 111he .' ).
( I) I.is! a ll the m.ich iuc Cyc les Iha l XliX) I1 SCS. Which is the O I ~ s machi ne cycle".
!\S:-illIllC that the sys le lll o pe rat e s without ;IIlY wa it s lales.
(,!:;) I .is t <I ll th e in xtruct ious n fXOX) 111;1 1ca n he lIse d to rc.u l and \\T i l l ' dat a to Ille llio r y
Inill'l 'e,! I/O I'0ns.
I.e (' .\ 't mark s)
l :l) I)\'" ig n the 11H.' 111o ry i l l l \ ' r !; ICl ' Illg ic to in terface I } EI' I{ () i\ '1 and.L' k l : ,·\e { \ ( 'Ill XOX5 IC I is 17 l cX whic h is a Ih l, l\y le J - : I ' I { ch ip;I( ':.: is l ( 27 12(;, wh i!c I( '3 is (J22)(1. which is { l 1 t SI{ ;\ rvl chip. T ile
i "J'I<O i\;! chips arc 11idP IK'd to cove r thl' lo-ver 11 <11 1' PI' l ite (J·lKhy tc ;ldd ress
spac c wh ilv thc l ~ is ma pped 10 the I1pper I",JI'. 1\ lso . IC I Illaps al l even
ad d resses .uul 1( '2 Illa p' all odd addresse s. i.c. add resses DOOO. 000 :' . 000 ·1.
()(IO(, c lc ma p 10 J( 'I a lld add resses 000 I. {)llll.' . OO IiS etc ma p io I( '2 .
(b ) For the qucxiiou ill p;trl (;I), design the mcn rorv in t,.. rl acc such that the
I':I'ROM is 'llTcssed wit]: 110 wa il s lalcs wh ile the S I(I\ M ,leCeSS includcx one
( ~ (2 .\ 7 l l r ~ (;1) l)r:l\v :! flowchart ,llld .vri u - ;W; S a ~ l l l d co de l'or a s uh ro utiuc to gCllc ra te: l
Pu lse Width Modlll"kd <1'\\ s igll,,1Oil the SUI) pill, The illpil l para meter
10 the xuhrou unc is th vulu- o r lhe desired dill y cvc lc ' I ) ' , The valu e 01" 1) '
lies h l ' I \ \ 'LT I l 0 tn loon I .un l , .1ITcsponds ' 0 all g hit va lue between (and
i llcl udill t!- ) () to 25:', is .....o uunuuicntcd 10 :hc sub rou tine hy the c t l l i llg r o r l 1 through the Accumuln.or. T Ilt' XOX5 sysh' lll runx a l I i\,1I 11. clock sign:lI .uu l
des irl'd I ' \ \ ' 1 lrcqucn ,' is 1"Il I I/..
(b) ' \ 11 I/() dev ice gCIH.:raks 10 I po sitive Fliises that is used to inte rrup t all XOX5
IIsing RST7,5 interrup t input pin , I)r",, ' a llowcha rt and write an lntcrrup:
Sub rou tine ( ISI{ ) wh ic': t l ~ r l the va lue o fa n output port Oil each in terrup t.
The por i address is -IOlhes ), I he rescl value at the output o lI hc pori is
OO( hcx).
(" J :\ set or "n hvles is su .rcd i:: memory sl:\I'l ing::1 address 2000(hes) , The value
"I' ' 11 ' is s tored "I :"Idress I l' lTihes), I)r:;',\' " 11<1\\'eh" r1 and wr ite XOX 5
,,';semh lv xuhrourinc I" hc k d CI IKSI ~ 10 cnlcul ntc the che cksum o ft hcxc
'110
bytes :.Jlld s tore the ' LSUIt :11 ! l lL I lHlry ;lddn.:ss I FFE{hex), 'lh« chec ksum
the l \ \Oo 's comp lement I I 1 : sum ol't hc 'II ' hytL's,
(11) I"stil11 ;ltC' the del; ly illl'l n "cd 1_ the ( K ~ ; l J r \ subrout ine 11IL' l1 tiolled ill part
( <I ) . l S ; \ Iun ction nl'tl11' ,, ',d ll' : . •r ' I1'. The ;'; ()})S system ope rates ;112 ivllL .
\.,o!o ( k.
() S. x "7 m.rrkx)
(:1) !'o:-;p !;I!1l the mod e 1 Op t" ol1 iOil or X25S w i. ' : the tim illg d iag rams lill" the
: ; I I ~ d s h k signa ls ;lS \'..,11 as l coruro! 'gll;ds lIsed hv both the inpu: roor l
I :llhk
and output port 1! ' :H,k.
<h i l.x plai» Ihe uunsm iucr :"-cl i,,, o r lhe X2 :, I IJSi\ I{T ch ip, incl uding Ihl'
n : P ~ \ 1 l contro l si t:I1:Jls. ,, \"ilb:' Il ea l block di agr;IIlL 1:.\ Jl laill the P ( l I ' P l oft!lL'mi hk and couuuand i l l ~ ~ ; o l 1 e l i l l l byres ill ;l';Y1 chn lllllus format.
(a ) I: \ piain Ihe Iun ct ion :lIh: purpose "I' ( l ( ' \ \ ' : , OC \V2 "n d 1)( ' \V-' li ll Ihe X25 'iI' !e: ch ip,
( h) \\'ri le il1i t i ; l1 i / ;l l iol l rout ine Iorth c X251) PI( ' confi gured :ls an I/( ) po rt \vi ; ll
base address I:O(he ,) . 10 sci it up lu r opcr.uion wu h the li, II"lI'ing
s:l\.Li l i r <l l iol i s: XOX 5 xvs tcm, I n r l l 1 a l : ( 1 1 ~ c non-bu ffered en vironm en t .un !
1:,,11\' : ~ l ' s l l ' d d ( :,,11 :"Idress ini crval «. he ,I hvtcs. AII IR pins except 11{2
arc ma sked. Asxum c ih.u Ihe e,,11 "dd ress Ii,,. IRO is OI'-IO(h",),
1)7, (2 , -; Illarks)
\ xln ut not ex Oil ;IllY 1\ \ , (1 tn pi t·s :
_ I " n 'll' lwd 1 0 po rt ill s lave I I I \Hk ,( i l) " 1),\·1,\ l ' l l l l l rn l k r \ , : t l l ! I I as a 1l11.:11l0l ) I . .
(h ) ~ l l l l l k o f Opl : r;llio llo
(e) ~ 7 l,c yho:ln l and I) isp l:J .' cOl l t r o l ler.
(d) X:!5·' o pe l 'a l i \l l l i l l l lHl l k : ~ www.nsitonline.in