PCM 1
PCM 1
PCM 1
Lakshmi V.S.
Assistant Professor
Electronics & Communication Department
Sree Chitra Thirunal College of Engineering, Trivandrum
Pulse Code Modulation
• PCM is a discrete-time, discrete-amplitude waveform-coding process, by means of which an analog
signal is directly represented by a sequence of coded pulses.
2
Pulse Code Modulation - Transmitter
• The basic operations performed in the transmitter of a PCM system are sampling, quantization
and encoding.
• The low-pass filter prior to sampling is included to prevent aliasing of the message signal.
• The quantization and encoding operations are usually performed in the same circuit, which is
called an analog to digital converter (ADC).
PCM Transmitter
PCM Transmitter
7
Pulse Code Modulation - Transmitter
ln(1 + 𝜇 𝑚 )
-law: 𝑣 =
ln(1 + 𝜇)
• where ln, i.e., loge, denotes the natural logarithm, m and v are the input and output voltages of the
compressor, and 𝜇 is a positive constant.
• It is assumed that m and, therefore, v are scaled so that they both lie inside the interval [–1, 1].
• The case of uniform quantization corresponds to 𝜇 = 0.
• For a given value of 𝜇, the reciprocal slope of the compression curve defines the quantum steps is
given by the derivative of the absolute value |m| with respect to the corresponding absolute value |v|,
𝑑𝑚 ln(1 + 𝜇)
= (1 + 𝜇 𝑚 )
𝑑𝑣 𝜇
• It is approximately linear at low input levels corresponding to 𝜇 𝑚 <<1 and approximately
logarithmic at high input levels corresponding to 𝜇 𝑚 >>1 .
• The typical values used in practice: =255
8
Pulse Code Modulation - Transmitter
𝐴𝑚 1
, 0≤ 𝑚 ≤
A-law: 𝑣 = 1 + ln 𝐴 𝐴
1 + ln(𝐴 𝑚 ) 1
, ≤ 𝑚 ≤1
1 + ln 𝐴 𝐴
• where ln, i.e., loge, denotes the natural logarithm, m and v are the input and output voltages of the
compressor, and 𝐴 is a positive constant.
• The case of uniform quantization corresponds to 𝐴 = 1.
• For a given value of 𝐴, the reciprocal slope of the compression curve defines the quantum steps is
given by the derivative of the absolute value |m| with respect to the corresponding absolute value |v|,
1 + ln 𝐴 1
𝑑𝑚 , 0≤ 𝑚 ≤
= 𝐴 𝐴
𝑑𝑣 1
1 + ln 𝐴 𝑚 , ≤ 𝑚 ≤1
𝐴
• The typical values used in practice: A = 87.6
9
Compression Laws
11
Pulse Code Modulation - Transmitter
Line Codes
(a)Unipolar nonreturn-to-zero (NRZ) signaling (on-off signaling)
symbol 1 - a pulse of amplitude A for the duration of the symbol, symbol 0 -
switching off the pulse.
(b)Polar nonreturn-to-zero (NRZ) signaling
symbols 1 and 0 - pulses of amplitudes +A and –A for full symbol duration.
(c)Unipolar return-to-zero (RZ) signaling
symbol 1 - rectangular pulse of amplitude A and half-symbol width
symbol 0 - switching off the pulse.
(d)Bipolar return-to-zero (BRZ) signaling
symbol 1 – alternative positive and negative pulses of equal amplitude (i.e., +A
and –A), with each pulse having a half-symbol width;
symbol 0 - switching off the pulse.
(e)Split-phase (Manchester code)
symbol 1 – positive pulse of amplitude A followed by a negative pulse of
amplitude –A, with both pulses being half-symbol wide.
symbol 0 – the polarities of these two pulses are reversed. 12
Pulse Code Modulation - Transmitter
Differential Encoding
• This method is used to encode information in terms of signal transitions
• Differential encoding starts with an arbitrary first bit, serving as the reference bit. In fig, symbol 1
is used as the reference bit.
• If the new bit at the transmitter input is 1, leave the differentially encoded symbol unchanged with
respect to the current bit.
• If the input bit is 0, change the differentially encoded symbol with respect to the current bit.
𝑏𝑛
𝑑𝑛 𝑑𝑛 = 𝑑𝑛−1 ⊕ 𝑏𝑛
13
Pulse Code Modulation – Transmission Path
Need for Regenerative Repeater
• The most important feature of a PCM systems is its ability to control the effects of distortion
and noise produced by transmitting a PCM signal through the channel, connecting the receiver
to the transmitter.
• This capability is accomplished by reconstructing the PCM signal through a chain of
regenerative repeaters, located at sufficiently close spacing along the transmission path
14
Pulse Code Modulation – Transmission Path
• Three basic functions are performed in a regenerative repeater: equalization, timing, and decision
making.
• The equalizer shapes the received pulses so as to compensate for the effects of amplitude and phase
distortions produced by the non-ideal transmission characteristics of the channel.
• The timing circuitry provides a periodic pulse train, derived from the received pulses, for sampling the
equalized pulses at the instants of time where the SNR ratio is a maximum.
• Each sample so extracted is compared with a predetermined threshold in the decision-making device.
PCM Receiver 17
Pulse Code Modulation – Receiver
• The final operation in the receiver is to recover the message signal by passing the decoder
output through a low-pass reconstruction filter whose cutoff frequency is equal to the message
bandwidth W.
• Assuming that the transmission link (connecting the receiver to the transmitter) is error free, the
reconstructed message signal includes no noise with the exception of the initial distortion
introduced by the quantization process.
PCM Receiver
18
Advantages & Disadvantages of PCM
Advantages
1. robustness to channel noise and interference.
2. efficient regeneration of the coded signal along the transmission path.
3. efficient exchange of increased channel bandwidth for improved signal-to quantization noise
ratio, obeying an exponential law.
4. a uniform format for the transmission of different kinds of baseband signals, hence their
integration with other forms of digital data in a common network.
5. comparative ease with which message sources may be dropped or reinserted in a multiplex
system.
6. secure communication through the use of special modulation schemes or encryption.
Disadvantages
• These advantages, however, are attained at the cost of increased system complexity and
increased transmission bandwidth.