Data Communication - 5th Lecture
Data Communication - 5th Lecture
✓ Multiplexing:
▰ Course Title: Data Communication
Multiplexing is the set of techniques that allows the simultaneous transmission of
▰ Course Code: CSE-3525 multiple signals across a single data link.
▰ Credit Hours: 3
▰ Textbooks: 1. Data Communications AND Networking - 5th Edition
by Behrouz A. Forouzan D
2. Computer Networks - 5th Edition by A. Tanenbaum M E
U M
X U
X
Conducted by: Engr. Muinul Islam
Fig. Basic Mux and Demux with input/output channels, control signal
1 2
✓ Multiplexing (Contd.):
Figure shows the basic format of a multiplexed system. ✓ Multiplexer types:
Figure shows the basic format of a multiplexed system.
The lines on the left direct their transmission streams to a multiplexer (MUX), which
combines them into a single stream (many-to-one). At the receiving end, that stream is a) 2-1 multiplexer (1select line)
fed into a demultiplexer (DEMUX), which separates the stream back into its b) 4-1 multiplexer (2 select lines)
component transmissions (one-to-many) and directs them to their corresponding lines.
c) 8-1 multiplexer (3 select lines)
In the figure, the word link refers to the physical path. The word channel refers to the d) 16-1 multiplexer (4 select lines)
portion of a link that carries a transmission between a given pair of lines. One link can
have many (n) channels.
3 4
1
10/20/2023
For example, when the control bits AB =00, then the higher AND gates are allowed
while remaining AND gates are restricted.
Thus, data input D0 is transmitted to the output ‘q”.
5 6
b) 4-1 multiplexer (Contd.): If the control input is changed to 11, then all gates are ❑ In multiplexer, the usage of a number of wires can be decreased
restricted except the bottom AND gate. In this case, D3 is transmitted to the output, ❑ It reduces the cost as well as the complexity of the circuit
and q=D0. ❑ The implementation of a number of combination circuits can be possible by using a
multiplexer
If the control input is changed to AB =11, all gates are disabled except the bottom AND
gate. In this case, D3 is transmitted to the output, and q = D3.
❑ Mux doesn’t require K-maps & simplification
❑ The multiplexer can make the transmission circuit less complex & economical
The best example of a 4X1 multiplexer is IC 74153. ❑ The multiplexer ability can be extended to switch audio signals, video signals, etc.
❑ The digital system reliability can be improved using a MUX as it decreases the
number of exterior wired connections.
❑ MUX is used to implement several combinational circuits
❑ The logic design can be simplified through MUX
7 8
2
10/20/2023
Applications of Multiplexers
Amplitude shift
Multiplexers are used in various applications wherein multiple-data need to be Frequency-Division
keying (ASK)
Wavelength-Division Time-Division
Multiplexing (FDM) Multiplexing (WDM) Multiplexing (TDM)
transmitted by using a single line.
9 10
11 12
3
10/20/2023
13 14
The second channel uses a filter that passes frequencies between 24 and 28 kHz, and
the third channel uses a filter that passes frequencies between 28 and 32 kHz.
15 16
4
10/20/2023
17 18
19 20
5
10/20/2023
Fig. TDM
Fig. Prisms in wavelength-division multiplexing and demultiplexing
21 22
TDM can be divided into two different schemes: (i) Synchronous and (ii) Statistical.
23 24
6
10/20/2023
c. Each frame carries three output time slots. So, the duration of a frame is 3 x 113 ms,
or 1 ms. The duration of a frame is the same as the duration of an input unit.
25 26
c. The output bit rate is the inverse of the output bit duration, or 1/4 μs, or 4
Mbps. This can also be deduced from the fact that the output rate is 4 times as
fast as any input rate; so the output rate = 4 × 1 Mbps = 4 Mbps.
d. The frame rate is always the same as any input rate. So, the frame rate is
1,000,000 frames per second. Because we are sending 4 bits in each frame,
we can verify the result of the previous question by multiplying the frame rate
Solution: We can answer the questions as follows:
by the number of bits per frame.
a. The input bit duration is the inverse of the bit rate: 1/1 Mbps = 1 μs.
27 28
7
10/20/2023
d. The duration of a frame is always the same as the duration of a unit before multiplexing,
or 1 ms. We can also calculate this in another way. Each frame in this case has four time
slots. So the duration of a frame is 4 times 250 μs, or 1 ms.
29 30
31 32
8
10/20/2023
33 34
35 36
9
10/20/2023
37 38
39 40
10
10/20/2023
41 42
43 44
11
10/20/2023
2. The expanding of the original bandwidth B to the bandwidth Bss must be done
by a process that is independent of the original signal. In other words, the
spreading process occurs after the signal is created by the source.
After the signal is created by the source, the spreading process uses a spreading code
and spreads the bandwidth.
The figure shows the original bandwidth B and the spread bandwidth Bss. The
Figure. Spread spectrum spreading code is a series of numbers that look random, but are actually a pattern.
Figure shows the idea of spread spectrum. Spread spectrum achieves its goals through There are two techniques to spread the bandwidth:
two principles:
(a) Frequency hopping spread spectrum (FHSS) and
1. The bandwidth allocated to each station needs to be, by far, larger than what is
(b) Direct sequence spread spectrum (DSSS).
needed. This allows redundancy.
45 46
47 48
12
10/20/2023
49 50
Figure 1. DSSS
51 52
13
10/20/2023
Figure 2. DSSS
53 54
55 56
14
10/20/2023
Fig. A trivial circuit-switched network The switches route the data based on their occupied band (FDM) or time slot (TDM). There is end-
to-end addressing used during the setup phase.
Figure shows a trivial circuit-switched network with four switches and four links. Each link is divided
into n (n is 3 in the figure) channels by using FDM or TDM. The resources, such as channels (bandwidth in FDM and time slots in TDM), switch buffers, switch
processing time, and switch input/output ports, will remain dedicated during the entire duration of
We have explicitly shown the multiplexing symbols to emphasize the division of the link into data transfer until the teardown phase.
channels even though multiplexing can be implicitly included in the switch fabric.
57 58
59 60
15
10/20/2023
COMPUTER ARCHITECTURE
Thanks
61
16