03 Data and Signals
03 Data and Signals
03 Data and Signals
∝ Periodic Signals:
X A periodic signal completes a pattern within a measurable time frame called a period, and
repeats that pattern over identical subsequent periods.
X The period is expressed in seconds.
X Periodic analog signals can be classified as simple or composite.
,→ A simple periodic analog signal, a sine wave, cannot be decomposed into simpler
signals.
,→ A composite periodic analog signal is composed of multiple sine waves.
∝ Aperiodic Signals:
X An aperiodic signal changes constant without exhibiting a pattern or cycle that repeats
over time.
Periodic Signals
Aperiodic Signals
∝ A Sine wave is the simplest periodic signal, i.e., it can not be decomposed into
simpler signals.
∝ A sine wave can be fully described by three characteristics:
X Amplitude, Period or Frequency and Phase.
Amplitude
1
Frequency =
Period
Phase
∝ Phase describes the position of the waveform relative to the time zero.
∝ Phase describes the amount of shift along the time axis.
∝ Phase is measured in degree or radian.
Phase Change
∝ A frequency domain plot shows the relationship between amplitude and frequency.
Composite Signal
∝ What about wave forms that are not simple or periodic (sine waves)
c = constant.
an and bn are the sine and cosine amplitude of the nth harmonics.
f = 1/T is the fundamental frequency.
∝ The frequency spectrum of a signal is the collection of all the component frequencies
it contains.
∝ That is, the combination of all sine waves that forms the signals.
Bandwidth
Bandwidth: 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.
Solution: Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth.
Then
B = fh − fl = 900 − 100 = 800Hz
Bandwidth: 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 the signal contains all frequencies of the
same amplitude.
∝ Solution: Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
B = fh − fl =⇒ 20 = 60 − fl =⇒ fl = 40Hz
Bandwidth: 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.
∝ Solution: The lowest frequency must be at 40 kHz and the highest at 240 kHz.
Digital Signals
Digital Signals
∝ A digital data, e.g., a 1 can be encoded as a positive voltage and a 0 as zero voltage.
∝ Moreover, a digital signal can have more than two levels. In this case, we can send
more than 1 bit for each level.
Digital Signals
∝ A digital signal has eight levels. How many bits are needed per level?
Digital Signals
∝ Bit Interval (like period) is the time required to send one single bit.
∝ Bit Rate (like frequency) is the number of bit intervals per seconds or bits per second
(bps).
Bandwidth
Transmission 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.
∝ Three causes of impairment are:
X Attenuation
X Distortion
X Noise
Attenuation
∝ When a signal travels through a medium it loses energy overcoming the resistance of
the medium
∝ Amplifiers are used to compensate for this loss of energy by amplifying the signal.
Measurement of Attenuation
∝ The decibel is -ve if the signal is attenuated and +ve if a signal is amplified.
dB = 10 log10 P2 /P1
OR
dB = 20 log10 V2 /V1
where, V1 - voltage of input signal. V2 - voltage of output signal.
∝ 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:
P2 0.5P1
10 log10 = 10 log10 = 10 log10 0.5 = 10(−0.3) = −3dB
P1 P1
∝ A signal travels through an amplifier, and its power is increased 10 times. This means
that P2 = 10P1 . In this case, the amplification (gain of power) can be calculated as
P2 10P1
10 log10 = 10 log10 = 10 log10 10 = 10(1) = 10dB
P1 P1
∝ 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 measuring
several points (cascading) instead of just two.
dB = −3 + 7 − 3 = +1
∝ The loss in a cable is usually defined in decibels per kilometer (dB/km). If the signal
at the beginning of a cable with -0.3 dB/km has a power of 2 mW, what is the power
of the signal at 5 km?
∝ Solution: The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We can calculate
the power as:
P2
dB = 10 log10 = −1.5
P1
P2
= 10−0.15 = 0.71
P1
P2 = 0.71P1 = 0.7 × 2 = 1.4mW
Distortion
∝ Each frequency component has its own propagation speed traveling through a
medium.
∝ The different components therefore arrive with different delays at the receiver.
∝ That means that the signals have different phases at the receiver than they did at the
source.
Noise
∝ It indicates the strength of the signal w.r.t. the noise power in the system.
∝ Since SNR is the ratio of two power, it is usually given in dB and referred to as SNRdB .
signalpower
SNR = =∞
0
SNRdB = 10 log10 ∞ = ∞
∝ We can never achieve this ratio in real life, it is an ideal.