Professional Documents
Culture Documents
Outline
Analog data
Digital data
Analog signals
Digital signals
value
time
value
time
Analog Signal
Telephone
Digital Data
Analog Signal
Modem
Analog Data
Digital Signal
Codec
Digital Data
Digital Signal
Digital
transmitter
Periodic Signals
time
Sine Waves
time
0
0
0.5
1.5
2.5
-1
-1
-2
-2
A = 1, f = 1, = 0
-3
1.5
2.5
A = 2, f = 1, = 0
0
0
0.5
1.5
2.5
-1
-1
-2
-2
-3
-3
0.5
A = 1, f = 2, = 0
-3
0.5
1.5
2.5
A = 1, f = 1, = /4
8
x ( t ) sin( 2 t )
sin( 2 3 t )
1.5
1.5
1.5
0.5
0.5
0.5
0
0
0.5
1.5
2.5
0
0
0.5
1.5
2.5
0
0
-0.5
-0.5
-0.5
-1
-1
-1
-1.5
-1.5
-1.5
0.5
1.5
2.5
Demo: sine.py
signal strength
1
0
time
-1
frequency
-1
Demo: Equalizer
10
Fourier Analysis
Joseph Fourier
(1768-1830)
11
Fourier Analysis
DC component
AC components
Fundamental frequency (f0)
Harmonics (multiples of f0)
fundamental
frequency
3rd harmonic
5th harmonic
DC component
AC components
12
Amplitude-phase form
x (t ) c 0
cos( 2 f 0 nt n )
n 1
Sine-cosine form
x (t ) a 0
cos( 2 f 0 nt ) b n sin( 2 f 0 nt )
n 1
x (t )
cne
j 2 f 0 nt
Note:
cn are complex
j = -1
ejx = cos x + j sin x
Demo: Falstad
13
19
Frequency Spectrum
...
f0
3f0
5f0
20
Bandwidth
A property of a medium
Bandwidth of a Medium
gain
(low-pass channel)
freq
...
0 f0 3f0 5f0 7f0 9f0 f
Transmission medium
0 f0 3f0 5f0
22
Example
sin( 6000 t )
23
Digital Signals
Properties:
...
time
bit interval
24
Two digital signals: one with two signal levels and the other
with four signal levels
25
26
Baseband transmission
Baseband transmission
Sending a digital signal over a channel
without changing it to an analog signal
Note
28
29
Analog
1
1 sec
Bit rate = 6
f=0
Digital
1
Bit rate = 6
Analog
1
f=3
30
Bit rate = 6
Analog
1
f0 = 3, fmax = 9
31
32
Digital bandwidth
Analog bandwidth
33
Low-pass channel
gain
f1
frequency
Band-pass channel
gain
f1
f2
frequency
34
35
Transmission Impairment
Attenuation
Distortion
Noise
36
Signal Attenuation
37
Point 2
Example
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
39
Example
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?
Solution
The loss in the cable in decibels is 5 (0.3) = 1.5 dB.
We can calculate the power as
40
Signal Distortion
41
Noise
Types of noise
Thermal
Noise
Crosstalk
Impulse
Irregular pulses or spikes
E.g., lightning
Short duration
High amplitude
43
Signal-to-Noise Ratio
SNR
Power
signal
Power
noise
44
Example
The power of a signal is 10 mW and the power of the
noise is 1 W; what are the values of SNR and SNRdB ?
Solution
The values of SNR and SNRdB can be calculated as
follows:
45
Nyquist Theorem
Bit Rate = 2 Bandwidth log2L
Harry Nyquist
(1889-1976)
46
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:
Shannon Capacity
Capacity = Bandwidth log2(1+SNR)
48
Example
A telephone line normally has a bandwidth of 3000. The
signal-to-noise ratio is usually 3162. Calculate the
theoretical highest bit rate of a regular telephone line.
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.
49
Example
We have a channel with a 1-MHz bandwidth. The SNR
for this channel is 63. What are the appropriate bit rate
and signal level?
Solution
First, use the Shannon capacity
50
Note
51
Network Performance
Bandwidth
Throughput
Hertz
Bits per second (bps)
Actual data rate
Latency (delay)
52
Latency
Composed of
Propagation time
Transmission time
Queuing time
Processing time
Entire
message
propagation
time
transmission
time
53
Latency
Receiver
Sender
Propagation time
Data bits
Last bit leaves
Transmission time
Last bit arrives
Time
Time
54
Bandwidth-Delay Product
55
56
Summary
Fourier analysis