+ All Categories
Home > Documents > LINEAR TIME-INVARIANT SYSTEMS

LINEAR TIME-INVARIANT SYSTEMS

Date post: 18-Jan-2016
Category:
Upload: acadennis
View: 26 times
Download: 2 times
Share this document with a friend
Description:
Signals and Systems
23
3.1 Chapter 3: LINEAR TIME-INVARIANT SYSTEMS 3.1 MOTIVATION Continuous and discrete-time systems that are both linear and time-in variant (LTI) play a central role in digital signal processing, communication engineering and control applications: Many physical systems are either LTI or approximately so. Many efficient tools are available for the analysis and design of LTI systems (e.g. spectral analysis). Consider the general input-output block diagram of a system. The response of the system ) (t h to an input signal ) (t x is found by a convolution process, which takes into consideration the complete history of the signal and the information in the system memory. - = = - du u t h u x t h t x t y ) ( ). ( ) ( * ) ( ) ( (3.1a) Similarly, for the discrete-time case: - = = -∞ = k k n h k x n h n x n y ] [ ]. [ ] [ * ] [ ] [ (3.1b) Note that ] [ n h is called both impulse response and unit pulse response. Why impulse response or unit pulse response? Let the input to the continuous LTI system be ). ( ) ( t t x d = Then from the definition of the convolution operation we write: = - = = = - ) ( ) ( ). ( ) ( * ) ( ) ( * ) ( ) ( t h d t h t h t t h t x t y t t t d d (3.2) The last integral above is obtained from the Sifting Theorem definition of the delta function of Chapter 2.
Transcript
Page 1: LINEAR TIME-INVARIANT SYSTEMS

3.1

Chapter 3: LINEAR TIME-INVARIANT SYSTEMS 3.1 MOTIVATION

Continuous and discrete-time systems that are both linear and time-in variant (LTI) play a central role in digital signal processing, communication engineering and control applications:

• Many physical systems are either LTI or approximately so. • Many efficient tools are available for the analysis and design of LTI systems (e.g. spectral analysis).

Consider the general input-output block diagram of a system. The response of the system )(th to an input signal )(tx is found by a convolution process, which takes into consideration the complete history of the signal and the information in the system memory.

∫ −==∞

∞−duuthuxthtxty )().()(*)()( (3.1a)

Similarly, for the discrete-time case:

∑ −==∞

−∞=kknhkxnhnxny ][].[][*][][ (3.1b)

Note that ][nh is called both impulse response and unit pulse response.

Why impulse response or unit pulse response?

Let the input to the continuous LTI system be ).()( ttx δ= Then from the definition of the convolution operation we write:

∫ =−===∞

∞−)()().()(*)()(*)()( thdththtthtxty τττδδ (3.2)

The last integral above is obtained from the Sifting Theorem definition of the delta function of Chapter 2.

Page 2: LINEAR TIME-INVARIANT SYSTEMS

3.2

Example 3.1: Impulse response of an accumulator

3.2 Properties and Examples of Linear Convolution Process

3.2.1 Commutativity Property: Convolution is a commutative operation, i.e., the roles of )(tx and )(th can be interchanged. Similarly, for ][nx and ].[nh

∫∫∞

∞−

∞−

−=−=== ττττττ dtxhdthxtxththtxty )().()().()(*)()(*)()( (3.3a)

∑ −=∑ −===∞

−∞=

−∞= kkknxkhknhkxnxnhnhnxny ][].[][].[][*][][*][][ (3.3b)

3.2.2 Associativity Property: This property will form the basis for cascade (series) systems:

)(*)()](*)([*)()(*)](*)([)( 2121 thtxththtxththtxty S=== (3.4)

where hS(t) represents the cascade connection of two subsystems h1(t) and h2(t), respectively: )(*)()( 21 thththS = (3.5) Combined cascade system impulse response )(thS is equal to the convolution of system responses of individual subsystems. This result can easily be extended to the series connection of many systems via repeated applications of the associativity property. 3.2.3 Distributivity Property: This property, on the other hand, forms the basis for parallel systems.

Page 3: LINEAR TIME-INVARIANT SYSTEMS

3.3

)(*)()]()([*)()](*)([)](*)([)( 2121 thtxththtxthtxthtxty P=+=+= (3.6) As in the previous case, hP(t) corresponds to the parallel combination of two subsystems. 3.2.4 Linear Convolution Examples (Elementary): Example 3.2: Convolution of signals with delta and unit-step functions.

∫ =−=∞

∞−)()().()(*)( txdtxttx ττδτδ ∫ −=−−=−

∞−)()().()(*)( 000 ttxdtxttttx τττδδ (3.7)

∫ ∫=−=∞

∞− ∞−

tdxdtuxtutx τττττ )()().()(*)( (3.8)

Observation: • The convolution of any function by a delta function gives the original function and the convolution of any

function with a shifted version of the delta function results in the shifted replica of the original function. • Convolving a signal by a unit-step function is equivalent to a perfect integrator.

Example 3.3: Time Averaging Time-averaging is frequently employed in finding average behavior or mean of systems or signals or data.

∫==+Tt

tave dx

Ttxtx ττ )(

1)()( (3.9)

)(tx

t Tt +

Page 4: LINEAR TIME-INVARIANT SYSTEMS

3.4

This can be computed in terms of step functions as follows:

)]()([*)(

1

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

])()([1

)(

tuTtutxT

tutxTtutxT

dxdxT

txtTt

−+=

−+=∫−∫=∞−

+

∞−ττττ

(3.10)

Example 3.4: Response of a Capacitive Circuit to a switched DC voltage, where input and system impulses are simply: 0)(..)()(.)( >== − awheretueAthandtuVtx at (3.11)

The task is to compute: ∫∞

∞−

−== τττ dthxthtxty )()()(*)()(

∫ −∫ =−=∞

∞−

−−∞

∞−ττττττ τ dtuuVAedthxty ta )()()()()( )( (3.12a)

Limits of integration are very critical and decided by the non-zero segments of the product of two step functions: ).().( ττ −tuu (3.12b) Let us now find these non-zero segments with graphical support:

)(tx

t

V

)(th

t

A

Page 5: LINEAR TIME-INVARIANT SYSTEMS

3.5

)(τu

τ

0.1

1.0)( τ−tu

τ

0:1 <tCase

t=τ

t=τ

)(τu

τ

0.1

1.0)( τ−tu

τ

0:2 >tCase

t=τ

t=τ

Case 1: t<0 Since non-zero segments of the product is zero as clearly seen from the plots, the integral in (3.12a) is also zero to yield:

0.0)( =∫=∞

∞−τdAVty (3.13a)

Case 2: t>0 Since non-zero segments of the product is the region between 0 and t as shown above, this time the limits of integral this time becomes:

)1.(.....)(000

)( attaatt

aatt

ta ea

AVee

aAV

deeAVdeAVty −−−−− −==∫=∫= τττ ττ (3.13b)

When we combine these two results into a single equation using a unit step function we have the final answer:

)().1.()( tuea

AVty at−−= (3.14)

% Convolution of decaying exponential with a unit-step function. t=0:.05:1 h=exp(-1*t)

Page 6: LINEAR TIME-INVARIANT SYSTEMS

3.6

x= ones(size(t)) y=conv(h,x) plot(t,y(1:21)) title('Numerical convolution'); xlabel('Time, Seconds'); ylabel('Approximation of y(t)') grid; axis

Example 3.5: Convolution of functions with a collection of impulses. Let the input and the system functions be:

Page 7: LINEAR TIME-INVARIANT SYSTEMS

3.7

)2/)(()2/)(()( 2 aatrectaatGtx a −=−= and )2()2()( atatth −−+= δδ )2(*)2/)(()2(*)2/)(()( ataatrectataatrectty −−−+−= δδ Using the properties of delta functions:

]2

3[]2

[]2

)2([]

2)2(

[)(a

atrectaatrect

aaat

recta

aatrectty −−+=

−−−

−+=

First rectangle of length 2a is centered at -a and the second one is an inverted rectangle of length 2a again but centered at 3a. Example 3.6: Convolution of two finite duration gate (rectangular) functions. Task: Evaluate )2/(*)2/()( atrectatrectty = (3.15)

Both of these functions can be represented in terms of unit-step functions: )()()( atuatutx −−+= (3.16) When we substitute (3.16) into (3.15) we have:

∫ −−−+−−−+=∞

∞−τττττ datuatuauauty ))](())(()].[()([)( (3.17)

As in Example 3.4, we need to determine segments of the above integral for which two brackets have non-zero product. Careful observation and with the following graphical support we see that there are four distinct cases.

Page 8: LINEAR TIME-INVARIANT SYSTEMS

3.8

atCase 2:1 −<

)( τ−th0.1

t

at −

τ

)(τx0.1

a− a

at +

02:2 <<− taCase

)( τ−th

t

τ

)(τx0.1

a− a

0.1

at − at +

Case 1: t<-2a: There is no overlapping segments of the two pulses and the integral in (3.18) would yield 0. atforty 20)( −<= (3.18a)

Case 2: -2a<t<0: The interval between -a and t+a are common to both pulses then the integral becomes:

∫ +==+

at

aatdty 2.1)( τ (3.18b)

By sliding the lower pulse (the system function) in above figure to the left we get two other cases.

Case 3: 0<t<2a: The interval between t-a and a are common to both pulses and we get:

∫ −==−

a

attadty 2.1)( τ (3.19)

Case 4: t>2a: Again there is no overlapping segments of the two pulses and the output would be zero. atforty 20)( >= (3.20) All of these cases can be written in a compact form:

Page 9: LINEAR TIME-INVARIANT SYSTEMS

3.9

)(ty

ta2− a2

<<+−

<<−+

=Otherwise

atifat

taifat

ty0

202

022

)(

We can conclude that the convolution of two identical pulses is a triangle. What would be the shape of two different size rectangles? % Convolution of decaying exponential with a unit-step function.

n=0:60; x= zeros(size(n)); x(6:15)=1; h=zeros(size(n)); h(11:30)=1; y=conv(h,x) stem(n,y(1:61)); title('Discrete Convolution of Two Pulses'); xlabel('Time, Seconds'); ylabel('Approximation of y[n]') grid; axis

3.2.4 Linear Convolution Examples (Tabular Form): Example 3.7: Consider the following system and signal sequences:

Page 10: LINEAR TIME-INVARIANT SYSTEMS

3.10

1,1,0,2,2][ −−=nh 2,1,3,1][ −−−=nx Note these two sequences have different lengths as in Example 3.6. It is not difficult to see that the output sequence ][ny will be eight samples long in the interval ,52 ≤≤− n zero elsewhere. Let us verify that with a linear convolution table.

n -2 -1 0 1 2 3 4 5

x[n+1] -1 3 -1 -2 x[n] -1 3 -1 -2

x[n-1] -1 3 -1 -2 x[n-2] -1 3 -1 -2 x[n-3] -1 3 -1 -2

h[-1]x[n+1] 2 -6 2 4 h[-0]x[n] -2 6 -2 -4 h[1]x[n-1] 0 0 0 0 h[2]x[n-2] 1 -3 1 2 h[3]x[n-3] -1 3 -1 -2

Y[n] 2 -8 8 3 -8 4 1 -2

The last row or the output is: 2,1,4,8,3,8,8,2][ −−−=ny and .6;30][ ≥−≤= nnifny

3.4 Periodic (Circular) Convolution Process In many applications, we are faced with the convolution of two periodic sequences, ],[][ nhandnx with or without a common period .N The method discussed below is geared to handle the common period case. If the periods are not common, then there are approaches to deal with the issue: (i) Find the smallest common product (SCD) of the two periods and perform the convolution over SCD. (2) Use Assume the longer of the two periods as the period and the other sequence is appended with zeros to bring the sequences to same length. This last approach is naturally violating the periodicity of the smaller one, but it does not pose a major problem in many engineering designs.

Let us now define the periodic (circular) convolution:

Page 11: LINEAR TIME-INVARIANT SYSTEMS

3.11

][][][][][1

0knhkxkhkxny

N

k−∑=⊗=

= (3.21)

where ⊗ represents this periodic or circular convolution operation and the sum is over N terms. (3.21) is periodic using the property: ][][ nhrNnh =+

][][][][][][1

0

1

0nyknhkxkrNnhkxrNny

N

k

N

k=−∑=−+∑=+

=

= (3.22)

Since the sum is a finite sum, we can write out the full expression is a straightforward expansion:

]1[)1(]2[)2(]1[)1()[]0[][ +−−++−+−+= NnhNxnhxnhxnhxny L (3.23)

and use the tabular form to compute the circular convolution of two periodic functions.

Example 3.8: Consider the following system and signal sequences: 1,0,2,1][ −=nx 2,1,3,1][ −−=nh Note these two sequences have a common period of 4 samples. It is not difficult to see that the output sequence ][ny will be again 4 samples long in the interval 30 ≤≤ n and repeat itself . Let us verify that with a circular convolution table.

n 0 1 2 3

x[n] 1 2 0 -1 x[n-1] -1 1 2 0 x[n-2] 0 -1 1 2 x[n-3] 2 0 -1 1

h[0]x[n] 1 2 0 -1 h[1]x[n-1] -3 3 6 0 h[2]x[n-2] 0 1 -1 -2 h[3]x[n-3] -4 0 2 -2

yc[n] -6 6 7 -5

The last row or the output is: 5,7,6,64][nyy[n] c −−=+= .

Page 12: LINEAR TIME-INVARIANT SYSTEMS

3.12

3.5 Differential Equation Model for LTI Systems (Continuous Case) A general ordinary differential equation (ODE) model for linear time-invariant (LTI) systems is defined by:

)()()(1

00ty

dtd

atxdtd

btydtd N

jj

j

j

M

ii

i

iN

N

∑−∑=−

== (3.24)

Here are the descriptions of various terms above: 1≡Na and it is not normally shown in the ODE. =ja Real coefficients associated with past outputs of the system (N feedback terms). =ib Real coefficients associated with all inputs to the system (M+1 feed-forward terms). =N Highest-order derivative of the output. =M Highest-order derivative of the input. .,max MNOrderSystem ≡

In systems sciences, the above differential equation is generally written in one of the two operational forms, i.e., in terms of differential operator D or of integral operator 1−D .

∑∑−

==−=

1

00)()()(

N

j

jj

M

i

ii

N tyDatxDbtyD (3.25)

For simplicity and nice symmetrical behavior let us assume that N=M=System Order.

∑∑−

==−=

1

00)()()(

N

j

jj

N

i

ii

N tyDatxDbtyD (3.26)

In order to solve (3.26) we need N initial conditions for the output: )0(,),0(),0( 1−′ Nyyy L . For EE applications, it is more common to replace the above ODE with an equivalent integral equation and use the integral operator .1−D

∑−∑=−

==

−− 1

00)()()(

N

i

ii

N

i

ii

NNN tyDatxDbDtyDD

∑−∑=−

=

=

− 1

00)()()(

N

i

Nii

N

i

Nii tyDatxDbty

Page 13: LINEAR TIME-INVARIANT SYSTEMS

3.13

∑ −+=−

=

−−1

0)]()([)()(

N

i

Nii

NiiN tyDatxDbtxbty (3.27)

If we collect identical terms into common order pairs we obtain another frequently observed form: )]()([)]()([)]()([)()( 11

111

100 tyatxbDtyatxbDtyatxbDtxbty NN

NNN −−

−+−− −++−+−+= L (3.28) We have canonical (standard) implementation forms based on simple building blocks for these last two equations (3.27) and (3.28) in terms of basic system building blocks:

1. Integrator 1−D :

1−D)(tx

If 0)( 0 =ty then the system is said to be at rest and we have the usual case:

0)()( 00

≥= ∫ tfordxtyt

t

ττ (3.29)

2. Adder (Accumulator) ∑ :

)(1 tx

)(2 tx

)()()( 21 txtxty +=

3. Scalar Multiplier K:

Ky(t)=K.x(t)

Page 14: LINEAR TIME-INVARIANT SYSTEMS

3.14

We will next use these three fundamental building blocks to implement systems expressed in terms of ODE and/or integral equations. Example 3.9: Implement and solve the following system using building blocks.

)(.)(.)( txbtyatydtd =+ (3.30)

Since the highest-order derivative is dxdy / then the order of this system is "1." Let us convert this first-order ODE into operational form: )(.)(.)( txbtyatDy =+ (3.31)

)(.)(.)(

)()](.)([11

11

txDbtyDaty

tbxDtyatDyD−−

−−

=+

=+

Finally, we have the form ready for implementation using the set of blocks discussed above: )(.)(.)( 11 txDbtyDaty −− +−= (3.32)

bx(t) 1−D Σ

a

y(t)

1−D

ODE has a total solution composed of a homogeneous solution (natural response) )(ty h and a particular solution (forced response) )(ty p : )()()( tytyty ph += (3.33) Homogeneous Equation and its solution: 0)()( =+ taytDy hh (3.34)

Page 15: LINEAR TIME-INVARIANT SYSTEMS

3.15

Assume a solution of the form: ath eCty −= .)( and a solution of the form for the particular part:

0)( )(..)(

0

ttfordxbetyt

t

tap ≥∫= −− τττ (3.35)

Now let us substitute these two solutions into (3.33):

τττ dxebeCtyt

t

taat )(...)(0

)(∫+= −−− (3.36)

C can be obtained by evaluating this at IC:

00

0

.0.)(... 0)(

0atat

t

t

taat eYCeCdxebeCY =⇒+=∫+= −−−− τττ

and the total solution:

)(].)(..[..)( 0)(

00

0 ttudxebeeYtyt

t

taatat −∫+= −−− τττ (3.37)

3.6 Canonical Forms for LTI Continuous Systems Consider any of the known general ODE representation of an LTI system as formulated in (3.24), (3.26), (3.27), or (3.28). To have a form to reference let us rewrite (3.28) )()([)]()([)]()([)()( 11

111

100 tyatxbDtyatxbDtyatxbDtxbty NN

NNN −−

−+−− −++−+−+= L (3.28)

and implement it using two different canonical (standard) structures, Canonical Direct Form I and I/O-Bus architecture. It is not difficult to see that there are two paths: feed-forward branches and feedback loops.

Page 16: LINEAR TIME-INVARIANT SYSTEMS

3.16

Σ Σ

Σ

Σ

Σ

Σ

Input x(t) Output y(t)

bN

D-1

bN-1 -aN-1

bN-2 -aN-2

b0 -a0

D -1

D -1

D -1

D -1

Σ

Σ

Σ

Σ

Input x(t)

b0 -a0

b1 - a1

bN-1 - aN-1

bN

D-1

D- 1

D- 1

Output Busy(t)

D -1

Canonical Direct Form I I/O-Bus Form

Input Bus

Example 3.10: Assume that the following system is at rest at t=0; i.e., all initial values are zero for t=0.

)(2)(3)()(4)(2

2

txtxdtd

tytydtd

tydt

d+=+−

)]()(2[)](4)(3[)(

)]()(4)(2)(3[)]([

)()(4)(2)(3)(

21

222

2

tytxDtytxDty

tytDytxtDxDtyDD

tytDytxtDxtyD

−++=

−++=

−++=

−−

−−

Page 17: LINEAR TIME-INVARIANT SYSTEMS

3.17

Σ Σ

Σ Σ

Input x(t) Output y(t)

D-1

D -1

D -1

D -1

Σ

Σ

Input x(t)

D-1

0

3 4

2 -1

D -1

I-Bus

O-Bus

2 -1

3 4

y(t)

Canonical Form I:I/O Bus Model:

3.7 Difference Equation Model for LTI Systems (Discrete Case)

As in the case of continuous signals and systems, discrete linear time-invariant systems can be expressed in terms of DE of the form:

∑ ≥−∑ =−==

M

kk

N

kk nforknxbknya

000][][ (3.38)

Similar to the previous case, the descriptions of various terms above: =ja Real coefficients associated with past outputs of the system (N feedback terms). =ib Real coefficients associated with all inputs to the system (M+1 feed-forward terms). =N Highest-order difference in the output sequence. =M Highest-order difference in the input sequence. .,max MNOrderSystem ≡ If the system is causal we must have: .NM ≤ Let us define a difference operator: ][][ knynyD k −= (3.39)

∑ ≥∑ ===

M

k

kk

N

k

kk nfornxDbnyDa

000][][ (3.40)

Page 18: LINEAR TIME-INVARIANT SYSTEMS

3.18

However, the output is implicitly expressed in (3.40); buried among the feedback terms. It is usually expressed in the following form:

0)][][(1][100

≥∑−∑===

nfornyDanxDba

nyN

k

kk

M

k

kk (3.41)

It is clear from (3.41) and the canonical implementations, ][ knx − are known at any given time. If we have done our job correctly then ][ kny − are also known. Then ]0[y can be computed from:

Σ Σ

Σ

Σ

Σ

Σ

Input x[n] Output y[n]

b N

D -1

b N-1 -a N-1

b N-2 -a N-2

b 0 -a 0

D -1

D -1

D -1

D -1

Σ

Σ

Σ

Σ

Input x[n]

b 0 -a 0

b 1 - a 1

b N-1 - a N-1

b N

D-1

D -1

D -1

Output Bus y[n]

D -1

Input Bus

Canonical Direct Form I I/O-Bus Form

Page 19: LINEAR TIME-INVARIANT SYSTEMS

3.19

)][][(1]0[100

∑ −−∑ −===

N

kk

M

kk kyakxb

ay (3.42)

where ][ ky − are the initial conditions (IC). Next, we compute:

)]2[]1[(1]1[100

∑ −−∑ −===

N

kk

M

kk kyakxb

ay (3.43)

Similarly, we can compute all future outputs. Note that we need to do that an iterative (recursive) fashion; i.e., it is not possible to

Example 3.11: Given 0]2[1]1[ =−=− yandy compute RECURSIVELY a few terms of the following 2nd order DE:

nnynyny )21(]2[

81]1[

43][ +−−−=

4710

43)

21(]2[

81]1[

43]0[ 0 =++=+−−−= yyy

1627)

21(]1[

81]0[

43]1[ 1 =+−−= yyy

6483)

21(]0[

81]1[

43]2[ 2 =+−= yyy

M

3.7 Homogeneous and Particular Solutions for Discrete LTI Systems Generic DE problems cannot be solved recursively unless they happen to have a compact closed form. As in the case of ODE, we attempt to solve them by finding (a) a homogeneous solution and (b) the particular solution. 3.7.1 Homogeneous Solution: It is given by solving:

∑ =−=

N

kk knya

00][ (3.44)

nh aAny .][ =

Page 20: LINEAR TIME-INVARIANT SYSTEMS

3.20

Substitute into the DE (3.44)

∑ ==

−N

k

knk Aaa

00 Since ,0≠A the solution must satisfy:

∑ ==

−N

k

knk aa

00 (3.45)

Values satisfying (3.45) are the characteristic values (eigenvalues) and there are N of them, which may or may not be distinct. If they are distinct, the corresponding characteristic solutions are independent and they are obtained as a linear combination of the terms like: n

NNnn

h aAaAaAny +++= L2211][ (3.46) If any of the roots are repeated, then we can generate N independent solutions by multiplying corresponding characteristic solution by the appropriate power of n. For instance, if 1a has a multiplicity of 1P , then we assume a solution of the form: n

NNnPP

nPP

nnh aAaAanAnaAaAny ++++++= ++

− LL 1111

1211 111

1][ (3.47)

3.7.2 Particular Solution: Assume that ][ny is a particular solution to a special case:

∑ =−=

N

kk nxknya

0][][ (3.48)

then the overall particular solution is found by a superposition:

∑ −==

M

kkP knybny

0][][ (3.49)

To find ][ny , we assume it is a linear combination of ][nx and its delayed versions. • If ][nx is a constant then ][ knx − is also constant. Thus, ][ny is another constant.

• If ][nx is an exponential function if the form: ,nβ then ][ny is similarly an exponential. • If ][nx is a sinusoid: nnx 0sin][ Ω= then knnkknknx 00000 sin.cossin.cos)(sin][ ΩΩ−ΩΩ=−Ω=− nBnAny 00 cos.sin.][ Ω+Ω=

Page 21: LINEAR TIME-INVARIANT SYSTEMS

3.21

Example 3.12: Given 2

sin.2]2[81]1[

43][ πnnynyny =−+−− with IC: 4]2[2]1[ =−=− yandy

Part A: Particular solution: Assume a solution:

2

cos.2

sin.][ππ n

Bn

Any +=

2

sin2

cos2

)1(cos.

2)1(

sin.]1[ππππ n

Bn

An

Bn

AnyP +−=−

+−

=−

2

cos2

sin2

)1(sin.

2)1(

cos.]2[ππππ n

Bn

An

Bn

AnyP −−=−

+−

−=−

Let us substitute these into the DE, which must be satisfied in order for this to be solution:

2

sin.22

cos).81

43(

2sin).

81

43( πππ nnBABnABA =−++−−

Let us equate terms of the same form:

281

43 =−− ABA

081

43 =−+ AB ⇒

8596

85112 −== BandA

2cos

8596

2sin

85112

][ππ nn

nyP −=

Part B: Homogeneous solution: Write the characteristic equation:

21

410

81

431 21

21 ==⇒=+− −− aandaaa

resulting an a homogeneous solution:

nnh AAny )

21

()41

(][ 21 +=

Part C: Total solution:

2

cos8596

2sin

85112)

21()

41(][ 21

ππ nnAAny nn −++=

Page 22: LINEAR TIME-INVARIANT SYSTEMS

3.22

If we substitute the given ICs to this last expression we could obtain that:

178

1 −=A 5

132 =A

and

2

cos8596

2sin

85112)

21(

513)

41(

178][ ππ nnny nn −++−=

3.8 Impulse Response Computation of Discrete LTI Systems If we derive the difference equation of (3.38) with a train of impulses, we have

∑ −∑ =−==

M

kk

N

kk knbknya

00][][ δ with: 0]2[]1[ =−=− Lyy (3.50)

1. For ,Mn > the right hand side is zero, thus we get a homogeneous equation. 2. N initial conditions (IC) to solve this equation are: ].1[,],1[),[ +−− NMyMyMy L 3. To be meaningful this system must be causal: MN ≥ and we have to compute only the terms:

].[,],1[],0[ Myyy L 4. By successively letting n be M,,2,1,0 L in (3.50) we obtain a set of 1+M equations:

Mjforbknya j

j

kk ,,2,1,0][

0L=∑ =−

= (3.51)

This is normally written in a matrix form:

=

− MMM b

bbb

My

yyy

aaa

aaaaa

a

.

.

][..

]2[]1[]0[

.

......0.

.

...

.

.

0.00..0

2

1

0

01

012

01

0

(3.52)

Page 23: LINEAR TIME-INVARIANT SYSTEMS

3.23

After solving this system for initial conditions ],[,],1[],0[ Myyy L we obtain the impulse response of the system as the solution of the homogeneous equation:

MnforknyaN

kk >∑ =−

=0][

0 (3.53)

Example 3.13: Consider the system described by the difference equation:

]3[161]2[

21]1[

45]1[

31][][ −+−−−+−+= nynynynxnxny

Here .1,3 == MN Order 3 homogeneous equation:

20]3[161]2[

21]1[

45][ ≥=−−−+−− nnynynyny

The characteristic equation:

0161

21

451 321 =−+− −−− aaa

The roots of this third order polynomial is: 4/12/1 321 === aaa and

2,)41

()21

()21

(][][ 321 ≥++== nAnAAnhny nnnh

Let us assume 0]1[ =−y then (3.52) for this case becomes:

12/19]1[;1]0[3/1

1]1[]0[

.14/501

]1[]0[

.0

1

0

01

0 ==⇒

=

=

yy

yy

bb

yy

aaa

with these we have the impulse response of this system:

0,)41(

37)

21(

310)

21(

34][ ≥++−= nnnh nnn


Recommended