Lecture 02 - Data and Signal
Lecture 02 - Data and Signal
3.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
3-2 PERIODIC ANALOG SIGNALS
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 does not change at all, its frequency is zero. If a signal changes
3.3
Example 3.6
A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and radians?
Solution
3.4
3-2 PERIODIC ANALOG SIGNALS
The Phase
3.5
3-2 PERIODIC ANALOG SIGNALS
Wavelength
Wavelength is the distance a simple signal (sine wave) can travel in one period.
-6
The wavelength is normally measured in micrometers (microns,10 )
14
Example, the wavelength of red light (frequency=4x10 ) in air is:
8 14 -6
λ=c/f=(3x10 )/(4x10 ) =0.75x10 m=0.75μm
3.6
3-2 PERIODIC ANALOG SIGNALS
Figure 3.8 The time domain and frequency domain of three sine waves
Composite signals
• A single-frequency sine wave is not useful in data communications; we need to change one or more of its characteristics
to make it 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 sum of a set of sine waves of different frequencies, phases and
amplitudes.
3.8
3-2 PERIODIC ANALOG SIGNALS
Composite signals
The square wave of the Fig. below (with peak amplitude A and frequency f) can be represented using Fourier analysis as:
s(t)= (4A/) sin 2ft+ (4A/3) sin[2(3f)t]+ (4A/5) sin[2(5f)t]+…
We have a series of sine waves with frequencies f,3f,5f,7f,… and amplitudes 4A/ , 4A/3, 4A/5, 4A/7,…
The term with frequency f is dominant and is called the fundamental frequency. The term with frequency 3f is called the
third harmonic, the term with frequency 5f is the fifth harmonic, and so on.
To recreate the complete square wave signal requires all odd harmonics up to infinity.!!!!!!!!!!!
3.9
3-2 PERIODIC ANALOG SIGNALS
Composite signals
3.10
3-2 PERIODIC ANALOG SIGNALS
The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal.
The description of a signal using the frequency domain and containing all its components is called the frequency spectrum.
A medium (cable or air) may pass some frequencies and may weaken others. To maintain the integrity of the signal, the medium needs
to pass every frequency (and also preserve the amplitude and phase). However, no transmission medium is perfect.
The range of frequencies that a medium can pass (Maximum frequency-Minimum frequency) is called the bandwidth of the
medium
If the bandwidth of a medium does not match the bandwidth of a signal (Maximum frequency of the signal-Minimum frequency of the
signal), some of the frequencies are lost.
3.11
3-2 PERIODIC ANALOG SIGNALS
Passing a square wave through a medium will always deform the signal.
3.12
3-2 PERIODIC ANALOG SIGNALS
Note:
and the lowest frequencies that the medium can satisfactorily pass.
3.13
3-2 PERIODIC ANALOG SIGNALS
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 10V.
Solution: Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then
The spectrum has only five spikes, at 100, 300, 500, 700, and 900 Hz
3.14
3-2 PERIODIC ANALOG SIGNALS
Example: A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? Draw the spectrum if
Solution:
3.15
3-2 PERIODIC ANALOG SIGNALS
Example: A nonperiodic 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.
3.16
3-3 DIGITAL SIGNALS
Most digital signals are aperiodic, and thus period or frequency is not appropriate.
Two new terms-bit interval (instead of period) and bit rate (instead of frequency)- are used to describe digital signals.
Bit interval is the time required to send one single bit.
The bit rate is the number of bit intervals per second, i.e., the number of bits sent in one second. This is expressed as bps.
A digital signal with all its sudden changes, is actually a composite signal having an infinite number of frequencies.
bit interval
3.17
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.
3.18
3-3 DIGITAL SIGNALS
Example: A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit
interval)
Example: A digital signal has nine levels. How many bits are needed per
level????????
3.19
3-3 DIGITAL SIGNALS
Note:
The bit rate and the bandwidth are proportional to each other.
3.20
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
• NOISE
3.21
3-4 TRANSMISSION IMPAIRMENT
DISTORTION means that the signal changes its form or shape. It occurs on a composite signal made of
different frequencies.
Each signal component has its own propagation speed and therefore its own delay in arriving at the
final destination.
ATTENUATION of a signal means loss of energy through resistance of the medium. Amplifiers are used to compensate for this loss.
The decibel(dB) measures the relative strengths of two signals or a signal at two different points.
dB=10log10 (P2/P1)
where P1 and P2 are the powers of the signal at points 1 and 2 respectively.
Noise
The presence of noise can corrupt one or more bits. If the data rate increased, the bit becomes shorter and more bits will be affected by a given pattern of
noise
Several types of noise such as thermal noise, induced noise, crosstalk, and impulse noise may corrupt the signal.
Thermal noise is the random motion of electrons in a wire which creates an extra signal not originally sent by the transmitter.
Induced noise comes from sources such as motors and appliances
Crosstalk is the effect of one wire on the other.
Impulse noise is a spike (a signal with high energy in a very short period of time) that comes from power lines, lightning and so on.
One important issue in networking is the performance of the network—how good is it?
In networking, we use the term bandwidth in two contexts:-
The first, bandwidth in hertz, refers to the range of frequencies in a composite signal or the range of
The second, bandwidth in bits per second, refers to the speed of bit transmission in a channel or link.
Meanwhile, throughput is the measurement of how fast data can pass through an entity (such as a point or a
network).
3.25
3-5 PERFORMANCE
Example: A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per minute with each frame carrying an average
Solution
3.26
3-5 PERFORMANCE
Propagation speed measures the distance a signal can travel through a medium in one second. This depends on the medium and
the frequency. Light is propagated in a vacuum with a speed of3*108 m/s. It is lower in air and much lower in a cable.
Propagation time measures the time required for a signal (or a bit) to travel from one point in the medium to another.
Delay (latency) defines how long it takes for an entire message to completely arrive at the destination from the time the first bit
In other words, delay consisted of propagation time, transmission time, queuing time and processing delay are added together.
N’
3.27
3-5 PERFORMANCE
Example: What is the propagation time if the distance between the two points is 12,000 km? Assume the propagation speed to be 2.4 ×
Solution
The example shows that a bit can go over the Atlantic Ocean in only 50 ms if there is a direct cable between the source and the
destination.
3.28
3-5 PERFORMANCE
Example: What are the propagation time and the transmission time for a 2.5-kbyte message (an e-mail) if the bandwidth of the network is 1
Gbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.
Solution
Note that in this case, because the message is short and the bandwidth is high, the dominant factor is the propagation time, not the
3.29
3-5 PERFORMANCE
Example: What are the propagation time and the transmission time for a 5-Mbyte message (an image) if the bandwidth of the network is 1
Mbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.
Solution
Note that in this case, because the message is very long and the bandwidth is not very high, the dominant factor is the transmission time,
3.30