21
System Proper,es 8/29/08 Comp 665 – System Proper5es 1

System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Embed Size (px)

Citation preview

Page 1: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

SystemProper,es

8/29/08 Comp665–SystemProper5es 1

Page 2: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ElectronicSystem

RecallthisfromPhysics?

8/29/08 Comp665–SystemProper5es

v(t) i

s(t)

R L

C

vR = R i

vL = L didt

i = C ds(t)dt

v (t) = Ri + L didt

+ s(t)

v (t) = RC ds(t)dt

+ LC d 2s(t)dt 2 + s(t)

ComponentProper5es

Page 3: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

MechanicalSystem

•  Lawsofmo5on

•  Observa5on:Differentphysicalsystemsleadtosimilarmathema5calmodels.

8/29/08 Comp665–SystemProper5es 3

M d 2y (t)dt 2 = x(t) −K y(t) −D dy (t)

dt

x(t) = M d 2y (t)dt 2 + K y(t) + D dy (t)

dt

Page 4: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ThermalSystem

•  CoolingFininsteadystate

•  Observa5ons–  Space,ratherthan5me,istheindependentvariable–  Somesystemsaremorenaturallyspecifiedintermsof“boundarycondi5ons”than“ini5alcondi5ons”

8/29/08 Comp665–SystemProper5es 4

y(t)

y(t)

y(t)

x(t)

y0

t t0

t = distance along fin x(t) = air temperature along fin’s length y(t) = fin temperature along fin’s length

d 2y (t)dt 2 = k[y(t) − x(t)]

t1

y(t0) = y0

dydt

(t1) = 0

Page 5: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

FinancialSystem

•  Fluctua5onsinthepriceofzero‐couponbondst = 0     Time of purchase at price y0  t = T     Time of maturity at value yT  y(t) =   Values of bond at ;me t  x(t) = Influence of external factors on fluctua;ons in bond price 

•  Observa5onsEven“5me”systemscanhaveboundarycondi5ons

8/29/08 Comp665–SystemProper5es 5

d 2y (t)

dt 2= f y(t), dy (t)

dt,x1(t),x2(t),...,xN (t),y( )

y(0) = y0 y(T ) = yT

Page 6: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

DiscreteSystem

•  Considerthesystem y[i]=x[i+1]–2x[i]+x[i‐1]

• Whathappensifitisappliedtothesequence? x=[0,0,0,0,10,10,10,0,0,0,0]

8/29/08 Comp665–SystemProper5es 6

10 10

Page 7: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

SameSystemAppliedtoanImage

8/29/08 Comp665–SystemProper5es 7

Generalizing a 1-D result to 2-D. What differences do you see?

Page 8: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ANaturalImage

8/29/08 Comp665–Introduc5on&Signals 8

Page 9: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Another

8/29/08 Comp665–Introduc5on&Signals 9

Page 10: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Observa,ons

•  Arichclassofsystems(butbynomeansallsystemsofinteresttous)aredescribedbydifferen5alanddifferenceequa5ons.

•  Suchequa5ons,alone,donotcompletelydescribetheinput‐outputbehaviorofasystem:weneedauxiliaryinforma5on(ini5alcondi5ons,boundarycondi5ons).

•  Insomecasesthesystemofinteresthas5measthenaturalindependentvariableandiscausal.However,thatisnotalwaysthecase.

•  Seeminglydifferentphysicalsystemsmayhaveverysimilarmathema5caldescrip5ons.

8/29/08 Comp665–Introduc5on&Signals 10

Page 11: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Causality

•  Asystemiscausaliftheoutputdoesnotan5cipatefuturevaluesoftheinput,i.e.,iftheoutputatany5medependsonlyonvaluesoftheinputuptothat5me.

•  All5medependentphysicalsystemsarecausal,because5meonlymovesforward.Effectoccursadercause.

•  Causalitydoesnotapplytospa5alsignals.(Wecanmovebothledandright,upanddown.)

•  Causalitydoesnotapplytorecordedsignals,e.g.tapedsportsgamesvs.livebroadcast.

8/29/08 Comp665–Introduc5on&Signals 11

Page 12: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ShiBInvariance

