Docsity

Convolution Integral: Finding the Output of a Linear System, Exercises of Differential and Integral Calculus

Toggle sidebar
bg1
Section 3: Summary
Convolution integral (memorise this):
f(t) = input
g(t) = impulse response
y(t) = output
y(t) = Zt
−∞ g(t−τ)f(τ)dτ
Way to find the output of a linear system, described
by a differential equation, for an arbitrary input:
•Find general solution to equation for input = 1.
•Set boundary conditions y(0) = ˙y(0) = 0 to get
the step response.
•Differentiate to get the impulse response.
•Use convolution integral together with the impulse
response to find the output for any desired input.
41
Section 4
Evaluating Convolution Integrals
A way of rearranging the convolution integral is de-
scribed and illustrated.
The differences between convolution in time and space
are discussed and the concept of causality is intro-
duced.
The section ends with an example of spatial convolu-
tion.
42
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Convolution Integral: Finding the Output of a Linear System and more Exercises Differential and Integral Calculus in PDF only on Docsity!

Section 3: Summary

Convolution integral (memorise this):

f^ (t

)^ =

input g(t)

impulse response y(t)

output y(t)

∫^ t^ −∞

g(t −^ τ

)^ f^ (

τ^ )^ dτ

Way to find the output of a linear system, describedby a differential equation, for an arbitrary input:^ •^

Find general solution to equation for input = 1. • Set boundary conditions

y(0) = ˙

y(0) = 0

to get

the step response. • Differentiate to get the impulse response. • Use convolution integral together with the impulseresponse to find the output for any desired input.

41

Section 4

Evaluating Convolution Integrals A way of rearranging the convolution integral is de-scribed and illustrated.The differences between convolution in time and spaceare discussed and the concept of causality is intro-duced.The section ends with an example of spatial convolu-tion.

42

Convolution Summary

Differential Equation ay + by + cy + d = f(t)

differentiate^ convolution ay + by + cy + d = 1

Step response solvewith boundary conditionsy(0) = 0 and y(0) = 0

Corresponding

Impulse response: g(t)

Output: y(t)

AnyInput: f(t)

y(t) =

∫^ t^ −∞

g(t −^ τ

)^ f^ (

τ^ )^ dτ

43

Splitting up Integrals

Suppose we have a function:

