Escolar Documentos
Profissional Documentos
Cultura Documentos
Services
Signals
Generally, the data usable to a person or application are not in a form that can be transmitted over a network. To send data we have to encode to create a stream of 1s and 0s. But even 1s and 0s cannot be sent as such across network links.
They must be further converted to a form that transmission media can accept. Transmission media work by conducting energy along a physical path. So a data stream of 1s and 0s must be turned into energy in the form of electromagnetic signals.
Note:
3.1 Analog and Digital Analog and Digital Data Analog and Digital Signals
Periodic and Aperiodic Signals
Note: In data communication, we commonly use periodic analog signals and aperiodic digital signals.
3.2 Analog Signals Sine Wave Phase Examples of Sine Waves Time and Frequency Domains Composite Signals Bandwidth
Analog Signals
Sine Wave
The sine wave can be visualized as a simple oscillating curve. Its change over the course of a cycle is smooth and consistent, a continuous, rolling flow. Each cycle consists of a single arc above the time axis followed by a single arc below it. We can mathematically describe a sine wave as:
s(t) = A sin(2ft + )
Where s is the instantaneous amplitude, A the peak amplitude, f the frequency, and the phase.
Analog Signals
Sine Wave
Peak Amplitude
The Peak amplitude of a signal represents the absolute value of its highest intensity, proportional to the energy it carries.
Analog Signals
Sine Wave
Period and Frequency
Period refers to the amount of time, in seconds, a signal needs to complete one cycle.
f = 1/T
and
T = 1/f
Note:
Analog Signals
Sine Wave
Period and Frequency
Analog Signals
Sine Wave
Period and Frequency
Milliseconds (ms)
kilohertz (KHz)
Analog Signals
Sine Wave
Example 1
Express a period of 100 ms in microseconds, and express the corresponding frequency in kilohertz.
Solution
We calculate the equivalent of 1 ms. We make the following substitutions: 100 ms = 100 10-3 s = 100 10-3 106 ms = 105 ms Now we use the inverse relationship to find the frequency, changing hertz to kilohertz 100 ms = 100 10-3 s = 10-1 s f = 1/10-1 Hz = 10 10-3 KHz = 10-2 KHz
Analog Signals
Sine Wave
Period and Frequency
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. Note:
If a signal does not change at all, its frequency is zero. If a signal changes instantaneously, its frequency is infinite.
Analog Signals
Phase
Note: Phase describes the position of the waveform relative to time zero.
Phase
A sine wave is offset one-sixth of a cycle with respect to time zero. What is its phase in degrees and radians?
Solution
We know that one complete cycle is 360 degrees. Therefore, 1/6 cycle is (1/6) 360 = 60 degrees = 60 x 2p /360 rad = 1.046 rad
Analog Signals
Analog Signals
As we know that a sine wave is comprehensively defined by its amplitude, frequency, and phase. It can be represented in two ways : Time-Domain plot: It shows changes in signal amplitude with respect to time (it is an amplitude vs. time plot). Phase and frequency are not explicitly measured on a time domain plot. Frequency-Domain plot: It shows relationship b/w amplitude and frequency. It gives peak amplitude with respect to frequency.
Analog Signals
Analog Signals
Composite Signals
Simple sine waves is useless for data communication. If we sent one single sine wave to convey data, we would always be sending alternating 1s and 0s, which does not have any communication value. To use for communication, we need to change one or more of its characteristics. However we need to keep in mind that now it is no longer a simple sine wave. Instead it is a composite signal made of many simple sine waves. A mere change in the amplitude, frequency or phase creates a new set of frequencies; more change means more new frequencies.
Analog Signals
Composite Signals
Note: 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.
Note: When we change one or more characteristics of a single-frequency signal, it becomes a composite signal made of many frequencies.
Analog Signals
Composite Signals
Fourier Analysis Any composite signal is a sum of a set of sine waves of different frequencies, phase and amplitudes. In other words, we can write a composite signal as:
Note:
According to Fourier analysis, any composite signal can be represented as a combination of simple sine waves with different frequencies, phases, and amplitudes.
Analog Signals
Composite Signals
Fourier Analysis - Example
with peak amplitude of A and a
According to Fourier analysis, this signal can be decomposed into a series of sine waves as depicted below:
Therefore we have a series of sine waves with frequencies f, 3f, 5f, 7f, and amplitudes 4A/, 4A/3, 4A/5, 4A/7, and so on. The term with frequency f is called fundamental frequency. The term with frequency 3f is called third harmonic and so on. Let us try to reconstruct this square wave from the sum of the series of sine waves.
Analog Signals
Composite Signals
Fourier Analysis - Example
The above figure shows the three harmonics relative to each other. Let us sum up these three harmonics to reconstruct a new wave which we expect to be like square wave
Analog Signals
Composite Signals
Frequency Spectrum
The description of a signal using the frequency domain and containing all its components is called the frequency spectrum of that signal. Diagram below shows the frequency spectrum of a square wave and the frequency spectrum of a signal which is very close to a square wave with only three harmonics.
Analog Signals
Composite Signals
Frequency Spectrum
This is for those who are following Tanenbaum book. Here same concept is being followed but in different way. Here Root Mean Square Amplitude is depicted on the frequency spectrum.
Analog Signals
Bandwidth
Each medium has its own characteristics. Each medium passes some frequencies, weakens others and blocks still others. The range of frequencies that a medium can pass is called its bandwidth. Because no medium can pass or block all frequencies, the bandwidth normally refers to the range of frequencies that a medium can pass without losing onehalf of the power contained in that signal.
Note: The bandwidth is a property of a medium: It is the difference between the highest and the lowest frequencies that the medium can satisfactorily pass.
Analog Signals
Bandwidth
Example
The Example below depicts the range of frequencies a medium can pass and the relative amplitude of the frequencies passed.
Analog Signals
Bandwidth
Example
Example 3 If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is the bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V.
Solution B = fh - fl = 900 - 100 = 800 Hz The spectrum has only five spikes, at 100, 300, 500, 700, and 900
Analog Signals
Example 4
Bandwidth
Example
A 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 integral frequencies of the same amplitude.
Solution B = fh - fl 20 = 60 - fl fl = 60 - 20 = 40 Hz
Bandwidth
Example
A signal has a spectrum with frequencies between 1000 and 2000 Hz (bandwidth of 1000 Hz). A medium can pass frequencies from 3000 to 4000 Hz (a bandwidth of 1000 Hz). Can this signal faithfully pass through this medium?
Solution
The answer is definitely no. Although the signal can have the same bandwidth (1000 Hz), the range does not overlap. The medium can only pass the frequencies between 3000 and 4000 Hz; the signal is totally lost.
3.3 Digital Signals Bit Interval and Bit Rate As a Composite Analog Signal Through Wide-Bandwidth Medium Through Band-Limited Medium Versus Analog Bandwidth Higher Bit Rate
Digital Signals
This is a digital signal. Here 1 is encoded as positive voltage and a 0 as zero voltage.
Digital Signals
Because most digital signals are non periodic, therefore period or frequency is irrelevant. Therefore we use:
-bit interval (instead of period) -bit rate (instead of frequency)
A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit interval)
Solution
The bit interval is the inverse of the bit rate.
Digital Signals
Digital Bandwidth
Digital Bandwidth (bps) : It is the maximum bit rate that a medium can pass.
Remember : If we are sending analog data through a medium, we are concerned with analog bandwidth (expressed in Hertz); If we are sending digital data through a medium, we are concerned with digital bandwidth (expressed in Bits per Second). So therefore they represent the same property of a medium, but in different scales and units. Let us see an example :
A channel or link can be low-pass, band-pass or high-pass. A low-pass channel has a bandwidth with frequencies between 0 and f. The lower limit is 0, upper limit can be any frequency (including infinity). A band-pass channel has a bandwidth with frequencies between f1 and f2. A high-pass channel has a bandwidth with frequencies above f1.
A digital signal theoretically needs a bandwidth between 0 and infinity (Think why ?). The lower limit is fixed ; the upper limit (infinity) can be relaxed if we lower our standards by accepting a limited number of harmonics. This means we need a bandwidth between 0 and f (low-pass)
An analog signal normally needs a narrower bandwidth than a digital signal with frequencies between f1 and f2. This means we need a
Key-point here to note is that we can always shift a signal with a bandwidth from f1 to f2 to a signal with a bandwidth from f3 to f4 as long as the width of the bandwidth remains the same.
Solution
Bit Rate = 2 X 3000 X log2 2 = 6000 bps
Example 7
Bit Rate = 2 x 3000 x log2 4 = 12,000 bps
Solution
C = B log2 (1 + SNR) = B log2 (1 + 0)
= B log2 (1) = B 0 = 0
Solution
C = B log2 (1 + SNR) = 3000 log2 (1 + 3162) = 3000 log2 (3163) C = 3000 11.62 = 34,860 bps
Data Rate Limits Using both: Nyquist Bit Rate & Shannon Capacity Example 11
We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63; what is the appropriate bit rate and signal level?
Solution
First, we use the Shannon formula to find our upper limit.
C = B log2 (1 + SNR) = 106 log2 (1 + 63) = 106 log2 (64) = 6 Mbps
6 Mbps is upper limit, For better performance we choose something lower, for example 4 Mbps. Then we use the Nyquist formula to find the number of signal levels.
4 Mbps = 2 X 1 MHz X log2 L L = 4
Attenuation
Distortion Noise
Transmission Impairment
Impairment types
Transmission Impairment
Attenuation
Attenuation means loss of energy. When a signal, simple or composite, travels through a medium, it loses some of its energy to overcome the resistance of the medium. To compensate for this loss, amplifiers are used to amplify the signal. Figure below shows the effect of attenuation and amplification.
Transmission Impairment
dB = 10 log10(P2/P1)
Attenuation Decibel
The decibel (db) measures the relative strengths of two signals or a signal at two different points.
Example 12
Imagine a signal travels through a transmission medium and its power is reduced to half. This means that P2 = 1/2 P1. In this case, the attenuation (loss of power) can be calculated as?
Solution
10 log10 (P2/P1) = 10 log10 (0.5P1/P1) = 10 log10 (0.5) = 10(0.3) = 3 dB
Attenuation Decibel
Imagine a signal travels through an amplifier and its power is increased ten times. This means that P2 = 10 P1. In this case, the amplification (gain of power) can be calculated as
Solution
10 log10 (P2/P1) = 10 log10 (10P1/P1)
Transmission Impairment
Attenuation Decibel
One reason that engineers use the decibel to measure the changes in the strength of a signal is that decibel numbers can be added (or subtracted) when we are talking about several points instead of just two (cascading).
Transmission Impairment
Distortion
Distortion means that the signal changes its form or shape. Distortion occurs in a composite signal, made of different frequencies. Each signal component has its own propagation speed through a medium and, therefore, its own delay in arriving at the final destination.
Transmission Impairment
Noise
Several types of Noise such as thermal, induced, crosstalk, and impulse noise may corrupt the signal.
Thermal Noise: It is the random motion of electrons in a wire which creates an extra signal not originally sent by the transmitter. Induced Noise: It comes from sources such as motors and appliances. These devices act as a sending antenna and transmission medium acts as the receiving antenna. Crosstalk: It is the effect of one wire on the other. Impulse Noise: It is a spike ( a signal with high energy in a very short period of time) that comes from power lines, lightening etc.