Chapter 8 232
Chapter 8 232
C8 MULTIPLEXING
v What is multiplexing?
Chapter 8: Multiplexing
8.1 Concepts and types
v Multiplexing
§ A set of techniques that allows the simultaneous transmission of multiple signals across a
single data link.
§ Can utilize higher capacity links without adding additional lines for each device – better
utilization of bandwidth.
v Multiplexer (MUX)
§ Combines multiple streams into a single stream (many to one).
v Demultiplexer (DEMUX)
§ Separates the stream back into its component transmission (one to many) and directs them
to their correct lines.
1
5/15/2024
C8 MULTIPLEXING
8.1 Concepts and Categories
v What is multiplexing?
v Multiplexing is the set of techniques that allow the simultaneous
transmission of multiple signals across a single data link
If the full capacity of each link is Four pairs share the capacity of a single link.
not used, some of that capacity is
wasted.
C8 MULTIPLEXING
8.1 Concepts and Categories
Purpose of Multiplexing
v Purpose: Increase efficiency of the transmission medium
2
5/15/2024
C8 MULTIPLEXING
8.1 Concepts and Categories
Categories of Multiplexing
C8 MULTIPLEXING
8.2 Frequency-Division Multiplexing (FDM)
Filter
Main
Filter
Modulator
FDM signal
Filter
Sub-carrier modulation
3
5/15/2024
C8 MULTIPLEXING
8.2 Frequency-Division Multiplexing (FDM)
In FDM signals generated by each device modulate different carrier
frequencies. These modulated signals are combined into a single
composite signal that can be transported by the link.
BWFDM= n.BWi +(n-1)BWguard
C8 MULTIPLEXING
FDM PORCESS 8
4
5/15/2024
C8 MULTIPLEXING
Filter
FDM signal
Filter
Main demodulator
FDM signal
Filter
Demodulator
C8 MULTIPLEXING
8.2 Frequency-Division Multiplexing (FDM)
n Demultiplexer uses a series of filters to decompose the multiplexed signal into its
constituent component signals
n The individual signals are then passed to a demodulator that separates them from
their carriers and passes them to the waiting receivers
5
5/15/2024
11
12
6
5/15/2024
5 channels, each with a 100-KHz B.W, are to be multiplexed together. What is the
minimum B.W of the link if there is a need for a guard band of 10 KHz between the
channels to prevent interference?
BWFDM= n.BWi +(n-1)BWguard
13
5 channels, each with a 100-KHz B.W, are to be multiplexed together. What is the
minimum B.W of the link if there is a need for a guard band of 10 KHz between the
channels to prevent interference?
Solution
v For 5 channels, we need at least 4 guard bands.
v the required B.W is at least 5 x 100 + 4 x 10 = 540 KHz
14
7
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Applied when data rate capacity of the transmission medium is greater
than the data rate required by the sending and receiving devices
n Digital process that allows several connections to share the high bandwidth of a link
n Time Slots and Frames
n Each input given a (time slot)
n A frame consists of one complete cycle of time slots, with one slot dedicated to each
sending device.
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Synchronous TDM
The term synchronous means the multiplexer allocates exactly
the same time slot to each device at all times, whether or not a
device has anything to transmit
8
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
- All of the inputs have the same data rate
- Time slots are grouped into frames.
- Number of time slots in each frame is equal to the number of
input lines.
n
RTDM = n x Rbi
Rbi
TDM FRAMES
v Mux-to-mux speed = aggregate terminal speeds
§ data rate of the link that carries data from n connections must be n
times the data rate of a connection to guarantee the flow of data
§ i.e., the duration of a frame in a connection is n times the duration of a
time slot in a frame
18
9
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Interleaving
RTDM = n x Rbi
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
RTDM = n x Rbi
Four 1-Kbps connections are multiplexed together. A unit is 1 bit.
Find
a. The duration of 1 bit before multiplexing.
b. The transmission rate of the link.
c. The duration of a time slot.
d. The duration of a frame.
20
10
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
INTERLEAVING
v Process of taking a specific amount of data from each device
in a regular order
v May be done by bit, byte, or any other data unit
§ Character (byte) Interleaving
Multiplexing perform one/more character(s) or byte(s) at a time
§ Bit Interleaving
Multiplexing perform on one bit at a time
22
11
5/15/2024
Example 4
23
Example
24
12
5/15/2024
C8 MULTIPLEXING
SYNCHRONIZING
8.3 . Time-Division Multiplexing (TDM)
v Framing bit (s) is (are) added to each frame for synchronization between the MUX
and DEMUX
Synchronization bits allows the DEMUX to synchronize with the incoming stream so it can
separate time slots accurately
v If 1 framing bit per frame, framing bits are alternating between 0 and 1
•RFrame = Rbi/m
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Framing Bits:
13
5/15/2024
We have four sources, each creating 250 char/ sec. If the interleaved unit is a
character and 1 synchronizing bit is added to each frame, find
27
We have four sources, each creating 250 char/ sec. If the interleaved unit is a
character and 1 synchronizing bit is added to each frame, find
(1) Data rate of each source 2000 bps = 2 Kbps
(2) Duration of each character in each source 1/250 s = 4 ms
(3) Frame rate link needs to send 250 frames/sec
(4) Duration of each frame 1/250 s = 4 ms
(5) Number of bits in each frame 4 x 8 + 1 = 33 bits
(6) Data rate of the link. 250 x 33 = 8250 bps
28
14
5/15/2024
29
• 2 channels, one with a bit rate of 100 Kbps and another with a bit rate of 200
Kbps, are to be multiplexed.
1. How this can be achieved?
2. What is the frame rate?
3. What is the frame duration?
4. What is the bit rate of the link?
Solution
1. Allocate 1 slot to the 1st channel and 2 slots to the 2nd channel.
• Each frame carries 3 bits.
2. The frame rate is 100k frames/sec because it carries 1 bit from the first channel.
3. The frame duration is 1/100,000s= 10 us.
4. The bit rate is 100,000 frames/s x 3 bits/frame= 300 Kbps
30
15
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Asynchronous TDM: Asynchronous time-division multiplexing,
or statistical time-division multiplexing, is designed to avoid
wasting line capacity when using synchronous TDM
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Asynchronous TDM
- Allows a number of lower-speed input lines to be
multiplexed to a single higher-speed line
- The total speed of the input lines can be greater than the
capacity of the path
- If we have � input lines, the frame contains a no more than
� time slots
- Given the same link, asynchronous TDM can support more
devices than synchronous TDM
16
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Asynchronous TDM
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Asynchronous TDM
- Asynchronous TDM must have a addressing
method to multiplex correctly
- Address, for local use only, is attached by the
multiplexer and discarded by the demultiplexer
once it has been read
17
5/15/2024
C8 MULTIPLEXING
8.3 . Time-Division Multiplexing (TDM)
v Asynchronous TDM is efficient only when the size of the time slots is
kept relatively large
v Variable-Length Time Slots: A synchronous TDM can accommodate
traffic of varying data rates by varying the length of the time slots.
Stations transmitting at a faster data rate can be given a longer slot
18