Lecture4 PDF
Lecture4 PDF
MSCEG 425
Lecture 4
Multiplexing and Spreading
Circuit Switching and Telephone Network
Fall 2007
Dr. L. Christofi Fall 2007 1
0. Overview
In this lecture we will cover the following topics:
1.#
Note
6.1 MULTIPLEXING
1.#
Dividing a link into channels
Categories of multiplexing
1.#
Frequency Division Multiplexing (FDM)
• FDM can be used when the BW of a link is greater than the combined
BW of signals to be transmitted.
• Signals generated by each sending device modulate different carrier
frequencies, which are then combined into a single composite signal
• Guard bands are used to prevent signals from overlapping
Note
1.#
FDM demultiplexing example
Example
Solution
We shift (modulate) each of the three voice channels to a
different bandwidth, as shown in figure in next slide. We use
the 20-24 kHz bandwidth for the first channel, the 24-28 kHz
bandwidth for the second channel, and the 28-32 kHz
bandwidth for the third one. Then we combine them as shown
in the figure.
1.#
Example
Example
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
as shown in the figure below.
1.#
Example
Analog hierarchy
1.#
Example
The Advanced Mobile Phone System (AMPS) uses two bands. The first
band of 824 to 849 MHz is used for sending, and 869 to 894 MHz is used
for receiving. Each user has a bandwidth of 30 kHz in each direction.
How many people can use their cellular phones simultaneously?
Solution
Each band is 25 MHz. If we divide 25 MHz by 30 kHz, we get 833.33. In
reality, the band is divided into 832 channels. Of these, 42 channels are
used for control, which means only 832-42=790 channels are available for
cellular phone users.
Note
1.#
Prisms in wavelength-division
multiplexing and demultiplexing
• Combining and splitting of light sources are easily handled by a prism
• A prism bends a beam of light based on the angle of incidence and
the frequency
• Using this technique, a MUX can be made to combine several
input beams of light, each containing a narrow band of frequencies,
into one beam of wider band of frequencies
• A DEMUX can be made to reverse the process
1.#
Synchronous Time Division Multiplexing
Note
Example
Figure in next slide shows synchronous TDM with a data stream for each
input and one data stream for the output. The unit of data is 1 bit. Find (a)
the input bit duration, (b) the output bit duration, (c) the output bit rate, and
(d) the output frame rate.
Solution
a. The input bit duration is the inverse of the bit rate: 1/1 Mbps = 1 µs.
b. The output bit duration is one-fourth of the input bit duration, or 0.25 µs.
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
Dr. L. Christofi rate by the number of bits per frame.
Fall 2007 20
1.#
Example
Example
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, and (d) the duration of a frame.
Solution
a. The duration of 1 bit before multiplexing is 1 / 1 kbps, or 0.001 s (1 ms).
c. The duration of each time slot is one-fourth of the duration of each bit
before multiplexing, or 1/4 ms or 250 µs. Note that we can also
calculate this from the data rate of the link, 4 kbps. The bit duration is
the inverse of the data rate, or 1/4 kbps or 250 µs.
1.#
Interleaving
• TDM can be visualized as two fast rotating switches, one on the MUX
side and the other on the DEMUX side. The switches are synchronized
and rotate at the same speed but in opposite directions. On the MUX
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
inteleaving.
Example
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 below. 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.
1.#
Example
Solution
Figure below shows the output for four arbitrary inputs. The link carries
50,000 frames per second. The frame duration is therefore 1/50,000 s or 20
µs. The frame rate is 50,000 frames per second, and each frame carries 8
bits; the bit rate is 50,000 × 8 = 400,000 bits or 400 kbps. The bit duration is
1/400,000 s, or 2.5 µs.
Digital hierarchy
The following figure shows the data rates supported by each level:
1.#
DS and T line rates
1.#
T-1 frame structure
DS-1 requires 8 kbps overhead due to the synchronization bit:
E line rates
1.#
TDM slot comparison
1.#
Spread spectrum
• Input is fed into a channel encoder that produces an analog signal
with a relatively narrow BW around a center frequency.
• This signal is further modulated using a sequence of digits known as a
spreading code or spreading sequence.
• The effect of this modulation is to increase significantly the BW
(spread the spectrum) of the signal to be transmitted.
• On the receiving end, the same digit sequence is used to demodulate
the spread spectrum signal.
1.#
FHSS system
For transmission, binary data are fed into a modulator using FSK or
PSK. The resulting signal is entered on a base frequency. A
pseudorandom code generator serves as an index into a table of
frequencies (spreading code). Each k bits of the spreading sequence
specifies one of the 2k carrier frequencies. At each k-bit interval a new
carrier frequency is selected.
1.#
FHSS cycles
Bandwidth sharing
1.#
Direct Sequence Spread Spectrum (DSSS)
With DSSS each bit in the original signal is represented by multiple bits
in the transmitted signal using a spreading code.
The spreading code spreads the signal across a wider frequency band
in direct proportion to the number of bits used.
eg. a 10-bit spreading spreading code spreads the signal
across a frequency band that is 10 times greater than a 1-bit
spreading code.
DSSS example
In this example, the information is combined with trhe spreading code
using an XOR operation
i.e. 0 + 0 = 0 0+1=1 1+0=1 1+1=0
0 1 0 0 1 0 0 0 1 1 1 1 0 1 1 0 1 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 1
1.#
6.3 SUMMARY (part 6)
• Multiplexing is the simultaneous transmission of multiple signals across a single data link.
• Frequency-division multiplexing (FDM) and wave-division multiplexing (WDM) are techniques for
analog signals, while time-division multiplexing (TDM) is for digital signals.
• In FDM, each signal modulates a different carrier frequency. The modulated carriers are
combined to form a new signal that is then sent across the link.
• In FDM, multiplexers modulate and combine signals while demultiplexers decompose and
demodulate.
• In FDM, guard bands keep the modulated signals from overlapping and interfering with one
another.
• Telephone companies use FDM to combine voice channels into successively larger groups for
more efficient transmission.
• Wave-division multiplexing is similar in concept to FDM. The signals being multiplexed, however,
are light waves.
• In TDM, digital signals from n devices are interleaved with one another, forming a frame of data
(bits, bytes, or any other data unit).
• Framing bits allow the TDM multiplexer to synchronize properly.
• Digital signal (DS) is a hierarchy of TDM signals.
• T lines (T-1 to T-4) are the implementation of DS services. A T-1 line consists of 24 voice
channels.
• T lines are used in North America. The European standard defines a variation called E lines.
• Inverse multiplexing splits a data stream from one high-speed line onto multiple lower-speed
lines.
Switched network
1.#
Taxonomy of switched networks
A circuit-
circuit-switched network consists of a set of switches
connected by physical links. A connection between two
stations is a dedicated path made of one or more links.
However, each connection uses only one dedicated
channel on each link. Each link is normally divided into n
channels by using FDM or TDM.
1.#
Note
1.#
Note
Example
1.#
Example
1.#
Note
1.#
Note
1.#
Routing table in a datagram network
Note
Note
1.#
Delay in a datagram network
Note
1.#
7.3 VIRTUAL-CIRCUIT NETWORKS
A virtual-
virtual-circuit network is a cross between a circuit-
circuit-
switched network and a datagram network. It has some
characteristics of both.
Virtual-circuit network
1.#
Virtual-circuit identifier
1.#
Source-to-destination data transfer in a
virtual-circuit network
1.#
Setup acknowledgment in a virtual-
circuit network
Note
1.#
Delay in a virtual-circuit network
Note
1.#
7.4 STRUCTURE OF A SWITCH
Time-slot interchange
1.#
Time-space-time switch
1.#
Input port
Output port
1.#
7.5 TELEPHONE NETWORK
A telephone system
Local loop
Trunk Trunk
•••
End Tandem
offices offices Regional offices
1.#
Note
Switching offices
1.#
Point of presences (POPs)
Note
1.#
Data transfer and signaling networks
Layers in SS7
1.#
9.2 DIAL-UP MODEMS
1.#
Modulation/demodulation
Note
Modem
stands for modulator/demodulator.
1.#
Uploading and downloading in 56K modems
1.#
Note
Note
Note
1.#
Discrete multitone technique
1.#
ADSL modem
DSLAM
Digital Subscriber Line Access Multiplexer
1.#
Summary of DSL technologies
(km)
4
6
4
4
1-2.5
1.#
References
1.#