(Pulse code
modulation)
-Teacher:
Masters Nguyn
Thanh c
-Group member:
Trn Vn Sng
Bi Cng Tun
Nguyn Vn Tin
Nguyn Tt Thng
Trn V Thuyt
Nguyn Cng
Nguyn Vn Tn
11232081
11261741
11251111
11043491
11061491
11041971
11265281
Topics to be Covered
-Introdution
-Analog to digital: PCM (pulse code modulation)
Getting sample
Quantization
Encoding
-Line coding
-PCM systems and digital time division multiplexing (TDM)
-Circuit switch
Deterministic
Random
Bandwidth
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
(watts/Hz)
High-fidelity speech
Telephone speech
(limited by filtering)
Bandwidth
7....
points
s(n)
011010001...
Filter
Sample at t=n
Quantize
Encode
Getting Sample
Signal
Sampling ideal
where:
Description of the
sampling process
Described
Stakeer
Goverent
In
Comment:
The
a low-pass filter
to restore the signal.
To restore true then:
where: fs : Nyquist rate
fs / 2 Nyquist frequency
[- fs
As
Nyquist
Sampling Theorem :
The upper limit of fs :
Suppose p: time to process each data sample (depending
on hardware).
fp = 1 / Tp : speed of processing each sample.
For the sample values do not overlap, then
In
Quantization:
The process of approximation of discrete sample values
transforming a set of discrete sample values into a very large
number value less.
Position of blocks quantization in the system:
sampling
Quantization
encoding
Quantization:
Monopole format
Quantization
Quantization
Uniform
Nonuniform
Output signal
Output signal
Input signal
Input signal
The more steps (levels) the less quantization noise. Nonuniform quantization
(e.g. -law) allows a larger dynamic range (important for speech).
Quantization
With the quantization have full-scale range R, performances
B bit 2b level quantization.. With the quantization have a
global distance
Width quantization:
=
2
Quantization error :
e(t ) = xsQ (t ) xs (t )
or:
e = xsQ xs
12
Quantization
The ratio SNR of the quantized:
(law 6 dB on bit)
SN R = 6 B [dB ]
Remarks :
The ADC increase by 1 bit, the ratio SNR 6 dB
increase.
12
2 = 10 = 11.3 ()
12
28 12
Rate bit
. = 8( ) 8 ( sec) = 64
Encryption
Encryption process is
performed each
discrete value xq (n)
by a sequence
obinary bits b.
LINE CODE
Line coding is changed signal so that it is consistent with
the waveform characteristics revenue channels and
devices.
Classification
Base band coding and modulation coding
Base band coding : transform the source data into a square
waveform voltage.
Modulation coding : source signal is transmitted over a long
distance modulated by carrier.
Diagram of base band:
LINE CODE
UNIPOLAR
NRZ
NRZ-L
RZ
NRZ-I
POLAR
BIPHASE
MANCHESTER
BIPOLAR
AMI
B8ZS
HDB3
DIFFERENTIAL
MANCHESTER
Unipolar coding
A voltage level perform for bits 0 and a voltage level
perform for bit 1. typically ,Bit 1is performed at high
voltage.
NRZ-I
RZ
Biphase coding
Differential Manchester
B8ZS
HDB3
LINE CODE
Unipolar
Averag
e DC
large
bandwi
dth
LOW
NRZ-I
LOW
LOW
RZ
LOW
GOOD
HIGH
MANCHESTER
GOOD
HIGH
AMI
LOW
B8ZS
GOOD
LOW
HDB3
GOOD
LOW
44
MODULATION CODING
FM
FM
PM
Digital modulation
ASK amplitude shift key modulation: the course of the bits 1 and 0
by changing the amplitude of the carrier signal (frequency and
phase do not change). ASK usually sensitive to noise amplitude.
51
PDH
Digital
almost synchronous
North America,
Japan
E-carrier
Europe,
125 s
T1 carrier system
PCM
PCM
PCM
MUX
DS-1 frame
DEMUX
PCM
PCM
PCM
DS-1 frame
each channel also refers as DS0
125 s
channel
#1
channel
#2
.......
channel
#24
8 bit
193 bits
frame
bit
E1-frame
125 ms = 32 time slots = 2.048 Mbps
0 1 2
frame synchronization
16
signaling channel
31
E - carrier
Thirty 64 kbps channels
are multiplexed to create
one 2.048 Mbps E1
channel
E1
E1
E2
E3
E2
E3
E4
E1
E1
E2
E2
E3
E4
E3
E4
E5
E4
Four E3 channels
are multiplexed
into a single
139.264 Mbps E4
channel
Europe
x31
E1
2.048
x4
E2
8.448
x4
x 4 E4
x 4 E5
E3
34.368
139.264
565.148
x24
T1
1.544
x4
T2
6.312
x7
x 6 T4
T3
44.736
274.176
J1
1.544
x4
J2
6.312
x5
64
x24
x 3 J4
J3
32.064
97.728
USA
x4
J5
397.200
Japan
Circuit Switch
Circuit Switch PCM:
A type of transplant switching activity on
the basis of time-multiplexing and pulse
code modulation.
A switched network consists centers
(nodes) switches, the terminal and
transmission system.
lines from the PBX
circuit
swcenteritching
communication
lines
lines to subscribers
communication
lines
lines to subscribers
Sequential
control:
Sequential
controller
controls the read
(or write) on the
memory cells of
the memory BM
a row.
Use the time slot
counter counts
cycles R,
sequential
counter will add
value to a slot
after a period of
time.
Sequential
control:
controls :
Controls the read
(or write) the
memory cells of
BM on
demand.
Use memory
controller CM,
CM memory
cells containing
the address
read (or write)
of memory BM
Random controls
:
switching T:
Multiplexer with bits in parallel:
Raising the possibility of switching the mode Tstorey parallel transmission of 1 channel signal
through the floor of T
Circuit Switch of
space(S)
S switching matrix 4 * 4
Switch TS
Circuit Switch STS
Circuit Switch TST
Circuit Switch TS