Skip to content Skip to navigation Skip to collection information

OpenStax_CNX

You are here: Home » Content » Signals and Systems » Continuous Time Convolution

Navigation

Table of Contents

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.

Also in these lenses

  • Lens for Engineering

    This module and collection are included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

  • richb's DSP display tagshide tags

    This collection is included inLens: richb's DSP resources
    By: Richard Baraniuk

    Comments:

    "My introduction to signal processing course at Rice University."

    Click the "richb's DSP" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Continuous Time Convolution

Module by: Melissa Selik, Richard Baraniuk, Stephen Kruzick, Dan Calderon. E-mail the authors

Summary: Defines convolution and derives the Convolution Integral.

Introduction

Convolution, one of the most important concepts in electrical engineering, can be used to determine the output a system produces for a given input signal. It can be shown that a linear time invariant system is completely characterized by its impulse response. The sifting property of the continuous time impulse function tells us that the input signal to a system can be represented as an integral of scaled and shifted impulses and, therefore, as the limit of a sum of scaled and shifted approximate unit impulses. Thus, by linearity, it would seem reasonable to compute of the output signal as the limit of a sum of scaled and shifted unit impulse responses and, therefore, as the integral of a scaled and shifted impulse response. That is exactly what the operation of convolution accomplishes. Hence, convolution can be used to determine a linear time invariant system's output from knowledge of the input and the impulse response.

Convolution and Circular Convolution

Convolution

Operation Definition

Continuous time convolution is an operation on two continuous time signals defined by the integral

( f * g ) ( t ) = - f ( τ ) g ( t - τ ) d τ ( f * g ) ( t ) = - f ( τ ) g ( t - τ ) d τ
(1)

for all signals f,gf,g defined on RR. It is important to note that the operation of convolution is commutative, meaning that

f * g = g * f f * g = g * f
(2)

for all signals f,gf,g defined on RR. Thus, the convolution operation could have been just as easily stated using the equivalent definition

( f * g ) ( t ) = - f ( t - τ ) g ( τ ) d τ ( f * g ) ( t ) = - f ( t - τ ) g ( τ ) d τ
(3)

for all signals f,gf,g defined on RR. Convolution has several other important properties not listed here but explained and derived in a later module.

Definition Motivation

The above operation definition has been chosen to be particularly useful in the study of linear time invariant systems. In order to see this, consider a linear time invariant system HH with unit impulse response hh. Given a system input signal xx we would like to compute the system output signal H(x)H(x). First, we note that the input can be expressed as the convolution

x ( t ) = - x ( τ ) δ ( t - τ ) d τ x ( t ) = - x ( τ ) δ ( t - τ ) d τ
(4)

by the sifting property of the unit impulse function. Writing this integral as the limit of a summation,

x ( t ) = lim Δ 0 n x ( n Δ ) δ Δ ( t - n Δ ) Δ x ( t ) = lim Δ 0 n x ( n Δ ) δ Δ ( t - n Δ ) Δ
(5)

where

δ Δ ( t ) = 1 / Δ 0 t < Δ 0 otherwise δ Δ ( t ) = 1 / Δ 0 t < Δ 0 otherwise
(6)

approximates the properties of δ(t)δ(t). By linearity

H x ( t ) = lim Δ 0 n x ( n Δ ) H δ Δ ( t - n Δ ) Δ H x ( t ) = lim Δ 0 n x ( n Δ ) H δ Δ ( t - n Δ ) Δ
(7)

which evaluated as an integral gives

H x ( t ) = - x ( τ ) H δ ( t - τ ) d τ . H x ( t ) = - x ( τ ) H δ ( t - τ ) d τ .
(8)

Since Hδ(t-τ)Hδ(t-τ) is the shifted unit impulse response h(t-τ)h(t-τ), this gives the result

H x ( t ) = - x ( τ ) h ( t - τ ) d τ = ( x * h ) ( t ) . H x ( t ) = - x ( τ ) h ( t - τ ) d τ = ( x * h ) ( t ) .
(9)

