Professional Documents
Culture Documents
Analog Signals
• Analog (continuous-time, continuous-amplitude) signals (like
speech) have a certain bandwidth. Their power spectrum (power
spectral density) describes how their average power is distributed
with respect to frequency.
Power
spectral
density “High-fidelity speech
(watts/Hz)
• PCM streams have two basic properties that determine their fidelity
to the original analog signal: the sampling rate, which is the number
of times per second that samples are taken; and the bit depth, which
determines the number of possible digital values that each sample
can take.
Pulse Code Modulation (PCM)
• Key points
– PCM signal is developed by three steps: sampling, quantizing
and encoding.
– Quantizing noise is reduced by using variable sized steps. It is
independent of line length.
0
t
0
n
0
n
Pulse Code Modulation (PCM)
0
n
Pulse Code Modulation (PCM)
Sample n
Pulse Code Modulation (PCM)
And Hold n
Pulse Code Modulation (PCM)
0
n
Pulse Code Modulation (PCM)
Assign Closest
Level
3
0
n
Pulse Code Modulation (PCM)
0
n
Pulse Code Modulation (PCM)
0
n
Pulse Code Modulation (PCM)
0
n
Pulse Code Modulation (PCM)
0
n
Each quantization level corresponds to a unique combination
of bits. The analog signal is transmitted/ stored as a stream of
bits and reconstructed when required.
0
n
Each quantization level corresponds to a unique combination
of bits. The analog signal is transmitted/ stored as a stream of
bits and reconstructed when required.
0
n
00 01 10 11 10 01 00
Pulse Code Modulation (PCM)
x(t) Original Signal
0
t
Pulse Code Modulation (PCM)
x~(t)
Quantized Signal
0
t
0
t
f(t)
Sample & Hold Comparator Binary Counter
Parallel to Serial
Ramp Generator Converter
Communication theory tells us that we can transmit errorfree at most two pieces
of information per second per hertz bandwidth (lathi pg. 260)
Recall that for analog techniques such as AM, FM etc the bandwidth of the order
of 4 kHz, 8 kHz etc.
We may require more bandwidth but the signal is now digital and we now have
the ability to manipulate, store, regenerate the data. (see advantages of Digital
Communication pg 263 of lathi)
PCM Based TDM Systems
• PCM is widely used in transmission of speech signals in fixed line
telephone system.
– This means that the time between two consecutive samples (from the
same source) is 125µs. TDM systems exploit this fact and utilize this
interval to sample signals from other subscribers. In T1 systems the
signals from 24 subscribers is sampled in 125µs.
– The samples are quantized and then converted into a bitstream for
transmission over the channel.
PCM Based TDM Systems
125µs
PCM Based TDM Systems
Sampl 1
e
Chann 1
el
PCM Based TDM Systems
Sampl 1 1
e
Chann 1 2
el
PCM Based TDM Systems
Sampl 1 1 1
e
Chann 1 2 3
el
PCM Based TDM Systems
Sampl 1 1 1 1
e
Chann 1 2 3 4
el
PCM Based TDM Systems
Time for
sample 2
Time for
sample 2
1 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1
PCM Based TDM Systems
• As mentioned previously, sampling rate used for voice = 8000 samples/sec
• Every sample is represented by 8 bits
• Therefore,
• Each frame has 24x8 = 192 data bits and takes 125µs.
• Lets see how the T1 frame caters for these needs. We’ll have a look at the
frame structure of older T1 schemes first.
PCM Based TDM Systems
T1 Frame Format
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
24 signalling bits/ frame is just too much and that many bits are not
required for voice data signalling.
The newer version uses 8 bits to represent every sample. However, the
total number of bits in each frame remains the same i.e, 193 bits/frame.
Actually the signalling bits are not eliminated altogether. Instead the
number of signalling bits in a ‘collection of frames’ is reduced.
In the newer version, signalling bits are included in every 6th frame.
F 1 2 3 4 5 6 7 8
S 1 2 3 4 5 6 7 8
S ... 1 2 3 4 5 6 7 8
S
.
F 1 2 3 4 5 6 7 8
S 1 2 3 4 5 6 7 8
S ... 1 2 3 4 5 6 7 8
S
.
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
F 1 2 3 4 5 6 7 S 1 2 3 4 5 6 7 S ... 1 2 3 4 5 6 7 S
.
F 1 2 3 4 5 6 7 8
S 1 2 3 4 5 6 7 8
S ... 1 2 3 4 5 6 7 8
S All Frames except
1, 7, 13......
.
PCM Based TDM Systems
T1 Frame Format
• Frame Synchronization in T1:
– It was mentioned in the previous slides that 1 Framing bit indicates the start of
each frame. How is this framing bit different from any of the other bits that arrive
before or after it..?????
– One framing bit alone doesn't signify much. However, a collection of framing bits
can be used to check the beginning of a collection of frames.
– The receiver accumulates the framing bits of a collection of 12 frames and checks
whether these 12 framing bits are the same as a pre-decided pattern
(100011011100).
– If the framing bits are exactly the same as this pattern then the transmitter and
receiver are in frame Synchronization and the samples can be easily extracted
from the frames.
– What happens when the framing bits do not match the pre-decided pattern….???
PCM Based TDM Systems
T1 Frame Format
• Loss of Frame Synchronization in T1:
– When frame synchronization is lost in T1, the receiver immediately send an LFA
alarm, indicating loss of frame synchronization, to the transmitter.
– Without disconnecting the calls the transmitter redirects the data and sends it via
an alternate route, and also tries to regain frame synchronization with the
receiving party by send some fixed pattern.
– Since it takes 12 frames to realize that frame synchronization is lost, it means that
at-least 12 voice samples from all the effected 24 channels will be lost. However,
this is not noticed by the subscribers because this is still a very small time frame