Chapter 3 23feb
Chapter 3 23feb
Note
Note
Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number of values.
Sine Wave
Sine wave can be represented by three parameters: Peak Amplitude. Frequency. Phase
Two signals with the same phase and frequency, but different amplitudes
Two signals with the same amplitude and phase, but different frequencies
Note
10
11
Example
The period of a signal is 100 ms. What is its frequency in kilohertz?
12
Solution First we change 100 ms to seconds, and then we calculate the frequency from the period (1 Hz = 10-3 kHz).
13
Note
Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency.
EEE 314: Data Communications & Computer Networks 14
Note
If a signal does not change at all, its frequency is zero. If a signal changes instantaneously, its frequency is infinite.
15
Note
16
Three sine waves with the same amplitude and frequency, but different phases
17
Note
A single-frequency sine wave is not useful in data communications; we need to send a composite signal, a signal made of many simple sine waves.
18
Note
According to Fourier analysis, any composite signal is a combination of simple sine waves with different frequencies, amplitudes, and phases.
19
20
Note
The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal.
21
22
Digital Signals
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.
23
Two digital signals: one with two signal levels and the other with four signal levels
24
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.
EEE 314: Data Communications & Computer Networks 25
Causes of Impairment
26
Attenuation
27
Distortion
28
Noise
29
Note
Increasing the levels of a signal may reduce the reliability of the system.
31
Example
Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as
32
Example
We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we need? Solution We can use the Nyquist formula as shown:
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.
EEE 314: Data Communications & Computer Networks 33
Shannon Capacity
Shannon capacity is to determine the theoretical highest data rate for noisy channel.
Capacity=bandwidth x log2 (1+SNR)
34
Example
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.
EEE 314: Data Communications & Computer Networks 35
QUESTIONS
36