Department of Electrical Engineering
IIT Kharagpur
Online Open Book Mid-semester Examination, 21st February 2022, 8 AM to 10 AM [2hours]
Subject EE30004: Embedded Systems
Submission Deadline 10:30 AM
Question.
Design an edge computing device which will monitor the temperature of a chamber which is
changing slowly and transmit the values to a master device as depicted below. Assume a sampling
time of 1 minute and a 16-bit AD converter. The 16-bit temperature values need to transmitted
only when there is a change in the temperature of more than one degree Celsius. Therefore a
change detection algorithm needs to run on the slave controller. The master controller is
interrupted and a data transfer takes place. Subsequently the Master controller saves the time
and the 16-bit temperature values in the SRAM.
A heater is controlled to maintain the temperature at 25 degree Celsius. Assume ambient
temperature to vary between 35 to 45 degree Celsius.
1- Draw neat 1and the detailed circuitries of
a. Analog interface of the sensor
b. Analog interface of Relay
c. ADC connection
You may use ADS8342: 16-Bit, 250kSPS, 4-Channel, Parallel Output
d. The Heater connection
e. The connections between slave and master with all power supplies
f. All pins of each controller needs to be connected and shown in a table
g. Connection of clocks (assume 10 MHz clock for both controllers)
1 Clumsy circuits will not be evaluated
2- Write the modular codes with self-explanatory comments2 for
a. Slave ADC ISS routine (use interrupt driven data transfer)
b. Slave change detection algorithm to detect changes beyond 1 degree Celsius
c. Delay routines to generate 1-minute delay
d. The ON-OFF control routine
e. The power-on reset program of the slave
f. The power-on reset program for the master
g. The ISS for the master
Use the following change detection algorithm
https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4391032
1-Temperature Sensor
LM35 Precision Centigrade Temperature Sensors
https://www.ti.com/lit/ds/symlink/lm35.pdf
2- Room heater : Use radiator type
https://m.usha.com/sites/default/files/catalog_brochures/Room-Heater.pdf
3- Relay
https://www.radiolocman.com/datasheet/pdf.html?di=135565
Please make necessary and justified assumptions for insufficient
information. Clearly mention these assumptions at the beginning of
your design.
Malpractice cases will be reported to the administration.
2 Codes without comments will not be evaluated