Lec 2
Lec 2
Lec 2
02
Computer Networks
Communication at Physical Layer
Analog & Digital Data
• Non-Periodic No Pattern
• f = 1/T or T = 1/f
Sine Wave –Frequency
Sine Wave –Frequency
Example
The power we use at home
has a frequency of 60 Hz.
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?.
Phase (or Phase Shift)
•••
Time
Amplitude
f 3f 9f Frequency
Bandwidth
Bandwidth in
Bandwidth in
Hertz
bps
Range of frequencies No. of bits a channel, link
in a composite signal or network can transmit
Bandwidth of a composite signal
Example
If a periodic signal is
decomposed into five sine
waves with frequencies of
100, 300, 500, 700, and 900
Hz, what is its bandwidth?
Draw the spectrum,
assuming all components
have a maximum amplitude
of 10 V.
Digital Signals
In addition to being represented by an analog
signal, information can also be represented by
a digital signal.
log2 4 = 2 bits
Example
A digital signal has eight levels. How many
bits are needed per level?
Solution
A page is an average of 24 lines with 80
characters in each line. If we assume that one
character requires
Example
A digitized voice
channel is made by
digitizing a 4-kHz
bandwidth analog
voice signal. We
need to sample the
signal at twice the
highest frequency
(two samples per
hertz). We assume
that each sample
requires 8 bits.
What is the
required bit rate?
Example
What is the bit rate for high-
definition TV (HDTV)?
Solution
HDTV uses digital signals to
broadcast high quality video
signals. The HDTV screen is
normally a ratio of 16 : 9 (in
contrast to 4 : 3 for regular
TV), which means the
screen is wider. There are
1920 by 1080 pixels per
screen, and the screen is
renewed 30 times per
second.
Solution
Twenty-four bits
represents one
color pixel. We can
calculate the bit
rate as
The TV stations
reduce this rate to
20 to 40 Mbps
through
compression.
Bit Length
We discussed the concept of
the wavelength for an analog
signal: the distance one cycle
occupies on the transmission
medium. We can define
something similar for a
digital signal: the bit length.
The bit length is the distance
one bit occupies on the
transmission medium.
Digital Signal as Composite Analog Signal
• A vertical line in the time domain
means a frequency of infinity
(sudden change in time); a
horizontal line in the time domain
means a frequency of zero (no
change in time). Going from a
frequency of zero to a frequency of
infinity (and vice versa) implies all
frequencies in between are part of
the domain
Transmission of Digital Signals
• Digital signal, periodic or non-periodic,
is a composite analog signal with
frequencies between zero and infinity
(Infinite Bandwidth)