You are on page 1of 16

Data Communication

Prof. Dr. Hassan Al-Mahdi


Chapter 3: Introduction to Physical Layer
❖ Although Alice and Bob need to exchange data,
communication at the physical layer means exchanging
signals.
❖ Data need to be transmitted and received, but the media
have to change data to signals.
❖ Both data and the signals can be either analog or digital.

Data to be transmitted must be


transformed to electrical or
electromagnetic signals.
Chapter 3: Introduction to Physical Layer
Periodic and Nonperiodic
Analog and Digital Data
Analog data: Take on continuous values such as the sounds made by a
human voice. It can be converted to an analog signal or sampled and
converted to a digital signal.
Digital data take on discrete values such as data are stored in
computer memory. They can be converted to a digital signal or
modulated into an analog signal for transmission across a medium

Non-periodic: Signal changes without repeated of pattern or


Analog and Digital Signals
cycle.

An analog signal has infinitely many levels of intensity over a period


of time

A digital signal can have only a limited number of defined values. Periodic signal: Pattern of signal repeated over identical
periods of time called a cycle.
Chapter 3: Introduction to Physical Layer
PERIODIC ANALOG SIGNALS

❖A simple periodic analog signal, a sine wave,


cannot be decomposed into simpler signals.

The sine wave is the most fundamental form of a periodic


analog signal.

Signal as Sine wave is characterized by 4 components:


❖A composite periodic analog signal is ◼ Peak Amplitude
composed of multiple sine waves. ◼ Period (frequency)

◼ Phase

◼ Wavelength
Chapter 3: Introduction to Physical Layer
The peak amplitude of a signal is the absolute value of its Period (T) refers to the amount of time, in seconds, a signal
needs to complete 1 cycle.
highest intensity, proportional to the energy it carries. Frequency (F) refers to the number of periods or cycles in 1
Peak amplitude is normally measured in volts. s.

Frequency is formally expressed in Hertz (Hz), which is


cycle per second
Chapter 3: Introduction to Physical Layer
Units of period and frequency

Example: The power we use at home has a frequency of 60 Hz (50


Hz in Europe). The period of this sine wave can be determined as
follows:.

Example: The period of a signal is 100 ms. What is its frequency in


kilohertz?

If a signal does not change at all, its frequency is zero.


If a signal changes instantaneously, its frequency is
infinite.
Chapter 3: Introduction to Physical Layer
Phase describes the position of the waveform relative to time 0 a. A sine wave with a phase of 0° is not shifted.
and measured in degrees or radians.
b. A sine wave with a phase of 90° is shifted to the
[360º = 2π rad; 1º = 2π/360 rad, and 1 rad = 360/(2π)]. left by ¼ cycle.
c. A sine wave with a phase of 180° is shifted to the
left by ½ cycle.

No shifted.

Example: A sine wave is offset 1/6 cycle with respect


to time 0. What is its phase in degrees and radians?

Shifted by ¼ cycle. Solution


We know that 1 complete cycle is 360°. Therefore, 1/6
cycle is

Shifted by ½ cycle.
Chapter 3: Introduction to Physical Layer
Two signals with the same phase and frequency, but different Two signals with the same amplitude and phase, but
amplitudes different frequencies
Chapter 3: Introduction to Physical Layer
The wavelength ❖ The propagation speed of electromagnetic signals
❖ The distance a simple signal can travel in one period depends on the medium and their frequencies.
and measured in microns. ❖ In a vacuum, light is propagated with a speed of 3 × 108
❖ Binds 𝑇 or 𝑓 of a simple sine wave to the propagation m/s.
speed of the medium
Example: the wavelength of red light (f = 4 × 1014)
in air is

❖ if wavelength is λ, propagation speed is 𝑐 (speed of


light), and frequency is 𝑓, we get In a coaxial or fiber-optic cable, however, the
wavelength is shorter (0.5 μm) because the propagation
speed in the cable is decreased.
Chapter 3: Introduction to Physical Layer
Time and Frequency Domains
❖ The time-domain is an amplitude-versus-time plot.
❖ The frequency-domain plot is concerned with only the
peak value and the frequency.
Chapter 3: Introduction to Physical Layer
Time and Frequency Domains ❖ If the composite signal is periodic, the decomposition gives
❖ A single-frequency sine wave is not useful in data
communications; we need to send a composite signal, a a series of signals with discrete frequencies; .
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.

❖ The amplitude of the sine wave with frequency f is almost the


same as the peak amplitude of the composite signal.
Chapter 3: Introduction to Physical Layer
Time and Frequency Domains
❑ Note that the frequency decomposition of the
❖ In a time-domain representation of a nonperiodic
composite signal, there are an infinite number of signal yields a continuous curve.
simple sine frequencies.
❑ As shown in left figure, There are an infinite

number of frequencies between 0.0 and 4000.0

(real values).

❑ To find the amplitude related to frequency f, we

draw a vertical line at f to intersect the envelope

curve. The height of the vertical line is the


❖ The frequency decomposition of the signal yields a
continuous curve. amplitude of the corresponding frequency.
Chapter 3: Introduction to Physical Layer
Bandwidth If a periodic signal is decomposed into 100, 300, 500, 700, and 900 Hz
with amplitude of 10 V. What is its bandwidth? Draw the spectrum.
❖ The bandwidth of a composite signal is the
difference between the highest and the lowest
frequencies contained in that signal

A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60


Hz. What is the lowest frequency? Draw the spectrum if the signal
contains all frequencies of the same amplitude.
Chapter 3: Introduction to Physical Layer
DIGITAL SIGNALS In general, if a signal has L levels, each level
❖ Information can be represented by a digital signal. For needs log2L bits.
example, a 1 bit can be encoded as a +V and a 0 bit can be A digital signal has eight levels. How many bits are
encoded as 0V. needed per level?
❖ A digital signal can have more than two levels.

A digital signal has nine levels. When calculate the


number of bits by using the formula L, each signal
log2

level is represented by 3.17 bits.


However, this answer is not realistic.
The number of bits sent per level needs to be an
integer as well as a power of 2.
For this example, each level is represented by 4 bits .
Chapter 3: Introduction to Physical Layer
DIGITAL SIGNALS Example: Assume we need to download text
❖ Period and frequency are not appropriate terms to describe documents at the rate of 100 pages per second. What is
the required bit rate of the channel? .
digital signal and replaced by bit interval and bit rate
❖ Bit Interval: The distance of time one bit occupied on the
transmission medium

Example: What is the bit rate for high-definition TV


(HDTV)?

Solution
HDTV uses digital signals to broadcast high quality
video signals. The width to height are generated using
1920 to 1080 pixels per screen, and the screen is
❖ Bit rate : The number of bits sent in 1s, expressed in bits renewed 30 times per second. Twenty-four bits
represents three colors of each pixel.
per second (bps).
❖ Bit length =propagation speed x bit interval
The TV stations reduce this rate to 20 to 40 Mbps through
compression.
End of Session

You might also like