<< Chapter < Page Chapter >> Page >
This module introduces sampling of a continuous time signal to produce a discrete time signal, including a computation of the spectrum of the sampled signal and a discussion of its implications for reconstruction.

Introduction

Digital computers can process discrete time signals using extremely flexible and powerful algorithms. However, most signals of interest are continuous time signals, which is how data almost always appears in nature. This module introduces the concepts behind converting continuous time signals into discrete time signals through a process called sampling.

Sampling

Sampling a continuous time signal produces a discrete time signal by selecting the values of the continuous time signal at evenly spaced points in time. Thus, sampling a continuous time signal x with sampling period T s gives the discrete time signal x s defined by x s ( n ) = x ( n T s ) . The sampling angular frequency is then given by ω s = 2 π / T s .

It should be intuitively clear that multiple continuous time signals sampled at the same rate can produce the same discrete time signal since uncountably many continuous time functions could be constructed that connect the points on the graph of any discrete time function. Thus, sampling at a given rate does not result in an injective relationship. Hence, sampling is, in general, not invertible.

For instance, consider the signals x , y defined by

x ( t ) = sin ( t ) t
y ( t ) = sin ( 5 t ) t

and their sampled versions x S , y s with sampling period T s = π / 2

x s ( n ) = sin ( n π / 2 ) n π / 2
y s ( n ) = sin ( n 5 π / 2 ) n π / 2 .

Notice that since

sin ( n 5 π / 2 ) = sin ( n 2 π + n π / 2 ) = sin ( n π / 2 )

it follows that

y s ( n ) = sin ( n π / 2 ) n π / 2 = x s ( n ) .

Hence, x and y provide an example of distinct functions with the same sampled versions at a specific sampling rate.

Got questions? Get instant answers now!

It is also useful to consider the relationship between the frequency domain representations of the continuous time function and its sampled versions. Consider a signal x sampled with sampling period T s to produce the discrete time signal x s ( n ) = x ( n T s ) . The spectrum X s ( ω ) for ω [ - π , π ) of x s is given by

X s ( ω ) = n = - x ( n T s ) e - j ω n .

Using the continuous time Fourier transform, x ( t T s ) can be represented as

x ( t T s ) = 1 2 π T s - X ω 1 T s e j ω 1 t d ω 1 .

Thus, the unit sampling period version of x ( t T s ) , which is x ( n T s ) can be represented as

x ( n T s ) = 1 2 π T s - X ω 1 T s e j ω 1 n d ω 1 .

This is algebraically equivalent to the representation

x ( n T s ) = 1 T s k = - 1 2 π - π π X ω 1 - 2 π k T s e j ( ω 1 - 2 π k ) n d ω 1 ,

which reduces by periodicity of complex exponentials to

x ( n T s ) = 1 T s k = - 1 2 π - π π X ω 1 - 2 π k T s e j ω 1 n d ω 1 .

Hence, it follows that

X s ( ω ) = 1 T s k = - n = - - π π X ω 1 - 2 π k T s e j ω 1 n d ω 1 e - j ω n .

Noting that the above expression contains a Fourier series and inverse Fourier series pair, it follows that

X s ( ω ) = 1 T s k = - X ω - 2 π k T s .

Hence, the spectrum of the sampled signal is, intuitively, the scaled sum of an infinite number of shifted and time scaled copies of original signal spectrum. Aliasing, which will be discussed in depth in later modules, occurs when these shifted spectrum copies overlap and sum together. Note that when the original signal x is bandlimited to ( - π / T s , π / T s ) no overlap occurs, so each period of the sampled signal spectrum has the same form as the orignal signal spectrum. This suggest that if we sample a bandlimited signal at a sufficiently high sampling rate, we can recover it from its samples as will be further described in the modules on the Nyquist-Shannon sampling theorem and on perfect reconstruction.

Sampling summary

Sampling a continuous time signal produces a discrete time signal by selecting the values of the continuous time signal at equally spaced points in time. However, we have shown that this relationship is not injective as multiple continuous time signals can be sampled at the same rate to produce the same discrete time signal. This is related to a phenomenon called aliasing which will be discussed in later modules. Consequently, the sampling process is not, in general, invertible. Nevertheless, as will be shown in the module concerning reconstruction, the continuous time signal can be recovered from its sampled version if some additional assumptions hold.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Signals and systems. OpenStax CNX. Aug 14, 2014 Download for free at http://legacy.cnx.org/content/col10064/1.15
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Signals and systems' conversation and receive update notifications?

Ask