EE T65 Digital Signal Processing
EE T65 Digital Signal Processing
EE T65 Digital Signal Processing
UNIT I
1. Define DSP.
DSP - Digital Signal Processing.
It is defined as changing or analyzing information which is measured as discrete time sequences.
5. Define Signal.
Signal is a physical quantity that varies with respect to time , space or any other independent
variable.
(Or)
It is a mathematical representation of the system
Eg: y(t) = t. and x(t)= sin t.
6. Define system.
A set of components that are connected together to perform the particular task. E.g.; Filters
45. Is a discrete time signal described by the input output relation y[n]= rnx[n] time
invariant.
=nx[n] is linear?
Converting the analog signal to digital signal, this is performed by A/D converter
Processing Digital signal by digital system.
Converting the digital signal to analog signal, this is performed by D/A converter.
a. y(n) = e x(n)
b.y(n) = ax(n) +b
c. y(n) = Σnk=n0 x(k)
d.y(n) = Σn+1k= -∞ x(k)
e. y(n) = n x2(n)
f. y(n) = x(-n+2)
g.y(n) = nx(n)
h.y(n) = x(n) +C
i. y(n) = x(n) – x(n-1)
j. y(n) = x(-n)
k.y(n) = Δ x(n) where Δ x(n) = [x(n+1) – x(n)]
l. y(n) = g(n) x(n)
m. y(n) = x(n2)
n.y(n) = x2(n)
o.y(n) = cos x(n)
p.y(n) = x(n) cos ω0n
2.Compute the linear convolution of h(n) = {1,2,1} and x(n) ={1,-3,0,2,2}
3.Explain the concept of Energy and Power signals and determine whether the following are
energy or power signals
a. x(n) = (1/3)n u(n)
b.x(n) = sin (π / 4)n
4.The unit sample response h(n) of a system is represented by
h (n) = n2u(n+1) – 3 u(n) +2n u(n-1) for -5≤ n ≤5. Plot the unit sample response.
5.State and prove sampling theorem. How do you recover continuous signals from its samples?
Discuss the various parameters involved in sampling and reconstruction.
6.What is the input x(n) that will generate an output sequence
y(n) = {1,5,10,11,8,4,1} for a system with impulse response h(n) = {1,2,1}
7.Check whether the system defined by h(n) = [5 (1/2)n +4(1/3)n] u(n) is stable?
8.Explain the analog to digital conversion process and reconstruction of analog signal from
digital signal.
9.What are the advantages and disadvantages of digital signal processing compared with analog
signal processing?
10. Classify and explain different types of signals.
11. Explain the various elementary discrete time signals.
12. Explain the different types of mathematical operations that can be performed on a discrete
time signal.
13. Explain the different types of representation of discrete time signals.
14. Determine whether the systems having the following impulse responses are causal and stable
a. h(n) = 2n u(-n)
b.h(n) = sin nπ / 2
c. h(n) = sin nπ + δ (n)
d.h(n) = e2n u(n-1)
15. The impulse response of a linear time invariant system is h (n) = {1, 2, 1,-1}. Determine the
response of the system to the input signal x (n) = {1, 2, 3, 1}.
UNIT II
1. Define z transform?
The Z transform of a discrete time signal x(n) is defined as,
4. Explain about the roc of causal and anti causal finite sequences
For causal system the roc is entire z plane except z=0. For anti causal system it is entire z plane
except z=α .
20. What are the different methods to calculate the inverse Z transform?
i. Long division method
ii. Partial fraction expansion method
iii. Residue method
iv. Convolution method
When the output of the system depends only upon the present and past input sample, then it
is called causal system, otherwise if the system depends on future values of input then it is called
non-causal system
The impulse response of a system consist of infinite number of samples are called IIR system &
the impulse response of a system consist of finite number of samples are called FIR system.
28. What are the basic elements used to construct the block diagram of discrete time
system?
The basic elements used to construct the block diagram of discrete time Systems are Adder,
Constant multiplier &Unit delay element.
The values of z for which z – transform converges is called region of convergence (ROC). The z-
transform has an infinite power series; hence it is necessary to mention the ROC along with z-
transform.
Linearity
Time Shifting
Frequency shift or Frequency translation
Time reversal
Scaling
Differentiation in frequency domain
Time reversal
Convolution
Multiplication in time domain
Parseval’s theorem
PART-B
1. Determine the Z-transform and ROC of
13. Determine the system function and impulse response of the system described by the
difference equation y(n) = x(n) +2x(n-1)- 4x(n-2) + x(n-3)
14. Solve the difference equation y(n) - 4y(n-1) - +4 y(n-2) = x(n) – x(n-1) with the initial
condition y(-1) = y(-2) = 1
15. Find the impulse response of the system described by the difference equation y(n) = 0.7 y(n-
1) -0.1 y(n-2) +2 x(n) – x(n-2)
16. Determine the z- transform and ROC of the signal x (n) = [3 (2n) – 4 (3n)] u(n).
17. State and prove convolution theorem in z-transform.
18. Given x(n) = δ(n) + 2 δ(n-1) and y(n) = 3 δ(n+1) + δ(n)- δ(n-1). Find x(n) * y(n) and
X(z).Y(z).
Unit – III
1. Define DFT of a discrete time sequence.
The DFT is used to convert a finite discrete time sequence x(n) to an N point frequency domain
sequence X(k).The N point DFT of a finite sequence x(n) of length L,(L<N) is defined as,
12. How many multiplications and additions are required to compute N point DFT using
Radix-2 FFT?
The number of multiplications and additions required to compute N point DFT Using radix-2
FFT are N log2 N and N/2 log2 N respectively.
19. What are the differences and similarities between DIF and DIT algorithms?
Differences:
1) The input is bit reversed while the output is in natural order for DIT, whereas for DIF the
output is bit reversed while the input is in natural order.
2) The DIF butterfly is slightly different from the DIT butterfly, the difference being that the
complex multiplication takes place after the add-subtract operation in DIF.
Similarities:
Both algorithms require same number of operations to compute the DFT. Both algorithms can be
done in place and both need to perform bit reversal at some place during the computation.
21. What are the differences between DIT and DIF algorithms?
* For DIT the input is bit reversed and the output is in natural order, and in DIF the input is in
natural order and output is bit reversed.
* In butterfly the phase factor is multiplied before the add and subtract operation but in DIF it is
multiplied after add-subtract operation.
25. How many multiplication terms are required for doing DFT by expressional?
Expression Method and FFT method
Expression –N2
FFT - N /2 logN
28. Why the result of circular and linear convolution is not same ?
Circular convolution contains same number of samples as that of x(n) and h(n), while in linear
convolution, number of samples in the result(N) are, N =L +M -1. Where, L = Number of
samples in x(n). M = Number of samples in h(n). That is why the result of linear and circular
convolution is not same.
29. How to obtain same result from linear and circular convolution?
* Calculate the value of ‘N’, that means number of samples contained in linear convolution.
* By doing zero padding make the length of every sequence equal to number of samples
contained in linear convolution.
* Perform the circular convolution. The result of linear and circular convolution will be same.
30. How will you perform linear convolution from circular convolution?
* Calculate the value of ‘N’, that means number of samples contained in linear convolution.
* By doing zero padding make the length of every sequence equal to number of samples
contained in linear convolution.
* Perform the circular convolution. The result of linear and circular convolution will be same.
31. What methods are used to do linear filtering of long data sequences?
* Overlap save method.
* Overlap add method.
33. What is the way to reduce number of arithmetic operations during DFT computation?
Numbers of arithmetic operations involved in the computation of DFT are greatly reduced by
using different FFT algorithms as follows,
• Radix-2 FFT algorithm.
- Radix-2 Decimation In Time (DIT) algorithm.
- Radix-2 Decimation In Frequency (DIF) algorithm.
• Radix-4 FFT algorithm.
38. Compare the number of complex multiplications required for direct calculation and
FFT evolution of N – point DFT if N = 1024.
The number of complex multiplications required using direct computation is N2 = 10242
=1048576. The number of complex multiplications required using FFT is (N/2) log2N = (1024/2)
log21024= 5120.
40. Determine the number of multiplication required in finding 64-point DFT using Radix-
2 FFT algorithm.
The number of multiplications required to compute N point DFT Using radix-2 FFT is N
log2 N Here N = 64, Hence Number of multiplication = 64×log2 (64) = 384.
PART-B
1. Perform circular convolution of the sequence using DFT and IDFT technique
x1(n) = {2, 1,2,1} x2 (n) = {0,1,2,3}
2. Compute the DFT of the sequence x(n) = {1,1,1,1,1,1,0,0}
3. From the first principles obtain the signal flow graph for computing 8 – point DFT using
radix-2 DIF-FFT algorithm. An 8 point sequence is given by x(n)={2,2,2,2,1,1,1,1} compute its
8 point DFT of x(n) by radix-2 DIF-FFT
4. Explain any five properties of DFT.
5. Derive DIF – FFT algorithm. Draw its basic butterfly structure and compute the DFT x(n) = (-
1)n using radix 2 DIF – FFT algorithm.
6. Compute the DFT of the sequence x (n) = 1/3 δ (n) – 1/3 δ (n-1) +1/3 δ (n -2)
7. i) Compute the DFT of the sequence x (n) = (-1)n
ii) What are the differences and similarities between DIT – FFT and DIF – FFT algorithms?
8. Compute 4-point DFT of the sequence x (n) = (0, 1, 2, 3)
9. Explain the procedure for finding IDFT using FFT algorithm
10. Derive the decimation-in-frequency radix-2 FFT algorithm for evaluating DFT of the
discrete-time sequence and draw flow graph for 8-point DFT computation.
11. Explain the calculation of inverse DFT using FFT algorithm.
12. Compute the N point DFT of x{n) = an u(n) for cases |a| < 1 and |a| = 1
Unit – IV
1. What is a digital filter?
A digital filter is a device that eliminates noise and extracts the signal of interest from other
signals.
14. Why direct form-I and direct form-II are called as direct form structures?
The direct form-I and direct form-II structures are obtained directly from the corresponding
transfer function without any rearrangements. So these structures are called as direct form
structures.
Both direct form structures are sensitive to the effects of quantization errors in the coefficients.
So practically not preferred
17. What is the use of transpose operation?
If two digital structures have the same transfer function then they are called as equivalent
structures. By using the transpose operation, we can obtain equivalent structure from a given
realization structure.
28. Give the bilinear transform equation between s plane and z plane
s=2/T (z-1/z+1)
29. Why impulse invariant method is not preferred in the design of IIR filters other Than
low pass filter?
In this method the mapping from s plane to z plane is many to one. Thus there is an infinite
number of poles that map to the same location in the z plane, producing an aliasing effect. It is
inappropriate in designing high pass filters. Therefore this method is not much preferred.
33. What are the types of digital filter according to their impulse response?
The two digital filters are
IIR(Infinite impulse response)filter
FIR (Finite Impulse Response) filter.
2. The delay distortion is introduced when the delay is not constant with in the desired frequency
band
45. State the condition for a digital filter to be causal and stable
The response of the causal system to an input does not depend on future values of that input, but
depends only on the present and/or past values of the input.
A filter is said to be stable, bounded-input bounded output stable, if every bounded input
produces a bounded output. A bounded signal has amplitude that remains finite.
46. Mention any two procedures for digitizing the transfer function of an analog filter.
1. Impulse Invariant Technique
2. Bilinear Transform Technique
FIR IIR
Impulse response is finite Impulse Response is infinite
They have perfect linear phase They do not have perfect linear
phase
Non recursive Recursive
Greater flexibility to control the Less flexibility
shape of magnitude response
The various properties of a systems are Stability, Memory, Invertibility, Time invariance &
Linearity
PART-B
1. With suitable examples, describe the realization of linear phase FIR filters
2. Convert the following analog transfer function H(s) = (s+0.2) / [(s+0.2)2 + 4] into equivalent
digital transfer function H (z) by using impulse invariance method assuming T= 1
sec.
3. Convert the following analog transfer function H(s) = 1 / (s+2) (s+4) into equivalent digital
transfer function H (z) by using bilinear transformation with T = 0.5 sec.
4. Design a high pass filter of length 7 samples with cut off frequency of 2 rad / sec using
Hamming window. Plot its magnitude and phase response.
5. For the constraints
0.8 ≤ │H(ω)│≤ 1.0 , 0 ≤ ω ≤ 0.2π
│ H(ω)│ ≤ 0.2, 0.6 π ≤ ω ≤ π
With T= 1 sec determine the system function H(z) for a Butterworth filter using bilinear
transformation.
6. Discuss about the window functions used in design of FIR filters
7. Design a digital Chebyshev filter satisfying the following constraints with T= 1 sec, using
Bilinear transformation.
0.707 ≤ │H (ω) │≤ 1.0, 0 ≤ ω ≤ π/2
│ H (ω) │ ≤ 0.2, 3π/4 ≤ ω ≤ π
8. Using the bilinear transformation and a low pass analog Butterworth prototype, design a low
pass digital filter operating at a rate of 20 KHz and having pass band extending to a 4 KHz with a
maximum pass band attenuation of 0.5 dB and stop band starting at 5KHzwith a minimum stop
band attenuation of 10 dB.
9. Using the bilinear transformation and a low pass analog Chebyshev type I prototype, design a
low pass digital filter operating at a rate of 20 KHz and having pass band extending to a 4 KHz
with a maximum pass band attenuation of 0.5 dB and stop band starting at 5KHzwith a minimum
stop band attenuation of 10 dB.
10. Design a low pass FIR filter of order 7 with cut off frequency Π/3 rad/sec using Hanning
window
11. Convert the following analog filter into digital using IIM method.
H(S) = S2 /(S2 + 0.3S+0.02)
12. Design and realize a low pass filter using a rectangular window by taking 9 samples of w(n)
and with a cutoff frequency of 1.2 rad/sec.
13. Find the order N and the transfer function of analog Chebychev low pass filter for the
following specification: Pass band ripple 3 dB and pass band cut off frequency 1 KHz, stop band
attenuation of 16 dB at stop band frequency of 2 KHz.
Unit – V
1. What are all the blocks are used to represent the CT signals by its samples?
* Sampler
* Quantizer
7. Define truncation.
Truncating the sequence by multiplying with window function to get the finite value
23. How would you relate the steady-state noise power due to quantization and the b bits
representing the binary sequence?
24. What are the two kinds of limit cycle behavior in DSP?
The autocorrelation of a sequence is the correlation of a sequence with its shifted version, and
this indicates how fast the signal changes.
The effects due to finite precision representation of numbers in a digital system are called finite
word length effects.
27. List some of the finite word length effects in digital filters.
The floating-point number will have a mantissa part. In a given word size the bits allotted for
mantissa and exponent are fixed. The mantissa is used to represent a binary fraction number and
the exponent is a positive or negative binary integer. The value of the exponent can be
adjusted to move the position of binary point in mantissa. Hence this representation is called
floating point.
31. What are the two types of quantization employed in digital system?
The two types of quantization in digital system are Truncation and Rounding.
PART-B
1.Explain the quantization effects in design of digital filters.
2. Illustrate the impact of quantization of filter coefficients on the poles and zeros with an
example
3.Obtain the cascade and parallel realization of system described by difference equation
y(n) = -0.1 y(n-1) + 0.2 y(n-2) + 3x(n) +3.6 x(n-1) + 0.6 x(n-2)
4.Draw the structure for IIR filter in direct form – I and II for the following transfer function H
(z) = (2 + 3 z-1) (4+ 2 z-1 +3 z-2) / (1+0.6 z-1) (1+ z-1+0.5 z-2)
5.Obtain the direct form – I, direct form – II, cascade and parallel form of realization for the
system y(n) = -0.1 y(n-1) + 0.2 y(n-2) + 3 x(n) + 3.6 x (n-1) + 0.6 x(n-2)
6.Write short note on (a) Truncation and rounding. (b) Coefficient Quantization.
7.Explain about zero input limit cycle oscillations
8. Explain the structure of IIR system