121
CT Systems: Impulse response Convolution integral Block diagram of systems Properties using the impulse response Systems characterized by Differential Equations oDT Systems Impulse response Convolution sum Block diagram of systems Properties using the impulse response Systems characterized by Difference Equations Summary ELEC264: Signals And Systems Topic 2: LTI Systems and Convolution Aishy Amer Concordia University Electrical and Computer Engineering Figures and examples in these course slides are taken from the following sources: A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd Edition, Prentice-Hall, 1997 M.J. Roberts, Signals and Systems, McGraw Hill, 2004 J. McClellan, R. Schafer, M. Yoder, Signal Processing First, Prentice Hall, 2003

Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

Embed Size (px)

Citation preview

Page 1: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

CT Systems:

Impulse response

Convolution integral

Block diagram of systems

Properties using the impulse response

Systems characterized by Differential Equations

oDT Systems

Impulse response

Convolution sum

Block diagram of systems

Properties using the impulse response

Systems characterized by Difference Equations

Summary

ELEC264: Signals And Systems

Topic 2: LTI Systems and Convolution

Aishy Amer

Concordia University

Electrical and Computer Engineering

Figures and examples in these course slides are taken from the following sources:

•A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd Edition, Prentice-Hall, 1997

•M.J. Roberts, Signals and Systems, McGraw Hill, 2004

•J. McClellan, R. Schafer, M. Yoder, Signal Processing First, Prentice Hall, 2003

Page 2: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

2

Properties of the Unit Impulse

The area under the unit impulse

Sampling (Sifting) Property:

Scaling Property

Equivalence Property

Relation to u(t):

1)( dtt

)/()( ;||

1 abtbata

Page 3: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

3

Impulse Response of Linear

Time-Invariant (LTI) Systems

Linearity

Time Invariance

)()()()(

)()(then

)()( if

00 ttyttxtytx

tyaty

txatx

k

kk

k

kk

Page 4: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

4

Impulse Response of LTI

systems The response of a Linear Time-Invariant (LTI) system

to the unit impulse δ(t) is called "The impulse

response" h(t)

h(t) = LTI-SYS { δ(t) }

The impulse response h(t) completely characterizes an

LTI system

y(t) = FUNCTION { x(t),h(t) }

CONVOLUTION

h(t)

Page 5: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

5

Impulse response of Basic

Systems

???????)(;)]([)(:LTI)(not Squarer

)()( ;

)()( :ator(LTI)Differenti

)()( ;)(y(t) :(LTI) Integrator

)()(x(y(t) :(shifter)delay timeIdeal

)()( x(t);y(t) :systemIdentity

2

'

0 );0

thtxty

tdt

tdth

dt

tdxty

tuthdx

ttthtt

tth

t

Page 6: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

6

Basic Systems: Differentiators &

Integrators

Differentiators are:

Difficult to implement

Sensitive to noise and errors

Alternatives : Integrators

Integrators : amplifiersfinite) (to )(2)()()(

)(2)()(

)(2)()()()(

0)( assume

)(2)()(

0

t

t

tt

dyxtyty

dyxty

dyxtytydtdt

tdy

y

tytxdt

tdy

0;)()(

txt

txttx

dtd

Page 7: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

7

Relationship: CT impulse response and

step response

In any CT LTI system let an excitation, x(t), produce the response, y(t). Then the excitation

will produce the response

It follows then that the unit impulse response is the first derivative of the unit step response and, conversely that the unit step response is the integral of the unit impulse response

))(( txdt

d

))(( tydt

d

Page 8: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

8

Page 9: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

9

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 10: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

10

The Convolution Integral

1) An arbitrary input x(t) can be expressed as a weighted

sum of time-shifted impulses

2) An LTI is described by an impulse response h(t)

Page 11: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

11

The Convolution Integral

The output y(t) must be a weighted sum of time-shifted

impulse responses

Page 12: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

12

The Convolution Integral:

Proof

dtSxtxSty

S

dtxStxSty

