Ch02-Data and Signals
Ch02-Data and Signals
Behrouz A Forouzan, Data Communications and Networking, 5th Edition, McGraw-Hill Education, 2013
1/33
Ch2 – Data & Signals
2.1. Analog and digital
2.2. Periodic analog signals
2.3. Digital signals
2.4. Transmission impairment
2.5. Data rate limits
2.6. Performance
2.7. Problems
2/33
2.1. Analog and digital
- Data vs. signal
• Signal: information + propagation
• Data: facts + information + easier to store, process, and
make decisions
- Analog vs. digital
3/33
2.2. Periodic signals
- Periodic: x(t) = x(t + T) holds, f= 1/T
- Non-periodic: x(t) = x(t + T) does not hold
Ana. & Dig. signals can be periodic or non-periodic
4/33
2.2. Periodic signals
- Different amplitudes
5/33
2.2. Periodic signals
- Different frequencies
6/33
2.2. Periodic signals
- Different phases
7/33
2.2. Periodic signals
- Different phases
8/33
2.2. Periodic signals
- Wavelength
9/33
2.2. Periodic signals
- Time domain & frequency domain
10/33
2.2. Periodic signals
- Time domain & frequency domain
11/33
2.2. Periodic signals
- Composite signals
12/33
2.2. Periodic signals
- Bandwidth
14/33
2.3. Digital signals
- Bit rate NB (number of bits/sample) = log2NL (number of levels)
BR = 8 bps
BR = 16 bps
15/33
2.3. Digital signals
- Bit length
• Wavelength is the distance one cycle occupies on the
transmission medium
• Bit length is the distance one bit occupies on the
transmission medium
16/33
2.3. Digital signals
- Digital signal as a composite analog signal
18/33
2.3. Digital signals
- Digital signal as a composite analog signal
• Normal case
BR = 8 bps
• Worst case
T = 2/BR
fmax = BR/2
20/33
2.4. Transmission impairment
21/33
2.5. Data rate limits
- Noiseless channel – Nyquist bit rate
BR = 2BW (channel bandwidth) x log2NL
BR BW log 2 (1 SNR)
SNR: Signal-to-Noise Ratio
A2
A1
P1 P2 P3
[A1]dB = 10log10(P2/P1) [A2]dB = 10log10(P3/P2)
[A]dB = [A1]dB + [A2]dB
25/33
2.6. Performance
- Attenuation
• Suppose a signal travels through a transmission medium
and its power is reduced to one-half.
• This means that P2 = 0.5P1. In this case, the attenuation (loss
of power) can be calculated as
[A1]dB = 10log10(P2/P1)
= 10log10(0.5P1/P1)
= 10log100.5
= -3dB
A loss of 3 dB (–3 dB) is equivalent to losing
one-half the power.
26/33
2.6. Performance
- Attenuation
• Suppose a signal travels through an amplifier, and its power
is increased 10 times.
• This means that P2 = 10P1. In this case, the amplification
(gain of power) can be calculated as
[A1]dB = 10log10(P2/P1)
= 10log10(10P1/P1)
= 10log1010
= 10dB
27/33
2.6. Performance
- Attenuation
• Why dB?
29/33
2.7. Problems
Prob.1: How much information in a periodic signal? The role of periodic
signals in life and in communication systems?
Prob.2: Consider a analog signal that has the max voltage of Vm and min
voltage of -Vm. This signal is quantized by 2^n level (n bits). Compute the
quantization error and relative error corresponding to a voltage level of Va?
Prob.3: Find the required number of bits/sample (NB) to ensure that Re is not
greater than 10% when Va = 5% the maximum value of the signal.
Prob.4: The loss in a cable is usually defined in decibels per kilometer (dB/km).
If the signal at the beginning of a cable with -0.3 dB/km has a power of 2 mW,
what is the power of the signal at 5 km?
30/33
2.7. Problems
Prob.5: We have mentioned the distortion due to limited bandwidth of channel.
Is a channel with much wider bandwidth better than a lower one? Why?
Prob.9: We need to send 265 kbps over a noiseless channel with a bandwidth of
20 kHz. How many signal levels do we need?