CHAPTER 2 - The Physical Layer - Part I - Signal Fundamentals
CHAPTER 2 - The Physical Layer - Part I - Signal Fundamentals
(Study Unit 2)
The Physical Layer
Part I
(Signal Fundamentals)
A review: TCP/IP PROTOCOL
OSI MODEL
SUITE
Physical Layer
– Delivery
SOURCE TRANSMITTER
COMMUNICATION
SYSTEM
d'(t) s'(t)
DESTINATION RECEIVER
Data Received Signal received
DATA AND SIGNALS
• Data and Data Types
• Analog and Digital Data
• Signal and Signal types
• Examples of Analog & Digital signals
• Periodic signal characteristics
• Time and frequency domain representation
• Spectrum and Bandwidth of a signal
• Propagation time and Wave length
CONVERSION TECHNIQUES
DATA SIGNAL
APPROACH
Digital - Digital - Encoding
Analog - Digital - Encoding
Analog - Analog - Modulation
Digital - Analog - Modulation
7
Table 4-1 Four combinations of data and signals
8
TRANSMISSION IMPAIRMENTS & CHANNEL
CAPACITY
• Sources of Impairments
• Attenuation and Units of attenuation
• Bandwidth of a medium
• Distortion(Time and Delay)
• Data rate Limits
• Nyquit Bit rate(Highest rate that can be
transmitted)
• Bit rate
• Noise sources
9
Analog vs. Digital
Data can be analog or digital
ANALOG
• Analog data refers to information that is continuous
• Analog data take on continuous values
• Analog signals can have an infinite number of values
in a range
DIGITAL
• Digital data refers to information that has discrete
states
• Digital data take on discrete values
• Digital signals can have only
10 a limited number of values
Simple examples of analog and digital waves
ANALOG SIGNAL
DIGITAL SIGNAL
Time domain concepts
• Continuous signal
– Infinite number of points at any given time
• Discrete signal
– Finite number of points at any given time; maintains a
constant level then changes to another constant level
• Periodic signal
– Pattern repeated over time
• Aperiodic (non-periodic) signal
– Pattern not repeated over time
12
Time domain concepts
• In data communications, we commonly use
periodic analog signals and nonperiodic digital
signals.
13
Periodic Analog Signals
Periodic analog signals can be classified as simple or
composite.
A simple periodic analog signal, a sine wave, cannot be
decomposed into simpler signals.
A composite periodic analog signal is composed of multiple
sine waves.
Example of a sine wave
Components of a Signal
1. AMPLITUDE(A) - objective measurement of the degree of
change (positive or negative) caused by waves.
Unit of measurement is VOLTS
15
Components of a Signal
2. FREQUENCY(f) - The number of times a signal makes a complete
cycle within a given time frame.
Unit of measurement is in Hertz (Hz).
Example: The power we use at home has a frequency of 60 Hz. The period of this sine
wave can be determined as follows:
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.
- If a signal doesn’t change at all, its frequency is Zero(0)
- If a signal changes instantaneously, its frequency in infinite.
Different frequencies
Two signals with the
same Amplitude and
Phase but different
frequencies
Components of a Signal
3. PHASE(Ø) - The position of the waveform relative to a
given moment of time or relative to time zero.
A change in phase can be any number of angles
between 0 and 360 degrees
Phase changes often occur on common angles, such as
45, 90, 135, etc.
Three sine waves
with the same
amplitude and
frequency,
but different phases
Wavelength and period
Wavelength = Propagation speed x Period
= Propagation speed / Frequency
The time-domain and frequency-domain plots of
a sine wave
Frequency Domain
The frequency domain is more compact and useful when we are dealing
with more than one sine wave.
A single-frequency sine wave is not useful in data communication
We need to send a composite signal, a signal made of many simple sine
waves.
22
Composite Signals
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.
If the composite signal is periodic, the decomposition gives a series of
signals with discrete frequencies;
If the composite signal is nonperiodic, the decomposition gives a
combination of sine waves with continuous frequencies
e.g A composite periodic signal
Decomposition of the composite
periodic signal in the time and
frequency domains
• A band-pass channel
– Has a bandwidth with frequencies between f1
and f2
Low-pass versus band-pass
Digital transmission
• Digital signal needs a bandwidth between 0
and infinity
–0 - f
– Needs a low-pass channel
• We have a low-pass channel if
– A medium is dedicated to two devices (P2P)
– Or shared between several devices in time
(not in frequency)
• E.g. a wired local area network
Analog Transmission
• Analog signal normally has a specific
bandwidth, e.g.
– Between f1 and f2
– Requires a band-pass channel
• A band-pass channel
– Is more available than a low-pass channel
– The bandwidth of a medium
• Can be divided into several band-pass channels
– Telephone channel each user has a bandwidth between 0 – 30
KHz
Data Rate Limits
• Noiseless channel : Nyquist Bit Rate
• Noisy channel : Shannon Capacity
• Using Both Limits
• How fast we can send data (bps) over a channel?
• Data rate depends on 3 factors
– The bandwidth available
– The levels of signal we can use
– The quality of the channel (in the levels of the noise)
Data Rate Limits
• Two theoretical formulas to calculate data rate
– Nyquist Bit Rate
– Shannon Capacity
The Shannon capacity gives us the upper limit;
the Nyquist formula tells us how many signal
levels we need.
Noiseless channel : Nyquist Bit Rate
• For noiseless channel
• BitRate = 2 x Bandwidth x log2L
– L is the number of signal levels used to represent data
Example :
consider a noiseless channel with a bandwidth of 3000 Hz
transmitting a signal with two signal levels
the maximum bit rate is
BitRate = 2 X 3000 X log22 =6000 bps
Thus : the highest bit rate for a telephone line is 34,860 bps
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.
3. The signal-to-noise ratio is often given in decibels. Assume that
SNRdB = 36 and the channel bandwidth is 2 MHz. The theoretical
channel capacity can be calculated as
Solution
First, we use the Shannon formula to find the upper limit.
Transmission Impairment
• Impairment in signal
– The signal at the beginning is not the same as the
signal received at the end
• Three types of impairment
Attenuation
• Attenuation = Loss of energy
– Resistance of medium
• Electric energy in the signal is converted to heat
– Amplifiers are used to amplify the signal
Distortion
• Distortion = signal changes its form or shape
– Occurs in a composite signal
• Each signal component has its own propagation speed
through a medium
– Therefore, its own delay in arriving the final destination
Noise
• Noise : several types of noise
– Thermal noise
• Random motion of electrons in a wire
– Creates an extra signal
– Induce noise
• Comes from other sources
– Motors , appliances
• These devices act as sending antenna
• The transmission medium acts as receiving antenna
– Crosstalk
• The effect of one wire on the other
– Impulse noise
• A spike (signal with high energy in a very short period or time)
• Comes from power lines, lightening, etc.
Noise
More about Signals
• Measurements
– Throughput
– Propagation speed
– Propagation time
– Wavelength
Throughput
• Throughput
– The measurement of how fast data can pass through
an entity
• A point
• A network
Propagation speed
• Propagation speed
– Measures the distance a signal or a bit can travel
through a medium in one second
– Depends on the medium
– Example : in a vacuum, light is propagated with a
speed of 3 x 108 m/s
• It is lower in air, much lower in cables
Propagation Time
Propagation time : measures the time required for a signal (or a
bit) to travel from one point of a transmission medium to another.