tSthdtxtx

)}({)()}({)(

mswitch thecan We

opeartorlinear a also is

operator linear a is

} )()( {} )( { )(

} )( {)( )()()(

Assuming S is LTI

Page 13: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

13

The Convolution Integral:

Proof

)()}({

invariant- timeis

thtS

S

tth parameter with ofFunction :)(

over on Intergrati:Important

)(*)()()()( thtxdthxty

} )( {)( tSth

CONVOLUTION

Page 14: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

14

The Convolution Integral:

Interpretation

Interpretation:

replacing each signal amplitude at time t by a

weighted sum of its neighbors

dhtxtxthty

dthxthtxty

)()()(*)()(

)()()(*)()(

Page 15: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

15

Convolution Integral:

Graphical Illustration

Let the excitation, x(t), and the impulse

response, h(t), be

Page 16: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

16

Convolution Integral:

Graphical Illustration

The convolution integral:

In the convolution integral there is a factor

We visualize this quantity

dthxty )()()(

Page 17: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

17

Convolution Integral:

Graphical Illustration

The functional transformation in going

from to is

Page 18: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

18

Convolution Integral:

Graphical Illustration

The convolution value is the area under the

product of x(t) and

This area depends on what t is

First, as an example, let t = 5

For this choice of t the area under the product is

zero

So 0y(5) ),()()(with thtxty

Page 19: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

19

Convolution Integral:

Graphical Illustration

Now let t=0

Therefore the area under the product is 2, i.e., y(0) = 2

Page 20: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

20

Convolution Integral:

Graphical Illustration

The process of convolving to find y(t) is

illustrated below

Page 21: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

21

Convolution Integral: Graphical

Illustration

Interpretation: replacing each signal amplitude

at time t by a weighted sum of its neighbors

Smoothing of sharp transitions of x(t)

Filtering out some content from x(t)

Removing some content

...

Page 22: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

22

Steps for graphical convolution

1. Sketch the waveform for input x(τ) by changing the independent variable

from t to τ and keep the waveform for x(τ) fixed during convolution.

2. Sketch the waveform for the impulse response h(τ) by changing the

independent variable t to τ.

3. Reflect h(τ) about the vertical axis to obtain the time-inverted impulse

response h(-τ).

4. Shift the time-inverted impulse function h(-τ) by a selected value of "t".

The resulting function represents h(t-τ).

5. Multiply function x(τ) by h(t- τ) and plot the product function x(τ)h(t-τ).

6. Calculate the total area under the product function x(τ)h(t-τ) by integrating

it over τ =[-∞,∞].

7. Repeat steps 4-6 for different values of t to obtain y(t) for all times, -

∞≤t≤∞.

)(*)()()()( thtxdthxty

Page 23: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

23

Steps for graphical convolution

)(*)()()()( thtxdthxty

Page 24: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

24

Steps for graphical convolution

01&0:case3

01&0:case2

01&0:1 case

)()()(

tt

tt

tt

dthxty

Page 25: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

25

Convolution: Example 1 infinite-duration signals

Page 26: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

26

Convolution: example 2 finite & infinite-duration signals

Page 27: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

27

Convolution: example 3 with finite-duration signals

Page 28: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

28

Convolution: example 4

Exam question

only. itiesdiscontinu threehas )(

if ? (b)

?)( (a)

10)(

10

:0

:1)(

t

ty

ty

txth

else

ttx

Page 29: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

29

Solution: Step 1

(a) Write down x(t) and h(t) functionally and graphically

Note that h(t) is a scaled version of x(t)

dthxthtxty

else

t

else

tt

xth

else

ttx

)()()()()(

0

:0

:110

:0

:1)(

10

:0

:1)(

Page 30: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

30

Solution: Step 2

Sketch h(-τ) and h(t-τ)

h(-τ)

Rreflection around y-axis

Chage t to τ

h(t-τ) = h(-τ+t)

Add t to all axis points

Move the graph away to the left

Page 31: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

31

Solution: Step 3

Slide h(t-τ) to the right and collect the overlap

As you go, find

Limits for y(t)

Limits for integration

Page 32: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

32

Solution: Step 3a

tdd

tORtandtfor

ty

t

t

0

0-

][1)-)h(tx(

graph) from (findn integratiofor Limits

000

)(for Limits

Page 33: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

33

Solution: Step 3b

t

t

t

dd

tORtandtfor

ty

][1)-)h(tx(

graph) from (findn integratiofor Limits

110

)(for Limits

-t-

Page 34: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

34

Solution: Step 3c

tdd

tORtandtfor

ty

t 1][1)-)h(tx(

graph) from (findn integratiofor Limits

1111

)(for Limits

1

1

-t

1

-t

Page 35: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

35

Solution: Step 4

Put the limits together to make y(t)

else

t

t

t

t

t

ty11

1

0

:

:

:

:

0

1)(

Page 36: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

36

Solution: Step 5

(b) find the first derivative of y with respect to t both

functionally and graphically

This function has 4 discontinuities

Only when = 1, it has 3 discontinuities

• (two discontinuities become one)

Note that we know 0< 1

else

t

t

t

t

ty

11

1

0

:

:

:

:

0

1

0

1

)(

Page 37: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

37

Outline

CT Systems

Impulse response

Convolution integral

Block Diagram of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum (DT)

DT properties using the impulse response

DT Systems characterized by Difference Equations

Summary

Page 38: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

38

System Block Diagrams

LTI Systems can be described using the impulse

response h(t) which completely characterizes an LTI system

LTI systems can also be described

mathematically by differential equations

)()()()( 0012 txbtyatyatya

h(t)

)(*)()()()( thtxdthxty

Page 39: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

39

Block Diagram ElementsBlock diagram: A very useful method for describing and analyzing systems is the block diagram

Page 40: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

40

System Block Diagrams

A block diagram can be drawn directly from the differential equation which describes the system

For example, if the system is described by

It can also be described by this block diagram …

)()()()( 0012 txbtyatyatya

Page 41: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

41

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum (DT)

DT properties using the impulse response

DT Systems characterized by Difference Equations

Summary

Page 42: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

42

System properties via the

convolution properties Convolution properties help to solve convolution of

complex signals in term of operations on another

signal for which the convolution is known

Example:

)(*)()(*)(

)(*)]()([)(*)()(y

:property edistibutiv theUsing

)()(

)()()()()(

21

21

212

thtxthtx

thtxtxthtxt

tuth

txtxtuetuetx tt

Page 43: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

43

System properties via the

convolution properties

)(*)()(*)(

)(*)]()([)(y

:Example

2

2

thtuethtue

thtuetuet

tt

tt

Page 44: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

44

System properties via the

convolution properties

systems two thecascade

i.e., ity,associativ theusecannot we

LTInot )(

)()( );(2)(:Example

2

221

ty

txtytxty

Page 45: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

45

System properties via the convolution

properties: System Interconnections

Example:

o Since the integrator and differentiator are both LTI system operations, when

used in combination with another system having impulse response h(t), we find

that the cascade property holds

Performing differentiation or integration before a signal enters an LTI system,

gives the same result as performing the differentiation or integration after the

signal passes through the system

Page 46: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

46

System properties via the

convolution properties

• “Convolution” property:

Page 47: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

47

System properties using the

impulse response

000

000

for causal-non is)()(

for causal is )()(

)integratoran is system (this causal is )()(

:Examples

tttth

tttth

tuth

Page 48: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

48

System properties using the

impulse response

System stability: A CT system is BIBO stable if its impulse response is

absolutely integrable

)(th

stable is )(h(t) )2

|)(| since unstable is system

)()()()(*)()(

summer)or or (accumulat integratoran is )()( )1

