chapter 4 two major topics of this chapter: chapter 4 time...

24
Chapter 4 Digital Signal Processing of Continuous-Time Signals 2 Chapter 4 Two major topics of this chapter: Time-Domain Sampling Sampling of Continuous-Time Signals Sampling Effect of Sampling in the Frequency Domain Recovery of the Analog Signal Implementation of the Sampling Process Sampling of Bandpass Signals Analog Filter Design Analog Lowpass Filter Specifications Butterworth Approximation Design of Other Types of Analog Filters Chapter 4A Time-Domain Sampling 4 Part A: Time-Domain Sampling Necessity Most signals in the real world are continuous in time, such as speech, music, and images. For processing these continuous-time signals by digital systems, we need the analog-to- digital and digital-to-analog interface circuits to convert the continuous-time signals into discrete-time digital form, and vice versa.

Upload: dinhphuc

Post on 22-Mar-2018

226 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

Chapter 4

Digital Signal Processing of Continuous-Time Signals

2

Chapter 4 Two major topics of this chapter: Time-Domain Sampling

Sampling of Continuous-Time Signals Sampling Effect of Sampling in the Frequency Domain Recovery of the Analog Signal Implementation of the Sampling Process

Sampling of Bandpass Signals

Analog Filter Design Analog Lowpass Filter Specifications Butterworth Approximation Design of Other Types of Analog Filters

Chapter 4A

Time-Domain Sampling

4

Part A: Time-Domain Sampling Necessity

Most signals in the real world are continuous in time, such as speech, music, and images. For processing these continuous-time signals

by digital systems, we need the analog-to-digital and digital-to-analog interface circuits to convert the continuous-time signals into discrete-time digital form, and vice versa.

Page 2: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

5

Part A: Time-Domain Sampling Necessity

It is necessary to develop the relations between the continuous-time signal and its discrete-time equivalent in the time-domain and also in the frequency-domain. The latter relations are important in determining

conditions under which the discrete-time processing of continuous-time signals can be done free of error under ideal situations.

6

1 Introduction

Digital processing of a continuous-time signal involves the following basic steps:(1) Conversion of the continuous-time signal into a discrete-time signal,(2) Processing of the discrete-time signal,(3) Conversion of the processed discrete-time signal back into a continuous-time signal

7

1 Introduction

Complete block-diagram is shown below

Anti-aliasing filter S/H A/D D/ADigital

ProcessingReconstruction filter

8

1 Introduction

Conversion of a continuous-time signal into digital form is carried out by an analog-to-digital (A/D) converter

The reverse operation of converting a digital signal into a continuous-time signal is performed by a digital-to-analog (D/A) converter

Page 3: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

9

1 Introduction

Since the A/D conversion takes a finite amount of time, a sample-and-hold (S/H) circuit is used to ensure that the analog signal at the input of the A/D converter remains constant in amplitude until the conversion is complete to minimize the error in its representation S/H circuit often consists of a capacitor to store the

analogue voltage, and an electronic switch or gate to alternately connect and disconnect the capacitor from the analogue input.

10

1 Introduction

The continuous-time signal to be processed usually has a larger bandwidth than the bandwidth of the available discrete-time processors.

To prevent aliasing, an analog anti-aliasing filter is employed before the S/H circuit.

11

1 Introduction

To smooth the output signal of the D/A converter, which has a staircase-like waveform, an analog reconstruction filter is used.

12

1 Introduction

Both the anti-aliasing filter and the reconstruction filter are analog lowpassfilters, we will go throw the theory behind the design of such filters in following lecture

Also, the most widely used IIR digital filter design method is based on the conversion of an analog lowpass prototype

Page 4: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

13

1 Introduction

The simplified block-diagram is shown below

[ ]x n [ ]y n tya txa

14

1 Introduction

Ideal sampler: the S/H circuit in cascade with an infinite precision A/D converter has been replaced with the ideal continuous-time to discrete-time (CT-DT) converter which develops a discrete-time equivalent x[n] of the continuous-time signal ( )ax t

15

1 Introduction

