Module 2 Notes
Module 2 Notes
TRANSMISSION IMPAIRMENT
Signals travel through transmission media, which are not perfect.
The imperfection causes signal impairment.
This means that the signal at the beginning of the medium is not the same as the signal at
the end of the medium.
What is sent is not what is received.
Three causes of impairment are attenuation, distortion, and noise (figure 1.23).
1. Attenuation
Attenuation means a loss of energy.
When a signal, simple or composite, travels through a medium, it loses some of its energy
in overcoming the resistance of the medium.
That is why a wire carrying electric signals gets warm, if not hot, after a while. Some of
the electrical energy in the signal is converted to heat.
To compensate for this loss, amplifiers are used to amplify the signal.
Figure 1.24 shows the effect of attenuation and amplification.
Decibel
The decibel (dB) measures the relative strengths of two signals or one signal at two
different points.
Note that the decibel is negative if a signal is attenuated and positive if a signal is
amplified.
Example 5
Suppose a signal travels through a transmission medium and its power is reduced to one-half.
Calculate the attenuation?
Solution:
Example 5
A signal travels through an amplifier, and its power is increased 10 times. This means that P2
=10P1. Calculate attenuation?
Solution:
Example 6
The loss in a cable is usually defined in decibels per kilometer (dB/km). If the signal at the beginning of a cable wi
Solution:
The loss in the cable in decibels is 5 * (-0.3) = -1.5 dB. We can calculate the power as
2. Distortion
Distortion means that the signal changes its form or shape.
Distortion can occur in a composite signal made of different frequencies.
Each signal component has its own propagation speed through a medium and, therefore,
its own delay in arriving at the final destination.
Differences in delay may create a difference in phase if the delay is not exactly the same
as the period duration.
3. Noise
Noise is another cause of impairment.
Several types of noise, such as thermal noise, induced noise, crosstalk, and impulse noise,
may corrupt the signal.
Thermal noise is the random motion of electrons in a wire, which creates an extra signal
not originally sent by the transmitter.
Induced noise comes from sources such as motors and appliances. These devices act as a
sending antenna, and the transmission medium acts as the receiving antenna.
Crosstalk is the effect of one wire on the other. One wire acts as a sending antenna and
the other as the receiving antenna.
Impulse noise is a spike (a signal with high energy in a very short time) that comes from
power lines, lightning, and so on.
Figure 1.27 Two cases of SNR: a high SNR and a low SNR
Because SNR is the ratio of two powers, it is often described in decibel units, SNRdB,
defined as
Example 7
The power of a signal is 10 mW and the power of the noise is 1 W; what are the values of
Where bandwidth is the bandwidth of the channel, L is the number of signal levels used
to represent data, and BitRate is the bit rate in bits per second.
Example 11
2.Consider
Noisy Channel:
a noiselessShannon Capacity
channel with a bandwidth of 3000 Hz transmitting a signal with two
levels.
signal We cannot
Whathave a noiseless
is maximum bitchannel;
rate? the channel is always noisy. Shannon capacity is
used, to determine the theoretical highest data rate for a noisy channel:
Solution:
BitRate = 2 * 3000 * log22 = 6000 bps
Capacity = bandwidth * log2(1 + SNR)
Example 12
Consider the same noiseless channel transmitting a signal with four signal levels (for each
Where bandwidth is the bandwidth of the channel, SNR is the signal-to-noise ratio, and
level, we send 2 bits). What is maximum bit rate?
capacity is the capacity of the channel in bits per second.
Solution:
BitRate = 2 * 3000 * log24 = 12,000 bps
Example 13.
What is the theoretical capacity of a channel in each of the following cases?
Bandwidth: 20 KHzSNRdB = 40
Bandwidth: 200 KHzSNRdB = 4
Bandwidth: 1 MHzSNRdB = 20
Solution:
(Practice Question)
PERFORMANCE
One important issue in networking is the performance of the network—how good is it? Following
metrics are used to know the performance of the network.
1. Bandwidth
One characteristic that measures network performance is bandwidth. However, the term
can be used in two different contexts with two different measuring values: bandwidth in
hertz and bandwidth in bits per second.
Higher the bandwidth betters the performance of the network.
2. Throughput
The throughput is a measure of how fast we can actually send data through a network.
A link may have a bandwidth of B bps, but we can only send T bps through this link with
T always less than B.
For example, we may have a link with a bandwidth of 1 Mbps, but the devices connected
to the end of the link may handle only 200 kbps. This means that we cannot send more
than 200 kbps through this link.
Example 14
A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per
minute with each frame carrying an average of 10,000 bits. What is the throughput of this
network?
Solution
We can calculate the throughput as
3. Latency (Delay)
The latency or delay defines how long it takes for an entire message to completely arrive
at the destination from the time the first bit is sent out from the source.
We can say that latency is made of four components: propagation time, transmission
time, queuing time and processing delay.
Propagation Time
Propagation time measures the time required for a bit to travel from the source to the
destination. The propagation time is calculated by dividing the distance by the
propagation speed.
Example 15
Transmission Time
What is the propagation time if the distance between the two points is 12,000 km? Assume
In data communications we don’t send just 1 bit, we send a message.
the propagation speed to be 2.4 × 108 m/s in cable.
The first bit may take a time equal to the propagation time to reach its destination; the last
Solution
We canbit also may
calculate thetake the same time
propagation amount
as of time.
However,Propagation
there is a time between
time the first
= (12,000 bit leaving
* 10,000) / (2.4the
* 2sender
8
) = 50and
ms the last bit arriving at
the receiver.
The first bit leaves earlier and arrives earlier; the last bit leaves later and arrives later.
The transmission time of a message depends on the size of the message and the
bandwidth of the channel.
4. Bandwidth-Delay Product
Bandwidth and delay are two performance metrics of a link.
Example 17
Jitter
5.How many bits can fit on a link with a 2 ms delay if the bandwidth of the link is
a. 1 Mbps? b. 10 Mbps? c. 100 Mbps?
Jitter is the variation in the packet arrival rate.
Solution:
We can
a. Number roughly
of Bits say *that
= delay jitter s a problem
bandwidth = 2 * 10-3if*different
1 * 106 =packets
2 * 103of= data
2000encounter
bits different
b. and delays and the
c. (Practice application using the data at the receiver site is time-sensitive (audio and
questions)
video data, for example).
If the delay for the first packet is 20 ms, for the second is 45 ms, and for the third is 40
ms, then the real-time application that uses the packets endures jitter.
DIGITAL-TO-DIGITAL CONVERSION
Digital data to digital signals conversion involves three techniques: line coding, block
coding, and scrambling.
Line coding is always needed; block coding and scrambling may or may not be needed.
1. Line Coding
Line coding is the process of converting digital data to digital signals.
Line coding converts a sequence of bits to a digital signal. At the sender, digital data are
encoded into a digital signal; at the receiver, the digital data are recreated by decoding the
digital signal.
Figure 1.29 shows the process.
POLAR SCHMES
In polar schemes, the voltages are on both sides of the time axis. For example, the
voltage level for 0 can be positive and the voltage level for 1 can be negative.
Advantages
The advantages of Polar NRZ are −
It is simple.
A lesser bandwidth is required, B=N/2, where N is data rate.
Disadvantages
The disadvantages of Polar NRZ are −
No error correction.
No clock is present leads to no self synchronization.
Suffers from DC components.
Polar RZ scheme
The main problem with NRZ encoding occurs when the sender and receiver clocks are
not synchronized.
The receiver does not know when one bit has ended and the next bit is starting. One
solution is the return-to-zero (RZ) scheme, which uses three values: positive, negative,
and zero.
In RZ, the signal changes not between bits but during the bit.
In Figure 1.33 we see that the signal goes to 0 in the middle of each bit. It remains there
until the beginning of the next bit.
Advantages
The advantages of Polar RZ are −
It is simple.
Disadvantages
The disadvantages of Polar RZ are −
High bandwidth is required, B=N, where N is data rate.
No error correction.
No clock is present leads to no self synchronization.
Suffers from DC components.
Differential Manchester, on the other hand, combines the ideas of RZ and NRZ-I.
There is always a transition at the middle of the bit, but the bit values are determined at
the beginning of the bit. If the next bit is 0, there is a transition; if the next bit is 1, there is
none.
Figure 1.34 shows both Manchester and differential Manchester encoding.
Advantages
The advantages of Biphase are −
It is simple.
Self synchronization.
No DC components.
Disadvantages
The disadvantages of Polar RZ are −
High bandwidth is required, B=N, where N is data rate.
No error correction.
BIPOLAR SCHMES
In bipolar encoding (sometimes called multilevel binary), there are three voltage levels:
positive, negative, and zero. The voltage level for one data element is at zero, while the
voltage level for the other element alternates between positive and negative.
AMI means alternate 1 inversion. A neutral zero voltage represents binary 0. Binary 1s
are represented by alternating positive and negative voltages.
A variation of AMI encoding is called pseudoternary in which the 1 bit is encoded as a
zero voltage and the 0 bit is encoded as alternating positive and negative voltages.
Advantages
Following are the advantages −
It is simple.
Occupies low bandwidth, B=N, where N is data rate.
A single error detection capability is present in this.
Disadvantages
Following are the disadvantages −
High bandwidth is required, B=N, where N is data rate.
No clock is present leads to no self synchronization.
Suffers from DC components.