Analog and Digital Signals
Analog and Digital Signals
Dr.R.Subasri
Professor, EIE
Kongu Engineering College
Signal is a way of communicating by sending information from one system to other system. Signal is an
electromagnetic wave that carries information or data through physical medium. Here the data is converted
into electromagnetic signal either as analog or digital and sent from sender to receiver.
Representation of signals:
Voltage and current are few time varying quantities that are used to represent data.
By varying these quantities with respect to time or frequency data can be transmitted.
Analog signal
Mathematical representation:
DC – Step input (sudden displacement)
x(t) = A u(t)
Exercise:
(i) Draw a ramp signal of slope 5 units
X(t) = 5t u(t)
Sinusoidal signal
X(t) = A sin t u(t)
A – Amplitude
= 2f rad/sec ; f – frequency in Hz.
Example:1
Sinusoidal signal with 50 Hz; f=50 Hz, T=1/f = 20msec.
X(t) = sin (2 x 50 x t) = sin 314 t
Example:2
Sinusoidal signal T=5msec. f = 1/T = 200 Hz
X(t) = 2 sin (2 x 200 x t) = sin 1256 t
Sinusoidal signal with dealy in time
Exponential signals:
x(t) = a e bt
Case 1: a is real and positive and b is real and positive : 2 e2t u(t)
Case 2: a is real and positive and b is real and negative: 2 e-2t u(t)
Case 3: a is real and positive and b is complex with positive real : 2 e(2+j3)t u(t)
Case 4: a is real and positive and b is complex with negative real: 2 e-(2+j3)t u(t)
Graphical form of representation:
Case 1: x(t) = 2 e-2t u(t) - Exponential decay signal
Hence it is periodic
Time period is T = /3 sec
Analog to Digital Conversion:
The conversion of a physical analog signal to a discrete set of finite-precision numbers is
called signal sampling. It includes the following steps.
1. Sample-and-hold: An analog signal x(t) is sampled to a discrete-time signal x(nT).
Sampling theorem:
Sampling theorem guides for the question: How many samples are necessary for preserving the
information contained in the signal?
To preserve the full information in the signal, it is necessary to sample at twice the maximum frequency
of the signal. This is known as the Nyquist rate.
Shannon’s Sampling Theorem:
A signal can be exactly reproduced if it is sampled at a frequency F, where F is greater than twice the
maximum frequency in the signal.
Fs 2 Fmax
Alaising:
If the signal is sampled at a frequency that is lower that the Nyquist rate, during reconstruction
from digital to analog (continuous time signal), aliasing will result. Aliasing is the presence of unwanted
components in the reconstructed signal. These components were not present when the original signal was
sampled. In addition, some of the frequencies in the original signal may be lost in the reconstructed
signal.
Discrete signalrepresentation:
𝑥(𝑛) = 𝑥(𝑡)|𝑡→𝑛𝑇
Where T is the sampling time. Sampling frequency is fs = 1/T
Note: Generally T is suppressed in the representation.
Discrete Step signal:
Unit step
Condition : A discrete sinusoid is periodic only if the frequency should be a rational multiple of 2.
Any signal can be written as sum of even part and odd signal of the signal.
x(t) = xe(t)+xo(t)
To find even part of the given signal x(t)
𝑥(𝑡)+𝑥(−𝑡)
xe(t) = 2
Example :1
x(t) = x3+4x2+5x+9
xe(t) = 4x2+9
xo(t) = x3+5x
Example 2:
Find the even and odd parts of the given signal
Solution:
Solution:
Energy :
𝑇
𝐸 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡
𝑇→∞ −𝑇
Power : (ability)
1 𝑇
𝑃 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇
𝑇 ∞ ∞
1 1
𝐸 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡 = ∫ |𝑒 −2𝑡 |2 𝑑𝑡 = ∫ 𝑒 −4𝑡 𝑑𝑡 = (𝑒 −∞ − 𝑒 0 ) = 𝐽𝑜𝑢𝑙𝑒𝑠
𝑇→∞ 0 0 0 −4 4
1 𝑇 1 𝑇 −2𝑡 2 1 1
𝑃 = lim ∫ |𝑥(𝑡)| 𝑑𝑡 = lim ∫ |𝑒 | 𝑑𝑡 = lim ( (𝑒 −𝑇 − 𝑒 0 )) = 0 𝑤𝑎𝑡𝑡𝑠
2
𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 𝑇 0 𝑇→∞ 𝑇 −4
Example 2:
x(t) = Ae-jt : Exponential form Aej : Absolute value or |𝐴𝑒 −𝑗𝜔𝑡 | is A
𝑇 𝑇 𝑇
2
𝐸 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡 = lim ∫ |𝐴𝑒 −𝑗𝜔𝑡 | 𝑑𝑡 = lim ∫ 𝐴2 𝑑𝑡 = lim 𝐴2 (2𝑇) = ∞
𝑇→∞ −𝑇 𝑇→∞ −𝑇 𝑇→∞ −𝑇 𝑇→∞
1 𝑇 1 𝑇 2 1 2
𝑃 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡 = lim ∫ |𝐴𝑒 −𝑗𝜔𝑡 | 𝑑𝑡 = lim 𝐴 (2𝑇) = 𝐴2 𝑤𝑎𝑡𝑡𝑠
𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 2𝑇
𝑇 (1−cos 2𝜔𝑡) 𝐴2 𝑇 𝑇
= lim ∫−𝑇 𝐴2 𝑑𝑡 = lim [∫−𝑇 1 𝑑𝑡 − ∫−𝑇 cos 2 𝜔𝑡 𝑑𝑡 ]
𝑇→∞ 2 𝑇→∞ 2
2𝜋 𝑇
𝐴2 sin 2𝜔𝑡 𝑇 𝐴2 sin 2
𝑇
𝑡 𝐴2
= lim [2𝑇 − ( ) ] = lim [2𝑇 − ( 2𝜋 ) ] = lim 2𝑇 = ∞
𝑇→∞ 2 2𝜔 −𝑇 𝑇→∞ 2 2
𝑇
𝑇→∞ 2
−𝑇
1 𝑇 1 𝑇 1 𝐴2 𝐴2
𝑃 = lim ∫ |𝑥(𝑡)|2 𝑑𝑡 = lim ∫ |A sin 𝜔𝑡|2 𝑑𝑡 = lim 2𝑇 = 𝑤𝑎𝑡𝑡𝑠
𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 2𝑇 2 2
The given sinusoidal signal is a Power signal
Note: some signals are neither power nor energy types because they have unbounded power and energy.
For these,
E = ∞ and P = ∞
Exercise 1: x(t) = A u(t) ; step signal is a power signal
𝐴
It is a power signal with P = 2 watts and E =0 J
Exercise 2: x(t) = At u(t) : Ramp signal is neither power nor energy signal
E = ∞ and P = ∞
Power and Energy Signal - Discrete Time signal
E = ∑𝑛=∞
𝑛=−∞|𝑥(𝑛)|
2
1 1
P = lim (2𝑁+1 ∑𝑛=𝑁 2
𝑛=−𝑁|𝑥(𝑛)| ) ∑𝑛=∞ 𝑛
𝑛=0 𝑎 = a<1
𝑁→∞ 1−𝑎
𝑁 𝑎=1
∑𝑛=𝑁−1
𝑛=0 𝑎 𝑛
= { 1−𝑎 𝑁
𝑎≠1
1−𝑎
1 1
= ∑𝑛=∞ 𝑛
𝑛=0 |0.04| = 1−0.04 = 0.96
As N→∞, it is zero
1 1 1 1−0.04𝑁
P = lim (2𝑁+1 ∑𝑛=𝑁 2
𝑛=−𝑁|𝑥(𝑛)| ) = lim (𝑁+1 ∑𝑛=𝑁 𝑛 2
𝑛=0 |0.2 | ) = lim (𝑁+1 ) =0
𝑁→∞ 𝑁→∞ 𝑁→∞ 0.96