1. PULSE CODE MODULATION
Prepared by Dr. Sangeeta Srivastava for the students of B. Sc Electronics (Hons.), IIIrd year, Rajdhani College. Dated March 2020. The following
references have been used:
β’ Communication Systems by Singh and Sapre
β’ Communication Systems by Haykin and Moher
β’ Analog and Digital Communication by Singal
β’ And, the You tube link https://www.youtube.com/watch?v=YJmUkNTBa8s
2. Pulse Code Modulation:A Digital Modulation
Technique
Pulse Code Modulation (PCM) is a digital modulation technique. Here, a special
form of A/D conversion takes place. It consists of sampling, quantizing, and encoding.
β’ Sampling is the process by which samples of the signals are taken in conformity
with the SamplingTheorem.
β’ Quantization is the process by which the sampled signals lying between say, Vmax
and Vmin are broken up into levels. Each level (quanta) is then assigned a single
value. For example, a sampled signal lying between 0.5V to 1.5V will be assigned
the value 1V. Unless the sampled signal has the value 1V, some error/ noise will
be introduced due to the difference between the sampled value and the quantized
value.This gives rise to Quantization Error/Noise.
β’ Encoding refers to the conversion of the quantized signal to digital form.
3. PULSE CODE MODULATION
Advantages of PCM
Ruggedness to transmission noise and interference; Efficient
regeneration of the coded signal along the transmission path;
Possibility of a uniform format for different kinds of baseband
signals; Ease of implementingTime Division Multiplexing.
Disadvantages of PCM
Increased BandWidth; Increased system complexity.
Applications of PCM
It is the standard form of digital audio in computers, compact
discs, digital telephony and other digital telephony
applications.
4. THE FUNDAMENTALS
A
B
C
Pulse Value(v) Quantized Value Encoded Value
A 3.8 4 100
B 1.2 1 001
C 5.7 6 110
(Pulses lying between -0.5V to 0.5V= Quantized to 0V,
Pulses lying between 0.5V to 1.5V= Quantized to 1Vβ¦β¦..)
Analog Signal:
Continuous value
Continuous time
Digital Signal:
Encoded Value
Discrete time
Discrete value
Discrete time
PAM signal Quantization Coding PCM
Continuous value
Discrete time
5. Encoded Signal for the Quantized Pulses
Effect of Transmission Noise on Encoded Pulses
ENCODING of QUANTIZED PULSES
8. QUANTIZATION
UNIFORM QUANTIZATION:The quantization levels(step size) are uniformly
spaced over the complete input range.
NON-UNIFORM QUANTIZATION:The quantization levels (step size) vary
according to the instantaneous value of the input signal.
12. NON-UNIFORM QUANTIZATION: COMPANDING
Companding is the process of compressing the signal at the transmitter end and expanding it
at the receiver end to achieve a uniform Signal to Noise ratio across all signal levels. As signals
get quantized according to their strengths, non-uniform quantization is said to take place.
Compression at the transmitter: Low level
samples are amplified whereas the high-level
samples are attenuated or compressed.
Expansion at the receiver:The compressed
signals are expanded to recover the
original sample values.
Companding
14. β’ Sending binary numbers directly through the channel seems to be the
simplest option.
β’ However, the resulting bit patterns might create an undesirable static
voltage.
β’ Therefore, Line Codes are used to eliminate the average static voltage and
save power and perhaps even bandwidth.
ENCODING
0 volt
5 volt
average
static voltage
0 0
0
0
0 0
1 1 1 1 1
15. β’ Unipolar signaling: 1 = +A volt, 0 = 0 volt
β’ Polar signaling: 1 = +A volt, 0 = -A volt
β’ Bipolar signaling: 1 = +A or βA, 0 = 0 volt
(Also called the alternate mark inversion β AMI)
β’ Manchester signaling:
1 = +A (half duration) followed by βA (half duration)
0 = -A (half duration) followed by +A (half duration)
β’ Differential Encoding: a binary value is denoted by a signal change rather
than a particular signal state.
Additional combinations can be made along with RZ (return to zero) and
NRZ (non return to zero).
TYPES of LINE CODE
17. Equalizer Decision Making Device
Timing Circuit
Distorted
PCM signal
Regenerated
PCM signal
β’ Equalization: Amplitude and Phase Distortions introduced in PCM signals are
removed by reshaping the received distorted pulses.
β’ Timing Circuit:The circuit derives a periodic pulse train from the received pulses.
These are used for sampling the equalized pulses at that instant where SNR is
maximum.
β’ The Decision-Making Device: this device is enabled when the amplitude of the
equalized pulses plus noise exceeds a predetermined threshold level.
REGENERATIVE REPEATER
18. As the PCM channels are bandlimited, the received waveforms are distorted as they extend in the
next time slot. Resulting in error in determination of received bits. In PCM, adjacent time slots are
generally symbols in code representation of a single quantized sample
INTERSYMBOL INTERFERENCE
19. NOISE IN PCM SYSTEMS
Two major sources of noise in PCM systems are:
A)Transmission Noise (may be introduced anywhere between the transmitter
output and the receiver input)
B) Quantization Noise (is introduced in the transmitter and is carried along to the
receiver output)
20. TRANSMISSION NOISE
A
B
C
π"
π"
Figure A shows the bits 101 that are transmitted. Figure B shows the distortion due
to noise at the receiver end. All three bits X, Y, Z remain within the limits of the
threshold voltage π". Therefore the correct code 101 is received. In Figure C,
however, the X bit is received as a 0 and Y bit is received as a 1. The Z bit remains
error free. The possibility of errors being introduced as in Fig. C is very low. And,
can be minimized further by increasing the difference between the voltage levels
of bit 1 and 0.
23. QUANTIZATION NOISE (CONTD.)
If the probability density distribution is uniform, then the mean square
quantization error will be given by:
πΈ'(
) =
βπ )
12
If the total number of levels be=π
And the peak to peak signal range varies between +π β
βπ 2 to -π β
βπ 2
The total signal variation = πβπ
For a signal with a uniform probability distribution within this range, the
mean square signal voltage is given by:
πΈ%
)
=
πβπ )
3
Therefore, the Signal to Noise ratio (SNR) will be given by:
πππ =
πΈ6
)
πΈ'(
) = 4π)
As, π = 2', where n is the total number of bits per code word,
πππ = 4Γ2)'
24. In Decibels, the SNR will be given by:
πππ 9: = 10πππ4 + 20ππππ dB
πππ 9: = 10πππ4 + 20πππ2'
= (6 + 6π) ππ΅
It may be noted that the constant 6 is dependent on the quantization
technique being used. Dependence of the SNR on the number of bits n
implies that the SNR will be improved by increasing n. Of course, increasing M
or n is a tradeoff with the resultant increased system complexity.
QUANTIZATION NOISE (CONTD.)
25. BANDWIDTH OF TDM- PCM SYSTEM
Let, the number of channels bandlimited to πH = π
And the length of PCM code or the number of bits per code word=n
Now, the Sampling Frequency=2πHHz
Therefore, the SamplingTime= β
1 2πH sec
So, the total number of bits per sampling period including the synchronizing
bit=ππ + 1
The Bit Duration=π: =
6JHKLM'N OPQMR9
"RSJL 'THUPQ RV UMS%
=
W
)VX 'YZW
sec
Therefore, the Bandwidth
π΅π = 2πH ππ + 1 β 2πHππ Hz