Professional Documents
Culture Documents
Design Specifications
In this project, the aim is to design and implement the control system for a simple domestic
microwave oven. The microwave oven is for the budget (student) market and the intention is to use
a small configurable device (CPLD or FPGA) rather than a micro controller. A specification for the
microwave oven is as following below:
* There are four power settings: defrost, low, medium and high
The behaviour of the system should be that expected of a domestic microwave oven. A partial list:
• The turntable must stop when the door is opened.
• The magnetron (microwave generator) must be switched off when the door is opened.
• If the program is stopped by opening the door, then the start button must be pressed to resume the
cooking after the door is closed.
• Pressing the start button while the door is open will have no effect.
• Changing the power setting will only take effect in the following circumstances:
* After the timer has reached zero
* After switching the mains power on or
* After cancelling the previous programme
• The effect of pressing the cancel button will depend on the current state of the microwave oven as
follows:
* If the oven is running, the magnetron, timer and turntable will be stopped and the interior light
will be switched off.
* If the oven is in the cooking state and the door is open then the current power setting will be
cleared.
The cooking time will be set by the use of an electro-mechanical timer. The timer will run while a
run signal is received. The timer will output a signal when the timer interval has elapsed.
• The power block will have a two bit input for the power settings, inputs to clear and set the power
level and a one bit pulse width modulated output.
When all components have been verified, then they should be integrated into a complete system.
At the beginning, the controller unit should be considered to design first. The controller component
will need to have a power source input and a timer clock mechanism input as well. The plan has
specified five user inputs: a door open safety switch, a power selection control program setting,
a timer control setting, a start button setting and a stop / cancel button input.
Topic 2
“Design a typical Toll Booth System in car park”
An automated parking system is also in place to help manage the car park and ensures those
shopping or working at the Centre will have a parking space when the customers visit. Therefore, the
goal of this case study is to design automatic barrier gate for car parking system and toll system.
- The sensor “I” indicates whether a money coin has been inserted in the collection box (or
basket), e.g. “No Coin” = “I” = “00”, or “5k vnd” = “I” = “01” ; “10k vnd” = “I” = “10” ; “20k
vnd” = “I” = “11”.
- Besides that, there are two output lights and an output alert alarm that present in this system.
➢ When a car pulls in and stop at the sensor “C” in the booth area, a red light will be
illuminated immediately.
➢ And it remains lit until at least 35k vnd has been deposited , after that, the red light goes
off and the green light is ready to lit.
➢ The green light is lit until the car leaves out of the booth.
➢ If a car exits out of the booth without paying the fully toll, then the red light remains lit and
the alert alarm will be activated at that time.
➢ The alert alarm remains activated state until another car enters the booth area.
A possible list of states as:
In theoretical definitions:
• Highest Priority
States that have the same next state for a given input transition should be given adjacent
assignments in the state map.
• Medium Priority
States that have a common ancestor should be given adjacent assignments in the state map.
• Lowest Priority
States with the same output for a given input should be given adjacent assignments in the state map.
The state map is like a Karnaugh map with states occupying cells within the map, the whole map
having sufficient rows and columns to represent all possible states.
It is not always possible to adhere to these guidelines when placing states onto the state map, e.g.
applying them to the tollbooth example could provide the following sets:
• Low priority
All states except Spaid set the red lamp on.