f^ (t

^ a 

, t <

b^ ,

0 < t < k c^ , k < t

and we want to evaluate the integral

∫^ t −∞

f^ (τ

)^ dτ

, we

can split it up as follows:

∫^ t^ −∞

a dτ

, t <

∫^0 −∞

a dτ

+^

∫^ tb dτ^0

,^0

< t < k

∫^0 −∞

a dτ

+^

∫^ kb dτ^0

+^

∫^ tc dτk^

, k < t

44

For part (ii) the required input is a pulse of unit heightand unit duration:

f^ (t

H(

t)^ −

H(

t^ −^

y(t)

∫^ t^ −∞

g(t −^ τ

)f^ (

τ^ )dτ

∫ 

t −∞

g(t −^ τ

)^ ×

0 dτ,

t <

∫^0 −∞

g(t −^ τ

)^ ×

0 dτ

∫ + tg( 0

t^ −^

τ^ )^ ×

1 dτ,

< t <

∫^0 −∞

g(t −^ τ

)^ ×

0 dτ

∫ + 1 g( 0

t^ −^

τ^ )^ ×

1 dτ

tg( 1

t^ −^

τ^ )^ ×

0 dτ,

t >

47

Case (a):

t <

∫^ t^ −∞

g(t −^ τ

)^ ×

0 dτ

so^

y(t) = 0

for all

t <

Case (b):

^0 < t <

y(t)

∫^ t g^0

(t^ −

τ^ )^

×^1

dτ^

t^103

sin(3(

t^ −

τ^ ))

dτ

=^

−^ cos(

t))

Case (c):

^1 < t y(t)

∫^10

g(t^

−^ τ

)^ ×

1 dτ

∫^10

1 sin(3( 3

t^ −^

τ^ ))

dτ

[^1 cos(3(^9

t^ −

τ^ ))

]^10

=^

1 {cos(3( 9

t^ −^

−^ cos(

t)}

48

Part (ii) Another Way

The input for part (ii) is composed of two step func-tions. We can therefore calculate the output using thestep response,

r(t

−^ cos(

t)).

Input

=^

H(

t)−

H(t

⇒^

Output

=^

r(t)

−r(

t−1)

Hence, for

t >

y(t)

(1^ −

cos(

t))^

(1^ −

cos(3(

t^ −^

=^

1 {cos(3( 9

t^ −^

−^ cos(

t)}

49

Alternate Convolution Integral

The normal convolution integral

y(t) =

∫^ t^ −∞

g(t −^ τ

)^ f^ (

τ^ )^ dτ

can be inconvenient to compute when we have a com-plicated expression for

g(t

We would therefore like to derive an alternative ver-sion of the convolution integral that has a term of theform

g(

τ^ )^

rather than

g(

t^ −^

τ^ )^

as this will be easier

to calculate in cases where

g^ is a complicated expres-

sion.

50

Spatial Convolution

Systems with

time-varying input & output.

Causal: no output before the input that causes it.

g(t) = 0

, t <

Systems with input, output a function of position. An input can affect the output on either side.

g(x

)^ can

be non-zero for any

x.

Consider a one-dimensional strip of a material that isknown to deform linearly according to

g(x

cosh(

x)^

x g(x)

when subject to a unit force at

x^ = 0

This is a spatial impulse response.

53

Spatial Convolution Example

x

f(x)

0

2 1

Calculate the deformation of a stripof material with spatial impulse re-sponse as described on the previ-ous page in response to a uniformload of

f^ (x

.^0

applied from

x^

to

x^

y(x

)^ =

∫^ ∞ −∞

g(x

−^ τ

)f^ (

τ^ )^ dτ

∫^0 −∞

cosh(

x^ −

τ^ )^

×^0

dτ

2 0

cosh(

x^ −

τ^ )^

×^1

dτ

∞ 2

cosh(

x^ −

τ^ )^

×^0

dτ

∫^20

cosh(

x^ −

τ^ )^

dτ

=^

{ 2 arctan

(^2 e

)−x −^ arctan

(− e

)}x^54

Variable Impulse Response

x

L

y Consider a taut string suspended between two pointsa distance

L^ apart. It is subject to a uniform loading

of^ K

per unit length which results in a

small

displace-

ment. If we knew the deformation caused by a point load,we could integrate in a style similar to the convolutionintegral to find the shape under the distributed load.If it was possible to have a spatial impulse response g(x

)^ then we could say

y(x

∫^ L 0 g(x

−^ τ

)F^ (

τ^ )^ dτ^55

x

L

y

x

y

x

y^

a a

a

But a normal impulse response is not possible be-cause the shape of

g^ changes depending on the po-

sition of the point load along the string.

We have a

function

g(x, a

)^ where the point load is at position

a.

The function

g^ that gives the displacement under a

point load depends on both the position of the load, a, and the position at which you want to know the dis-placement,

x.

56

Finally, we work out the shape of a string of length L^ with tension

T^ under a uniform load of

K^

per unit

length.^ y(

x)^

∫^ L^0

g(x, a

)F^ (

a)^ da

∫^ L^0

g(x, a

)K da

∫^ x^0

seg 2g

×^

K da

∫^ L x^

seg 1g

×^

K da

∫^ x^0

a(L

−^ x

)K

T L

da^ +

∫^ L x

x(L

−^ a

)K

T L^

da

(^ K^2 T

)^ x(

L^ −

x)

59

Section 4: Summary

If^ f

(t) =

g(t

for all

t <

0 then

∫^ t g^0

(t^ −

τ^ )f

(τ^ )

dτ^

t g 0

(τ^ )

f^ (t

−^ τ

)dτ

Systems for which

g(t

for all

t <

0 are called

causal

systems. Systems with time-varying inputs and outputs are causal.Systems that have inputs and outputs that vary as afunction of spatial location can have

g(x

)^6 = 0

for any

x.

60