DOC PREVIEW
Stanford EE 102 - Lecture Notes

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 102 spring 2001-2002 Handout #3Lecture 2Systems• meaning & notation• common examples & block diagram representations• electronic realizations• linearity• interconnected systems• differential equations2–1Systems• asystemtransforms input signals into output signals• asystemisafunction mapping input signals into output signalswe concentrate on systems with one input and one output signal, i.e.,single-input, single-output (SISO) systemsnotation:• y = Su or y = S(u) means the system S acts on input signal u toproduce output signal y• y = Su does not (in general) mean multiplication!Systems 2–2Block diagramssystems often denoted by block diagram:uyS• lines with arrows denote signals (not wires)• boxes denote systems; arrows show inputs & outputs• special symbols for some systemsSystems 2–3Examples(with input signal u and output signal y)scaling system: y(t)=au(t)• called an amplifier if |a| > 1• called an attenuator if |a| < 1• called inverting if a<0• a is called the gain or scale factorsometimes denoted by triangle or circle in block diagram:uuyyaaSystems 2–4differentiator: y(t)=u(t)integrator: y(t)=tau(τ) dτ (a is often 0 or −∞)common notation for integrator:uyrunning average system: y(t)=1tt0u(τ) dτtime shift system: y(t)=u(t − T )• called a delay system if T>0• called a predictorsystemif T<0Systems 2–5sign detector or 1-bit limiter system:y(t)=sgn(u(t)) =1,u(t) ≥ 0−1,u(t) < 0uyconvolution system:y(t)=u(t − τ)h(τ) dτ,where h is a given function (you’ll be hearing much more about this!)Systems 2–6Examples with multiple inputs(with inputs u1, u2,andoutput y)• summing system: y(t)=u1(t)+u2(t)u1u2y• difference system: y(t)=u1(t) − u2(t)u1u2y• multiplier system: y(t)=u1(t)u2(t)u1u2y• comparator system: y(t)=1,u1(t) ≥ u2(t)−1,u1(t) <u2(t)u1u2ySystems 2–7Electronic realizationsthe systems described above can be realized as electronic circuits, e.g.,with op-ampsscaling: y(t)=(1+R2/R1)u(t)uyR1R2difference: y(t)=u1(t) − u2(t)u1u2yRRRRSystems 2–8integrator: y(t)=−1/(RC)tu(τ) dτuyRC• these are circuit schematics,notblock diagrams• signals are represented by voltages (which is common but not universal)Systems 2–9LinearityasystemF is linear if the following two properties hold:1. homogeneity: if u is any signal and a is any scalar,F (au)=aF (u)2. superposition: if u and ˜u are any two signals,F (u +˜u)=Fu+ F ˜u(watch out — just a few symbols here express a very complex meaning)in words, linearity means:• scaling before or after the system is the same• summing before or after the system is the sameSystems 2–10linearity means the following pairs of block diagrams are equivalent, i.e.,have the same output for any input(s)uuyyyyFFFFFaau1u1u2u2examples of linear systems: scaling system, differentiator, integrator,running average, time shift, convolution, summer, difference systemsexamples of nonlinear systems: sign detector, multiplier, comparatorSystems 2–11Interconnections of systemswe can interconnect systems to form new systems, e.g.,cascade (or series): y = G(Fu)=GF uuyFG(note that block diagrams and algebra are reversed)sum (or parallel): y = Fu+ GuuyFGSystems 2–12feedback: y = F (u − Gy)uyFG• the minus sign is just a tradition, and often isn’t there• we’ll study this arrangement laterin general,• block diagrams are just a symbolic way to describe a connection ofsystems• we can just as well write out the equations relating the signalsSystems 2–13Example: Two-stage amplifieruyn1n2a1a2• input signal u,output signal y• noise signals n1, n2• first stage gain a1,second stage gain a2y = a2(a1(u + n1)+n2)=(a1a2)u +(a1a2)n1+(a2)n2• input to first amplifier is u + n1• output of first amplifier is a1(u + n1)• input to second amplifier is a1(u + n1)+n2• output of second amplifier is a2(a1(u + n1)+n2)Systems 2–14Example: Integrator with feedbackuyainput to integrator is u − ay,sot(u(τ) − ay(τ)) dτ = y(t)(soon we’ll be able to give an explicit expression for y in terms of u)another (useful) method: the input to an integrator is the derivative of itsoutput, so we haveu − ay = y(of course, same as above)Systems 2–15Systems described by differential equationsmany systems are described by a linear constant coefficient ordinarydifferential equation (LCCODE):any(n)+ ···+ a2y+ a1y+ a0y = bmu(m)+ ···+ b1u+ b1u+ b0uwith given initial conditionsy(n−1)(0),y(n−2),...,y(0),y(0)(which fixes y,givenu)• n is called the order of the system• b0,...,bm,a0,...,anare the coefficients of the system• when initial conditions are all zero, LCCODE systems are linearan LCCODE gives an implicit description of a system; soon we’ll be able toexplicitly express y in terms of uSystems 2–16Examplessimple examples• scaling system (a0=1, b0= a)• integrator (a1=1, b0=1)• differentiator (a0=1, b1=1)• integrator with feedback (page ??)RC circuituyRCcurrent flowing into capacitor is Cy(t)=u(t) − y(t)Rrewrite as first-order LCCODE: RCy(t)+y(t)=u(t)Systems 2–17second-order RC circuituyv1R1R2C1C2• current into C2is C2y=v1− yR2• current into C1is C1v1=u − v1R1−v1− yR2using v1= y + R2C2yin the 2nd equation yields:C1(y + R2C2y)=uR1+yR2− 1R1+1R2(y + R2C2y)rewrite (eventually) as second-order LCCODE(R1C1R2C2)y+(R1C1+ R1C2+ R2C2)y+ y = uSystems 2–18mechanical system (mass-spring-damper)uymkb(can represent suspension system, building during earthquake, . . . )• u(t) is displacement of base; y(t) is displacement of mass• spring force is k(u − y);damping force is b(u − y)• Newton’s equation is my= b(u − y)+ k(u − y)rewrite as second-order LCCODEmy+ by+ ky = bu+ kuSystems


View Full Document

Stanford EE 102 - Lecture Notes

Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?