Hence, convolution has been defined such that the output of a linear time invariant system is given by the convolution of the system input with the system unit impulse response.

Graphical Intuition

It is often helpful to be able to visualize the computation of a convolution in terms of graphical processes. Consider the convolution of two functions f,gf,g given by

( f * g ) ( t ) = - f ( τ ) g ( t - τ ) d τ = - f ( t - τ ) g ( τ ) d τ . ( f * g ) ( t ) = - f ( τ ) g ( t - τ ) d τ = - f ( t - τ ) g ( τ ) d τ .
(10)

The first step in graphically understanding the operation of convolution is to plot each of the functions. Next, one of the functions must be selected, and its plot reflected across the τ=0τ=0 axis. For each real tt, that same function must be shifted left by tt. The product of the two resulting plots is then constructed. Finally, the area under the resulting curve is computed.

Example 1

Recall that the impulse response for the capacitor voltage in a series RC circuit is given by

h ( t ) = 1 R C e - t / R C u ( t ) , h ( t ) = 1 R C e - t / R C u ( t ) ,
(11)

and consider the response to the input voltage

x ( t ) = u ( t ) . x ( t ) = u ( t ) .
(12)

We know that the output for this input voltage is given by the convolution of the impulse response with the input signal

y ( t ) = x ( t ) * h ( t ) . y ( t ) = x ( t ) * h ( t ) .
(13)

We would like to compute this operation by beginning in a way that minimizes the algebraic complexity of the expression. Thus, since x(t)=u(t)x(t)=u(t) is the simpler of the two signals, it is desirable to select it for time reversal and shifting. Thus, we would like to compute

y ( t ) = - 1 R C e - τ / R C u ( τ ) u ( t - τ ) d τ . y ( t ) = - 1 R C e - τ / R C u ( τ ) u ( t - τ ) d τ .
(14)

The step functions can be used to further simplify this integral by narrowing the region of integration to the nonzero region of the integrand. Therefore,

y ( t ) = 0 max { 0 , t } 1 R C e - τ / R C d τ . y ( t ) = 0 max { 0 , t } 1 R C e - τ / R C d τ .
(15)

Hence, the output is

y ( t ) = 0 t 0 1 - e - t / R C t > 0 y ( t ) = 0 t 0 1 - e - t / R C t > 0
(16)

which can also be written as

y ( t ) = 1 - e - t / R C u ( t ) . y ( t ) = 1 - e - t / R C u ( t ) .
(17)

Circular Convolution

Continuous time circular convolution is an operation on two finite length or periodic continuous time signals defined by the integral

( f * g ) ( t ) = 0 T f ^ ( τ ) g ^ ( t - τ ) d τ ( f * g ) ( t ) = 0 T f ^ ( τ ) g ^ ( t - τ ) d τ
(18)

for all signals f,gf,g defined on R[0,T]R[0,T] where f^,g^f^,g^ are periodic extensions of ff and gg. It is important to note that the operation of circular convolution is commutative, meaning that

f * g = g * f f * g = g * f
(19)

for all signals f,gf,g defined on R[0,T]R[0,T]. Thus, the circular convolution operation could have been just as easily stated using the equivalent definition

( f * g ) ( t ) = 0 T f ^ ( t - τ ) g ^ ( τ ) d τ ( f * g ) ( t ) = 0 T f ^ ( t - τ ) g ^ ( τ ) d τ
(20)

for all signals f,gf,g defined on R[0,T]R[0,T] where f^,g^f^,g^ are periodic extensions of ff and gg. Circular convolution has several other important properties not listed here but explained and derived in a later module.

Alternatively, continuous time circular convolution can be expressed as the sum of two integrals given by

( f * g ) ( t ) = 0 t f ( τ ) g ( t - τ ) d τ + t T f ( τ ) g ( t - τ + T ) d τ ( f * g ) ( t ) = 0 t f ( τ ) g ( t - τ ) d τ + t T f ( τ ) g ( t - τ + T ) d τ
(21)

for all signals f,gf,g defined on R[0,T]R[0,T].

