Sei sulla pagina 1di 2

EEE ZG512 (Comprehensive Exam) Second Semester 2013-2014 Page 1 of 2

Birla Institute of Technology & Science, Pilani


Work-Integrated Learning Programmes Division
Second Semester 2013-2014
Comprehensive Examination (EC-3 Regular)

Course No. : EEE ZG512
Course Title : EMBEDDED SYSTEM DESIGN
Nature of Exam : Open Book
Weightage : 50%
Duration : 3 Hours
Date of Exam : 05/04/2014 (FN)
Note:
1. Please follow all the Instructions to Candidates given on the cover page of the answer book.
2. All parts of a question should be answered consecutively. Each answer should start from a fresh page.
3. Assumptions made if any, should be stated clearly at the beginning of your answer.

Q.1. (a) The size of execute packet in VLIW architecture is usually smaller than the size of the
fetch packet. True or False? Elucidate. [1 + 2 = 3]
(b) Which of the following execute packets for DSP 6455 are invalid and why?
1. ADD .S1 A0, A1, A2 || SHR .S1 A3, A5, and A4
2. ADD .S1X A0, A1, A2 || SHR .S2X A0, A1, and A2

Q.2. What is the difference between Native data width and Full data width of a Digital Signal
Processor? Elucidate with example. [2]

Q.3. A CAN bus uses Wired OR logic. Four devices A, B, C, D are attempting to gain control
over the bus at the same time. Device A is attempting to send 4 bytes of data to device whose
address is 002
H.
Device B is attempting to send 6 bytes of data to address 010
H
. Device C
attempts to receive 4 bytes of data from address 010
H
. Device D attempts to send 7 bytes of
data to receive at address 010
H
. Who will gain control over the bus? Show the complete
arbitration process. [3]

Q.4. Is what is zero-overhead looping? Why is this mechanism included in most DSP architectures?
[2]

Q.5. Is it possible to reduce the power consumption of an embedded system without modifying the
hardware? If so mention at least 2 methods. [2]

Q.6. For the task set given below, compute the task schedule for 24 time units using RMS, EDF
Algorithms. You can assume that all tasks are in the ready state initially. Is this set of
processes schedulable using RMS and or EDF [4]

Task Computational
Time units
Deadline and Period cycle
time units
T1 2 8
T2 1 5
T3 3 6

Q.7. A smart garage system is to be designed using 8051RE2 [20]
System Requirements
o The capacity of the garage is 2000 cars
o System is used in underground parking lot of a shopping complex
o Each user of the garage has a remote unit which he can use for opening and closing of
the garage door
o Remote unit has only a single button
o User is to retrieve the car at any point of time
o A LCD display is available indicating the number of cars in the garage
o System runs from a standard power inlet available in the garage
o When the number of cars reaches 2000, the LCD displays FULL
o When there are no cars, the LCD displays EMPTY

No. of Pages = 2
No. of Questions = 8

EEE ZG512 (Comprehensive Exam) Second Semester 2013-2014 Page 2 of 2
EEE ZG512 (EC-3 Regular) Second Semester 2013-2014 Page 2


System Specifications
o Remote unit button toggles the condition of the garage door- ie the door is opened it is
closed and vice versa
o The remote unit is short distance and works on IR
o A DC motor is used for opening and closing the door. The motor is a 50V-3A motor
o Maximum frequency input to the motor system cannot exceed 100 KHz
o The system should be able to distinguish between a person and a car
o A switch is available that can be closed only by the weight of a car
o System is used in shopping complete. You can assume that a valet parking system is
followed-This indicates that only one person leaves the garage after the car is parked
and only a single person enters the garage to retrieve the car
o The system also has to distinguish between entry and exit.You have to develop a
scheme to distinguish between entry and exit of person/car[ Hint: Use any number of
IR sensor pairs as required]
o Whether a car enters or a valet enters, the door remains open for a period of five
minutes
o The door can close after 5 minutes or when the valet uses the remote
o The remote can be used inside as well as outside the garage
o Three large exhaust fans maintain the temperature on the garage
o The fans speed is modified at an interval of every 3 hours[speed modified according to
the time of the day]
o All fans rotate at the same speed.
o The movement of the exhaust fans is controlled by DC Motors
o The DC motors used for the exhaust fan is of the same type as the one used by the
garage door.

(a) What are the on-chip peripherals that you will use to implement this design and why?
(b) How would you do the hardware- software partitioning? Mention the functionalities which
will be implemented in hardware and the ones which will be implemented using software.
(c) Show the complete block diagram for this system. Assumptions made [If any] should be
highlighted.
(d) Initialize all the required on-chip peripherals of the microcontroller.[ Show initialization of
each peripherals separately and also mention the global initializations ]


Q.8. To an LPC 2378 processor, a sensor which gives an analog output of range 0-3V has to be
interfaced. The data from the sensor has to be read out at the end of every 5 minutes and
checked for any anomality[ YOU can assume that the sensor gives out latest sensed value
every 5 minutes]In case of anomality an audio alarm is raised. A user button is made available.
If the user presses the button the digital data of the last sampled data should be made available
on one of port pins of LPC2378 [this may be connected to a display device- You need not
show the interface to display device , only data has to be made available on port pins].
Initialize the on-chip peripherals(so as to meet the specifications) which are required to
perform the functionality and mention how this can be achieved in detail. The assumptions
made if any has to be highlighted. [14]


*************

Potrebbero piacerti anche