Documente Academic
Documente Profesional
Documente Cultură
Band Pass
Filter Sampler Quantizer Coding
010110..
Band Pass
Decoding Quantizer Sampler
Filter
010110..
Digital Signal Decoded Signal Quantized Signal
Analog
Discrete- Time Signal
Signal
Types of Signals
Pros and cons of DSP
Pros
• Easy to duplicate
• Stable and robust: not varying with temperature,
storage without deterioration
• Flexibility and upgrade: use a general computer or
microprocessor
Cons
• Limitations of ADC and DAC
• High power consumption and complexity of a DSP
Implementation, unsuitable for simple, low-power
applications
• Limited to signals with relatively low bandwidths
Applications of DSP
Speech processing
• Enhancement – noise filtering
• Coding
• Text-to-speech (synthesis)
• Recognition
Image processing
• Enhancement, coding, pattern recognition (e.g. OCR)
Multimedia processing
• Media transmission, digital TV, video conferencing
Communications
Biomedical engineering
Navigation, radar, GPS
Control, robotics, machine vision
Classification of Signals
Continuous-Time Versus Discrete-Time Signals
Analog/continuous time Discrete Time Signal is
Signal is represented as a represented as function of
function of time n (number of samples)
Mathematically, X1(t) =cos𝜋𝑡
-infinity < t < infinity
x(t) x(n)
t n
Representation Of Discrete Time Signal
Graphical
Functional
Tabular
Sequence
Representation Of Discrete Time Signal
Graphical
f (n) f [n] f (nT )
x(n)
4
3
2
1
0 n
-1
-2
-3
-4
Representation Of Discrete Time Signal
0 n
-1 0 1 2 3 4
Representation Of Discrete Time Signal
Tabular
n -2 -1 0 1 2 3
x(n) 0 0 0 1 4 1
x(n)
4
0 n
-2 -1 0 1 2 3
Representation Of Discrete Time Signal
Sequence
x(n) = {0,0,1, 4 ,1,0}
Origin x(n)
1
n
0
-3 -2 -1 0 1 1
Elementary Discrete Time Signal
0 n
-1 0 1 2
Elementary Discrete Time Signal
0 n
-3 -2 -1 0 1 2 3 4
Elementary Discrete Time Signal
n
-3 -2 -1 0 1 2 3 4
Elementary Discrete Time Signal
x(n)
3
0 n
0 1 2 3 4
Elementary Discrete Time Signal
Exponential j n
x(n) (re) r n (cos n j sin n)
When a=Complex x (n) r n cos n , x (n) r n sin n
R C
For a>1 n 0 1 2 3 4
Let a=2 x(n) 1 2 4 8 12
x(n)
12
11
10
9
8
7
6
5
4
3
2
1
0 n
0 1 2 3 4
Comparison Between Continuous Time &
Discrete Time Frequencies
Continuous Time
x(t ) A cos( t ) , t
2F , F
Where,
A Amplitude
Frequency (radian / second )
Phase
Comparison Between Continuous Time &
Discrete Time
Discrete Time
x(n) A cos(n ) , n
2f
x(n) A cos( 2fn )
Where
A = Amplitude
= Frequency (radian/sample)
= Phase
Relation Between ,F & ,f
x( n) x( nT )
T Sampling Period
Fs 1 / T Sampling Rate( Samples / Sec)
Sampling Frequency( Hz )
t nT n / Fs
x(t ) A cos( 2Ft )
x(nT ) x(n) A cos( 2nFT )
When sampled at sampling rate Fs 1 / T
x(nT ) x(n) A cos( 2nF / Fs )
Relation Between ,F & ,f
Similarly,
x2(n) = Acos2 n
= Acos(2 0)n || cos( - )
= Acos( 0)n
= Acos0n
Sampling Of Analog Signal
If 0 is greater than , then the original signal will repeat
itself as seen in the above calculations. Also x2(n) is
called the alias of x1(n). Due to this property(uniqueness)
it is difficult to distinguish between signals. Range for
discrete-time signal will become:
-
= 2
= /2
= / 2
=1/2
-1/2 1/2
Examples
Example 1 x (t ) 3 cos 100t
Let Fs=100Hz, evaluate the signal at n=0, 1, 2, 3, 4, 5.
Also draw the sampled signal.
Solution:
x (t ) 3 cos 2(50)t
where f F / Fs 50 / 100
x (t ) 3 cos 2 (50 / 100)t
x ( n) 3 cos n
Examples
Graphical representation of sampled signal.
n 0 1 2 3 4 5
x(n) 3 -3 3 -3 3 -3
x(n)
4
3
2
1
0 n
-1
-2
-3
-4
Sampling Theorem
Nyquist Theorem:
If the highest frequency contained in an analog signal xa(t)
is
Fmax = B and the signal is sampled at a rate Fs > 2Fmax =
2B, then xa(t) can be exactly recovered from its sample
values using the interpolation function.
Aliasing
Examples
Example 2
Consider the following two signals which are
sampled at 40 Hz.
x (t ) cos 2 10t
1
x (t ) cos 2 50t
2
Then find,
1) Discrete-Time signal.
2) Is there any aliasing , if so find Alias signal.
3) Find the minimum Sampling rate to avoid aliasing.
Examples
Solution :
x (t ) cos 2 10t
1
2F
1
2 10 2F
1
x (t ) cos 2 10t
1
Examples
Solution Contd. :
Since,
f F / Fs
So,
x ( n) cos 2 (10 / 40)t
1
x ( n) cos(n / 2)
1
Similarly ,
x ( n) cos 2 (50 / 40)t
2
x ( n) cos( 5n / 2)
2
cos( 2n n / 2) || cos( )
cos n / 2
Examples
Solution Contd. :
Since both signals are same, so we can say that x2(n)
is an alias signal of x1(n).
To avoid aliasing we apply Nyquist Criteria which
states that the sampling frequency should be double
the original signal.
Fs 100 Hz || F 50 Hz
2
Examples
EXAMPLE 1.4.2
Consider the analog signal