Data and Signals
Data and Signals
Data and Signals
Associate Professor
DATA
Analog data take continuous values. Digital data take discrete values.
3.2
Signals
A signal is defined as any physical quantity that varies with time, space or any other independent
variables.
3.3
Signals…
3.4
PERIODIC & NON-PERIDIC SIGNALS
Periodic Signal
A continuous-time periodic signal is
unchanged/repeated by a time shift
of T0. T0 is called the fundamental
period.
xt xt T0 A sine wave: x(t) = A sin(2Πft+Φ)
A discrete-time periodic signal is
unchanged by a time shift of N0.
N0 is the fundamental period.
xn xn N 0
Non-Periodic Signal
Not periodic
In data communications, we commonly use periodic analog signals and non-periodic digital signals.
3.5
Properties of a Signal
Peak Amplitude (A) – the highest value/intensity of the signal.
Period (T) – the amount of time (in sec) needed by a signal to
complete one cycle.
Frequency (f) – number of cycles (periods) per sec.
f=1/T
Phase (Φ) – position of a signal relative to time zero. Phase
describes the position of the waveform relative to time zero.
Wavelength(λ) – the distance traveled by a wave (signal) in one
cycle.
λ = 1/f
3.6
Properties of a Signal…
Example
The power we use at home has a frequency of 60 Hz. The period of this sine wave can be determined as follows:
3.7
Fig. Two signals with the same phase and frequency, but different amplitudes
3.8
Figure Three sine waves with the same amplitude and frequency,
but different phases
3.9
Figure Wavelength and period
3.10
The time-domain and frequency-domain plots of a sine wave
A complete sine wave in the time domain can be represented by one single spike in the frequency domain.
3.11
The time domain and frequency domain of three sine waves
The frequency domain is more compact and useful when we are dealing with more than one sine wave.
Following Figure shows three sine waves, each with different amplitude and frequency. All can be represented by three
A single-frequency sine wave is not useful in data communications; we need to send a composite signal, a signal made of many simple
sine waves.
3.12
Composite Periodic Signal
According to Fourier analysis, any composite signal is a combination of simple sine waves
3.13
Decomposition of a composite periodic signal in the time and frequency domains
3.14
Example 3.9
Figure 3.11 shows a nonperiodic composite signal. It can be the signal created by a microphone
or a telephone set when a word or two is pronounced. In this case, the composite signal cannot be
periodic, because that implies that we are repeating the same word or words with exactly the same
tone.
3.15
The time and frequency domains of a non-periodic signal
The bandwidth of a composite signal is the difference between the highest and the lowest
3.16
Figure The bandwidth of periodic and nonperiodic composite signals
3.17
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
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.18
Figure The bandwidth for Example 3.10
3.19
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,
Attenuation
Distortion
Noise
3.20
Causes of impairment
3.21
Attenuation
3.22
Example
Suppose a signal travels through a transmission medium and its power is reduced to one-half.
This means that P2 is (1/2)P1. In this case, the attenuation (loss of power) can be calculated as
3.23
Example
A signal travels through an amplifier, and its power is increased 10 times. This means that P 2 =
3.24
Distortion
3.25
Noise
3.26
Example
The power of a signal is 10 mW and the power of the noise is 1 μW; what are the values of SNR
and SNRdB ?
Solution
3.27
Example
3.28
Figure 3.30 Two cases of SNR: a high SNR and a low SNR
3.29
DATA RATE LIMITS
A very important consideration in data communications is how fast we can send data, in bits per
3.30
Nyquist theorem for Sampling
The Nyquist rate is the minimum sampling rate required to avoid aliasing, equal to twice the
To avoid aliasing, the sampling rate must exceed the Nyquist rate:
3.31
Noiseless Channel and Nyquist theorem
Where B is the bandwidth, L is the number of signal levels used to represent data
3.32
Example
Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal
3.33
Example
Consider the same noiseless channel transmitting a signal with four signal levels (for each level,
3.34
Example
We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal
levels do we need?
Solution
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.
3.35
Noisy Channel and Shannon Capacity
For noisy channel the capacity C (highest data rate) is calculated as:
This means that the capacity of this channel is zero regardless of the bandwidth. In other words, we cannot receive
3.36
Example
We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line
normally has a bandwidth of 3000. The signal-to-noise ratio is usually 3162. For this channel the
capacity is calculated as
This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data
faster than this, we can either increase the bandwidth of the line or improve the signal-to-noise
ratio.
3.37
Example
We have a channel with a 1-MHz bandwidth. The SNR for this channel is 63. What are the
Solution
3.38
Example 3.41 (continued)
The Shannon formula gives us 6 Mbps, the upper limit. For better performance we choose
something lower, 4 Mbps, for example. Then we use the Nyquist formula to find the number of
signal levels.
3.39
Note
The Shannon capacity gives us the upper limit; the Nyquist formula
3.40