06 Multiplexing
06 Multiplexing
Spreading
CT423: Data Communications
Multiplexing
Multiplexing is the set of techniques that
allow the simultaneous transmission of
multiple signals across a single data link.
In a multiplexed system, a link is divided
into n channels.
D
M 1 link, n channels E
n signals U M
n signals
(input) X U (output)
X
Multiplexer Demultiplexer
2
Categories of multiplexing
4
Conceptual View of FDM
Channel 3
Channel 2
Channel 1f3
f2
f1
6
FDM: Demultiplexing Process
Guard Bands
Strips of unused bandwidth to prevent signals from
overlapping
FDM
f f
3 kHz 3 kHz 3 kHz 3 kHz
FDM
(no guard band)
f
3 kHz 3 kHz 3 kHz
3 kHz f
FDM
(with guard band)
f
3 kHz 3 kHz 3 kHz
8
FDM: Example 1
Five voice channels, each with 3-kHz bandwidth,
are to be multiplexed together.
f
21 kHz
9
FDM: Example 2
Four digital-data channels, 1 Mbps each, use a
satellite channel of 1 MHz. Design an appropriate
configuration using FDM.
10
Analog Hierarchy
Used by AT&T
4 kHz 48 kHz
12 voice channels
12 voice channels
2.52 MHz
M 5 groups F supergroup 600 voice channels
4 kHz D
10 supergropus
M master 16.984 MHz
F group 3600 voice channels
D
…
M
6 master groups
F Jumbo
group
D
M
11
Example
The Advanced Mobile Phone System (AMPS) uses two
bands. The first band of 824 to 849 MHz is used for
sending, and 869 to 894 MHz is used for receiving.
Each user has a bandwidth of 30 kHz in each direction.
How many people can use their cellular phones
simultaneously?
Solution
Each band is 25 MHz. If we divide 25 MHz by 30 kHz, we
get 833.33. In reality, the band is divided into 832
channels. Of these, 42 channels are used for control,
which means only 790 channels are available for cellular
phone users.
12
Wavelength Division Multiplexing (WDM)
An analog multiplexing technique to combine optical signals
λ1 λ1
λ2 WDM WDM λ2
λ1+λ2+λ3
λ3 λ3
λ1 λ1
λ1+λ2+λ3
λ2 Fiber-optic cable λ2
λ3 Multiplexer Demultiplexer λ3
13
C Time slot
Time slots
are preassigned to sources and fixed
are allocated even if no data
do not have to be evenly distributed among sources
14
Conceptual View of TDM
1 Data flow 1
D
2 M E 2
U 3 2 1 3 2 1 3 2 1 M
X U
3 X 3
Channel 3
Channel 2
Channel 1
Channel 3
Channel 2
Channel 1
Channel 3
Channel 2
Channel 1
15
TDM Frames
A frame consists of one complete cycle of
time slots
16
TDM: Example
Four 1-Kbps connections are multiplexed together.
A unit is 1 bit. Find:
(1) the duration of 1 bit before multiplexing,
(2) the transmission rate of the link,
(3) the duration of a time slot, and
(4) the duration of a frame?
17
Empty Slot
18
Synchronization
Multiplexer and demultiplexer must be
synchronized
Framing bits are used to provide synchronization
Synchronization pattern
…1010…
C B A 1 C B A 0 C B A 1 C B A 0
framing bit
19
Synchronization: Example
Identify all the framing bits from this bit
sequence output by a multiplexer
2 channels
1 unit = 2 bits
0 0 0 1 1 0 1 1 1 0 0 0 0 1 0 0 1 0 1 1
20
Multi-Level Multiplexing
21
4 kbps
A
4 kbps
8 kbps 16 kbps
B MUX
4 kbps
4 kbps
C
Note: assume 1 unit = 1 bit
22
TDM of Different Data Rates
B A A B A A B A
1 frame
5 kbps
A A A A A A B A A B A A B A
8 kbps
3 kbps MUX
B B B B
23
Bit Padding
Different data rates may not be integer
multiples of each other
Solution – Bit padding
1 ms
B A A B A A B A
3000 cycles/s
A A A A A
24
Digital Signal (DS) Hierarchy
64 kbps
1.544 Mbps
DS-0 24 DS-0
24 channels
6.312 Mbps
T DS-1 4 DS-1
D
…
44.376 Mbps
M T DS-2 7 DS-2
DS-0 D
M 274.176 Mbps
T DS-3 6 DS-3
D
M
T
DS-4
D
M
Rate Voice
Service Line
(Mbps) Channels
26
T Lines and Analog Signals
27
28
E Lines
European's version of T lines
Also used in Vietnam
Rate Voice
E Line
(Mbps) Channels
E-1 2.048 30
29
Inverse Multiplexing
low-speed lines
30
Spread Spectrum
Spread signal to use larger bandwidth
To prevent eavesdropping
To reduce effects from interference
31
Frequency-Hopping SS
"FHSS" – Frequency-Hopping Spread Spectrum
Used in Bluetooth technology
32
FHSS Cycles
FHSS uses M different carrier
frequencies that are modulated
by the source signal.
33
Direct-Sequence SS
"DSSS" – Direct-Sequence Spread Spectrum
Used in Wireless LANs
34
DSSS and Interference
Amplitude
Narrow Band Signal
Narrow Band Interference
Spread Spectrum Signal
Frequency
35
DSSS Example
Each data bit is assigned a code of n bits, called chips,
where the chip rate is n times that of the data bit.