6.4 Digital Transmission: Pulse Amplitude Modulation (PAM) and Pulse Code Modulation (PCM)
6.4 Digital Transmission: Pulse Amplitude Modulation (PAM) and Pulse Code Modulation (PCM)
Digital transmission is the transmittal of digital signals between two or more points in a
communication system. The signals can be binary or any other form of discrete-level
digital pulses. The original source information may be in digital form or it could be
analog signals that have been converted to digital pulses prior to transmission.
With digital transmission systems, a physical facility, such as a pair or wires, coaxial
cable or an optical fiber cable, is required to interconnect the various points within the
system. Note that digital pulses cannot be propagated through a wireless transmission
system, such as Earth’s atmosphere or free space.
Pulse modulation is a process of sampling analog information signals and then converting
those samples into discrete pulses and transporting the pulses from a source to a
destination over a physical transmission medium. The four predominant methods of pulse
modulation are Pulse Width Modulation (PWM), Pulse Position Modulation (PPM),
Pulse Amplitude Modulation (PAM) and Pulse Code Modulation (PCM).
• For PWM, the maximum analog signal amplitude produces the widest pulse and
the minimum analog signal amplitude produces the narrowest pulse.
• For PPM, the higher the sample’s amplitude, the farther to the right the pulse is
positioned within the prescribed time slot. The highest amplitude sample produces
a pulse to the far right while the lowest amplitude sample produces a pulse to the
far left.
• For PAM, the amplitude of a pulse coincides with the amplitude of the analog
signal.
PAM is used as an intermediate form of modulation with PSK and PCM, although it is
seldom used by itself. PWM and PPM are used in special-purpose communication
systems mainly for the military but are seldom used for commercial digital transmission
systems. PCM is by far the most prevalent form of pulse modulation and will be
discussed in more detail in subsequent section of this chapter.
Figure 6.9 shows simplified block diagram of a single-channel, simplex PCM system.
Sample pulse
Conversion Line speed
clock clock
• Band pass filter limits the frequency of analog signal to standard voice-band
frequency range.
• Sample and hold circuit samples the analog signal and converts those samples to a
multilevel PAM signal.
• Analog-to-digital converter converts multilevel PAM samples to parallel PCM
codes.
• Parallel-to-serial converter converts parallel PCM codes to serial binary data.
• Repeaters are placed at prescribed distances to regenerate the data.
• Serial-to-parallel converter converts serial binary data to parallel PCM codes.
• Digital-to-analog converter converts parallel PCM codes to multilevel PAM
signals.
• Hold circuit and low pass filter converts PAM signals back to its original form.
The Nyquist sampling theorem establishes the minimum sampling rate that can be used
for a given PCM system. The theorem states that,
The original analog input signal can be reconstructed at the receiver with minimal
distortion if the sampling rate in the pulse modulation system is equal to or greater than
twice the maximum analog input frequency.
• Mathematical representation:
f s 2 f m(max) (6.15)
• I.e. the minimum sampling rate is equal to twice the highest analog input
frequency.
6.4.2.2 Quantization
• The number of quantization levels L depends on the number of bits per sample
used to code the analog signal.
L = 2n (6.16)
Vmax − Vmin
V = (6.17)
L −1
Where V = resolution,
Vmax = maximum analog input signal
In most cases, the likelihood of a sample voltage is exactly the same as one of the
quantization level values is remote. Therefore, each sample voltage is rounded off
(quantized) to the closest available level. This process leads to an error called
quantization error or quantization noise.
• It is the distortion introduced during quantization process when the analog sample
voltage is not exact value of the quantized level.
• Mathematical representation:
Qe = [ x(t )] − [q(t )] (6.18)
V
• Maximum quantization error is given by Qe (max) = (6.19)
2
• Quantization error can be reduced by increasing the number of quantization
levels, but this will increase the bandwidth required to transmit the signal.
• Signal-to-quantization noise ratio (SQR):
V
SQR = (6.20)
Qe
v2 v
In decibel, SQR = 10 log 2 = 10.8 + 20 log (6.21)
q / 12 q
6.4.2.3 Encoding
This is the process where each quantized sample is digitally encoded into n-bits codes,
where n maybe any positive integer greater than 1.
n = log 2 L (6.22)
• The codes currently used for PCM are sign-magnitude codes, where the most
significant bit (MSB) is the sign bit and the remaining bits are used for
magnitude.
• Table 6.1 shows an n-bit PCM code where n equals 3.
MSB is used to represent the sign of sample where logic 1 represent positive
value sample while logic 0 represent negative value sample.
Figure 6.10: Quantization level, resolution, quantization error, sign bit, and magnitude bit
Figure 6.11 shows an analog waveform, sampling pulse, the corresponding sampled
signal (PAM), quantized signal and PCM code for each sample.
Figure 6.11: (a) Input signal, (b) sampling pulse, (c) PAM signal, (d) quantized signal and
(e) PCM code
The number of PCM bits transmitted per sample is determined by several variables,
which includes maximum allowable input amplitude, resolution and dynamic range.
Dynamic range (DR) is the ratio of the largest possible magnitude to the smallest
possible magnitude that can be decoded by the digital-to-analog converter (DAC) in the
receiver.
• Mathematical representation:
Vmax Vmax
DR = = (6.23)
Vmin V
2 n −1 DR (6.24)
6.4.3 Companding
Figure 6.12 shows the compression curve for several values of µ. Note that the higher the
µ, the more compression.
For an intended dynamic range, A-Law companding has a slightly flatter SQR than µ-
Law. However, A-Law companding is inferior to µ-Law in terms of small-signal quality.
With conventional PCM, each code is a binary representation of both sign and the
magnitude of a particular sample. Therefore, multiple-bit codes are required to represent
the many values that the sample can be. With delta modulation, rather than transmit a
coded representation of the sample, only a single bit is transmitted, which simply
indicates whether that sample is larger of smaller than the previous sample.
• If the current sample is smaller than the previous sample, logic 0 is transmitted. If
the current sample is larger than the previous sample, logic 1 is transmitted.
• The input analog is sampled and converted to a PAM signal, which is compared
to the output of the DAC.
• The output of the DAC is a voltage equal to the regenerated magnitude of the
previous sample (stored in the up-dowm counter as a binary number)
• The up-down counter is incremented or decremented depending on whether the
previous sample is larger or smaller than the current sample. It is clocked at a rate
equal to the sample rate (i.e. updated after each comparison)
Based on Figure 6.15, the up-down counter follows the input analog sample
(incremented) until the output of the DAC exceeds the analog sample amplitude; then it
will begin counting down (decremented) until the output of the DAC drops below the
sample amplitude.
• Each time the up-down counter is incremented, logic 1 is transmitted, and each
time the up-down counter is decremented, logic 0 is transmitted.
• The receiver almost identical to the transmitter except for the comparator.
• As the logics 1 and 0 are received, the counter is incremented or decremented
accordingly. Consequently, the output of the DAC in the reciever is identical to
the output of the DAC in the transmitter (Figure 6.16).
With delta modulation, each sample requires the transmission of only one bit, therefore
the bit rates associated with delta modulation are lower than conventional PCM systems.
However, there are two problems associated with delta modulation that do not occur with
conventional PCM: slope overload and granular noise.
Slope overload:
• Occurs when the analog input signal changes at a faster rate than the DAC can
maintain.
• The slope of the analog signal is greater than the delta modulator can maintain.
• Solutions: increase the clock frequency or increase the magnitude of the minimum
step size (resolution).
Granular noise:
Figure 6.18 contrasts the original and reconstructed signals associated with delta
modulation system.
• When the original signal has a relatively constant amplitude, the reconstructed
signal has variations that were not present in the original signal. This is called
granular noise.
• It can be reduced by decreasing the step size (resolution)
Note that to reduce the granular noise, a small resolution is needed while to reduce the
slope overload, a large resolution is required. I.e. a compromise is necessary.
• Granular noise is more prevelant in analog signals that have gradual slope and
whose amplitudes vary only a small amount.
• Slope overload is more prevalent in analog signals that have steep slopes or
whose amplitudes vary rapidly.