IN 1501 - Analog Data Digital Signal
IN 1501 - Analog Data Digital Signal
Data Communication
• Process of converting analog data into digital data; this process is known
as digitization.
• Once analog data have been converted into digital data, a number of
things can happen.
1. The digital data can be transmitted using NRZ-L. In this case, we have in fact
gone directly from analog data to a digital signal.
2. The digital data can be encoded as a digital signal using a code other than
NRZ-L. Thus an extra step is required.
3. The digital data can be converted into an analog signal, using one of the
modulation techniques.
2
Analog Data, Digital Signal
• The device used for converting analog data into digital form for
transmission, and subsequently recovering the original analog data from
the digital, is known as a codec (coder-decoder).
• In this section we examine the two principal techniques used in codecs,
– Pulse code modulation (PCM)
– Delta modulation (DM)
3
Pulse Code Modulation (PCM)
SAMPLING THEOREM:
• If a signal f(t) is sampled at regular intervals of time and at a rate higher
than twice the highest signal frequency, then the samples contain all the
information of the original signal.
• The function f(t) may be reconstructed from these samples by the use of a
lowpass filter.
4
Pulse Code Modulation (PCM)
5
Figure 6.2 Pulse Code Modulation Example
6
Pulse Code Modulation (PCM)
7
Pulse Code Modulation (PCM)
8
PCM vs PAM
9
Pulse Amplitude
PAMModulation (PAM)
11
From Analog to PCM
13
Pulse Code Modulation (PCM)
14
Nonlinear Encoding
15
Nonlinear Encoding
16
Nonlinear Encoding
17
Nonlinear Encoding
• Thus, with a fixed number of quantizing levels, more levels are available
for lower-level signals.
• On the output side, the compander expands the samples so the
compressed values are restored to their original values.
• Nonlinear encoding can significantly improve the PCM SNR ratio.
• For voice signals, improvements of 24 to 30 dB have been achieved.
18
Nonlinear Encoding
20
Figure 6.10 Example of Delta Modulation
21
Delta Modulation (DM)
22
Delta Modulation (DM)
• Figure 6.11 illustrates the logic of the process, which is essentially a feedback
mechanism.
• For transmission, the following occurs: At each sampling time, the analog input is
compared to the most recent value of the approximating staircase function.
• If the value of the sampled waveform exceeds that of the staircase function, a 1 is
generated; otherwise, a 0 is generated.
• Thus, the staircase is always changed in the direction of the input signal.
• The output of the DM process is therefore a binary sequence that can be used at
the receiver to reconstruct the staircase function.
• The staircase function can then be smoothed by some type of integration process
or by passing it through a lowpass filter to produce an analog approximation of the
analog input signal.
23
Figure 6.11 Delta Modulation 24
Delta Modulation (DM)
• There are two important parameters in a DM scheme: the size of the step assigned
to each binary digit , and the sampling rate.
• When the analog waveform is changing very slowly, there will be quantizing noise.
• On the other hand, when the analog waveform is changing more rapidly than the
staircase can follow, there is slope overload noise.
• It should be clear that the accuracy of the scheme can be improved by increasing
the sampling rate. However, this increases the data rate of the output signal.
25
Performance
• Analog encoding of digital signals has a more uniform spectral content over the
bandwidth and therefore contains more high-frequency components.
• Studies have shown that, because of the presence of these higher frequencies,
PCM-related techniques are preferable to DM-related techniques for digitizing
analog signals that represent digital data.
26
END
27