Computer Networks I Ch.5
Computer Networks I Ch.5
TRANSMISSION
The Physical layer in the OSI model plays the role of interacting with actual hardware and
signaling mechanism. Physical layer is the only layer of the OSI network model which actually
deals with the physical connectivity of two different stations. This layer defines the hardware
equipment, cabling, wiring, frequencies, pulses used to represent binary signals etc.
Physical layer provides its services to Data-link layer at the receiving end while the Data-link layer
hands over frames to physical layer at the transmitting end. Physical layer converts them to
electrical pulses, which represent binary data. The binary data is then sent over the wired or
wireless media.
5.1 Signals
When data is sent over the physical medium, it needs first to be converted into electromagnetic
signals. Data itself can be analog such as human voice, or digital such as file on the disk. Both
analog and digital data can be represented in digital or analog signals.
5.2.1 Attenuation
For the receiver to interpret the data accurately, the signal must be sufficiently strong. When the
signal passes through the medium, it tends to get weaker. As it covers distance, it loses strength.
5.2.2 Dispersion
As a signal travels through the media, it tends to spread and overlap. The amount of dispersion
depends upon the frequency used.
1
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
5.2.4 Noise
Random disturbance or fluctuation in an analog or digital signal is said to be Noise in signal, which
may distort the actual information being carried. Noise can be characterized in one of the following
class:
Thermal Noise
Heat agitates the electronic conductors of a medium which may introduce noise in the media. Up
to a certain level, thermal noise is unavoidable.
Intermodulation
When multiple frequencies share a medium, their interference can cause noise in the medium.
Intermodulation noise occurs if two different frequencies are sharing a medium and one of them
has excessive strength or the component itself is not functioning properly, then the resultant
frequency may not be delivered as expected.
Crosstalk
This sort of noise happens when a foreign signal enters into the media. This is because the signal
in one medium affects the signal of second medium.
Impulse
This noise is introduced because of irregular disturbances such as lightening, electricity, short-
circuit, or faulty components. Digital data is mostly affected by this sort of noise.
2
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Digital signal is denoted by discreet signal, which represents digital data. There are three types of
line coding schemes available:
1.Unipolar Coding
Unipolar encoding schemes use single voltage level to represent data. In this case, to represent
binary 1, high voltage is transmitted and to represent 0, no voltage is transmitted. It is also called
Unipolar-Non-return-to-zero, because there is no rest condition i.e. it either represents 1 or 0.
3
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
2. Polar Encoding
Polar encoding scheme uses multiple voltage levels to represent binary values. Polar encodings is
available in four types: Polar Non Return to Zero (Polar NRZ). It uses two different voltage
levels to represent binary values. Generally, positive voltage represents 1 and negative value
represents 0. It is also called NRZ because there is no rest condition. NRZ scheme has two variants:
NRZ-L and NRZ-I.
NRZ-L changes voltage level at when a different bit is encountered whereas NRZ-I changes
voltage when a 1 is encountered.
4
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
RZ uses three voltage levels, positive voltage to represent 1, negative voltage to represent 0 and
zero voltage for none. Signals change during bits not between bits.
Manchester
This encoding scheme is a combination of RZ and NRZ-L. Bit time is divided into two halves. It
transits in the middle of the bit and changes phase when a different bit is encountered.
Differential Manchester
This encoding scheme is a combination of RZ and NRZ-I. It also transits at the middle of the bit
but changes phase only when 1 is encountered.
3. Bipolar Encoding
Bipolar encoding uses three voltage levels, positive, negative, and zero. Zero voltage represents
binary 0 and bit 1 is represented by altering positive and negative voltages.
5
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
PCM is one of the most commonly used method to convert analog data into digital form. It involves
three steps:
Sampling
Quantization
Encoding.
6
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
5.3.2.1 Sampling
The analog signal is sampled every T interval. Most important factor in sampling is the rate at
which analog signal is sampled. According to Nyquist Theorem, the sampling rate must be at least
two times of the highest frequency of the signal.
5.3.2.2 Quantization
Sampling yields discrete form of continuous analog signal. Every discrete pattern shows the
amplitude of the analog signal at that instance. The quantization is done between the maximum
amplitude value and the minimum amplitude value. Quantization is approximation of the
instantaneous analog value.
5.3.2.3 Encoding
7
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
The binary bits are organized into groups of fixed length. Both sender and receiver are connected
in parallel with an equal number of data lines. Both computers distinguish between high order and
low order data lines. The sender sends all the bits at once on all lines. Because the data lines are
equal to the number of bits in a group or data frame, a complete group of bits (data frame) is sent
in one go. Advantage of Parallel transmission is high speed and disadvantage is the cost of wires,
as it is equal to the number of bits sent in parallel.
5.3.3.2 Serial Transmission
In serial transmission, bits are sent one after another in a queue manner. Serial transmission
requires only one communication channel.
8
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Bandpass: The filters are used to filter and pass frequencies of interest (signals found in a
particular band). A bandpass is a band of frequencies which can pass the filter.
Low-pass: Low-pass is a filter that passes low frequencies signals. When digital data is converted
into a bandpass analog signal, it is called digital-to-analog conversion. When low-pass analog
signal is converted into bandpass analog signal, it is called analog-to-analog conversion.
5.3.4.1 Digital-to-Analog Conversion
When data from one computer is sent to another via some analog carrier, it is first converted into
analog signals. Analog signals are modified to reflect digital data. An analog signal is characterized
by its amplitude, frequency, and phase. There are three kinds of digital-to-analog conversions:
1. Amplitude Shift Keying
In this conversion technique, the amplitude of analog carrier signal is modified to reflect binary
data.
9
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
When binary data represents digit 1, the amplitude is held; otherwise it is set to 0. Both frequency
and phase remain same as in the original carrier signal.
2. Frequency Shift Keying
In this conversion technique, the frequency of the analog carrier signal is modified to reflect binary
data.
This technique uses two frequencies, f1 and f2. One of them, for example f1, is chosen to represent
binary digit 1 and the other one is used to represent binary digit 0. Both amplitude and phase of
the carrier wave are kept intact.
10
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
When a new binary symbol is encountered, the phase of the signal is altered. Amplitude and
frequency of the original carrier signal is kept intact.
4. Quadrature Phase shift Keying
QPSK alters the phase to reflect two binary digits at once. This is done in two different phases.
The main stream of binary data is divided equally into two sub-streams. The serial data is converted
in to parallel in both sub-streams and then each stream is converted to digital signal using NRZ
technique. Later, both the digital signals are merged together.
5.3.4.2 Analog-to-Analog Modulation
Analog signals are modified to represent analog data. This conversion is also known as Analog
Modulation. Analog modulation is required when bandpass is used. Analog to analog conversion
can be done in three ways:
11
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
1. Amplitude Modulation
In this modulation, the amplitude of the carrier signal is modified to reflect the analog data.
12
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
The amplitude and phase of the carrier signal are not altered.
3. Phase Modulation
In the modulation technique, the phase of carrier signal is modulated in order to reflect the change
in voltage (amplitude) of analog data signal.
13
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
14
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
15
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Because of its structure, the coaxial cable is capable of carrying high frequency signals than that
of twisted pair cable. The wrapped structure provides it a good shield against noise and cross talk.
Coaxial cables provide high bandwidth rates of up to 450 mbps.
There are three categories of coax cables namely, RG-59 (Cable TV), RG-58 (Thin Ethernet), and
RG-11 (Thick Ethernet). RG stands for Radio Government. Cables are connected using BNC
connector and BNC-T. BNC terminator is used to terminate the wire at the far ends.
3. Power Lines
Power Line communication (PLC) is Layer-1 (Physical Layer) technology which uses power
cables to transmit data signals. In PLC, modulated data is sent over the cables. The receiver on the
other end de-modulates and interprets the data. Because power lines are widely deployed, PLC can
make all powered devices controlled and monitored. PLC works in half-duplex.
There are two types of PLCs:
Narrow band PLC
Broad band PLC
Narrow band PLC provides lower data rates up to 100s of kbps, as they work at lower frequencies
(3-5000 kHz). They can be spread over several kilometers.
Broadband PLC provides higher data rates up to 100s of Mbps and works at higher frequencies
(1.8 – 250 MHz). They cannot be as much extended as Narrowband PLC.
4. Fiber Optics
Fiber Optic works on the properties of light. When light ray hits at critical angle, it tends to refracts
at 90 degree. This property has been used in fiber optic. The core of fiber optic cable is made of
16
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
high quality glass or plastic. From one end of it light is emitted, it travels through it and at the
other end light detector detects light stream band converts it to electric data.
Fiber Optic provides the highest mode of speed. It comes in two modes, one is single mode fiber
and second is multimode fiber. Single mode fiber can carry a single ray of light whereas multimode
is capable of carrying multiple beams of light.
Fiber Optic also comes in unidirectional and bidirectional capabilities. To connect and access
fiber optic special type of connectors are used. These can be Subscriber Channel (SC), Straight
Tip (ST), or MT-RJ
17
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
1. Radio Transmission
Radio frequency is easier to generate and because of its large wavelength it can
penetrate through walls and structures alike. Radio waves can have wavelength from 1mm –
100,000km and have frequency ranging from 3Hz (Extremely Low Frequency) to 300 GHz
(Extremely High Frequency). Radio frequencies are sub-divided into six bands.
Radio waves at lower frequencies can travel through walls whereas higher RF can
travel in straight line and bounce back. The power of low frequency waves decreases sharply as
they cover long distance. High frequency radio waves have more power.
Lower frequencies such as VLF, LF, MF bands can travel on the ground up to 1000
kilometers, over the earth’s surface.
18
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Radio waves of high frequencies are prone to be absorbed by rain and other obstacles. They use
Ionosphere of the earth atmosphere. High frequency radio waves such as HF and VHF bands are
spread upwards. When they reach Ionosphere, they are refracted back to the earth.
2. Microwave Transmission
Electromagnetic waves above 100MHz tend to travel in a straight line and signals over them can
be sent by beaming those waves towards one particular station. Because Microwaves travels in
straight lines, both sender and receiver must be aligned to be strictly in line-of-sight.
Microwaves can have wavelength ranging from 1mm – 1meter and frequency ranging from
300MHz to 300GHz.
19
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Microwave antennas concentrate the waves making a beam of it. As shown in picture above,
multiple antennas can be aligned to reach farther. Microwaves have higher frequencies and do not
penetrate wall like obstacles.
Microwave transmission depends highly upon the weather conditions and the frequency it is using.
3. Infrared Transmission
Infrared wave lies in between visible light spectrum and microwaves. It has wavelength of 700nm
to 1mm and frequency ranges from 300GHz to 430THz.
Infrared wave is used for very short range communication purposes such as a television and it’s
remote. Infrared travels in a straight line hence it is directional by nature. Because of high
frequency range, Infrared cannot cross wall-like obstacles.
4. Light Transmission
The highest electromagnetic spectrum which can be used for data transmission is
light or optical signaling. This is achieved by means of LASER.
Because of the frequency light uses, it tends to travel strictly in straight line. Hence the sender and
receiver must be in the line-of-sight. Because laser transmission is unidirectional, at both ends of
communication the laser and the photo-detector needs to be installed. Laser beam is generally 1mm
wide hence it is a work of precision to align two far receptors each pointing to lasers source.
20
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Laser is safe for data transmission as it is very difficult to tap 1mm wide laser without interrupting
the communication channel.
5.5 Multiplexing
Multiplexing is a technique by which different analog and digital streams of
transmission can be simultaneously processed over a shared link. Multiplexing divides the high
capacity medium into low capacity logical medium which is then shared by different streams.
Communication is possible over the air (radio frequency), using a physical media
(cable), and light (optical fiber). All these media are capable of multiplexing.
When multiple senders try to send over a single medium, a device called Multiplexer divides the
physical channel and allocates one to each. On the other end of communication, a De-multiplexer
receives data from a single medium, identifies each, and sends to different receivers.
21
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
divided in such a way that they do not overlap with each other. Channels are separated by guard
bands. Guard band is a frequency which is not used by either channel.
When channel A transmits its frame at one end, the De-multiplexer provides media
to channel A on the other end. As soon as the channel A’s time slot expires, this side switches to
22
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
channel B. On the other end, the De-multiplexer works in a synchronized manner and provides
media to channel B. Signals from different channels travel the path in interleaved manner.
Further, on each wavelength time division multiplexing can be incorporated to accommodate more
data signals.
23
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
24
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
after discussing another multiplexing technique, which has been the outcome of the invention of
the optical fibre – wavelength division multiplexing (WDM). Simply put, it multiplexes different
light wave signals by a diffraction grating and sends them on a single optical fibre to a destination
where the signals are split again. This type of multiplexing is independent of any protocol like
Ethernet, etc. With the amount of bandwidth the optical fibre has to offer, this technique shows
great potential for the years to come.
5.62.2 Time Division Multiplexing
Time division multiplexing (TDM) is by far the most commonly used and effective means of
subdividing the capacity of the digital transmission service/channel among a number of
sources/paths. Put in a different way, it can also be described as combining more than one signal
such that each piece of a particular signal gets the channel only for a small amount of time,
called its timeslot. This switching of different signals is done so quickly that the service users
feel that the entire channel is entirely dedicated to them only.
In TDM, capacity/channel allocation may be done either bitwise or wordwise. In bitwise
allocation, each source is assigned a timeslot corresponding to a single bit, as Figure 4.3 shows
for a four-signal multiplexing. In wordwise allocation, a time slot corresponds to some larger
number of bits (normally 4 or 8 bits), referred to as a word.
25
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
level/order of multiplexing them and the method of doing so categorizes the TDM technique into
three major types, which are technologies in themselves. These types of multiplexing in the time
domain are:
Plesiochronous digital hierarchy (PDH)
Synchronous digital hierarchy (SDH)
Asynchronous transfer mode (ATM)
26
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
When a T1 system is only for data just 23 frames carry the data/real information and the last frame
is used for synchronization and a signalling pattern. The frame structure of the T1 (DS1) system
is shown in Figure 5.2.
Details of the higher order PDH systems in North America are shown in Table 5.1.
27
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Thus, a summary of the PDH rates can now be depicted diagrammatically (Figure 5.3) to show a
clear picture of the various hierarchies in different regions. Major disadvantages faced by the
PDH are:
Pulse stuffing or positive justification: As the name suggests, plesiochronous systems are
not perfectly synchronous. Hence the input data stream rates are very close but not identical
so the pulses do not arrive in a synchronized manner. In order to multiplex different PDH
signals at higher orders, bit stuffing is required to match the rates of the data streams. Pulse
stuffing involves intentionally making the output bit rate of a channel higher than the input
bit rate so that the data rate of that particular stream matches with the other tributaries and
is thus de-multiplexed/received without any errors.
Add/drop facility not available: Whenever any signal is needed to be extracted from a
higher order multiplexed signal, it cannot be just dropped from the signal. Instead the signal
will be de-multiplexed till the needed signal is separated. The same applies when adding a
signal to an already multiplexed signal. Thus, no adding and dropping of signals can be
done, which is a very essential part of a multiplexed system, as will be seen in the next
section.
28
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
29
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
In response to the demand for increased bandwidth, reliability, and high-quality service, SDH
developed steadily during the 1980s, eliminating many inherent disadvantages in PDH.
30
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
31
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
Mapping: A process used when tributaries are adapted into VCs by adding justification
bits and POH information.
Aligning: This process takes place when a pointer is included in a TU or an AU, to allow
the first byte of the VC to be located.
Multiplexing: This process is used when multiple lower-order path layer signals are
adapted into a higher-order path signal, or when the higher-order path signals are adapted
into a multiplex section.
Stuffing: As the tributary signals are multiplexed and aligned, some spare capacity has
been designed into the SDH frame to provide enough space for all the various tributary
rates. Therefore, at certain points in the multiplexing hierarchy, this space capacity is filled
with fixed stuffing bits that carry no information, but are required to fill up the particular
frame.
32
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
PDH traffic signals to be mapped into SDH are by definition continuous. Each PDH signal is
mapped to an SDH container (C). The Cs are mapped to VCs. The purpose of this function is to
create a uniform VC payload by using bit stuffing to bring all inputs to a common bit rate ready
for synchronous multiplexing.
There are two kinds of Cs: lower-order tributaries (Cs) and higher-order tributaries (Cs). Lower-
order Cs (C-Nx, where N = 1, 2, and x = 1, 2) typically accommodate PDH signals, such as DS1,
E1, and other PDH signals up to the DS2/J2 level. Higher-order Cs (C-N, where N = 3, 4) typically
accommodate PDH signals, such as E3, DS3, and other PDH signals up to the E4 level. Similarly,
there are two kinds of VCs: lower-order VCs and higher-order VCs. Lower-order VCs (VC-Nx,
where N = 1, 2 and x = 1, 2) typically accommodate PDH signals, such as DS1, E1, and other PDH
signals up to the DS2/J2 level. Higher-order VCs (VC-N, where N = 3, 4) typically accommodate
PDH signals, such as E3, DS3, and other PDH signals up to the E4 level. Various VCs ranging
from VC-11 to VC-4 are covered by the SDH hierarchy. Currently, the ITU-T has defined six SDH
Cs/VCs. The six VCs defined are VC-11, VC-12, VC-2, VC-3 (E3/J3/ISDN H31), VC-3
(DS3/ISDN H32), and VC-4. Table 3.4 lists the various SDH VC levels.
Table 5.4 illustrates the various SDH paths and associated overhead. Higher levels of the
synchronous hierarchy are formed by byte interleaving the payloads from a number N of STM–1
signals and then adding a transport overhead of size N times that of an STM–1 and filling it with
new management data and pointer values as appropriate. Before transmission, the STM–N signal
has scrambling applied overall to randomize the bit sequence for improved transmission
performance. A few bytes of overhead are left unscrambled to simplify subsequent demultiplexing.
33
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
34
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
35
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
36
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
SDH adopts a frame rate of 8000 frames per second. The STM-1 frame is the basic transmission
format for SDH. As illustrated in Figure 3.12, each two-dimensional frame has 9 rows and 270
columns of bytes with a total of 2430 bytes (9 rows * 270 columns = 2430 bytes). The STM-1
frame consists of a transport overhead plus a virtual container (VC-4) capacity. The first 9 columns
of each frame make up the transport overhead, and the remaining 261 columns make up the virtual
container (VC-4). The VC-4 plus the nine pointer bytes (H1 * 3, H2 * 3, H3 * 3) in row 4 is known
as the administrative unit (AU-4). The first column of the VC-4 is the POH, as indicated in Figure
6.13. Actually, the POH floats within the STM-1 frame and can occupy any column from column
10 to column 270 of the STM-1 frame. The STM-1 can accommodate a single VC-4 or three VC-
3s. The AU-N pointer bytes indicate the position of the VC-4 POH or VC-3 POHs within the STM-
1 frame. VCs can have any phase alignment within the AU, and this alignment is indicated by the
AU pointer in row 4. Within the transport overhead, the first three rows are used for the RSOH,
and the last five rows are used for the MSOH.
The SDH line rate is synchronous and is flexible enough to support many different signals. The
SDH STM-1 line rate of 155.520 Mbps can be computed as follows:
Line rate = 270 columns * 9 rows * 8 bits/byte * 8000 frames/sec = 155.520 Mbps
Columns 10 to 270 constitute the VC with the POH that provides a payload data rate of 150.336
Mbps. The actual data rate of the payload can be computed as follows:
Data rate = 261 columns * 9 rows * 8 bits/byte * 8000 frames/sec = 150.336 Mbps.
37
CHAPTER 5: PHYSICAL LAYER AND DATA
TRANSMISSION
The STM-1 frame is transmitted starting from the first byte in row 1, column 1, to the last byte in
row 9, column 270. The most significant bit (MSB) of a byte is transmitted first. After the 270th
byte of row 1 is transmitted, the byte in the first column of row 2 is transmitted and so on. Higher
line rates are obtained by synchronous multiplexing the lower line rates. Standard STM-N rates
have values of N as 1, 4, 16, 64, and 256. Table 5.5 indicates line rates for various values of N. As
the line rates increase, the percentage of overhead increases, and in turn the useful payload capacity
decreases. The additional overheads are used for control, parity, stuffing, alarm, and signaling. For
SDH STM-N, the ratio of overhead to payload remains constant regardless of the value of N.
Table 5.5:
SDH Frame Data Rate
STM-1 155.52 Mbps
STM-4 622.08 Mbps
STM-16 2.488 Gbps
STM-64 9.953 Gbps
STM-256 39.812 Gbps
38