:Examples

0tt

dtth

dxdtuxthtxty

tuth

t

Page 49: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

49

System properties using the

impulse response

)(2

1)( with invertable is )(2)()(2)()2

)()(*)(

)((t)h with invertable is )(h(t)

)t-x(ty(t):delay Ideal )1

:Examples

0i0

0

tthtthtxty

tthth

tttt

i

i

Page 50: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

50

System properties using the

impulse response

A CT LTI system is memory less if and only if

)constant );()( (

)()(

0for 0)(

KtKxty

tKth

tth

Page 51: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

51

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum (DT)

DT properties using the impulse response

DT Systems characterized by Difference Equations

Summary

Page 52: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

52

LTI Systems: Differential

Equations LTI Systems can be described using the impulse

response h(t)

LTI systems can also be described

mathematically by a differential equation

A linear combination of a function and its derivatives

)()()()( 0012 txbtyatyatya

)(*)()()()( thtxdthxty

Page 53: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

53

LTI Systems: Differential Equations

General Nth-order linear constant-coefficient differential equation

Differential equations play a central role in describing input-output relationships in (electrical) systems

The general solution is given by: y(t) = yp(t) + yh(t)

yp(t) is a particular solution

yh(t) is the homogeneous solution satisfying

• To get yh(t), N auxiliary conditions are required

• Auxiliary conditions are the values of:

at some point in time

constants real , ;)()(

00

kkk

kN

k

kk

kN

k

k badt

txdb

dt

tyda

0)(

0k

kN

k

kdt

tyda

1

1 )(,,

)(),(

N

N

dt

tyd

dt

tdyty

Page 54: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

54

LTI Systems: Differential

Equation: Example

Page 55: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

55

LTI Systems: Differential

Equation: Example

Page 56: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

56

LTI Systems: Differential

Equation: Example

Page 57: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

57

LTI Systems: Differential

Equation: Example

Page 58: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

58

Outline

CT Systems

Impulse response

Convolution integral

Block Diagram of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum (DT)

Block Diagram of Systems

DT properties using the impulse response

DT Systems characterized by Difference Equations

Summary

Page 59: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

59

Impulse response of DT LTI

Systems

Linearity

Time Invariance

][][][][

][][then

][][ if

00 nnynnxnynx

nyany

nxanx

k

kk

k

kk

Page 60: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

60

Impulse Response of LTI

Systems

Once the response to a unit impulse is known, the response of any discrete-time LTI system to any arbitrary excitation can be found

Any arbitrary excitation is a sequence of amplitude-scaled and time-shifted DT impulses

Therefore the response is a sequence of amplitude-scaled and time-shifted DT impulse responses

][][

]1[]1[][]0[]1[]1[][

knkx

nxnxnxnx

Page 61: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

61

Impulse Response of LTI

systems

The impulse response h[n] completely

characterizes an LTI system

DT LTI Systems: Use the unit impulse to construct any signal

A DT signal is a sequence of individual weighted impulses

The response of the system is the sum of delayed h[n]

Page 62: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

62

Response of LTI Systems

][]}[{ nynxS

Snh

nhnSnxSny

nnx

of response Impulse :][

][]}[{]}[{][

][][ If

1

2

Question: if h[n] known, how to find y[n]?

y[n] = x[n]*x[n]

Page 63: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

63

Response of LTI Systems:

Example

Page 64: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

64

Response of LTI Systems:

Example

Page 65: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

65

Relationship: DT impulse response

and step response

In any DT LTI system let an excitation, x[n], produce the response, y[n]

Then the excitation x[n] - x[n - 1] will produce the response y[n] - y[n - 1]

It follows then that the unit impulse response is the first backward

difference of the unit step response and, conversely that the unit

sequence (step) response is the accumulation of the unit impulse

response

n

k

khns

nsnsnsnh

][][

response step theis ][ where]1[][][

Page 66: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

66

DT impulse response and step

response:Example

Suppose that the step response is given by

What is the impulse response h[n] ?

][5

445][ nuns

n

]1[5

44][

5

44][5

]1[5

445][

5

445

]1[][][

][

1

nunn

nunu

nsnsnh

n

n

n

nn

Page 67: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

67

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 68: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

68

Convolution of Two Signals

A signal x[n] can be represented as linear

combination of DELAYED Impulses

If the system is LINEAR

k

k

k

k

k

k

k

nhkxny

knykh

knny

nykxny

knkxnx

][][][

][ toresponse [n]][

][ tosystem theof response ][with

][][][

][][][

Page 69: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

69

Convolution of Two Signals

If the system is Time Invariant

n Convolutio ][][][

][][][

][][][

with

0 Omit the ]][]0[][ OR[

][][then

][ toresponse ][ if

00

0

nhnxny

knhkxny

nhkxny

nhnhnh

knhnh

knnh

k

k

k

k

k

Page 70: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

70

The Convolution Sum

The response, y[n], to an arbitrary excitation, x[n], is of

the form

h[n] is the impulse response

This can be written in a more compact form,

called the convolution sum

)1()1()()0()1()1()( nhxnhxnhxny

k

knhkxny ][][][

Page 71: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

71

Obtain the sequence h[n-k]

Reflecting h[k] about the origin to get h[-k]

Shifting the origin of the reflected sequence to k=n

Multiply x[k] and h[n-k] for

Sum the products to compute the output

sample y[n]

Computation of the convolution

sumk

knhkxnhnxny ][][][*][][

k

Page 72: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

7272

Convolution sum: graphical

steps

1) Sketch the waveform for input x[k] by changing the independent variable of

x[n] from n to k and keep the waveform for x[k] fixed during steps (2)-(7).

2) Sketch the waveform for the impulse response h[k] by changing the

