Ee8591 DSP
Ee8591 DSP
Ee8591 DSP
BODINAYKKANUR
DEPARTMENT OF ELECTRICAL AND ELECTRONICS
ENGINEERING
UNIT – I
2 Marks Q & A
1. Consider the analog signal x(t) = 3cos50πt + 10 sin 300πt – cos 100πt.
What is the nyquist rate for this signal?
Here ωmax=300π
So, 2πfm=300π
Hence, Nyquist rate Fs=2fm=300
3. Given a continuous time signal x(t)= 2cos500πt. What is the Nyquist rate
and fundamental frequency of the signal?
ω =500π
2πf= 250π
f= 250Hz
Nyquist rate Fs=2fm= 2x250= 500Hz
π 30n ⎞
6. Determine fundamental period of the signal Cos ⎛⎜ ⎟
⎝ 105 ⎠
⎛ 2π ⎞ 30π 105
Solution: Fundamental period, N= ⎜⎜ ⎟⎟m , Where ω o = = m,
⎝ ωo ⎠ 105 15
when m=1 & N = 7 periods.
∑
∞
= k =∞
x(k )h(n − k )
17. What is the causality condition for an LTI system?
The necessary and sufficient condition for causality of an LTI system
is, its unit sample response h(n)=0 for negative values of n i.e., h(n)=
0 for n<0
18. What is the necessary and sufficient condition on the impulse response
for stability?
The necessary and sufficient condition guaranteeing the stability of a
linear time-invariant system is that its impulse response is absolutely
∞
summable. ∑ h (k ) < ∞ .
−∞
16marks
3. Check whether following are linear, time invariant, causal and stable.
(i)y(n) = x(n)+nx(n+1)
(ii) y(n) = cos x(n)
(iii) y(n)= x(-n=5)
⎝2⎠ ⎝6 ⎠
6. A discrete time systems can be (i) Static or Dynamic, (ii) Linear or Non-
Linear, (iii) Time invariant or time varying & (iv) Stable or Unstable.
Examine the Following system with respect to the properties above y(n)=
x(n)+ nx(n+1)
7. Given y[n]= x[n2]. Determine whether the system is linear, time invariant,
memoryless and causal.
9. Explain the digital signal processing system with necessary sketches and
give its merits and demerits
2 Marks Q & A
⎣ i =0 ⎦
1. (b) z [x ( n − m ) ] = z −m X (z)
m
[ m d
dz ⎠
]
iii. Multiplication: z n x(n) = ⎛⎜ − z ⎞⎟ X(z)
⎝
iv. Scaling in z- domain: z [a x ( n ) ] = X (a z )
n −1
v. Time reversal : z [x ( − n ) ] = X ( z
−1
)
vi. Conjugation: z [x ( n )] = X ( z )
∗ ∗ ∗
⎡ n ⎤
vii. Convolution: ⎢ ∑ h ( n − m ) r ( m ) ⎥ = H ( z ) R ( z )
z
⎣ m =0 ⎦
viii. Initial value: z [x (0) ] = Lt X ( z )
z→∞
8. Find the stability of the system whose impulse response h(n)= ⎛⎜ ⎞⎟ u (n)
1
⎝2⎠
∞
For Stable, ∑ |h(k)| < ∞
−∞
∑ |h(k)| =2< ∞
−∞
10. What are the computational savings in evaluation of DFT using radix-2
FFT?
Multiplications: N/2 logN2
Additions: N/ogN2
11. State the meaning of bit reversal in FFT algorithm.
DIT FFT: I/P – bit reversal order & O/P – normal order
DIF FFT: O/P – bit reversal order & I/P – normal order
17. Write a short note on the frequency response of second order system.
A second order system is characterized by the difference equation
y ( n ) = 2 r cos ω 0 y ( n − 1) − r 2 y ( n − 2 ) + x ( n ) − r cos ω 0 x ( n − 1)
The frequency response of second order system depends on the
parameters “r” and “ ω0 ” in the difference equation the LTI system.
When the value of r is in the range of 0<r<1, the second order system
behave as a resonant filter with center frequency ω0 . When the value
of r is varied from 0 to 1 , the sharpness of resonant peak increases.
18. Define discrete Fourier series.
Consider a sequence xp(n) with a period of N samples so that xp(n)=xp(n/N);
Then the discrete Fourier series of the sequence xp(n) is defined as
N −1
X p (k ) = ∑x
n=0
p ( n ) e − j 2 πkn / N
19. What are the two basic differences between the Fourier transform of a
discrete time signal with the Fourier transform of a continuous time
signal?
For a continuous signal, the frequency range extends
from − ∞to + ∞.
On the other hand, the frequency range of a discrete – time signal extends
from − π to + π ( or 0 to 2π ) .
The Fourier transform of a continuous signal involves integration , whereas ,
the Fourier transform of a discrete – time signal involves summation
process.
20. Find the Fourier transform of a sequence x(n) = 1 for − 2 ≤ n ≤ 2
= 0 otherwise.
Solution:
∞ 2
X (ω ) = ∑
n = −∞
x ( n ) e − jω n = ∑e
n = −2
− jω n
j 2ω jω − jω − j 2ω
=e +e +1+ e +e
16 Marks Questions
1. Find the Z- Transform of following :
(a)x(n) = sin(nω0 )u(n)
(b) x(n) = cos(ωo n)u (n)
2. Determine the causal signal x(n) having the Z- Transform
1 + Z −1
X(Z) =
(a) 1 - Z −1 + 0.5Z − 2
1
X(Z)=
(b) 1 − Z + 0.5Z−2
−1
1 + 2z −1 + z −2
X(Z) =
(c) 1 + 4Z −1 + 4Z − 2
6. Find the Z- transform and its associated ROC for the following discrete time
1 1
signal x[n]= ( ) n u[n]+5 ( ) − n u[-n-1] (May/Jun 13)
3 2
2 Marks Q & A
6. The first five points of the eight point DFT of a real valued sequence are
{0.25, 0.125-j0.3018,0,0.125-j0.0518,0}. Determine the remaining three
points.
Answer: X(5)= -0.125-j0.3018, X(6)=0, X(7)= -0.125-j0.0518
12. What are the differences and similarities between DIF and DIT
algorithms?
Differences:
For DIT, the input is bit reversal while the output is in natural order,
whereas for DIF, the input is in natural order while the output is bit
reversed.
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. Bot algorithms can be done in place and both need
to perform bit reversal at some place during the computation.
FIR filters can be realized recursively and IIR filters can be realized
non-recursively. recursively.
Greater flexibility to control the shape of Less flexibility,usually
their magnitude response. limited to kind of filters.
Errors due to roundoff noise are less severe The roundoff noise in IIR
in FIR filters, mainly because feedback is not filters are more.
used.
n=0 k= 0, 1, 2……..N-1.
K =0 n= 0, 1 , 2 …..N-1 .
20. IF N-point sequence x(n) has N- point DFT X(k) then what is the DFT of
the following?
(i)x∗ (n) (ii)x∗ (N − n) (iii)x((n − l))N (iv)x(n)e j 2π ln/ N
Solution:
( i ) DFT { x ∗ ( n )} = X ∗ ( N − k )
( ii ) DFT { x ∗ ( N − n )} = X ∗ ( k )
( iii ) DFT { x (( n − l )) N } = X ( k ) e − j 2 π kl / N
( iv ) DFT { x ( n ) e j 2 π ln/ N } = X (( k − l )) N
16 Marks Questions
3. Develop a Radix-2, 8-point DIF FFT algorithm with neat flow chart.
10. Find the inverse DFT of X(k)= {7,-√2-j√2,-j, √2-j√2,1, √2+j√2,j,- √2+j√2}
UNIT – IV
2 Marks Q & A
2 The relation between analog The relation between analog and digital
. and digital frequency is frequency is nonlinear.
linear.
The magnitude and phase Due to the effect of warping, the phase
response of analog filter can response of analog filter cannot be
4
be preserved by choosing preserved . But the magnitude response can
.
low sampling time or high be preserved by prewarping.
sampling frequency.
12. The impulse response of an analog filter is shown in below figure. Let
h(n)= ha(nT). Where T=1sec. Determine the System function.
nt , 0<t <5
Solution : ha(nT)= {
10 − nT , 5 < t < 10
5 10
H(Z) = ∑ nZ −n + ∑ (10 − n)Z −n
n =0 n =5
20. What is the relation between digital and analog frequency in Bilinear
transformation?
In Bilinear transformation , the digital frequency and analog
frequency are related by the equation,
ΩT
Digital frequency, ω
−1
= 2 tan or
2
2 ω
Analog frequency Ω = tan
T 2
Where, Ω - Analog frequency & T - Sampling time period
16 Marks Questions
1. Obtain the Direct form –I, Direct form – II, Cascade form and Parallel form
structure for the system described by
(a ) y (n) = − 0.1y (n − 1) + 0.2 y (n − 2) + 3 x(n) + 3.6 x(n − 1) + 0.6 x(n − 2)
(b) y (n) = 0.5 y (n − 1) + 0.25 y (n − 2) + x(n) + x(n − 1)
2. Design an FIR linear phase, digital filter approximating the ideal frequency
response
⎧ π
⎪⎪1, for ω ≤
6
H d (ω ) = ⎨
⎪0, π
for ≤ ω ≤π
⎪⎩ 6
3. Determine the coefficients of a 11- tap filter based on the window method
with a Hamming window
and given that N=11. Using (a) Hanning Window (b) Hamming Window
2
5. Convert analog filter H a ( S ) = into digital filter by means of
(s + 1)(s + 2)
bilinear transformation when T = 1 sec
7. Design (a) Butterworth and (b)Chebyshev analog high pass filter that will
pass all signals of radian frequencies greater than200rad/sec with no more
than 2 dB attenuation and have a stop band attenuation of greater than 20
dB for all Ω less than 100rad/sec.
9. Design a chebyshev filter for the following specification using (a) bilinear
transformation (b) Impulse invariance method.
10. Realize the following system functions using a minimum number of
multipliers
1 −1 3 − 2 1 −3
(a) H ( z ) = 1 + z + z + z + z −4
2 4 2
1 1
(b) H ( z ) = 1 + z −1 + z − 2 + z −3
2 2
1 −1
2
) 1
(c) H ( z ) = (1 + z + z − 2 (1 + z −1 + z − 2
4
)
UNIT – V
2 Marks Q & A
CISC RISC
Emphasis on hardware Emphasis on software
Includes multi‐clock Single‐clock,
complex instructions reduced instruction only
Memory‐to‐memory: Register to register:
"LOAD" and "STORE" "LOAD" and "STORE"
incorporated in instructions are independent instructions
Small code sizes, Low cycles per second,
high cycles per second large code sizes
Transistors used for storing Spends more transistors
complex instructions on memory registers
If it reads as above (i.e. as CISC If it reads as above (i.e. as RISC
computer), computer),
it means a computer that has it means a computer that has
a Complex Instruction Set Chip as its a Reduced Instruction Set Chip as its
cpu. cpu
10. How DSP processor works faster than general purpose processors?
Digital signal processors are basically high speed microprocessors with hard
ware architecture and instruction set optimized for DSP operations. These
processors make extensive use of parallelism, Harvard architecture,
pipelining and dedicated hardware whenever possible to perform time
consuming operations
11. What is meant by pipeline technique? What are the different stages in
pipelining?
The pipeline technique is used to allow overall instruction executions to
overlap. That is where all four phases operate in parallel. By adapting this
technique, execution speed is increased.
16 Marks Questions