Docsity

Analog to Digital Conversion: PCM Encoding and Decoding, Lecture notes of Digital & Analog Electronics

Partial preview of the text

Download Analog to Digital Conversion: PCM Encoding and Decoding and more Lecture notes Digital & Analog Electronics in PDF only on Docsity!

Analog to Digital conversion

Introduction

  • Digital signal is superior than Analog signal
  • Analog to digital conversion means changing analog signal to digital data.
  • Various techniques used are:-
    • Pulse Code Modulation(PCM) and,
    • Delta Modulation.

Sampling

Components of a PCM encoder

Analog Signal Quantization Encoding 1 0 1 0 1 ….. PCM Encoder Digital data

Sampling

  • Analog signals are sampled at regular time interval (Ts )called sample interval or peroid. Sampling frequency(f s

) = 1 / T

s (sample interval).

  • We can sample a signal only if it is band limited.

Pulse Amplitude Modulation(PAM)

  • The process of sampling is referred to as Pulse Amplitude Modulation(PAM).
  • Analog(non-integral) signal obtained by sampling is called PAM signal.

Nyquist theorem

  • According to Nyquist theorem, The sampling rate must be at least two times

the frequency contained in the signal.

  • In order to reproduce the original signal it must follow Nyquist thereom.

Steps in Quantization

  • We have series of amplitude ranging between V min and V max
  • Divide the range in L zones(quantization levels), each of width Δ . Δ = V max

- V

min

/L

  • Assign quantized values of 0 to L-1 to midpoints of each zone.
  • Approximate the values of sample amplitude to quantized value(approximate to the value of the mid point).

Example

Let’s assume V max = +20 and V min

Let L = 8 So , Δ = +20 – ( - 20)/ Δ = 5 8 zones will be : - 20 to - 15 , - 15 to - 10 , - 10 to - 5 …. ….. …. …. … …… +15 to + Mid points are : - 17.5 , - 12.5 , - 7.5 , … .. .. ….. … +17.5.

Quantization Error

  • The input value to quantizer are real values and the output are the approximated values.
  • The difference between actual and approximated(midpoint) value is known as quantization error
  • The value for error for any sample is less than Δ/2.
  • More the zones, smaller the Δ which results in small errors.

Uniform and non-uniform Quantization

  • For uniform quantization height of Δ is fixed.
  • In uniform quantization levels are uniformly spaced
  • For non-uniform quantization height of Δ is not fixed.
  • In non-uniform quantization levels are unequal.

PCM Decoder

Thank You