Skip to content Skip to navigation

Connexions

You are here: Home » Content » IMPULSE RESPONSE

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • VOCW

    This module is included inLens: Vietnam OpenCourseWare's Lens
    By: Vietnam OpenCourseWare

    Click the "VOCW" link to see all content affiliated with them.

Recently Viewed

This feature requires Javascript to be enabled.
 

IMPULSE RESPONSE

Module by: Nguyen Huu Phuong. E-mail the author

We are now looking for a more consise way to characterize discrete-time systems.

Figure 1: Unit sample
Figure 1 (hv2.jpg)

Let’s recall the unit sample (also called unit impulse) signal (Figure 1)

δ(n)=1,n=0=0,n0δ(n)=1,n=0=0,n0alignl { stack { size 12{δ \( n \) =1, matrix { {} # {} # {} } n=0} {} # size 12{ matrix { {} # {} } =0, matrix { {} # {} # {} } n <> 0} {} } } {} (1)

When the sample is shifted to time index (or sample) k in the future (k>0)(k>0) size 12{ \( k>0 \) } {} the signal is

δ ( n k ) = 1, n = k 0, n k δ ( n k ) = 1, n = k 0, n k alignl { stack { size 12{δ \( n - k \) =1, matrix { {} # {} } n=k} {} # size 12{ matrix { {} # {} # {} # {} } 0, matrix { {} # {} } n <> k} {} } } {}

When the sample is shifted to the past at index –k (k>0)(k>0) size 12{ \( k>0 \) } {}, the signal is δ(n+k)δ(n+k) size 12{δ \( n+k \) } {}

δ ( n + k ) = 1, n = k 0, n k δ ( n + k ) = 1, n = k 0, n k alignl { stack { size 12{δ \( n+k \) =1, matrix { {} # {} } n= - k} {} # size 12{ matrix { {} # {} # {} # 0, matrix { {} # {} } {} } n <> - k} {} } } {}

Now,let’s express a signal in terms of unit samples. In Figure 2 the value of x(n)x(n) size 12{x \( n \) } {} at n=1n=1 size 12{n=1} {} is 3, so we can write ( Equation )

x ( n = 1 ) = x ( 1 ) δ ( n 1 ) = 3 x ( 1 ) = 3 x ( n = 1 ) = x ( 1 ) δ ( n 1 ) = 3 x ( 1 ) = 3 size 12{x \( n=1 \) =x \( 1 \) matrix { {} # {} } δ \( n - 1 \) =3 matrix { {} # {} } x \( 1 \) =3} {}

Figure 2: An example signal
Figure 2 (hv3.jpg)

Similarly at n=2n=2 size 12{n=2} {}

x ( n = 2 ) = x ( n ) δ ( n 2 ) = 2 x ( 1 ) = 2 x ( n = 2 ) = x ( n ) δ ( n 2 ) = 2 x ( 1 ) = 2 size 12{x \( n=2 \) =x \( n \) matrix { {} # {} } δ \( n - 2 \) =2 matrix { {} # {} } x \( 1 \) =2} {}

Thus a signal x(n)x(n) size 12{x \( n \) } {} can be expressed as

x(n)=k=x(k)δ(nk)x(n)=k=x(k)δ(nk) size 12{x \( n \) = Sum cSub { size 8{k= - infinity } } cSup { size 8{ infinity } } {x \( k \) δ \( n - k \) } } {} (2)

Impulse response

Impulse response (or impulsive response) of a discrete-time (or digital) system is defined as the output (response), denoted by h(n)h(n) size 12{h \( n \) } {}, when the input is an unit sample δ(n)δ(n) size 12{δ \( n \) } {}. The impulse response may be real or complex, but usually assumed real. Figure 3 is an example.

Figure 3: Definition and example of impulse response
Figure 3 (vh4.jpg)

FIR and IIR systems

When excited by an unit sample δ(n)δ(n) size 12{δ \( n \) } {}, the impulse response h(n)h(n) size 12{h \( n \) } {}of a system may last a finite duration, or forever even before the input is applied. In the former case the system is Finite Duration Impulse Response (FIR), and in the latter case the system is Infinite Duration Impulse Response (IIR). Many authors do not include the word duration in the names. It’s just a matter of choice.

Alternatively, the systems can be classfied as Recursive or Nonrecursive instead of FIR or IIR. We’ll see the difference later.

Causality (see section )of a system is reffected on its impulse resopnse: For causal systems h(n)=0h(n)=0 size 12{h \( n \) =0} {} at n<0n<0 size 12{n<0} {} (or n1n1 size 12{n <= - 1} {}), otherwise they are noncausal. Both systems of Figure are noncausal.

Figure 4: Example of systems (a) FIR, (b) IIR
Figure 4 (hv5.jpg)

Derive the impulse response from the difference equation

From the definition of impulse response we can apply an unit sample to the system concerned and obtain the output experimentally, which is the impulse response. Otherwise we derive it from the difference equation as presented here. There are still other ways to obtain the impulse response.

Example 1

Find the impulse response of system whose input-output signal difference equation is given by y ( n ) = 0 . 8y ( n 1 ) + x ( n ) y ( n ) = 0 . 8y ( n 1 ) + x ( n ) size 12{y \( n \) =0 "." 8y \( n - 1 \) +x \( n \) } {}

Solution

Replacing x(n)x(n) size 12{x \( n \) } {} by δ(n)δ(n) size 12{δ \( n \) } {} then y(n)y(n) size 12{y \( n \) } {} is just h(n)h(n) size 12{h \( n \) } {}:

h ( n ) = 0 . 8h ( n 1 ) + δ ( n ) h ( n ) = 0 . 8h ( n 1 ) + δ ( n ) size 12{h \( n \) =0 "." 8h \( n - 1 \) +δ \( n \) } {}

Remember that δ(n)=1δ(n)=1 size 12{δ \( n \) =1} {} at n=0n=0 size 12{n=0} {}, otherwise zero, and assume a causal system, i.e. h(n)=0h(n)=0 size 12{h \( n \) =0} {} for n<0n<0 size 12{n<0} {}, we have

h ( 0 ) = 0 . 8h ( 1 ) + δ ( 0 ) = 1 h ( 1 ) = 0 . 8h ( 0 ) + δ ( 1 ) = 0 . 8 h ( 2 ) = 0 . 8h ( 1 ) + δ ( 2 ) = 0 . 8 2 h ( 3 ) = 0 . 8h ( 2 ) + δ ( 3 ) = 0 . 8 3 . . . . h ( n ) = 0 . 8 n u ( n ) h ( 0 ) = 0 . 8h ( 1 ) + δ ( 0 ) = 1 h ( 1 ) = 0 . 8h ( 0 ) + δ ( 1 ) = 0 . 8 h ( 2 ) = 0 . 8h ( 1 ) + δ ( 2 ) = 0 . 8 2 h ( 3 ) = 0 . 8h ( 2 ) + δ ( 3 ) = 0 . 8 3 . . . . h ( n ) = 0 . 8 n u ( n ) alignl { stack { size 12{h \( 0 \) =0 "." 8h \( - 1 \) +δ \( 0 \) =1} {} # size 12{h \( 1 \) =0 "." 8h \( 0 \) +δ \( 1 \) =0 "." 8} {} # size 12{h \( 2 \) =0 "." 8h \( 1 \) +δ \( 2 \) =0 "." 8 rSup { size 8{2} } } {} # h \( 3 \) =0 "." 8h \( 2 \) +δ \( 3 \) =0 "." 8 rSup { size 8{3} } {} # "." "." "." "." {} # h \( n \) =0 "." 8 rSup { size 8{n} } u \( n \) {} } } {}

The system is IIR and stable (since h(n)h(n) size 12{h \( n \) } {} converges). Usually we don’t get the result in closed form as above. See also Example

Derive the difference equation from the impulse response

Resersely when the impulse response of a system is known we can derive its difference equation. Following is an illustrative example.

Example 2

The impulse response of a system is periodic with the period of 3 indexes h ( n ) = [ 1, 2, 3 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2 . . . ] h ( n ) = [ 1, 2, 3 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2 . . . ] size 12{h \( n \) = \[ 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2 "." "." "." \] } {} Find its input-output signal difference equation.

Solution

Delay the given impulse response 3 samples

h ( n 3 ) = [ 0, 0, 0 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2 . . . ] h ( n 3 ) = [ 0, 0, 0 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2, 3 ; 1, 2 . . . ] size 12{h \( n - 3 \) = \[ 0, matrix { } 0, matrix { } 0; matrix { } 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2, matrix { } 3; matrix { } 1, matrix { } 2 "." "." "." \] } {}

Take the difference

h ( n ) h ( n 3 ) = [ 1,2,3 ; 0,0,0,0,0 . . . ] = δ ( n ) + ( n 1 ) + ( n 2 ) h ( n ) h ( n 3 ) = [ 1,2,3 ; 0,0,0,0,0 . . . ] = δ ( n ) + ( n 1 ) + ( n 2 ) alignl { stack { size 12{h \( n \) - h \( n - 3 \) = \[ 1,2,3;0,0,0,0,0 "." "." "." \] } {} # size 12{ matrix { matrix { matrix { matrix { matrix { {} # {} } {} # {} } {} # {} # {} } {} # {} # {} } {} # {} # {} } =δ \( n \) +2δ \( n - 1 \) +3δ \( n - 2 \) } {} } } {}

Then

h ( n ) = h ( n 3 ) + δ ( n ) + ( n 1 ) + ( n 2 ) h ( n ) = h ( n 3 ) + δ ( n ) + ( n 1 ) + ( n 2 ) size 12{h \( n \) =h \( n - 3 \) +δ \( n \) +2δ \( n - 1 \) +3δ \( n - 2 \) } {}

By definition on of impulse response, the difference equation is

y ( n ) = y ( n 3 ) + x ( n ) + 2x ( n 1 ) + 3x ( n 2 ) y ( n ) = y ( n 3 ) + x ( n ) + 2x ( n 1 ) + 3x ( n 2 ) size 12{y \( n \) =y \( n - 3 \) +x \( n \) +2x \( n - 1 \) +3x \( n - 2 \) } {}

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks