Data and Computer Communications: Tenth Edition by William Stallings
Data and Computer Communications: Tenth Edition by William Stallings
Communications
Tenth Edition
by William Stallings
Data Transmission
Digital Signals
In addition to being represented by an analog
signal, information can also be represented by a
digital signal. For example, a 1 can be encoded as
a positive voltage and a 0 as zero voltage. A digital
signal can have more than two levels. In this case,
we can send more than 1 bit for each level.
Note
Solution
A page is an average of 24 lines with 80 characters in each
line. If we assume that one character requires 8 bits (ascii),
the bit rate is
Example
Solution
The bit rate can be calculated as
Example
Solution
HDTV uses digital signals to broadcast high quality video
signals. The HDTV screen is normally a ratio of 16 : 9. There
are 1920 by 1080 pixels per screen, and the screen is
renewed 30 times per second. Twenty-four bits represents
one color pixel.
Character
strings
Text
Examples:
IRA
Voltage at
receiving end
–5 volts
0.02 msec
Telephone
Codec
Digital
Transceiver
Figure 3.13 Analog and Digital Signaling of Analog and Digital Data
Move to Digital
Digital technology
VLSI technology has caused a continuing drop in the
cost and size of digital circuits
Data integrity
The use of repeaters has made it possible to
transmit data longer distances over lower quality
Capacity utilization
Satellite channels and optical fiber
Security
Encryption techniques can be readily applied to
digital data
Transmission Impairments
Signal
received may differ from signal
transmitted causing:
Analog - degradation of signal quality
Digital - bit errors
Attenuation
Signal strength falls off with distance over any transmission medium
Delay Distortion
Occurs in transmission cables such as
twisted pair, coaxial cable, and optical fiber
Does not occur when signals are transmitted
through the air by means of antennas
Various frequency components arrive at
different times resulting in phase shifts
between the frequencies
Distortion
Noise
Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal
Consider the same noiseless channel transmitting a signal with four signal levels (for each level,
We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we
need?
Solution
Since this result is not a power of 2, we need to either increase the number of levels or reduce the bit rate. If we
have 128 levels, the bit rate is 280 kbps. If we have 64 levels, the bit rate is 240 kbps.
Shannon Capacity Formula
Considering the relation of data rate, noise and
error rate
Shannon developed formula relating these to
signal to noise ratio (in decibels)
Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero.
In other words, the noise is so strong that the signal is faint. For this channel the capacity C is
calculated as
This means that the capacity of this channel is zero regardless of the bandwidth. In other words,
We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line
normally has a bandwidth of 3000. The signal-to-noise ratio is usually 3162. For this channel the
capacity is calculated as
This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data
faster than this, we can either increase the bandwidth of the line or improve the signal-to-noise
ratio.
Example
We have a channel with a 1-MHz bandwidth. The SNR for this channel is 63. What are the
Solution
The Shannon formula gives us 6 Mbps, the upper limit. For better performance we choose
something lower, 4 Mbps, for example. Then we use the Nyquist formula to find the number of
signal levels.