Meaningful examples of computing continuous time circular convolutions in the time domain would involve complicated algebraic manipulations dealing with the wrap around behavior, which would ultimately be more confusing than helpful. Thus, none will be provided in this section. However, continuous time circular convolutions are more easily computed using frequency domain tools as will be shown in the continuous time Fourier series section.

Definition Motivation

The above operation definition has been chosen to be particularly useful in the study of linear time invariant systems. In order to see this, consider a linear time invariant system HH with unit impulse response hh. Given a finite or periodic system input signal xx we would like to compute the system output signal H(x)H(x). First, we note that the input can be expressed as the circular convolution

x ( t ) = 0 T x ^ ( τ ) δ ^ ( t - τ ) d τ x ( t ) = 0 T x ^ ( τ ) δ ^ ( t - τ ) d τ
(22)

by the sifting property of the unit impulse function. Writing this integral as the limit of a summation,

x ( t ) = lim Δ 0 n x ^ ( n Δ ) δ ^ Δ ( t - n Δ ) Δ x ( t ) = lim Δ 0 n x ^ ( n Δ ) δ ^ Δ ( t - n Δ ) Δ
(23)

where

δ Δ ( t ) = 1 / Δ 0 t < Δ 0 otherwise δ Δ ( t ) = 1 / Δ 0 t < Δ 0 otherwise
(24)

approximates the properties of δ(t)δ(t). By linearity

H x ( t ) = lim Δ 0 n x ^ ( n Δ ) H δ ^ Δ ( t - n Δ ) Δ H x ( t ) = lim Δ 0 n x ^ ( n Δ ) H δ ^ Δ ( t - n Δ ) Δ
(25)

which evaluated as an integral gives

H x ( t ) = 0 T x ^ ( τ ) H δ ^ ( t - τ ) d τ . H x ( t ) = 0 T x ^ ( τ ) H δ ^ ( t - τ ) d τ .
(26)

Since Hδ(t-τ)Hδ(t-τ) is the shifted unit impulse response h(t-τ)h(t-τ), this gives the result

H x ( t ) = 0 T x ^ ( τ ) h ^ ( t - τ ) d τ = ( x * h ) ( t ) . H x ( t ) = 0 T x ^ ( τ ) h ^ ( t - τ ) d τ = ( x * h ) ( t ) .
(27)

Hence, circular convolution has been defined such that the output of a linear time invariant system is given by the convolution of the system input with the system unit impulse response.

Graphical Intuition

It is often helpful to be able to visualize the computation of a circular convolution in terms of graphical processes. Consider the circular convolution of two finite length functions f,gf,g given by

( f * g ) ( t ) = 0 T f ^ ( τ ) g ^ ( t - τ ) d τ = 0 T f ^ ( t - τ ) g ^ ( τ ) d τ . ( f * g ) ( t ) = 0 T f ^ ( τ ) g ^ ( t - τ ) d τ = 0 T f ^ ( t - τ ) g ^ ( τ ) d τ .
(28)

The first step in graphically understanding the operation of convolution is to plot each of the periodic extensions of the functions. Next, one of the functions must be selected, and its plot reflected across the τ=0τ=0 axis. For each tR[0,T]tR[0,T], that same function must be shifted left by tt. The product of the two resulting plots is then constructed. Finally, the area under the resulting curve on R[0,T]R[0,T] is computed.

Convolution Demonstration

Figure 1: Interact (when online) with a Mathematica CDF demonstrating Convolution. To Download, right-click and save target as .cdf.
ConvolutionDemo

Convolution Summary

Convolution, one of the most important concepts in electrical engineering, can be used to determine the output signal of a linear time invariant system for a given input signal with knowledge of the system's unit impulse response. The operation of continuous time convolution is defined such that it performs this function for infinite length continuous time signals and systems. The operation of continuous time circular convolution is defined such that it performs this function for finite length and periodic continuous time signals. In each case, the output of the system is the convolution or circular convolution of the input signal with the unit impulse response.

Collection Navigation

Content actions

Download:

Collection 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 ...

Module as:

PDF | More downloads ...

Add:

Collection 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

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