•  Mathema5cally,Asystemthatmapsx →  y is shi@ invariant (SI) if for any input x[n] and any domain shi@ k, 

       if S(x[n]) → y[n] then S(x[n+k]) → y[n+k] 

•  Informally, a system is shi@‐invariant if its behavior does not depend on its absolute posi;on within its domain 

8/29/08 Comp665–Introduc5on&Signals 12

Page 13: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Graphically

•  If

•  then

8/29/08 Comp665–Introduc5on&Signals 13Baraniuk, R. Shift Invariant Systems, Connexions Web site. http://cnx.org/content/m12042/1.1/

Page 14: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ShiBInvariantorNot?

•  xisaninputsignalandyisanoutputsignal

•  y(t)=x(t+1)+x(t‐1)•  y(t)=x(t)+x2(t)•  y(t)=x(t)+x(t2)•  y[i]=Ax[i+1]+Bx[i]+Cx[i‐1]•  y[i]=ix[i]•  y[i]=sin(x[i])–sin(x[i+1])•  y[i]=x[i]sin(i)

8/29/08 Comp665–Introduc5on&Signals 14

Page 15: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ADeduc,on

•  IftheinputtoanSIsystemisperiodic  (itrepeats),thentheoutputisperiodic

•  Why?Proof:– x(t)=x(t+T) Defini5onofperiodicty– y(t)=f(x(t))y(t+T)=f(x(t+T)) Defini5onofSI

– Sincex(t)=x(t+T),theny(t)=y(t+T)

8/29/08 Comp665–Introduc5on&Signals 15

Page 16: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Linearity

•  Wewillspendsome5meexploringaspecialclassofsystemscalledlinear

•  Notallsystemsarelinear,butmanyare

•  Mostnon‐linearsystemscanbetreated“locallylinear”withininfinitesimalregionsoftheirdomain

•  Wehavepowerfultoolsforsimplifyingandanalyzinglinearsystems

8/29/08 Comp665–Introduc5on&Signals 16

Page 17: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

Defini,onofLinearity

•  Asystemislinearifsuperposi;on holds•  Forarbitraryscalarsaandb,superposi5onstates:If S(x1[n])  y1[n]  and S(x2[n])  y2[n] then S(a x1[n] + b x2[n])  a y1[n] + b y2[n] 

•  Asystemcanbeshidinvariantbutnotlinear,likewiseasystemcanbelinearbutnotSI

8/29/08 Comp665–Introduc5on&Signals 17

Page 18: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

SummingLotsofSignals

•  Superposi5onadnausea

•  Inlinearsystems,a0inputalwaysyieldsa0output

8/29/08 Comp665–Introduc5on&Signals 18

S ai xi [n]i =0

N

= ai yi [n]

i =0

N

S 0( ) ≡S 0xi [n]i =0

N

= 0yi [n] = 0

i =0

N

Page 19: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

BeautyofLinearity

8/29/08 Comp665–Introduc5on&Signals 19

If we know the response of a system to some particular input, and we are able to decompose a new input into a linear combination of our “known” input, then We can exactly predict the output.

Page 20: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

TheUl,mateCanonicalInput

•  Theimpulse(con5nuous)orunit(discrete)input

•  Ifweknewtheoutputresponseofalinearsystemtooneofthese,thenwecouldfinditsresponsetoanyinput

8/29/08 Comp665–Introduc5on&Signals 20

Unit impulse, infinite height with unit area

Ex. Width = a, height = 1/a, as a ∞ (Dirac delta)

Unit input, height = 1

(Kronecker delta)

t=0 n=0

Page 21: System Properes - The University of North Carolina at … • A rich class of systems (but by no means all systems of interest to us) are described by differenal and difference equaons

ImpulsesasaSystemBasis

•  Wecanconsideranyinputasalinearcombina5onofshidedandscaledimpulses

•  Forshi@‐invariant linear systems thiswillallowustoexactlypredicttheoutputbymerelysummingtogetheriden5callyscaledversionsoftheknownimpulseresponse

•  Impulsesareourfirst,andthemostnaturalbasisforexploringsignals,butnottheonlyone!

8/29/08 Comp665–Introduc5on&Signals 21