Ideal interpolator: the infinite-precision D/A converter in cascade with the ideal reconstruction filter has been replaced with the ideal discrete-time to continuous-time (DT-CT) converter, which develops a continuous-time equivalent of the processed discrete-time signal y[n].

( )ay t

16

2 Sampling of Continuous-Time Signals

Often, a discrete-time sequence g[n] is developed by uniformly sampling a continuous-time signal ga(t) as indicated below

,2 ,1 ,0 ,1 ,2, nnTgtgng anTta

Page 5: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

17

2.1 Sampling Process

Let ga(t) be a continuous-time signal that is sampled uniformly at t = nT, generating the sequence g[n] where g[n]= ga(nT) with Tbeing the sampling period

The reciprocal of T is called the sampling frequency FT , i.e., denoting the sampling angular frequency.

1/TF T ,2 ,1 ,0 ,1 ,2, nnTgtgng anTta

TTn nFnnTt /2/

TT F2

18

2.1 Sampling Processing

Consider the continuous-time signal

The corresponding discrete-time signal is

: normalized digital angular frequency

)cos()2cos()( tAtfAtg ooa

)cos(][ nTAng o

ToT

oo

2

)cos()2cos(

nAnA oT

o

19

2.1 Sampling Processing

If the unit of sampling period T is in seconds The unit of normalized digital angular frequency

is radians. The unit of normalized analog angular frequency

is radians/second. The unit of sampling frequency is hertz (Hz). The unit of analog frequency is hertz (Hz).

o

o

ofTf

TT

00

02

20

2.1 Sampling Processing

Recall Consider three continuous-time signals of

frequencies 3 Hz, 7 Hz, and 13 Hz, are sampled at a sampling rate of 10 Hz, i.e. with T = 0.1 sec, generating the three sequences

)26cos()()14cos()(

)6cos()(

3

2

1

ttgttg

ttg

n6.2cosn

n4.1cosnn6.0cosn

3

2

1

ggg

Page 6: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

21

2.1 Sampling Processing

Recall Plots of these sequences and their parent time

functions

0 0.2 0.4 0.6 0.8 1-1

-0.5

0

0.5

1

Time

Am

plitu

de

22

2.1 Sampling Processing

It is obvious that identical discrete time signals may result from the sampling of more than one distinct continuous-time function

In fact, there exists an infinite number of continuous-time signals, which when sampled lead to the same discrete-time signal

23

2.1 Sampling Processing

Example : This fact can also be verified by observing that

It is difficult to associate a unique continuous-time function with each of these sequences.

a continuous time signal of higher frequency acquiring the identity of a sinusoidal sequence of lower frequency after sampling is called aliasing.

][)6.0cos(])6.02cos[()6.2cos(][][)6.0cos(])4.12cos[()4.1cos(][

13

12

ngnnnngngnnnng

24

2.1 Sampling Process

However, under certain conditions, it is possible to relate a unique continuous-time signal to a given discrete-time signals

If these conditions hold, then it is possible to recover the original continuous-time signal from its sampled values

Page 7: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

25

2.2 Effect of Sampling in the Frequency Domain

Now, the frequency-domain representation of ga(t) is given by its continuous-time Fourier transform (CTFT):

The frequency-domain representation of g[n] is given by its discrete-time Fourier transform (DTFT):

( ) ( ) j ta aG j g t e dt

nj

n

j engeG

][)(

26

2.2 Effect of Sampling in the Frequency Domain

To establish the relation between and , we treat the sampling operation

mathematically as a multiplication of ga(t) by a periodic impulse train p(t):

( )aG j( )jG e

ga(t)

p(t)

gp(t)

( ) ( ) ( )p ag t g t p t

27

2.2 Effect of Sampling in the Frequency Domain

ga(t) is a continuous-time signal consisting of a train of uniformly spaced impulses with the impulse at t = nT weighted by the sampled value ga(nT) of ga(t) at that instantga(t)

0 t

gp(t)

0 t

ga(t)

28

2.2 Effect of Sampling in the Frequency Domain

p(t) consists of a train of ideal impulses with a period T as shown below

The multiplication operation yields an impulse train:

… …

p(t)

t0 T 2T-2T-T

( ) ( ) ( ) ( ) ( )p a an

g t g t p t g nT t nT

Page 8: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

29

2.2 Effect of Sampling in the Frequency Domain

Two different forms of : One form is given by the weighted sum of the

CTFTs :

time-shifting property

( )pG j

( ) ( ) j nTp a

n

G j g nT e

( ) ( ) ( ) ( ) ( )p a an n

G j g nT t nT g nT t nT

30

2.2 Effect of Sampling in the Frequency Domain

Two different forms of : second form: we note that p(t) can be expressed as a

Fourier series:

where

The impulse train gp(t) therefore can be expressed as

( )pG j

21 1( ) Tj kt j ktT

k k

p t e eT T

2

T T

tgeT

tg ak

tjkΩp

T

1

31

2.2 Effect of Sampling in the Frequency Domain

From the frequency-shifting property, the frequency translated portions of is given by:

Hence, an alternative form of the CTFT of is given by

periodic function of consisting of a sum of shifted and scaled replicas of , shifted by integer multiples of and scaled by .

( ( ))a TG j k

1( ) ( ( ))p a Tk

G j G j kT

)( jGa

TT1

)( jGa

32

2.2 Effect of Sampling in the Frequency Domain

The term on the RHS of the previous equation for k = 0 is the baseband portion of , and each of the remaining terms are the frequency translated portions of

( )pG j

( )pG j

Page 9: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

33

2.2 Effect of Sampling in the Frequency Domain

Thus if , the corresponding normalized digital angular frequency of the discrete-time signal obtained by sampling the parent continuous-time sinusoidal signal will be in the range .

No aliasing

o02T

34

2.2 Effect of Sampling in the Frequency Domain

On the other hand, if , the normalized digital angular frequency will fold over into a lower digital frequency in the range because of aliasing. an overlap of the spectra

To prevent aliasing, the sampling frequencyshould be greater than 2 times the frequency of the sinusoidal signal being sampled.

02T

2T00 2

T0

Sampling Theorem

35

2.2 Effect of Sampling in the Frequency Domain

The frequency range is called the baseband or Nyquist band

Let ga(t) be a band-limited signal with for ,

then ga(t) is uniquely determined by its samples ga(nT), , if

where

/ 2 / 2T T

( ) 0aG j m

n

2T m 2

T T

36

2.2 Effect of Sampling in the Frequency Domain

Illustration of the frequency-domain effects of time-domain sampling

0

( )aG j

1

mm

… …0

( )P j

T T 2 T

1

3 T

…0

( )pG j

T

T m

T 2 Tmm

…0

T

T m

T 2 Tmm

T2 T

( )pG j

1/T

1/T

Page 10: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

37

If , ga(t) can be recovered exactly from gp(t) by passing it through an ideal lowpass filter with a gain T and a cutoff frequency greater than and less than as shown below

2.2 Effect of Sampling in the Frequency Domain

2T m

( )rH jc m

T m

ga(t)gp(t)

p(t)

( )rH j ˆ ( )ag t

38

The spectra of the filter and pertinent signals are shown below

2.2 Effect of Sampling in the Frequency Domain

…0

( )pG j

T

T m

T 2 Tmm

0

( )rH j

m c T m

c

1/T

T

c

0

ˆ ( )aG j

1

mm

39

On the other hand, if , due to the overlap of the shifted replicas of , the spectrum cannot be separated by filtering to recover because of the distortion caused by a part of the replicas immediately outside the baseband folded back or aliased into the baseband.

2.2 Effect of Sampling in the Frequency Domain

2T m ( )aG j

( )aG j

( )aG j

40

Sampling TheoremLet be a band-limited signal with

CTFT

Then is uniquely determined by itssamples , if

where .

2.2 Effect of Sampling in the Frequency Domain

nnTgng a ),(][

)(tga

mT 2

ma forjG ||0)(

T2

T

)(tga

Page 11: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

41

2.2 Effect of Sampling in the Frequency Domain

Nyquist conditionFolding frequencyNyquist frequency

Nyquist rateWhen OversamplingWhen UndersamplingWhen Critical sampling

Note: A pure sinusoid may not be recoverable from its critically sampled version

/ 2T

m

2 m2T m

2T m

2T m

2T m

42

Example In high-quality analog music signal

processing, a bandwidth of 20 kHz has been determined to preserve the fidelity (保真度)

Hence, in compact disc (CD) music systems, a sampling rate of 44.1 kHz, which is slightly higher than twice the signal bandwidth, is used

2.2 Effect of Sampling in the Frequency Domain

43

Example Consider the three continuous time sinusoidal

signals at a rate of T = 0.1 sec :

Their corresponding CTFTs are:

2.2 Effect of Sampling in the Frequency Domain

1 2 3( ) cos(6 ), ( ) cos(14 ), ( ) cos(26 )g t t g t t g t t

1

2

3

( ) ( 6 ) ( 6 )( ) ( 14 ) ( 14 )( ) ( 26 ) ( 26 )

G jG jG j

44

These three transforms are plotted below

2.2 Effect of Sampling in the Frequency Domain

0

1( )G j

6

6

0

2 ( )G j

14

143 ( )G j

0

26

26

Page 12: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

45

These continuous-time signals sampled at a rate of T = 0.1 sec, i.e., with a sampling frequency rad/sec

The sampling process generates the continuous-time impulse trains, g1p(t), g2p (t), and g3p (t)

Their corresponding CTFTs are given by

2.2 Effect of Sampling in the Frequency Domain

20T

( ) 10 ( ( )), 1 3lp l Tk

G j G j k l

46

Plots of the 3 CTFTs are shown below

2.2 Effect of Sampling in the Frequency Domain

0

1 ( )pG j

6

10

6 2020

0.1

( )rH j

cc

Spectrum lines painted by Redand Greencolors designate aliases

10c

The cutoff frequency of the lowpassfilter is chosen as

0

2 ( )pG j

1414

10

2020

0.1

66

( )rH j

cc34

3 ( )pG j

0

10

0.1

2020 66

( )rH j

40 40cc

2626

470 0.2 0.4 0.6 0.8 1-1

-0.5

0

0.5

1

Time

Ampl

itude

g1(t)g1(n)g2(t)g2(n)g3(t)g3(n)

2.2 Effect of Sampling in the Frequency Domain

48

We now derive the relation between the DTFT of g[n] and the CTFT of gp(t)

To this end we compare

with

and make use of

2.2 Effect of Sampling in the Frequency Domain

( ) ( ) j nTp a

n

G j g nT e

j

n

j engeG

][)(

nnTgng a ),(][

Page 13: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

49

Observation: We have

or, equivalently,

From the above observation and

2.2 Effect of Sampling in the Frequency Domain

/( ) ( )j

p TG e G j

( ) ( )jp T

G j G e

1( ) ( ( ))p a Tk

G j G j kT

50

We arrive at the desired result given by

2.2 Effect of Sampling in the Frequency Domain

/

1( )

1

1 2

ja T

k T

a Tk

ak

G e G j jkT

G j jkT T

kG j jT T T

51

The relation derived on the previous slide can be alternately expressed as

from

or from

2.2 Effect of Sampling in the Frequency Domain

1( )j Ta T

k

G e G j jkT

/( ) ( )j

p TG e G j

( ) ( )jp T

G j G e

52

It follows that is obtained from by applying the mapping

Now, the CTFT is a periodic function of with a period

Because of the mapping, the DTFT is a periodic function of with a period

2.2 Effect of Sampling in the Frequency Domain

( )jG e ( )pG j/T

( )pG j2 /T T

( )jG e

2

Page 14: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

53

We now derive the expression for the output fsdf of the ideal lowpass reconstruction filter as a function of the samples g[n]

The impulse response hr(t) of the lowpassreconstruction filter is obtained by taking the inverse DTFT of :

2.3 Recovery of the Analog Signal

ˆ ( )ag t( )rH j

,( )

0,c

rc

TH j

54

Thus, the impulse response is given by

The input to the lowpass filter is the impulse train gp(t)

2.3 Recovery of the Analog Signal

n

p Tntng)t(g

deTdejHh c

c

tjtjrr 22

1t

tt

t

T

c ,2/

sin

55

Therefore, the output of the ideal lowpass filter is given by:

Substituting in the above and assuming for simplicity, we get

2.3 Recovery of the Analog Signal

ˆ ( )ag t

ˆ ( ) ( ) ( ) ( ) ( )a p r rn

g t g t h t g n h t nT

/ 2 /c T T

n

a TnTtTnTtngtg

/)(]/)(sin[][)(ˆ

( )rh t

56

It can be shown that when in

hr(0)=1 and hr(nT)=0 for n≠0 As a result, from

we observefor all integer values of r in the range

2.3 Recovery of the Analog Signal

sin( )/ 2

cr

T

th tt

/ 2c T

sin[ ( ) / ]ˆ ( ) ( )( ) /a

n

t nT Tg t g nt nT T

ˆ ( ) ( ) ( )a ag rT g r g rT

r

Page 15: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

57

2.3 Recovery of the Analog Signal

1 2 3 4 5 6 7 8 9-0.5

0

0.5

1

1.5

2

Time

Am

plitu

de The ideal bandlimited interpolation process is

illustrated below

58

The relation , r is integer, holds whether or not the condition of the sampling theorem is satisfied

However, for all values of t only if the sampling frequency satisfies the condition of the sampling theorem

2.3 Recovery of the Analog Signal

ˆ ( ) ( ) ( )a ag rT g r g rT

ˆ ( ) ( )a ag t g tT

59

Consider again the three continuous-time signals: , , and

The plot of the CTFT of the sampled version of g1(t) is shown below

2.4 Implication of the Sampling Process

3( ) cos(26 )g t t2 ( ) cos(14 )g t t1( ) cos(6 )g t t

0

1 ( )pG j

6

10

6 2020

0.1

( )rH j

cc

1 ( )pG j

60

From the plot, it is apparent that we can recover any of its frequency-translated versions outside the baseband by passing through an ideal analog bandpass filter g1p(t) with a passband centered at

For example, to recover the signal cos(34pt), it will be necessary to employ a bandpassfilter with a frequency response

2.4 Implication of the Sampling Process

cos 20 6k t

20 6k cos(34 )t

0.1, (34 ) (34 )( )

0, otherwiserH j

A small number

Page 16: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

61

Likewise, we can recover the aliased baseband component cos(6pt) from the sampled version of either g2p(t) or g3p(t) by passing it through an ideal lowpass filter with a frequency response:

2.4 Implication of the Sampling Process

cos(6 )t

0.1, 0 (6 )( )

0, otherwiserH j

62

There is no aliasing distortion unless the original continuous-time signal also contains the component

Similarly, from either g2p(t) or g3p(t) we can recover any one of the frequency-translated versions, including the parent continuous-time signal cos(14πt) or cos(26πt) as the case may be, by employing suitable filters

2.4 Implication of the Sampling Process

cos(6 )t

63

2.4 Implication of the Sampling Process

0 0.2 0.4 0.6 0.8 1-1

-0.5

0

0.5

1Input analog signal

Time

Am

plitu

de

0 2 4 6 8 10-1

-0.5

0

0.5

1Impulse train output of sampler

Time

Am

plitu

de

0 0.2 0.4 0.6 0.8 1-1

-0.5

0

0.5

1Output of bandpass reconstruction filter

Time

Am

plitu

de

64

The conditions developed earlier assumed that the continuous-time signal is band-limited in the frequency range from dc to some frequency

. Such a continuous-time signal is commonly

referred to as a lowpass signal

3 Sampling of Bandpass Signals

m

Page 17: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

65

There are applications where the continuous-time signal is bandlimited to a higher frequency range a with

Such a signal is usually referred to as the bandpass signal

To prevent aliasing,a bandpass signal can of course be sampled at a rate greater than twice the highest frequency, i.e. by ensuring

3 Sampling of Bandpass Signals

L H 0L

2T H 66

However, due to the bandpass spectrum of the continuous-time signal, the spectrum of the discrete-time signal obtained by sampling will have spectral gaps with no signal components present in these gaps

Moreover, if is very large, the sampling rate also has to be very large which may not be practical in some situations

3 Sampling of Bandpass Signals

H

67

A more practical approach is to use under-sampling

Let define the bandwidth of the bandpass signal

Assume first that the highest frequency contained in the signal is an integer multiple of the bandwidth, i.e.,

3 Sampling of Bandpass Signals

H

H L

( )H M

68

We choose the sampling frequency to satisfy the condition

which is smaller than , the Nyquist rate Substitute the above expression for in

3 Sampling of Bandpass Signals

T

2 H

22( ) HT M

T

1( )p a Tk

G j G j jkT

1( ) 2 ( )p ak

G j G j j kT

Page 18: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

69

As before, consists of a sum of and replicas of shifted by integer multiples of twice the bandwidth DWandscaled by 1/T

The amount of shift for each value of kensures that there will be no overlap between all shifted replicas no aliasing

3 Sampling of Bandpass Signals

( )pG j ( )aG j( )aG j

70

Figure below illustrates the idea behind

3 Sampling of Bandpass Signals

( )aG j

0HLH L

( )pG j

0HLH L

71

As can be seen, ga(t) can be recovered from gp(t) by passing it through an ideal bandpass filter with a passband given by and a gain of T

Note: Any of the replicas in the lower frequency bands can be retained by passing gp(t) through bandpass filters with passbands

, providing a translation to lower frequency ranges

3 Sampling of Bandpass Signals

L H

( ) ( )L Hk k 1 1k M

72

If is not an integer multiple of the band-width , we can extend the band-width either to the right or to the left artificially so that the highest frequency contained in the bandpass signal is an integer multiple of the extended bandwidth.

3 Sampling of Bandpass Signals

HH L

Page 19: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

73

Figure below illustrates the idea behind

3 Sampling of Bandpass Signals

( )aG j

0HLH L

( )pG j

0HLH L

LL

LL

74

Analog anti-aliasing lowpass filter is the first circuit in the interface between the continuous-time and the discrete-time domains.

*1 Anti-Aliasing Filter Design

75

Ideally, the anti-aliasing filter should have a lowpass frequency response

Such a “brick-wall” type frequency response cannot be realized using practical analog circuit components and, hence, must be approximated.

*1 Anti-Aliasing Filter Design

2,0

2,1

T

T

a jH

saH

76

A practical anti-aliasing filter should have a passband magnitude response approximating unity

with an acceptable tolerance, a stopband magnitude response exceeding a minimum

attenuation level an acceptable transition band separating the passband

and the stopband, with a transmission zero at infinity.

In many applications, it is also desirable to have a linear-phase response in the passband.

*1 Anti-Aliasing Filter Design

Page 20: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

77

The passband edge frequency , the stopbandedge frequency , and the sampling frequency

must satisfy the relation

The maximum aliasing distortion comes from the signal components in the replicas of the input spectrum adjacent to the baseband.

*1 Anti-Aliasing Filter Design

p

Ts

2T

p s

78

*1 Anti-Aliasing Filter Design

jXa

jHa

A

1

1

P2

T0

PT T

79

The the frequency is aliased into , and if the acceptable amount of aliased spectrum at is

then the minimum attenuation of the anti-aliasing filter at must also be .

*1 Anti-Aliasing Filter Design

0 T p

10120 logP A

p

0 P

p

80

In practice, the sampling frequency chosen depends on the specific application.

In applications requiring minimal aliasing, the sampling rate is typically chosen to be 3 to 4 times the passband edge of the anti-aliasing analog filter.

In noncritical applications, a sampling rate of twice the passband edge of the anti-aliasing analog filter is more than adequate.

*1 Anti-Aliasing Filter Design

p

p

Page 21: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

81

Requirements for the analog anti-aliasing filter can be relaxed by oversampling the analog signal and then decimating the high-sampling-rate digital signal to the desired low-rate digital signal.

The decimation process can be implemented completely in the digital domain by first passing the high-rate digital signal through a digital anti-aliasing filter and then downsampling its output.

*1 Anti-Aliasing Filter Design

82

*1 Anti-Aliasing Filter Design

jGp

m TmT

jHa... ...

jGp

m TmT

jHa

... ...0

83

Note that the transition band of the analog anti-aliasing filter with a higher sampling rate is considerably more than 3 times that needed in the former situation.

As a result, the filter specifications are met more easily with a much lower order analog filter.

*1 Anti-Aliasing Filter Design

84

The output of the D/A converter is finally passed through an analog reconstruction or smoothing filter to eliminate all the replicas of the spectrum outside the baseband.

*2 Reconstruction Filter Design

Page 22: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

85

The impulse response of the lowpass reconstruction filter is obtained by taking the inverse DTFT of :

The reconstructed analog equivalent

*2 Reconstruction Filter Design

, / 2

0, / 2T

rT

TH j

thr rH j

tya

sin /.

/an

t nT Ty t y n

t nT T

86

An ideal impulse-train D/A output , followed by a linear, time-invariant analog circuit (zero-order hold operation) with an impulse response that is a rectangular pulse of width T and unity height.

*2 Reconstruction Filter Design

thz

ty p

ty p tyz thz

z z PY j H j Y j

tyz

0 Tt

......

87

The magnitude response of the zero-order hold circuit, has a lowpass characteristic with zeros at ± T , ±2 T ,... , where is the sampling angular frequency.

*2 Reconstruction Filter Design

2 /T T

0 1 2 30

0.2

0.4

0.6

0.8

1

t

h z

0 5 10 15 200

0.2

0.4

0.6

0.8

1

|Hz(j

)|

88

The zero-order hold circuit somewhat attenuates the unwanted replicas centered at multiples of the sampling frequency .

*2 Reconstruction Filter Design

T

0 5 10 150

0.2

0.4

0.6

0.8

1

|Yp(j

)|

0 5 10 150

0.2

0.4

0.6

0.8

1

|Hz(j

)|

Page 23: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

89

Moreover, it should also compensate for the amplitude distortion, more commonly called droop, caused by the zero-order hold circuit in the band from DC to .

*2 Reconstruction Filter Design

/ 2T

90

The general specifications for the analog reconstruction filter can be easily determined if the effect of the droop is neglected.

If denotes the highest frequency of the signal that should be preserved at the output of the reconstruction filter, then the lowest-frequency component present in the residual images in the output of the zero-order hold circuit is of frequency

*2 Reconstruction Filter Design

rH j

c( )py t

0 T c

91

Therefore, if the system specification calls for a minimum attenuation of As dB of all frequency components in the residual images, then the reconstruction filter should provide at least an attenuation of dB at

*2 Reconstruction Filter Design

1020logs z oA H j 0

92

For example, if the normalized value of is 0.7π, then the gain of the zero-order hold circuit at 0.7π is -7.2 dB. Now, the lowest normalized frequency of the residual images is given by 1.3π.

For a minimum attenuation of 50 dB of all signal components in the residual images at the output of the zero-order hold, the reconstruction filter must therefore provide at least an attenuation of 42.8 dB at frequency 1.3π .

*2 Reconstruction Filter Design

c

Page 24: Chapter 4 Two major topics of this chapter: Chapter 4 Time ...web.xidian.edu.cn/ttian/files/20171109_000058.pdf · replaced with the ideal continuous-time to ... g n g a t t nT g

93

The droop caused by the zero-order hold circuit can be compensated either before the D/A converter by means of a digital filter or after the zero-order hold circuit by the analog reconstruc-tion filter.

For the latter approach, we observe that the cascade of the zero-order hold circuit and the analog reconstruction filter must have a frequency response of an ideal reconstruction filter following an ideal D/A converter.

*2 Reconstruction Filter Design

94

Alternatively, the effect of the droop can be compensated by including a digital compensation filter G(z) prior to the D/A converter circuit with a modest increase in the digital hardware requirements. The digital compensation filter can be either an FIR or an IIR type.

*2 Reconstruction Filter Design

95

The gain responses of the uncompensated and the droop-compensated D/A converters in the baseband.

*2 Reconstruction Filter Design

0 0.5 1 1.5 2 2.5 3-4

-3

-2

-1

0

1

Normalized frequency

Gai

n,dB

DACFIRIIR

96

Since the above digital compensation filters have a periodic frequency response of period , the replicas of the baseband magnitude response outside the baseband need to be suppressed sufficiently to ensure minimal effect from aliasing.

*2 Reconstruction Filter Design

T