independent variable from n to k.

3) Reflect h[k] about the vertical axis to obtain the time-inverted impulse

response h[-k].

4) Shift the sequence h[-k] by a selected value of n. the resulting function

represents h[n-k].

5) Multiply the input sequence x[k] by h[n-k] and plot the product function

x[k]h[n-k].

6) Calculate the summation .

7) Repeat steps (4)-(6) for -∞≤n≤+∞ to obtain the output response y[n] over all

time n.

Page 73: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

73

Forming the sequence h[n-k]

Page 74: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

74

Computing a discrete convolution:

Example 1

]1[][

]1[]1[]0[]0[

][][][

nxnx

nxhnxh

knxkhny

If the system LTI

Page 75: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

75

Computing a discrete convolution:

Example 2

Page 76: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

76

Convolution sum:

Example 3: infinite-duration signals

-„k‟ refers here to the “n” of the other

examples

-Compare to the CT equivalent example

Page 77: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

77

Convolution sum:

Example 4: finite-duration signals

Page 78: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

78

Convolution sum : Example 5

.1 ),1

1(

,10 ,1

1

,0 ,0

][

1

1

nNa

aa

Nna

a

n

ny

NNn

n

][][

otherwise. ,0

,10 ,1

][][][

nuanx

Nn

Nnununh

n

Page 79: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

79

Convolution Sum:

Example 6

Page 80: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

80

Convolution Sum:

Example 6

Page 81: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

81

Convolution Sum:

Example 6

Page 82: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

82

Convolution Sum:

Example 6

Page 83: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

83

Convolution Sum:

Example 7 Consider an LTI system with input x[n] and unit impulse h[n] response

shown. Find the output of this system

Solution: the output of the system

Page 84: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

84

Convolution Sum:

Analytical Example 8

Page 85: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

85

Convolution Sum:

Analytical Example 9

Page 86: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

86

Convolution Sum:

Analytical Example 9

Page 87: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

87

Convolution Sum:

Analytical Example 9

Page 88: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

88

Convolution Sum:

Analytical Example 9

Page 89: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

89

Convolution Sum:

Analytical Example 9

Page 90: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

90

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 91: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

91

System Block Diagrams

LTI Systems can be described using the impulse

response h[n] which completely characterizes an LTI system

LTI systems can also be described

mathematically by difference equation

k

knhkxnhnxny ][][][*][][

Page 92: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

92

System Block Diagrams

A block diagram can be drawn directly from the difference equation which describes the system

For example, if the system is described by

It can also be described by

the block diagram below in

which “D” represents a delay

of one in discrete time

][]2[2]1[3][ nxnynyny

Page 93: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

93

Block Diagram Elements

Discrete-Time

Page 94: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

94

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 95: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

95

System properties via

Convolution properties Commutative

Distributive or Linear

The distributive property implies that the

following two LTI systems are equivalent

][*][][*][ nxnhnhnx

][*][][*][])[][(*][ 2121 nhnxnhnxnhnhnx

Page 96: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

96

System properties via Convolution

properties: System Interconnections

Direct consequence of the distributivity property:

If two systems are excited by the same signal and their responses are added they are said to be parallel connected.

The parallel connection of two systems can be viewed as a single system whose impulse response is the sum of the two individual system impulse responses

Page 97: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

97

System properties via

Convolution properties

Page 98: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

98

System properties via Convolution

properties: System Interconnections

Direct consequence of the associativity property:

If the response of one system is the excitation of another system the two systems are said to be cascade connected

The cascade connection of two systems can be viewed as a single system whose impulse response is the convolution of the two individual system impulse responses

Page 99: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

99

System properties via

Convolution properties

The following properties can be proven from the

convolution definition:

3

])1[][(][]1[][

:property difference Backward

][][][][][

:propertyDelay

][][][

:property n"Convolutio"

000

00

nhnhnxnyny

nnAhnxnhnnAxnny

nnAxnnAnx

Page 100: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

100

Delay property: Example

][][][][][ 000 nhnnAxnnAhnxnny

Page 101: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

101

System properties via Convolution

properties: Example 1

))5(exp()5()5()(

:have weproperty,n convolutio By the

ANSWER

).5()( Compute

)exp()(Let

5 nanxnnx

nnx

nanx

n

n

Page 102: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

102

System properties via Convolution

properties: Example 2

Problem: a discrete-time LTI system has impulse response

Find the output y[n] due to input

x[n] = u[n + 1] – u[n - 1] + 2δ[n - 2],

where u[n] is the discrete time unit step function

Suggestions: Use convolution properties

Plot the functions of h[n] and x[n]

In other problems: you may be • Given y(t) = integral (..); find h(t) analytically or graphically

• Given x(t) and h(t) ; find y(t) analytically or graphically

• Pay attention that you may need to do variable substitution, e.g.,

integral(e^(t-p) h(p-5) dp) –inf to tp' = p-5 p=p'+5integral(e^(t-p'-5) h(p') dp') -inf to t-5

Solution: the simplest way to solve for the output y[n] would be to first plot the functions of h[n] and x[n]

]1[2][3][ nnnh

Page 103: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

103

System properties via Convolution sum

properties: Example 2

The sequence h[n] consists of two samples. Therefore, convolving x[n] and h[n] can be simplified by convolving

x[n] with h[n] one sample at a time.

For example, we can convolved x[n] first with and then with

Finally, the convolution sum (y[n]) can be then obtained by adding the two sequences (adding sample by corresponding sample).

In doing this, the output y[n] is

The same can be achieved graphically

]1[2][3][ nnnh

][3][1 nnh

]1[2][2 nnh

]3[4]2[6]1[][]1[3][ nnnnnny

k

nxhnxhknxkhny ....)1()1()0()0(][][][

Page 104: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

104

System Properties using impulse

response

It can be shown that a BIBO-stable DT system has an

impulse response that is absolutely summable

Proof

nkk

nhBkhknxkhknxny ][][][][][][

n

nh ][

Page 105: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

105

System properties using impulse

response

systems inverse are

]1[][][ : difference backward The

][][ :r accumulato The

:Example

nynynw

kxnyn

k

][][*][][*][ nnhnhnhnh ii

Page 106: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

106

System properties via

Convolution sum properties

Page 107: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

“Finite/Infinite” Systems: reflected

in h[n]

Depending on h[n], we divide LTI systems into

Finite-duration impulse response (FIR) systems

Infinite-duration impulse response (IIR) systems

]1[][][ nxnxny

Page 108: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

108

“Finite/Infinite” Systems: reflected

in h[n]

Finite-duration impulse response (FIR) system

The impulse response has only a finite number of nonzero samples

Ideal delay

Forward difference

Backward difference

integer positive a ],[][

],[][

dd

d

nnnnh

nnnxny

][]1[][

][]1[][

nnnh

nxnxny

]1[][][

]1[][][

nnnh

nxnxny

nd

0

-1

0

Page 109: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

109

“Finite/Infinite” Systems: reflected

in h[n]

Infinite-duration impulse response (IIR) system

The impulse response is infinitive in duration

Accumulator

Stability

FIR systems always are stable, if each of h[n] values is

finite in magnitude

IIR systems can be stable, e.g.

][][][

][][

nuknh

kxny

n

k

n

k 0

|)|1(1||

1|| with ][][

0aaS

anuanh

n

n

?

|][|n

nhS

Page 110: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

110

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 111: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

111

LTI Systems: Difference

Equations An important class of LTI systems:

Input & output satisfy an Nth-order Linear Constant Coefficient Difference

Equations (LCCD) equation

An LTI System can be described by a difference

equation

recursive)-(non memoryless is System ,0 and 1 if

]}[{]}[{]}[{]}[{

0,1],[][

0

0 0

0

maa

nbnxnany

namnxbmnya

m

M

m

M

m

mm

M

m

m

N

k

k mnxbknya00

][][

Page 112: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

112

LTI System: Difference Equation

Example 1

]1[][]1[][

]1[][]1[][

101

101

nxbnxbnyany

nxbnxbnyany

A first order LTI system:

Page 113: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

113

LTI System: Difference Equation

Example 2

Difference equation representation of the accumulator

][]1[][

]1[][][][][

][]1[

][][

1

1

nxnyny

nynxkxnxny

kxny

kxny

n

k

n

k

n

k

M

m

m

N

k

k mnxbknya00

][][

+

One-sample

delay

x[n]

y[n-1]

y[n]

Recursive representation

Page 114: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

114

LTI Systems: Solving Difference

Equations: Example 3

Page 115: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

115

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Page 116: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

116

Summary

Page 117: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

117

Summary

Page 118: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

118

Outline

CT Systems

Impulse response

Convolution integral

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Differential Equations

DT systems

DT Impulse response

Convolution sum

Block Diagrams of Systems

System properties using the impulse response

Systems characterized by Difference Equations

Summary

Appendix

Page 119: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

119

LTI Systems: Differential Equations

& impulse response

Let a CT system be described by

Let the excitation be a unit impulse at time, t = 0

Then the response, y, is the impulse response, h.

Since the impulse occurs at time, t = 0, and nothing has excited the system before that time, the impulse response before time, t = 0, is zero

After time, t = 0, the impulse has occurred and gone away

Therefore there is no excitation and the impulse response is the homogeneous solution of the differential equation

)()()()( 012 txtyatyatya

)()()()( 012 tthathatha

Page 120: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

120

LTI Systems: Differential Equations

& impulse response

What happens at time t = 0?

The equation must be satisfied at all times. So the left sideof the equation must be a unit impulse

We already know that the left side is zero before time, t = 0because the system has never been excited.

We know that the left side is zero after time, t = 0, becauseit is the solution of the homogeneous equation whose rightside is zero.

This is consistent with an impulse. The impulse responsemight have in it an impulse or derivatives of an impulsesince all of these occur only at time, t = 0.

What the impulse response does have in it depends on theequation.

)()()()( 012 tthathatha

Page 121: Signals & Systems - Concordia Universityusers.encs.concordia.ca/~amer/teach/elec264/notes/topic2-conv.pdf · •A. Oppenheim, A.S. Willsky and S.H. Nawab, Signals and Systems, 2nd

121

LTI Systems: Differential Equations

& impulse response