Digital Processing Tutorial
Digital Processing Tutorial
= ∑ .
= ∑
∞
∞
= ∑
= + + +⋯
=
−
(d) = −
= ∑ −
∞
∞
= ∑
= + + + ⋯
= + + + ⋯
= ( ) = ( )
− −
If
↔
↔
(a) =
= ∑
∞
∞
= ∑
=
=
− −
(b) =
= ∑
∞
∞
= ∑
= + +
= + + . + ⋯
= = −
−
G.P = , = = <
=
−
(5) Differentiation property
If
↔
Then −
↔
×
Or 1
↔
Ex:- =
∞ ∞
= ∑ = ∑ .
∞
= + + + + ⋯
= + + + ⋯
=
= −
−
= +
(6) Convolution property
3.3.2. Determine Pole location and time domain behavior for causal signals.
Here we will discuss Z-plane location of pole pair and the form (Shope) of the corresponding
signal in the time domain.
Transform Transform
(1)
(2) −
(3)
=
− −
(4) − −
=
− −
(5)
=
− −
(6)
=
− −
(7) − −
−
(8)
−
(9)
−
(10) +
−
(11)
−
(12) sin sin
− cos +
(13) cos − cos
− cos +
(14) sin sin
− cos +
(15) cos − acos
− cos +
∴ = −
Q-2 Find inverse Z transform of = , ||
− +
=
=
+ + + +
⇒ = −
+ +
∴ − − −
Q-3 Find inverse Z transform of =
∴ By partial fraction
= − +
− − −
∴ = − + − −
Q-4 =
Q-5 =
Q-1 Find inverse –Z Transform of
=
− +
=
− +
⇒ =
− − +
=
− − −
=
− −
Now by partial fraction method
= +
− − − −
− + −
⇒ =
− − − −
⇒ = − + −
⇒ = − + −
= + − −
By Comp
⇒ = + − −
By Comparing coefficient of Z & constants
We get
+ = & − − =
− + = ⇒ − = +
⇒ − + + = ⇒ = −
⇒ − = −
= —
⇒=
=− =
= −
− −
Digital Signal Processing 27 Abhiram Pradhan
KIIT POLYTECHNIC
⇒ = −
− −
⇒ = −
− −
⇒ = − ( )
− × −
= − ( )
− −
By formula
= −
CHAPTER- 4
Discrete Fourier Transform is a computational or mathematical tool for analyzing discreet time signal
in frequency domain.
DFT consents (Discrete time domain signal of infinite length to discrete frequency sequence
of finite length.
DFT is obtained by sampling one period of the Fourier transform at finite number of frequency points.
⇒ =
= ∑
⇒ =
Both & are ranging from 0 to N-1
time index since if denotes time constant ≤ ≤ −
frequency index since if denotes frequency constant ≤ ≤ −
= = Twiddle factor
− Equally spaced sample points.
Ex 3:1 = Find DFT
= ,,,
=
= ∑ , = … −
=
= ∑ . = ∑
= + + + = + + + =
1
= , = ∑ . 4 = ∑ . 2
12 .3
= . + . 2 + − 2 + . 2
=
Digital Signal Processing 29 Abhiram Pradhan
KIIT POLYTECHNIC
=
=
Ex.3.2 Find DFT of = for ≤ ≤ = ,
= otherwise
Ex.33 Find 6 point DFT of = ,,,,, ,
But by IDFT
2
= ∑
By putting in equation (1) from equation (2) we get
2
= ∑ ∑
2/
⇒ = ∑ ∑
2 2 2
= ∑ [ + . + . + ⋯ + ]
2
[ − . ]
=
∑ 2
− .
−
= ∑ 2
− .
⇒ = − ∑ 2
−
Sum of first ‘n’ terms of geometries sequence is
1
= , = Finet number
=
Sum of infinite G.P. series, is
∞ = , =
4.3. Discuss property of DFT
⇒ = ∑ − − − −
This above expression continually that multiplication of two DFTS of two sequences is equivalent to the
circular convolution of two sequences in time domain.
− circular convolution.
4.6. Let & one finite duration sequence both of length .
= ∑ . − − − −
(For N number of Samples)
The equation (1) can be represented as.
=
Hence DFT =
Multiplication
If DFT =
DFT =
Then DFT = +
= cos − sin
= cos + sin
CHAPTER- 5
FAST FOURIER TRANSFORM ALGORITHM & DIGITAL FILTERS
It is used in digital spectral analysis filter simulation, auto connection and pattern recognition.
FFT is based on decomposition and breaking the transform into smaller transforms and combining
them to get the total transform.
= = Twoddle factor
(i) 2
=
In decimation –in time algorithm, the sequence for which we need the DFT is successively divided
into smaller sequences and the DFTs of these entire sequences are combined in a certain portion to
obtain the required DFT of entire sequence.
In Decimation –in- frequency algorithm the frequency sample of the DFT are decomposed into smaller
and smaller subsequences in a certain pattern.
2
Since =
+ ∑
By using the above formula we can complete DFT directly .
5.3 Discuss the Radix – 2 algorithm
In Radix-2 algorithm number of output points (N). can be expressed as power of 2. i.e. = we
have is an integer
For ≥ , 2
= −
Now for ≥ is given by
= − − 2 −
for = + + , … … . . , −
Steps of Radix – 2 DIT FFT . algorithm :-
2
Twiddle factor =
(1) =
(2) 2 = −
(3) =
2
The competing formulas for FFT is given by
= + for ≤ ≤ −
= − − 2 − , ≤ ≤ −
For a 8 point DFT/FFT for = , , , , , , , the FFT values are as follows.
, , , , , , ,
= + 8 = + 8
= + 8 5 = + 8
= + 8 6 = + 8
= + 8 7 = + 8
+ =
+ =
Butterfly Diagram
= +
= −
Bit reversal
Bit reversal is useful in arranging the samples for calculating DIT algorithm for N=8
For N=8
put Sample epresentation eversal mple
0 000 000 0
1 001 100 4
2 010 010 2
3 011 110 6
4 100 001 1
5 101 101 5
6 110 011 3
7 111 111 7
Radix – 2
Divide the number of input samples by 2 till we reach minimum two samples.
Q- Draw and find FFT for a 8-point sequence
= ,,,,,,,
= , = , = , = , = , 5 = , 6 = ,
7 =
As per bit reversal
put S1 S2
=
=
=
=
=
=
=
=
5.4 Introduction to digital filter
Filter is defined as a device which rejects unwanted frequencies from the input signal and allow the
desired frequencies
When this input signal is a discrete time sequence then this filter is a digital filter
This filter whose present output sample depends on the present input sample and previous input
samples.
(ii) IIR Filter
This filter whose present output sample depends on present input, past input samples and output
samples.
Disadvantage:
Havard Architecture
The Havard architecture physically separates memory for their instruction & data requiring
dedicated buses for each of them.
Instructions and operands can therefore be fetched simultaneously
Most DSP processors are modified Havard architecture with two or three memory buses
It has multiport memor