Multiplexing (DC)
Multiplexing (DC)
MULTIPLEXING
• Multiplexing is a set of techniques that allows that
simultaneous transmission of multiple signals across a single
data link.
Solution
Shift (modulate) each of the three voice channels to a
different bandwidth, as shown in Figure 6.6.
Example 1
Example 2
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,
as shown in Figure 6.7.
Example 2
Wavelength Division Multiplexing(WDM)
• WDM is an analog multiplexing technique designed to utilize
the high data rate capability of fiber optic cables
• For e.g, the slowest input device could be assigned one slot per
cycle, while faster devices are assigned multiple slots per
cycle.
TDM Link Control
• No headers and trailers(in synchronous transmission)
• Control mechanisms provided by Data link control protocols
are not needed
• Two data link control mechanisms:
– Flow control
• As far as multiplexer and demultiplexer are concerned ,flow control
is not needed
• Data rate of multiplexed line is fixed and multiplexer and
demultiplexer work on this data rate.
• If one channel receiver can not receive data, the others must carry
on
• The solution is for the saturated output device to cause the flow of
data from the corresponding input device to cease.ie The
corresponding source must be quenched
• This leaves empty slots,and frames as a whole maintains same
transmission rate.
TDM Link Control
– Error control
– For error control ,it would not request retransmission of the entire
TDM frame because an error occurs on one channel.
– The devices using other channels do not want retransmission nor
would they know that a retransmission has been requested by other
device on another channel.
– Errors are detected and handled by individual channel systems
• Flow control and error control can be provided on per-channel basis using
a data link protocol called HDLC:
• A simplified example is shown in fig.
• Assume two data sources, each using HDLC.
• One is transmitting a stream of HDLC frames containing three octets of
data each,and other is transmitting HDLC frames containing four octets of
data
• Assume character –interleaved multiplexing is used,
Data Link Control on TDM
Data Link Control on TDM
• The octets of the HDLC frames from the two sources are shuffled together
for transmission over the multiplexed line
• The frame check sequence(FCS) applied to disjoint set of bits
• Even the FCS is not in one piece
• The pieces are reassembled correctly before they are seen by the device on
the other side of the HDLC protocol
Framing
• No link control protocol is needed to manage the overall TDM link
• However there is a basic requirement for framing
• There is no flag or SYNC characters bracketing TDM frames
• Must provide some means for frame synchronizing mechanism
• Otherwise if the source and destination are out of step,data on all channels are
lost
• The most common method for framing is Added- digit framing
– One control bit added to each TDM frame
• Looks like another channel - “control channel”
– Identifiable bit pattern ,from frame to frame is used as a “control channel”
– e.g. alternating 1010101…unlikely on a data channel
– Receiver can compare incoming bits of one frame position to the expected patter.
– If the pattern doesnot match ,successive bit positions are searched until the
pattern persists over multiple frames
– Once framing synchronization is established ,the receiver continues to monitor the
framing bit channel
– If the pattern braks down ,the receiver must again enter a framing searching mode
Pulse Stuffing
• Problem in synchonous TDM is synchronizing various data sources
• Each source may have a separate clock,any variation among clocks could
cause loss of synchronization.
• Data rates from different sources not related by simple rational number
• Solution - Pulse Stuffing
– With pulse stuffing ,the outgoing data rate (excluding framing bits) of
the multiplexer is higher than sum of maximum instantaneous incoming
rates
– The extra capacity is used by stuffing extra dummy bits or pulses into
each incoming signal until it matches the locally generated clock
signal
• Because the statistical TDM takes the advantage of the fact that the
attached devices are not all transmitting all of the time ,the data rate on the
multiplexed line is less than the sum of the data rates of the attached
devices.
• Thus a statistical multiplexer can use a lower data rate to support as many
devices as a synchronous multiplexer.
• During each epoch ,data are collected from all four sources and sent out.
• Thus two and the four time slots transmitted by the multiplexer are empty
Synchronous TDM compared with Statistical TDM
• In contrast,the statistical multiplexer does not send empty slots if there are
data to send
• Thus during the first epoch,only slots for A and B are sent
• Thus there is more overhead per slot for statistical TDM because each slot
carries address as well as data
• A statistical TDM system uses a synchronous protocol like such as HDLC
• Within the HDLC frame ,the data frame must contain control bits for the
multiplexing operation
Statistical TDM Frame Formats
Statistical TDM Frame Formats
• In the first case only one source of data is included per frame
• The length of the data field is variable ,and its end is marked by the end of
the overall frame
• That is,each address specifies a number of the current source relative to the
previous source,modulo the total no. of sources
• For eg. Instead of an 8-bit address field ,a 4-bit field may be sufficient
• Another refinement is to use a two bit label with the length field
Solution
The multiplexer is shown in Figure 6.15.
Solution
Figure 6.16 shows the output for four arbitrary inputs.