Lecture 5 Digital Transmission 2024
Lecture 5 Digital Transmission 2024
University of Science
Faculty of Electronics & Telecommunications
Chapter 5:
Digital Transmission of Analog Signals
Dang Le Khoa
Email: [email protected]
Ouline
⚫ Digital transmission
– Pulse Code Modulation
⚫ Multiplexing
– Time-Division Multiplexing
– T1, E1
⚫ Signaling
⚫ TDM Hierarchy
3
Digital transmission
⚫ Advantages: (review)
1. Relatively inexpensive digital circuits may be used;
2. Privacy is preserved by using data encryption;
3. Data from voice, video, and data sources may be merged and
transmitted over a common digital transmission system;
4. In long-distance systems, noise dose not accumulate from
repeater to repeater. Data regeneration is possible
5. Errors in detected data may be small, even when there is a large
amount of noise on the received signal;
6. Errors may often be corrected by the use of coding.
4
Digital transmission
⚫ Disadvantages: (review)
1. Requiring more bandwidth
2. Requiring clock recovery circuits for time synchronization in
receivers
3. Need additional encoding and decoding circuit for A/D –D/A
conversion
4. Incompatible with older analog tranmission facilities
5
Pulse modulation
Analog
signal
Sample
pulse
PWM
PPM
PAM
PCM
10/16/2024 7
Pulse Code Modulation
⚫ PCM is not really a modulation form, but rather a form of
source coding
⚫ Pulses are of fixed length and fixed amplitude
– A pulse logic 1
– Lack of puse logic 0
⚫ An integrated circuit performing PCM encoding and decoding is
called a codec
8
Pulse Code Modulation
⚫ Block diagram of a single channel, simplex PCM
Parallel data
Regenerative Regenerative
repeater Serial PCM repeater
code
Quantized
PAM signal
Serial PCM
code Quantizer Encoder
Parallel data
10/16/2024 9
Filtering
Amplitude
Filter
10/16/2024 10
Filtering
• Most of the energy of the spoken language is somewhere between
200 or 300 Hz and about 3300 or 3400 Hz:
B 3KHZ
• A general decision has been made to make:
B = 4 KHZ
10/16/2024 11
Filtering
• This bandlimiting filter is used to prevent
ALIASING DISTORTION.
• This bandlimiting filter is thus called an
antialiasing filter
• The aliasing distortion might occur in the
sampling step of the PCM process. This distortion
occurs when:
fs 2 B
10/16/2024 12
Encoding
100
1 00 0 0V
000
0 00 0 -1V 001
0 01 -1 -2V 010
0 10 -2 -3V 011
0 11 -3
⚫ Overload distortion
⚫ Resolution or minimum step size of ADC (Vlsb)
⚫ Quantizingquantization error (Qe) or quantization noise (Qn)
Qe=Vlsb/2
10/16/2024 13
Encoding
10/16/2024 14
Encoding
increase sampling
rate→PAM signal
more precisely, not
reducing
quantization error
10/16/2024 15
Example
[16]
Tín hiệu analog->ADC 8 bit, có tần số cao nhất là không quá 4Khz
⚫ a. Xác định tần số cắt của lọc thông thấp chống biệt danh
⚫ b. Nếu tín hiệu analog là 1V, ADC sử dụng Vref-=-5V,
Vref+=5V, xác định tín hiệu (chuỗi bit sau PCM)
⚫ Hướng dẫn:
a) fcut=4Khz
b) Chuỗi bit: 8 bit (1 dấu, 7 data), bit dấu: 1, 7 bit data: 000 1101)
(1/5)x(2^7-1)=25=000 1101
10/16/2024 19
FDM
t
Guard Band
CHANNELS
(FREQUENCY SLOTS - CHANNELS)
….
ΔF1 ΔF2 ΔF3 ΔF4 ΔF5 ΔF6 …. F [Hz]
10/16/2024 20
TDM
Bi
Guard Time
CHANNELS
(TIME SLOTS - CHANNELS)
….
Δt1 Δt2 Δt3 Δt4 Δt5 Δt6 …. t [sec]
10/16/2024 21
Time-Division Multiplexing
⚫ Transmission from multiple sources are interleaved in the
time domain
⚫ PCM is the most common type of modulation used with
TDM(PCM-TDM System)
⚫ In PCM-TDM system, 2 or more voice-band channels are
sampled, converted to PCM codes and then time-division
multiplexed onto a single medium
10/16/2024 22
Time-Division Multiplexing
⚫ In TDM, each source device occupies a subset of transmission
bandwidth for a slice of time (time slot)
⚫ At the end, returning to the 1st source device and the process
continues
10/16/2024 23
Time-Division Multiplexing
Output value
B C
A
Input signal A A D
C B
Time
Output
Input signal B
Input signal C
Input signal D
10/16/2024 24
Time-Division Multiplexing
10/16/2024 27
Time-Division Multiplexing
⚫ A n-channel system:
⚫ Line speed (bandwidth) at the output of multiplexer is
n channels 8000 sam ples 8 bits
x x = n * 64kbps
fram e sec sam ple
125s
10/16/2024 28
Digital Carrier System
10/16/2024 29
Digital Carrier System
1
Telephone
F 24 8 7 6 5 4 3 2 1
fax communication 2
Fax
3
D V V
4
5 Mux
Sample 1
6
D V V
7 Sample 2
digital data
24 8000
key: D = Data
V = Voice
F = Frame
10/16/2024 30
T1 physical layout
10/16/2024 31
Digital Carrier System
24 channels 8 bits
x = 192 bits per fram e
fram e sam ple
192 bits 8000 fram es
x = 1536kbps = 1.536M bps
fram e sec
10/16/2024 32
Digital Carrier System
2
EACH CHANNEL IS SAMPLED ONCE PER FRAME
BUT NOT AT THE SAME TIME
24
10/16/2024 33
Digital Carrier System
10/16/2024 34
Frame synchronization
Figure 1. SF Framing bit. A single bit is added to the end of the DS1 frame to signal the start of a new frame.
10/16/2024 36
Frame synchronization
⚫ A frame contains: 192+1=193 bits
⚫ There are 8000 framing bits per second
⚫ The line speed for a T1 digital carrier system is:
37
D1-type channel banks
10/16/2024 39
E1 Carrier System
EUROPE 32 TIME SLOTS (CHANNELS)
B = n.64 Kbps
BITS = 8n
……
SYSTEM CLOCK:
n channels 8 bits 8000 frames
x x
frame channel sec ond
EXAMPLE: n = 32; B = 2.048 Mbps
BITS = 256 BITS, CLOCK = 2.048 MHz
10/16/2024 40
E1 Carrier System
10/16/2024 42
E1 Carrier System
⚫ 1 frame has 32 TS (0-31), a multiframe consists of 16 frames (0-
15)
⚫ TS0 is used for:
– Synchronization
– Alarm transport
– International carrier use
⚫ TS16 used to transmit CAS (Channel Associated Signaling)
information
10/16/2024 43
What is Signaling?
⚫ Consider the procedure of connection setup
⚫ Local call:
A B
7305315
Off hook
Dial tone
…
5
.
Ringback tone Ringing tone
Off hook
Conversation
On hook
On hook
10/16/2024 44
What is Signaling?
⚫ Trunk call
7305315
Off hook
Dial tone
7
… 5
. Seize
Seize ACK
Digits
…
Digits
Ringback tone . Ringing tone
Off hook
Conversation
On hook
Clear back
Clear forward
On hook
10/16/2024 45
TDM Hierarchy
⚫ North America and Japan standards (AT&T)
1 1 1 1 1
1st level 2nd level 3rd level 4th level 5th level
…
…
multiplexer multiplexer multiplexer multiplexer multiplexer
24 4 7 6 2
560.160Mbps
10/16/2024 46
TDM Hierarchy
30 E0 E1 E2 E3 E4 DS-5
1 1 1 1 1
1st level 2nd level 3rd level 4th level 5th level
…
…
multiplexer multiplexer multiplexer multiplexer multiplexer
30 4 4 4 4
565.148Mbps
10/16/2024 48