You are on page 1of 1

Introduction to Computers

Temperature control system


You have been asked to design a control system that monitors the temperature of four rooms.
The system must activate an alarm in case the temperature, of any room, is equal or higher
to a certain threshold.

The inputs of the system are:


• Value: is a 6-bit bus showing the temperature of a single room.
• ST signals (ST1, ST2, ST3, ST4) indicate which of the four rooms is sending the
temperature over Value bus. ST signals use positive logic.
• LST are 6-bit buses (LST1, LST2, LST3, LST4) provide the temperature limit for each of
the rooms.
The outputs of the system are:
• Alarm: 1-bit signal (positive logic) that must be active if the current room’s
temperature is equal or higher than its corresponding temperature limit.
• Activity is a 1-bit signal (positive logic) indicating that a room is sending its
temperature to be monitored.

Example:
Let’s imagine that the temperature sensor of the second room, sends a temperature (29) to
the control system. In that case, ST2 will be active while the rest of ST signals will remain
deactivated, and Value bus will contain 011101 (29 in NB). If the temperature limit of the
room (indicated with LST2 bus) is higher than 29, Alarm signal will remain deactivated.
Otherwise, if LST2 value is not higher than 29, Alarm must be activated. In both cases, Activity
signal must be activated.

NOTE
Design the system using functional blocks (when possible). You only have available (if needed)
comparators of 4-bit inputs.

You might also like