Chapter 3
Chapter 3
Faculty of
Computer and
Information
Sciences
Information Technology
Department
Co mpute r Ne two rks
Fundame ntals
IT 221 T
1.5
3.1.1 ANALOG AND DIGITAL
Data can be analog or digital. The term analog data
refers to information that is continuous; digital data
refers to information that has discrete states.
Analog data take on continuous values. Digital data take
on discrete values.
1.6
3.6
3.1.2 Analog and Digital Signals
1.7
3.7
3.1.3 Periodic and Nonperiodic
1.9
3.9
Sine Wave is the most fundamental form of a periodic analog signal.
Three parameters:
the peak amplitude, the frequency, and the phase.
1.10
3.10
3.2.1 Sine Wave: Peak Amplitude
• Peak amplitude it is the absolute value of the highest intensity. It is normally
measured in volts.
1.11
3.11
3.2.1 Sine Wave: Periods and Frequency
1.12
3.12
3.2.1 Sine Wave: Periods and Frequency
1.13
3.13
3.2.1 Sine Wave: Periods and Frequency Units
103 10−3
10−3 103
103 10−3
10−3 103
X X X X
103 10−3
10−3 103
103 10−3 10−3 103
1.14
3.14
1.15
3.2.1 Sine Wave: Periods and Frequency Example:
Example 3.3
The power we use at home has a frequency of 60 Hz. The period of this sine
Wave?
1/60 = 0.0166 second
Example 3.4
Express a period of 100 ms in microseconds.
Example 3.5
The period of a signal is 100 ms. What is its frequency in kilohertz?
=1/100 = 0.01 KHz
Or
100 ms = .1 s, F=1/.1 = 10 Hz => F=10x10^-3 = .01 KHz
1.16
3.16
3.2.1 Sine Wave: more about Frequency:
1.17
3.17
3.2.2 Sine Wave: Phase
1.20
3.20
• time-domain plot shows changes in signal amplitude with respect to time
• frequency-domain plot show the relationship between amplitude and frequency
• The advantage of the frequency domain is that we can immediately see the
values of the frequency and peak amplitude
1.21
• Time and Frequency Domains:
• A complete sine wave in the time domain can be represented by one single spike in
the frequency domain
1.22
3.22
3.2.5 Composite signals
1.23
3.23
3.2.5 Composite signals
If the composite signal is periodic, the decomposition gives a series of
signals with discrete frequencies.
1.24
3.24
3.2.5 Composite signals
If the composite signal is nonperiodic, the decomposition gives a
combination of sine waves with continuous frequencies.
1.25
3.25
3.2.6 Bandwidth
• The bandwidth of a composite signal is the difference between the
highest and the lowest frequencies contained in that signal.
1.26
3.26
3.2.6 Bandwidth Example
• Example 3.10
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.
1.27
3.27
3.2.6 Bandwidth Example
• Example 3.11
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 of 10 V.
• Example 3.12
A nonperiodic composite signal has a bandwidth of 200 kHz, with a
middle frequency of140 kHz and peak amplitude of 20 V. The two
extreme frequencies have an amplitude of 0. Draw the frequency domain
of the signal.
1.28
3.28
3.3 Digital Signals
In addition to being represented by an analog signal,
information can also be represented by a digital signal. For
example, a 1 can be encoded as a positive voltage and a 0 as zero
voltage. A digital signal can have more than two levels. In this
case, we can send more than 1 bit for each level.
1.29
3.3 Digital Signals
1.30
3.3 Digital Signals
Example 3.16
A digital signal has eight levels. How many bits are needed per
level? We calculate the number of bits from the formula
1.31
3.3.1 Bit Rate and Bit Interval
3.3.2 Bit Length
• Most digital signals are nonperiodic.
• frequency and period are not appropriate.
• Another terms instead of :
Frequency bit rate
Period bit interval(bit duration)
Bit rate: number of bits per second bps
Bit interval= 1/bit rate
Bit length = propagation speed x Bit interval
1.32
• Example 3.18
Assume we need to download text documents at the rate of 100 pages per minute.
What is the required bit rate of the channel?
1.33
3.3.3 Digital Signal as a Composite Analog Signal
Figure 3.18 The time and frequency domains of periodic and nonperiodic digital signals
1.34
3.3.4 Transmission of Digital Signals
We can transmit a digital signal by using one of two different
approach :
1. Baseband transmission
2. Broadband transmission
1.35
1. Baseband transmission
3.36
Figure 3.21 Baseband transmission using a dedicated medium
Note
Baseband transmission of a digital signal that preserves the shape of the
digital signal is possible only if we have a low-pass channel with an
infinite or very wide bandwidth.
3.37
2. Broadband Transmission (modulation)
3.38
Note
If the available channel is a bandpass channel, we cannot
send the digital signal directly to the channel;
we need to convert the digital signal to an analog signal
before transmission.
3.39
Figure 3.25 Modulation of a digital signal for transmission on a bandpass channel
3.40
3-4 TRANSMISSION IMPAIRMENT
Signals travel through transmission media, which are
not perfect. The imperfection causes signal
impairment. This means that the signal at the
beginning of the medium is not the same as the signal
at the end of the medium. What is sent is not what is
received. Three causes of impairment are attenuation,
distortion, and noise.
1.42
3.4.1 Attenuation – a loss of energy
when Signal travels through a medium, it losses some of its energy in
overcoming the resistance of the medium. To compensate for this loss,
amplifiers are used to amplify the signal.
3.44
1.44
3.4.2 Distortion
47
Figure 3.31 Two cases of SNR: a high SNR and a low SNR
1.47
Example 3.31:
1.48
3-5 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)
50
Theoretical Maximum bit rate(bps) = 2 x bandwidth x log2 L
where L: No. of signal levels used to represent data
Example 3.33:
Consider a noiseless channel with a bandwidth of 3 KHz
transmitting a signal with two signal levels. The maximum
bit rate/ troughput can be calculated as:
1.50
Example 3.36:
We need to send 265 kbps over a noiseless channel with a
bandwidth of 20 kHz. How many signal levels do we need?
•Since this result is not a power of 2, we need to either increase the number of levels or
reduce the bit rate.
•If we have 128 levels, the bit rate is 280 Kbps.
•If we have 64 levels, the bit rate is 240 Kbps.
•Since we want to send 265 kbps then we need 128 levels
1.51
3.5.2 Noisy Channel: Shannon Capacity
Example 3.38:
A telephone line normally has a bandwidth of 3000 Hz. The
signal-to-noise ratio is usually 3162. For this channel the capacity
is calculated as?
1.52
3.5.3 Using Both Limits
1.53
3-6 PERFORMANCE
1.54
3.54
3.6.1 Bandwidth
1.55
3.55
3.6.2 Throughput
Example 3.44:
A network with bandwidth of 10 Mbps can pass only an
average of 12,000 frames per minute with each frame
carrying an average of 10,000 bits. What is the throughput
of this network?
Throughput = (120000 × 10000)/60 = 2 Mbps
1.56
3.56
3.6.3 Latency (Delay)
Latency defines how long it takes for an entire
message to completely arrive at the destination from
the time the first bit is sent out from the source
Latency (Delay) =
propagation time + transmission time+ queuing
time + processing time
1.57
3.57
3.6.3 Latency (Delay): Propagation Time
1.58
3.58
3.6.3 Latency (Delay): Transmission Time
1.59
3.59
3.6.3 Latency (Delay): Queuing Time
1.60
3.60
1.61
7.Transmission Media
• A transmission media defined as anything that carry information between
a source to a destination
• Located below the physical layer and are directly controlled by the
physical layer
1.62
7.1 INTRODUCTION
1.64
7.2.1 Twisted-Pair Cable
1.65
7.2.2 Coaxial cable
1.66
7.2.3 Fiber Optic Cable
• Is made of glass or plastic and transmit signals in the form of light.
• Light travels in a straight line as long as it is moving through a single
uniform substance. If a ray of light traveling through one substance enters
another substance of different density , the ray change direction as shown:
1.67
7.2.3 Fiber Optic Cable
1.68
Advantages of optical fiber
1- Higher bandwidth.
2- Less signal attenuation.. We need repeaters every 5 km for coaxial or twisted-
pair cable.
3- Immunity to electromagnetic interference. Electromagnetic noise cannot affect
fiber-optic cables.
4- Resistance to corrosive materials. Glass is more resistant to corrosive materials
than copper.
5-Light weight. Fiber-optic cables are much lighter than copper cables.
6-Greater immunity to tapping.
1.69
Twisted pair Coaxial cable Optical fiber
Application 1-usedin analog 1- found at backbone
1-Twisted-pair cables are used in telephone networks networks
telephone lines to provide voice
and data channels. *digital telephone *The SONET network
networks *Some cable TV
2-The DSL lines that are used by companies
the telephone companies
1.70
7- 3 UNGUIDED MEDIA - wireless
1.71
Ground propagation Sky propagation Line of sight propagation
freq below 2MHz Frequency from 2 to 30 MHz Frequency above 30Mhz
low-frequency signals higher-frequency radio waves Point to point communication
emanate in all directions radiate upward into the .very high-frequency signals
from the transmitting ionosphere are transmitted in straight lines
antenna and follow the directly from antenna to
curvature of the planet antenna. Antennas must be
directional,
1.72
7- 3 UNGUIDED MEDIA - wireless
1.73
7.3.1 Radio Wave
Figure 7.19
Omnidirectional
antenna
1.74
Radio wave
Frequency range 3 KHz to 1 GHz
Directivity Not line of sight
Penetrate wall Penetrate wall
Omnidirectional (When an antenna transmits radio waves, they are
antenna propagated in all directions.)
communication multicast
application AM ,FM radio and television, and paging systems
Susceptible to interference by other antennas using same frequency or
Disadvantage band
1.75
7.3.2 Microwave
1.79
Infrared waves
Frequencies between 300 GHz and 400 THz.
Frequency range
Requires line-of-sight propagation
Directivity
cannot use for long-range communication or outside a building due to sun’s rays
Disadvantage
1.80
Reference