Analog to Digital Conversion
Analog to Digital Conversion
Conversion
By:
Md. Ibrahim Khalil
M.Sc in ICT, BUET (Ongoing)
B.Sc in ETE, CUET
What do you think might be an example
of an analog system in action?
“I still have no idea what that stuff is!”
Transmission Transmission
Compression
Audio Processing
Capture
1. Sampling
2. Quantizing
3. Encoding.
12
Components of PCM encoder
Sampling
Sampling interval:
– The time that separates sampling points (interval b/w
samples), Ts
– If the signal is slowly varying, then fewer samples per
second will be required than if the wave is rapidly
varying
– So, the optimum sampling rate depends on the
maximum frequency component present in the signal.
Sampling
- Sampling Rate (or sampling frequency fs):
- Sampling rate at which the signal is sampled, expressed
as the number of samples per second reciprocal of the
sampling interval), 1/Ts = fs
Nyquist Sampling Theorem (or Nyquist Criterion):
FS = 1/ TS
Where, FS is the sampling frequency
TS is the sampling time
□ Ideal Sampling
□ Natural Sampling
□ Flat-top sampling
Ideal Sampling
xs(t) = x(t)xp(t)
Flat-top sampling
Fig. 2: name
2. Quantized PAM Signal
• Quantization: is a method of assigning integer values in a specific
range to sampled instances.
Fig. 3: name
4.27
Quantization
Sampling results in a series of pulses of varying
amplitude values ranging between two limits: a min and
a max.
Quantization Levels
Quantization Zones
Vmax=+20V.
The 8 zones are: -20 to -15, -15 to -10, -10 to -5, -5 to 0, 0 to +5, +5
The midpoints are: -17.5, -12.5, -7.5, -2.5, 2.5, 7.5, 12.5, 17.5
3. Binary Encoding
Table 1: name
4.31
Figure 4.26 Quantization and encoding of a sampled signal
32
Example
amplitude
x(t)
111 3.1867
100 0.4552
010 -1.3657
Questions?