Data Communication: Lecturer: Tamanna Haque Nipa
Data Communication: Lecturer: Tamanna Haque Nipa
Communication
In the figure, the word link 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.
• Frequency-division multiplexing (FDM) is an analog technique that can be
applied when the bandwidth of a link (in hertz) is greater than the combined
bandwidths of the signals to be transmitted.
• In FDM, signals generated by each sending device modulate different carder
frequencies. These modulated signals are then combined into a single composite
signal that can be transported by the link.
• Carrier frequencies are separated by sufficient bandwidth to accommodate the
modulated signal. These bandwidth ranges are the channels through which the
various signals travel.
• Channels can be separated by strips of unused bandwidth guard bands to
prevent signals from overlapping.
• In addition, carrier frequencies must not interfere with the original data
frequencies.
The de-multiplexer uses a series of filters to decompose the
multiplexed signal into its constituent component signals. The
individual signals are then passed to a demodulator that separates
them from their carriers and passes them to the output lines.
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 × 100 + 4 × 10 = 540 kHz
Wavelength-division multiplexing (WDM) is designed to use the high-data-
rate capability of fiber-optic cable. The optical fiber data rate is higher than
the data rate of metallic transmission cable. Using a fiber-optic cable for one
single line wastes the available bandwidth. Multiplexing allows us to
combine several lines into one. WDM is an analog multiplexing technique to
combine optical signals. The combining and splitting of light sources are
easily handled by a prism. Recall from basic physics that a prism bends a
beam of light based on the angle of incidence and the frequency.
Using this technique, a multiplexer can be made to combine several input
beams of light, each containing a narrow band of frequencies, into one
output beam of a wider band of frequencies. A de-multiplexer can also be
made to reverse the process.
Time Slots and Frames: In synchronous TDM, the data flow of each input
connection is divided into units, where each input occupies one input time slot.
A unit can be 1 bit, one character, or one block of data. Each input unit
becomes one output unit and occupies one output time slot. However, the
duration of an output time slot is n times shorter than the duration of an input
time slot. If an input time slot is T s, the output time slot is T/n s, where n is the
number of connections. In other words, a unit in the output connection has a
shorter duration; it travels faster. In synchronous TDM, the data rate of the link
is n times faster, and the unit duration is n times shorter.
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.
Empty Slots
Synchronous TDM is not as efficient as it could be. If a source does not have data
to send, the corresponding slot in the output frame is empty.
Example 6.8
Four channels are multiplexed using TDM. If each channel sends 100
bytes /s and we multiplex 1 byte per channel, show the frame traveling
on the link, the size of the frame, the duration of a frame, the frame
rate, and the bit rate for the link.
Solution
The multiplexer is shown in Figure 6.16. Each frame carries 1 byte from
each channel; the size of each frame, therefore, is 4 bytes, or 32 bits.
Because each channel is sending 100 bytes/s and a frame carries 1 byte
from each channel, the frame rate must be 100 frames per second. The bit
rate is 100 × 32, or 3200 bps.
Example 6.9
3. Pulse Stuffing Sometimes the bit rates of sources are not multiple integers
of each other. Therefore, neither of the above two techniques can be applied.
One solution is to make the highest input data rate the dominant data rate and
then add dummy bits to the input lines with lower rates. This will increase their
rates. This technique is called pulse stuffing, bit padding, or bit stuffing. The
input with a data rate of 46 is pulse-stuffed to increase the rate to 50 kbps.
Now multiplexing can take place.
Frame Synchronizing : Synchronization between the multiplexer and
demultiplexer is a major issue. If the. multiplexer and the demultiplexer are not
synchronized, a bit belonging to one channel may be received by the wrong
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. In most cases, this
synchronization information consists of 1 bit per frame, alternating between 0
and 1.
4. Statistical Time-Division Multiplexing
As we saw in the previous section, in synchronous TDM, each input has a
reserved slot in the output frame. This can be inefficient if some input lines
have no data to send. In statistical time-division multiplexing, slots are
dynamically allocated to improve bandwidth efficiency. Only when an input
line has a slot's worth of data to send is it given a slot in the output frame. In
statistical multiplexing, the number of slots in each frame is less than the
number of input lines. The multiplexer checks each input line in round-
robin fashion; it allocates a slot for an input line if the line has data to send;
otherwise, it skips the line and checks the next line.
No Synchronization Bit
The frames in statistical TDM need not be synchronized, so we do not need
synchronization bits.
Bandwidth
In statistical TDM, the capacity of the link is normally less than the sum of
the capacities of each channel. The designers of statistical TDM define the
capacity of the link based on the statistics of the load for each channel. If on
average only x percent of the input slots are filled, the capacity of the link
reflects this. Of course, during peak times, some slots need to wait.