Docsity

A/D and D/A Conversion: Ideal vs. Practical Models, Slides of Digital Signal Processing

Partial preview of the text

Download A/D and D/A Conversion: Ideal vs. Practical Models and more Slides Digital Signal Processing in PDF only on Docsity!

A/D and D/A Conversion

Quote of the Day

Science is organized knowledge. Wisdom is

organized life.

Immanuel Kant

Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck,

Ideal Conversion

  • Up to this point we assumed ideal D/C and C/D conversion
  • In practice, however
    • Continuous-time signals are not perfectly bandlimited
    • D/C and C/D converters can only be approximated with D/A and

A/D converters

  • A more realistic model for digital signal processing

Oversampled A/D Conversion

  • The idea is
    • to a have a simple analog anti-aliasing filter
    • Use higher than required sampling rate
    • implement sharp anti-aliasing filter in discrete-time
    • Downsample to desired sampling rate
  • Example

Example

Sample and Hold

  • An ideal sample-and-hold system
  • Time-domain representation of sample-and-hold operation

A/D Converter Model

  • An practical A/D converter can be modeled as
  • The C/D converter represent the sample-hold-operation
  • Quantizer transforms input into a finite set of numbers
  • Most of the time uniform quantizers are used

ˆx  n  Qx  n

Two’s Complement Numbers

  • Representation for signed numbers in computers
  • Integer two’s-complement
  • Fractional two’s-complement
  • Example B+1=3 bit two’s-complement numbers

-a 022 + a 121 + a 220

Binary Symbol Numerical Value

011 3

010 2

001 1

000 0

111 -

110 -

101 -

100 -

0 B

B 1 1

B  a 0 2 a 2 ...a 2

B B

1 1

0 a 0 2 a 2 ... a 2

     

-a 020 + a 12 -1+ a 22 -

Binary Symbol Numerical Value

0.11 3/

0.10 2/

0.01 1/

0.00 0

1.11 -1/

1.10 -2/

1.01 -3/

1.00 -4/

Example

D/C Conversion

  • Perfect reconstruction requires filtering with ideal LPF
  • The ideal reconstruction filter
  • The time domain reconstructed signal is
  • In practice we cannot implement an ideal reconstruction filter

X  j  :FT ofreconstructedsignal

Xe :DTFT ofsampledsignal

X j Xe H j

r

j T

r

j T r

0 /T

T /T

Hr j

n

r t nT /T

sin t nT /T x t xn

D/A Conversion

  • The practical way of D/C conversion is an D/A converter
  • It takes a binary code and converts it into continuous-time

output

  • Using the additive noise model for quantization
  • The signal component in frequency domain can be written as
  • So to recover the desired signal component we need a

compensated reconstruction filter of the form





n

0 n

xDA t XmˆxB nh 0 t nT xˆnh t nT

x  t x nh t nT e nh t nT x 0  t e 0  t

n

0 n

DA ^ ^0      





 X j Xe H 0 j

j T 0

H j

H j H j

0

r r