Chapter 3 - Physical - Layer
Chapter 3 - Physical - Layer
signal strength
period
T = 1/f
peak
amplitude
time
Peak Amplitude
The peak amplitude of a signal is the absolute value of its
highest intensity, proportional to the energy it carries.
Period and Frequency
Period refers to the amount of time, in seconds, a signal
needs to complete 1 cycle.
Frequency refers to the number of periods in 1 second.
Frequency Domain Representation plots each sine wave’s peak amplitude against
its frequency
Example 3.7
The frequency domain is more compact and useful when we are
dealing with more than one sine wave. For example, the following figure
shows three sine waves, each with different amplitude and frequency. All
can be represented by three spikes in the frequency domain.
Signals and Communication
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.
According to Fourier analysis, any composite signal is a
combination of simple sine waves with different
frequencies, amplitudes, and phases.
Composite Signals and Periodicity
If the composite signal is periodic, the decomposition
gives a series of signals with discrete frequencies.
If the composite signal is non-periodic, the
decomposition gives a combination of sine waves
with continuous frequencies.
Example 3.8
The following figure shows a periodic composite signal with frequency
f. This type of signal is not typical of those found in data
communications. We can consider it to be three alarm systems, each
with a different frequency. The analysis of this signal can give us a
good understanding of how to decompose signals.
Figure 3.11 Decomposition of a composite periodic signal in the
time and frequency domains
Example 3.9
Following figure shows a non-periodic composite signal. It can
be the signal created by a microphone or a telephone set when a
word or two is pronounced. In this case, the composite signal
cannot be periodic, because that implies that we are repeating the
same word or words with exactly the same tone.
Bandwidth
A property of a medium
Indicates the difference between the highest and the lowest
frequencies allowed to pass
<highest freq allowed> – <lowest freq allowed>
Example 3.12
A non-periodic composite signal has a bandwidth of 200 kHz, with a
middle frequency of 140 kHz and peak amplitude of 20 V. The two
extreme frequencies have an amplitude of 0. Draw the frequency domain
of the signal.
Solution The lowest frequency must be at 40 kHz and the highest at 240
kHz.
Digital Signals
Properties:
Bit rate – number of bits per second
Bit interval – duration of 1 bit
amplitude
1 0 0 1 0 1 1 0
...
bit
time
Interval
Digital Signals
Digital Signals
If a signal has L levels, each level needs log2L bits
Example 3.16 A digital signal has eight levels. How many bits
are needed per level?
Rough approximation of a digital signal using the first harmonic for worst case
Simulating a Digital Signal with
First three Harmonics
cs
Digital bandwidth
Expressed in bits per second (bps)
Analog bandwidth
Expressed in Hertz (Hz)
Bandwidth Requirements
Example 3.22
What is the required bandwidth of a low-pass channel if we
need to send 1 Mbps by using baseband transmission?
Solution
The answer depends on the accuracy desired.
a.The minimum bandwidth, is B = bit rate /2, or 500 kHz.
b.A better solution is to use the first and the third
harmonics with B = 3 × 500 kHz = 1.5 MHz.
c. Still a better solution is to use the first, third, and fifth
harmonics with B = 5 × 500 kHz = 2.5 MHz.
Example 3.23
We have a low-pass channel with bandwidth 100 kHz.
What is the maximum bit rate of this channel?
Point 1 Point 2
48
Example 3.28
Signal Distortion
Distortion Change in signal form or shape
Noise
Noise Undesirable signals added between the
transmitter and the receiver
Types of noise
Thermal
Due to random motion of electrons in a wire
51
Noise
Types of noise (cont’d)
Crosstalk
Signal from one line picked up by another
Wire 1
Wire 2
Impulse
Irregular pulses or spikes
E.g., Power line, lightning
Short duration
High amplitude
Signal-to-Noise Ratio
Powersignal
SNR
Powernoise
53
Two cases of SNR: a high SNR and a low SNR
Data Rate Limits
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)
55
Data Rate: Noiseless Channels
Nyquist Theorem
56
Data Rate: Noisy Channels
Shannon Capacity
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.
Using Both Limits
62
Latency
Composed of
Propagation time
Transmission time
Queuing time
Processing time
Entire
message
propagation
time
transmission
time
Latency Formula
64
Bandwidth-Delay Product
The link is seen as a pipe
Cross section = bandwidth
Length = delay
Bandwidth-delay product defines the number of bits that
can fill the link
Filling the link with bits
Home Work
Example 3.24-3.48.