Escolar Documentos
Profissional Documentos
Cultura Documentos
x(n)= {2,3,4,5,6}
�
x(-n)={6,5,4,3, 2}
�
x(-n+4)={6,5,4,3,2}
�
�1; for n =0
d ( n) = �
�0; for n �0
The unit step sequence is denoted as u(n) and is defined as
1; for n�0
�
u ( n) = �
0; for n<0
�
8. What is a causal system? Give an example.
A system is said to be causal if the output of the system at any time ‘n’ depends
only on present and past but does not depend on future inputs. In mathematical
terms, the output of a causal system satisfies an equation of the form,
y(n)=F[x(n),x(n-1),x(n-2)…….]
Example : y(n)=x(n)-x(n-1)
9.Test the stability of the system whose impulse response h(n)=(1/2)n u(n).
�
The condition for stability is � h( n ) < �
n =-�
� n 1
�1 2
n=0
=
1 - 0.5
= 2 <�
The output at any instant depends upon the present and past values of input
and past values of output. The non-recursive system is described by the
M
difference equation of the form y (n) = �bk x(n-k)
k =0
The output at any instant depends upon the present and past values of input
alone.
16.Determine the stability of the system, whose transfer function
Z2
H (Z ) =
Z 2 - 4Z + 3
Z2
Writing H(Z) in factored form, H (Z ) =
( Z - 3)( Z - 1)
The system function has one pole at z=1 and another pole at z=3, which lies
outside the unit circle. Hence, the system is unstable.
�2 �
17.Find the periodicity of x(n) = cos � �n
�7 �
2
w0 =
7
1
f 0 = ( irrational number )
7
Hence, x(n) is aperiodic signal.
18.Determine the range of values of the parameter ‘a’ for which the LTI system
with impulse response h(n)=an u(n) is stable.
�
For stability, � h( n) < �
n =-�
�
1
�a
n
Hence, = <�
n=0 1- a
The above geometric series converges, if |a|<1.
Therefore, the system is stable if |a|<1.
�2 n �
- j� �
19.Find the fundamental period for the sequence
g (n) = e �3 �
2
w0 =
3
1
f 0 = ( rational number )
3
Hence, the fundamental period is, N=3 secs.
20.Find the signal energy of x(n) = (1/2)n u(n).
Energy = lim E N
N ��
N
where, E N = �|x(n)|
n = -N
2
� � �
1
Energy = �|x(n)|2 = �|1/2|2n =
n=0 n=0
�|1/4|
n=0
n
=
1-0.25
= 1.33 J
�4 n � �2 n �
j� � j� �
21.Determine the fundamental period of the signal x ( n) = 1 + e �8 �
-e �5 �
4 2
w1 = and w2 =
8 5
f1 = 2/8 (rational number)
f2 = 1/5 (rational number)
Therefore, f1 = ¼ = k/N1 implies N1=4
f2 = 1/5 = k/N2 implies N2=5
The ratio of fundamental period is
N1/N2 = 4/5 = 0.8 (rational number)
Hence, x(n) is periodic with fundamental period 20secs .
22. List the properties of discrete time sinusoids.
A discrete time sinusoid is periodic only if its frequency f is a rational
number.
Discrete time sinusoids whose frequencies are separated by an integer
multiple of 2 are identical.
The highest rate of oscillation in a discrete time sinusoid is attained when
w = (or - ) or f = 1/2 (or -1/2).
23. Determine the signal y(n) = x(n-1) for the input signal
�n for - 3 �n �3
x ( n) = �
�0 else
Thus, x(n) = {3,2,1, 0,1,2,3}
�
24. Determine the odd & even parts of the DTS x(n)
x(n) = {1,0.5,0.5,1,1,1,1,0.5}
�
25. What is the condition that the signal x (n) = e an u ( n) to be an energy signal?
Energy = lim E N < �
N ��
N
where, E N = �|x(n)|
n=-N
2
� 2an
Energy = � e
n=0
1
Energy = <�
2a
1-e
The above series converges if e2a < 1.
26. Compute the energy of the signal
�n 0 �n �5
�
x ( n) = �10 - n 5 �n �10
�0 else
�
x(n) = {0,1,2,3,4,5,4,3,2,1,0}
10
It is aperiodic, hence energy = �[ x(n)]
n=0
2
= 2+8+18+32+25 = 85 Joules.
27.What is the overall impulse response of h1(n) & h2(n) when they are in
a)series b) parallel?
28. Find the energy and power of the signal x (n) = 2e j 3n for all n.
1 N 2
Power = lim � |x(n)|
N��2 N + 1 n=-N
1 N 4
= lim � 4 = lim ( 2 N + 1) = 4 watts
N��2 N + 1 n=-N N��2 N + 1
29.Determine whether the ramp signal is an energy or power signal.
x(n) = n u(n)
�n n �0
x ( n) = �
�0 else
N 2 N ( N + 1)(2 N + 1)
energy = lim � n = lim =�
N��n=0 N�� 6
1 N 2 1 � N ( N + 1)(2 N + 1) �
Power = lim � n = lim =�
N��2 N + 1 n=0 �
N ��2 N + 1 � 6 �
�
Hence, ramp signal is neither energy nor a power signal.
� n
�1 �
��� n �0
30. Determine the energy of the signal x ( n) = ��2 �
�n
�3 else
� �1 � 2n -1 � �1 � n � �1 � n
2n
Energy = � � � + � ( 3) = � � � + � � �
n = 0 �2 � n = -� n = 0 �4 � n = 1�9 �
1
1 4 9
Energy = + 9 = + = 2.4 Joules
1 1 3 8
1- 1-
4 9
A discrete time system is called dynamic if its output at any instant ‘n depends on
the present & past samples of input, & the dynamic system is said to have
.memory
g (n) = x (n) Check for linearity for
Given g (n) = x(n)
The output g(n) for an arbitrary input x1(n) is
g1 ( n) = x1 ( n)
And the output g(n) for input x2(n) is
g 2 ( n ) = x2 ( n )
�
( ie ) X ( Z ) = ZT �
x (n) �
� �= � x ( n ) Z
-n
n = -�
6. State the initial & final value theorems of Z – transform
Lt
Initial value theorem : x ( 0 ) = X (z)
Z ��
Lt
Final value theorem: x ( �) =
Z �1
( 1 - z -1 ) X ( z ) provided all poles of
( 1 - z ) X ( z ) lies inside the unit circle.
-1
x ( n ) = { 1,2,1} h ( n ) = { 1,1,1}
� �
2
X ( z) = � x ( n ) Z -n = 1 + 2z -1 + z -2
n =0
2
H ( z) = � h ( n ) Z -n = 1 + z -1 + z -2
n =0
Y ( z ) = X ( z ) H ( z ) = ( 1 + 2z -1 + z -2 ) ( 1 + z -1 + z -2 )
= 1 + 2z -1 + z -2 + z -1 + 2z -2 + z -3 + z -2 + 2z -3 + z -4 = 1 + 3z -1 + 4z -2 + 3z -3 + z -4
y ( n ) = { 1,3,4,3,1}
�
11. List any two properties of discrete time Fourier transform.
1)linearity:
If x1(n) DTFTX1(w) & X2(n) DTFT X2(w)
Then a1x1(n)+a2x2(n) DTFT a1X1(w)+a2X2(w)
2)time shifting:
If x(n) DTFT X(w) then
X(n-k) DTFT e-j w k X(w)
12. How can you find step response of a system if the impulse response h(n) is
known?
n
The step response of the system is s(n ) = � h k( )
k = -�
13. State the properties of Linear convolution
Commutativity: x(n)*h(n)=h(n)*x(n)
Associativity: x(n)*[y(n)*z(n)]=[x(n)*y(n)]*z(n)
Distributivity: x(n)*[y(n)+z(n)]=[x(n)*y(n)]+[x(n)*z(n)]
�Z � Z -1
n =0 n =0
15. state differentiation theorem of Z-transform
z
If x(n) �� � X ( z ) then
d
z
nx(n) �� �-z X ( z)
dz
x ( n ) = { 1,1,1,1} . h ( n ) = { 1,2,2,1}
16. Find the convolution sum for
� �
1 1 1 1
1 1 1 1
2 2 2 2
2 2 2 2
1 1 1 1
� n � n
�a � �Z �
X (z ) = � � �- � � �
n = 0�Z � n = 1�b�
a
for convergence , <1 or Z > a
Z
Z
<1 or Z < b
b
ROC of X ( Z ) is a < Z < b
16z 3
H (z ) =
( 2z - 1) ( 2z + 1) ( 4z - 1)
z3
H ( z) =
( Z - 0.5 ) ( z + 0.5 ) ( z - 0.25 )
The system function has multiple zeros located at z=0 and Poles located at
z=1/2,-1/2&1/4 all poles and zeros lies inside the unit circle, hence the system
is stable .
22.Define DTFT and IDTFT of a sequence?
The DTFT (Discrete Time Fourier Transform) of a sequence x(n) is defined as
�
X (w ) = �x (n )e
n =-�
- j wn
1
The IDTFT is defined as x(n)= = X (w ) e
�
- j wn
dw
2 -
n =-� n =1 n =1 �z � 1- a z - a
z
24.Given x(n)=u(n-1).Determine the z transform and ROC.
1
� � n�
�1 � 1
X ( z ) = �x( n) z - n = �z - n = �� �= z =
n =-� n =1 n =1 �z � 1 - 1 z -1
z
25.What are the properties of ROC?
i)The ROC cannot contain any poles
ii)The ROC must be a connected region
iii) The ROC of an LTI stable system contains the unit circle
iv) The ROC is a ring in the Z plane centered ay the origin
26.State initial and final value theorem of Z transform.
Lt
Initial value theorem : x ( 0 ) = X (z)
Z ��
Lt
Final value theorem : x ( �) =
Z �1
( 1 - z -1 ) X ( z )
27.Compute the Z-transform and ROC of the following finite duration signal
x ( n ) = { 1,2,5,7,0,1}
�
X ( n ) = d ( n + 2) + 2d ( n + 1) + 5d ( n ) + 7d ( n - 1) + d ( n - 3 )
X ( z ) = z 2 + 2z + 5 + 7z -1 + z -3
ROC is entire Z plane expect Z=0 and Z= �
28. Compute the Z transform and ROC of d ( n - k ) .
-k
X ( Z ) = � z -n = z
n =k
ROC is entire Z plane except z=0
DFT FFT
The radix 2 DIF FFT is an efficient algorithm for computing DFT. In this the
output sequence X(k) is divided in to smaller and smaller. The idea is to break N
point sequence in to two sequences ,x 1(n) and x2(n) consisting of the first N/2
points of x(n)and last N/2 points of x(n) respectively. Then we find N/2 point
sequences g1(n) and g2(n).
4.What is FFT?
FFT is a method for computing the DFT with reduced number of
calculations using symmetry and periodicity properties of twiddle factor W kN .
The computational efficiency is achieved by decomposing of an N-point DFT
into successively smaller DFTs to increase the speed of computation.
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
DFT
If x ( n) � X ( k )
DFT - j 2 kn0
Then,
x(n - n0 ) � X (k ) e N
Periodicity:
DFT
If x ( n) � X ( k )
�
( ie ) X ( Z ) = � x ( n ) Z -n
n = -�
where Z = re jw
�
X (Z ) Z = re jw = � [ x (n )r -n ] e - jwn
n = -�
if X (Z )converges for Z =1, then
�
X (w ) = � [ x (n )] e - jwn
n = -�
The Fourier transform is the Z transform of the sequence evaluated on the unit
circle.
Advantages:
Applications:
1) linear filtering
2) Correlation
3) Spectrum analysis
15) What is radix-2FFT?
An algorithm in which same memory devices are used to store input and output
data’s is known as in place computations in DIT and DIF algorithms.
17.What is zero padding? What are its uses?
Appending zeros to a sequence in order to increase the size or length of the
sequence is called Zero padding. In circular convolution the length of the
sequences must be same. If the length of the sequences are different they can be
made equal by zero padding.
18.How will you perform linear convolution using circular convolution?
i)Pad the sequences h(n) & x(n) with zeros so that they are of length N = N 1+N2-
1.
ii)Find the N-point DFT of h(n) & x(n)
iii)Multiply the DFT’s to form the product Y(K) = X(k) H(k).
iv)Find the inverse DFT of Y(k) that results in Y(n).
19)What are twiddle factors of the DFT?
N -1 - j 2 kn
X (K ) = � x (n )e N , k=0,1,2……..,N-1
n =0
- j 2
Let which is called as twiddle factor.
wN = e N
N -1
X (K ) = � x (n )wN kn
n =0
20.How many multiplication and additions are required to compute N point
DFT using radix 2 FFT?
No of additions required to compute N point DFT using radix 2 FFT is,
N log 2 N
No of multiplications required to compute N point DFT using radix 2 FFT is,
N
log 2 N
2
24. Draw the flow graph of the first stage DIT FFT algorithm for N=8.
DFT FFT
27.Draw the flow graph of a 4 point radix- 2 DIT-FFT butterfly structure for
DFT.
DFT FFT
Hence the percentage saving in addition is, 100 – (2048/ 65280 ) = 97%
Hence the percentage saving in multiplication is,100 – (1024/65536) = 98.5%
29.State circular frequency shift property of DFT.
DFT
If x ( n) � X ( k )
j 2 ln DFT
Then, x( n) e N
� X ( (k - l ) ) N
30.The first five points of the eight point DFT of a real valued sequence are
0.25, 0, 0.125-j0.3018, 0, 0.125-j0.0518. Determine the remaining three points.
X (k ) = X * ( N - k )
With N=8,
X (5) = X * (3) = 0
X (6) = X * (2) = 0.125 + j 0.3018
X (7) = X * (1) = 0
31.What is meant by in place computation in FFT algorithm?
An algorithm in which same memory devices are used to store input and output
data’s
The magnitude response of the Chebyshev filter exhibits ripple either in pass
band or in stop band according to the type.
The poles of the Chebyshev filter lies on an ellipse.
The frequency response curve starts from unity odd values of N, and starts
1
from for even values of N.
1+ e2
Type 1 chebyshev filters are all pole filters that exhibits equiripple behavior in
the pass band and monotonically characteristics in the stop band. On the other
hand, the family of type-2 chebyshev filter contains both poles and zeros and
exhibits a monotonic behavior in the pass band and an equiripple behavior in
the stop band
5. What are properties that are maintained same in the transfer of analog filter
into a digital filter?
i). The j W axis in the s-plane should map into the unit circle in the z-plane.
Thus there will be a direct relationship between the two frequency variables in
the two domains.
ii). The left half of the s-plane should map into the inside of the unit circle in the
z-plane .Thus a stable analog filter will be converted to a stable digital filter.
6. What is the mapping procedure between s-plane and z-plane in the method
of mapping using IIT? What are its characteristics?
1 1
�
s - pi 1 - e pi T Z -1
i). The left half of s-plane maps inside the unit circle in the z-plane
ii). The right half of s-plane maps outside the unit circle in the z-plane
iii). The j W axis maps on to the perimeter of the unit circle in the z-plane
1
H (Z) =
1 - e -T Z -1
8. Why impulse invariant method is not preferred in the design of IIR filter
other than low pass filters?
2�z - 1�
S=
T �
� + 1�
z �
relationship between w and W . But for large values of w the relationship are
non-linear, this non-linearity introduces distortion in the frequency axis. This is
known as warping effect. This effect compresses the magnitude and phase
response at high frequencies.
ADVANTAGES:
For the same filter specification the order of FIR filter can be as high as 5
to 10 times that in a IIR filter design
Large storage requirements needed
Powerful computational facilities required for the implementation
16. Distinguish between FIR and IIR filters?
1. These filters can be easily These filters do not have linear phase
designed to have perfectly
linear phase
2. FIR filters can be realized IIR filters are easily realized recursively
recursively and non-
recursively
3. Greater flexibility to control the Less flexibility, usually limited to
shape of their magnitude specific kind of filters
response
4. Errors due to round off noise The round off noise in IIR filters are
are less severe in filters, mainly more
because feedback is not used.
17. What are the design techniques of designing FIR filters?
There are three well-known methods for designing FIR filters with linear
phase. These are 1. Window method 2. Frequency sampling method 3. Optimal
or minimax design method.
For a linear phase filter q (w )a w . The linear phase filter did not alter the
shape of the original signal. If the phase response of the filter is non linear the
output signal may be distorted one. In many cases a linear phase characteristic is
required throughout the pass band of the filter to preserve the shape of a given
signal with in the pass band. IIR filter cannot produce a linear phase. The FIR
filter can give linear phase, when the impulse response of the filter is symmetric
about its mid point.
19. What is the condition for the impulse response of FIR filter to satisfy for
constant phase delay or linear phase?
j 2 k
sk = e 2N
, k = 1,2,....2N for N odd
j (2k -1)
sk = e 2N
, k = 1,2,....2N for N even
In designing FIR filter using Fourier series method the infinite duration
impulse response is truncated at n= + (N-1)/2. Direct truncation of the series
will lead to fixed percentage overshoots and undershoots before and after an
approximated discontinuity in the frequency response
One possible way of finding an FIR filter that approximates H(e jw)
would be to truncate the infinite Fourier series at n= + (N-1)/2. Abrupt
truncation of the series will lead to oscillation both in pass band and in stop
band. This phenomenon is known as Gibbs phenomenon.
FIR filters are used in applications where there is a need for a linear phase filter.
� 2n �N - 1 �
�1 - for n �� �
wT (n) = � N - 1 �2 �
�0 else
�
� �2 n � �N - 1 �
�0.5 + 0.46 cos � � for n �� �
w H ( n) = � �N - 1 � �2 �
�0 else
�
26. If the impulse response of the symmetric linear phase FIR filter of length 5
is h[n] = {2,3,0,x,y}, then find the values of x and y.
X ( z) =
( 1 + 0.25 z -1 )
( 1 + 0.5z -1 ) ( 1 + 0.5 z -1 + 0.25 z -2 )
H ( z) =
( 1 + 0.25z )
-1
& H 2 ( z) =
1
1
( 1 + 0.5 z )
-1
( 1 + 0.5z -1 + 0.25z -2 )
2 -1 2 -2
H ( z) = +z + z
3 3
hardware elements included in the program controller are the program counter,
the status and control register, the stack, and the address-generation logic.
The ’54x device architecture is built around eight major 16-bit buses:
One program-read bus (PB) which carries the instruction code and
immediate operands from program memory
Two data-read buses (CB, DB) and one data-write bus (EB), which
interconnect to various elements, such as the CPU, data-address
generation logic (DAGEN), program-address generation logic
(PAGEN),on-chip peripherals, and data memory
The CB and DB carry the operands read from data memory.The EB
carries the data to be written to memory.
Four address buses (PAB, CAB, DAB, and EAB), which carry the
addresses needed for instruction execution
6. Give the merits and demerits of VLIW architecture.
Merits:
The instruction issue logic is very simple.
Clock cycles required for implementing the instructions are shorter than
super scalar processor.
The controller has complete control for detecting ILP
VLIW can fit more execution unit on a given chip space because of simple
instruction issue logic.
Demerits:
i) Compiler complexity
ii) Track of instruction scheduling
iii) Increased memory usage.
iv) High power consumption.
7. List the factors that influence the selection of DSP processor for an
application.
Arithmetic Format
Data Width
Speed
Memory Organization
Ease of Development
Cost
Power Consumption & Management
8. Define pipelining in DSPs.
one to six instructions can be active in any given cycle, each instruction at a
different stage of completion. Typically, the pipeline is full with a sequential set
of instructions, each at one of the six stages. When a PC discontinuity occurs,
such as during a branch, call, or return, one or more stages of the pipe- line may
be temporarily unused.
Immediate Addressing
Absolute Addressing
Accumulator Addressing
Direct Addressing
Indirect Addressing
Memory-Mapped Register Addressing
Stack Addressing
10. State how a DS processor is applicable for motor control applications.
The ’54x direct memory access (DMA) controller transfers data between
points in the memory map without intervention by the CPU. The DMA allows
movements of data to and from internal program/data memory, internal
peripherals (such as the McBSPs), or external memory devices to occur in the
background of CPU operation. The DMA has six independent programmable
channels, allowing six different contexts for DMA operation.
Von Neumann
Same memory holds data, instructions.
A single set of address/data buses between CPU and memory
Harvard
Separate memories for data and instructions.
Two sets of address/data buses between CPU and memory
14. List the various applications of DSPs.