You are on page 1of 2

Spring Mid-Semester Examination, 2012 - 2013

Deptt. of F.lectrical Engg., Subject: Embedded Systems (EE30004)


Total Marks: 20 Time: 2 hrs
(Answer Any Two questions, One from_e_a_ch_section)

Section A
1) a) The transfer function of a system is given as,
H(z)= z+O_.s .
(z + OAXz- 2)
Specify the ROC of H(z) and determine h[n] for the following conditions:
i) The system is causal
ii) The system is stable
iii) Can the given system be both causal and stable? [4]

b) A system is described by the difference equation, y[n +2]+ y[n] =r[n].


i) Find the response of the system when input r(k) is a unit step function.
ii) Find the response of the system when input
r[k] = [1 0 -1 0 1 0 -1 · · ·]
i
iii) Comment on the results in (i) and (ii). [6]

2) The desired frequency response of a low pass filter is given by


e- jZ(JJ' -% ~ OJ~%
HAej(JJ)=
l o, %<I~ ~Jl"
If a new filter coefficients are defined by h[n] = w[n ]hd [n ], where,
w[n]= 1 l~ n ~ 3
w[O]= w[4]= _!_
2
w[n] = 0, otherwise
find the response H(ej(JJ) of the new filter & compare jH(ej(JJ ~ with jH
d (ej(JJ ~. [10]

P.T.O.
Section B
Q.l The floating-point numbers can be represented on fixed-point processors using
the notation as M.N with a sign bit, where M represents the integer part and N
represents the fraction part.

You are required to implement a 15th order FIR filter with a cut off frequency of 1
radians on an ATmega32/ATmega16 processor.

Discuss the issues (point wise) in implementing this filter with fixed-point format on
this processor. [3] ,

Suppose you are required to implement this filter using M.N format. Take M=2 and
N=13.
Write subroutines for multiplication and addition· with this Q format and call these
q

subroutines to execute the filter. [3] ··

Discuss the improvement with respect to the 8-bit implementation.[2]


._,"'
~

Discuss the computational complexity with respect to the filter order for such a filter
with fractional coefficient?[2]

Q.2. Write an assembly language program using ARM-32 mnemonics to find the
cube root of a positive number. Derive the algorithm. [4]
Realize your program in a modular format using the following number
representation scheme. I

Write subroutines for division, multiplication and addition. Clearly write the
comments in your algorithm. [6] .,
H·=(-lr xl.Mx2E-l 5
s -7 MS.B, M -7l0bii'S E -7 5bii'S
I
1.
I

You might also like