Computer Communication & Networks: Physical Layer: Data & Signals
Computer Communication & Networks: Physical Layer: Data & Signals
Physical Layer
Data can be analog or digital. The term analog data refers to information that is continuous; digital data refers to information that has discrete states. Analog data take on continuous values. Digital data take on discrete values.
Note
Note
Data can be analog or digital. Analog data are continuous and take continuous values. Digital data have discrete states and take discrete values.
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.
Analog Vs Digital
Analog Signals
Sine Wave
10
Note
The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal.
11
Bandwidth
12
Digital Signals
13
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.
14
Digital Signal
15
16
Solution
The bit interval is the inverse of the bit rate. Bit interval = 1/ 2000 s = 0.000500 s = 0.000500 x 106 ms = 500 ms
17
Note
The bit rate and the bandwidth are proportional to each other.
18
19
Analog Vs Digital
20
21
22
Example 3.26
Suppose a signal travels through a transmission medium and its power is reduced to one-half. This means that P2 is (1/2)P1. In this case, the attenuation (loss of power) can be calculated as
Example 3.29
Sometimes the decibel is used to measure signal power in milliwatts. In this case, it is referred to as dBm and is calculated as dBm = 10 log10 Pm , where Pm is the power in milliwatts. Calculate the power of a signal with dBm = 30. Solution We can calculate the power in the signal as
24
25
A very important consideration in data communications is how fast we can send data, in bits per second, over a channel. Data rate depends on three factors: 1. The bandwidth available 2. The level of the signals we use 3. The quality of the channel (the level of noise)
26
Defines theoretical maximum bit rate for Noiseless Channel: Bit Rate=2 X Bandwidth X log2L
27
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
28
Example 8
Consider the same noiseless channel, transmitting a signal with four signal levels (for each level, we send two bits). The maximum bit rate can be calculated as:
29
Note
Increasing the levels of a signal may reduce the reliability of the system.
30
Defines theoretical maximum bit rate for Noisy Channel: Capacity=Bandwidth X log2(1+SNR)
31
Example
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 is calculated as C = B log2 (1 + SNR) = B log2 (1 + 0)
= B log2 (1) = B 0 = 0
32
Example
We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 4KHz. The signal-to-noise ratio is usually 3162. For this channel the capacity is calculated as
C = B log2 (1 + SNR) = 3000 log2 (1 + 3162) = 3000 log2 (3163) C = 3000 11.62 = 34,860 bps
33
Example
We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63; what is the appropriate bit rate and signal level?
Solution
First, we use the Shannon formula to find our upper limit.
C = B log2 (1 + SNR) = 106 log2 (1 + 63) = 106 log2 (64) = 6 Mbps
Then we use the Nyquist formula to find the number of signal levels.
6 Mbps = 2 1 MHz log2 L L = 8
34
Note
The Shannon capacity gives us the upper limit; the Nyquist formula tells us how many signal levels we need.
35
Transmission Impairments
36
Transmission Imapairments
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.
37
Transmission Impairments
38
Signal Distortion
attenuation
distortion
noise
39
Performance
One important issue in networking is the performance of the networkhow good is it?
40
Performance
41
Throughput
42
Propagation Time
43
Note
The bandwidth-delay product defines the number of bits that can fill the link.
44
45
Readings
46
47