ch6 MULTIPLEXING
ch6 MULTIPLEXING
ch6 MULTIPLEXING
Whenever the bandwidth of a medium linking two devices is greater than the bandwidth
needs of the devices, the link can be shared. Multiplexing is the set of techniques that
allows the simultaneous transmission of multiple signals across a single data link.
As data and telecommunications usage increases, so does traffic. We can
accommodate this increase by continuing to add individual lines each time a new channel
is needed, or we can install higher-bandwidth links and use each to carry multiple signals.
Today’s technology includes high bandwidth media such as optical fiber and terrestrial
and satellite microwaves. Each of these has a bandwidth far in excess of that needed for
the average transmission signal. If the bandwidth of a link is greater than the bandwidth
needs of the devices connected to it, the bandwidth is wasted. Bandwidth is one of the
most precious resources we have in data communication, so an efficient system
maximizes the utilization of all resources.
The basic format of a multiplexed system is shown in the diagram in which n
lines share the bandwidth of one link.
The four 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 fed into a demultiplexer (DEMUX), which separates the stream back into
its component transmissions (one to many) and directs them to their corresponding lines.
The word link in the diagram refers to the physical path. The word channel refers
to the portion of a link that carries a transmission between a given pair of lines. One link
can have many (n) channels.
Signals are multiplexed by one of the three techniques, i.e. Frequency-Division
Multiplexing (FDM), Wave-Division Multiplexing (WDM) and Time-Division
Multiplexing (TDM).
FDM and TDM use analog signals while TDM uses digital signals.
Categories of Multiplexing
Frequency-Division Multiplexing
Multiplexing Process
A conceptual example of the multiplexing process is shown in the diagram. FDM is an
analog process, and telephones are used in the example as the Input devices.
Example
Assume that a voice channel occupies a bandwidth of 4 KHz. We need to combine three
voice channels into a link with a bandwidth of 12 KHz, from 20 to 32 KHz. Show the
configuration using the frequency domain without the use of guard bands.
Solution
Shift (modulate) each of the three voice channels to a different bandwidth, i.e.
Example
Five channels, each with a 100-KHz bandwidth, are to be multiplexed together. What is
the minimum bandwidth of the link if there is a need for a guard band of 10 KHz between
the channels to prevent interference?
Solution
For five channels, we need at least four guard bands. This means that the required
bandwidth is at least
5 x 100 + 4 x 10 = 540 KHz,
Applications of FDM
A very common application of FDM is AM and FM radio. Radio uses air as the
transmission medium. A special band, from 530 to 1700 KHz is assigned to AM Radio.
An AM radio station needs 10 KHz of bandwidth. Each station uses a different carrier
frequency. The signal which goes to the air and the receiver receives all the signals, but
filters (by tuning) only the one which is desired. Without multiplexing, only one AM
station could broadcast to the common link, the air.
With FM radio broadcasting, we have a wider band i.e. from 88 to 1-8 MHz.
Televisions broadcasting also uses FDM technique.
The first generation of cellular phones also uses FDM. Each user is assigned two
30 KHz channels, one for sending voice and one for receiving.
Wave-Division Multiplexing
Applications of WDM
One application of WDM is the SONET i.e. (Synchronous Optical NETwork) in which
multiple optical fibers are multiplexed and demultiplexed.
A new method, called the Dense Wave Division Multiplexing (DWDM), can
multiplex a very large number of channels by spacing channels closer to one another. It
achieves even greater efficiency.
TDM Frames
In TDM, the 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. Therefore, the duration
of a unit in a connection in n times the duration of a time slot in a frame. If we consider
that the bit duration and bit rate are the inverse of each other, the above requirement
makes sense. In above drawn figure, the data rate of the link is 3 times the data rate of a
connection; likewise, the duration of a unit on a connection is 3 times that of the time slot
Example
Solution
Interleaving
TDM can be visualized as two fast rotating switches, one on the multiplexing side and the
other on the demultiplexing side. The switches are synchronized and rotate at the same
speed, but in opposite directions. On the multiplexing side, as the switch opens in front of
a connection, that connection has the opportunity to send a unit onto the path. This
process is called Interleaving.
Interleaving
On the demultiplexing side, as the switch opens in front of a connection, that connection
has the opportunity to receive a unit from the path.
Example
Four channels are multiplexed using TDM. If each channel sends 100 bytes/s and we
multiplex 1 byte per channel. Show
Solution
2. Each frame carries 1 byte from each channel. So the size of each frame is 4 bytes
or 32 bits.
3. Because each channel is sending 100 bytes per second and a frame carries 1 byte
from each channel, the frame rate must be 100 frames per second, and
4. The duration of a frame is therefore 1/100 s.
5. The link is carrying 100 frames per second, and each frame contains 32 bits, so
the bit rate is 100 x 32 or 3200 bps. This is actually 4 times the bit rate for each
channel, which is 100 x 8 = 800 bps.
Synchronizing
Implementation of TDM is not as easy as that of FDM. Synchronization between the
multiplexer and demultiplexer is a major issue.
If the multiplexer and the demultiplexer are out of synchronization, the wrong
channel may receive a bit belonging to one channel. For this reason, one or more
synchronization bits are usually added to the beginning of each frame.
These bits, called framing bits, follow a pattern, frame to frame, that allows the
demultiplexer to synchronize with the incoming stream so that it can separate the time
slots accurately.
Bit Padding
It is possible to multiplex data from devices of different data rates. For example, device A
could use one time slot, while the faster device B could use two. The number of slots in a
frame and the input lines to which they are assigned remain fixed throughout a given
system, but devices of different data rates may control different numbers of those slots.
We know that the time slot length is fixed, so for this technique to work, different data
rates must be integer multiples of each other, i.e. we can accommodate a device that is 5
times faster than the other devices by giving it five slots to one for each of the other
devices, but we cannot accommodate a device that is 5.5 times faster by this method,
because we cannot introduce one-half of a time slot into a frame.
*
When speeds are not integer multiples of each other, they can be made to behave
as if they were, by a technique called bit padding. In bit padding, the multiplexer adds
extra bits to a device’s source stream to force the speed relationships among the various
devices into integer multiples of each other. For example, if we have one device with a
bit rate of 2.75 times that of the other device, we can add enough bits to raise the ratio to
3 times that of the others. The demultiplexer then discards the extra bits.
Example
Two channels, one with a bit rate of 100 Kbps and another with a bit rate of 200 Kbps,
are to be multiplexed. How this can be achieved?
*
Integer Multiple
An integer multiple is a whole number that may be divided by another a certain number of times without a
remainder, i.e. 28/28 = 1, i.e. no remainder, so 28 is an integer multiple of 28. Similarly, 40/20 = 2. But
28/27 = 1.037, there is a remainder, so 28 is a non integer multiple of 27.
We can allocate one slot to the first channel and two slots to the second channel. Each
frame carries 3 bits.
1. The frame rate is 100,000 frames per second because it carries 1 bit from the first
channel.
2. The frame duration is 1/100,000 s, or 10 ms.
3. The bit rate is 100,000 frames/s x 3 bits/frame, or 300 Kbps.
DS Hierarchy
• DS-1 is a 1.544 Mbps service. 1.544 Mbps is 24 times 64 Kbps plus 8 Kbps of
overhead. It can be used as a single service for 1.544 Mbps transmission, or it can
be used to multiplex 24 DS-0 channels or to carry any other combination desired
by the user that can fit within its 1.544 Mbps capacity.
• DS-2 is a 6.312 Mbps service. 6.312 Mbps is 96 times 64 Kbps plus 168 Kbps of
overhead. It can be used as a single service for 6.312 Mbps transmissions, or it
can be used to multiplex 4 DS-1 channels, 96 DS-0 channels, or a combination of
these service types.
• DS-4 is a 274.176 Mbps service. 274.176 is 4032 times 64 Kbps plus 16.128
Mbps of overhead. It can be used to multiplex 6 DS-3 channels, 42 DS-2
channels, 168 DS-1 channels, 4032 DS-0 channels, or a combination of these
service types.
T Lines
DS-0, DS-1 and so on are the names of services. To implement those services, the
telephone companies use T Lines (T-1 to T-4). These are lines with capacities precisely
matched to the data rates of the DS-1 to DS-4 services.
The T-1 line is used to implement DS-1, T-2 is used to implement DS-2, and so on. DS-0
is not actually offered as a service, but it has been defined as a basis for reference
purposes.
So, each slot contains one signal segment from each channel; 24 segments are interleaved
in one frame. If a T-1 line carries 8000 frames, the data rate is 1.544 Mbps (193 x 8000 =
1.544 Mbps i.e. the capacity of the line.
E Lines
Europeans use a version of T lines called E lines. The two systems are conceptually
identical, but their capacities differ.
Following table shows the E lines and their capacities.
Use of inverse multiplexing is useful when an organization wants to send data, audio and
voice etc each of which requires a different data rate. To send audio, it may need 64-Kbps
link. To send data, it may need a 128-Kbps link, and to send video, it may need a 1.544-
Mbps link. Now to accommodate all these needs, the organization has two options. It can
lease a 1.544-Mbps channel from a common carrier i.e. the telephone company and use
the full capacity only sometimes, which is not efficient use of the facility. Or it can lease
several separate channels of lower data rates. Using an agreement called bandwidth on
demand, the organization can use any of these channels whenever and however it needs
them. Data or video signals can be broken up and sent over two or more lines. In other
words, the data and video signals can be inversely multiplexed over multiple lines.