Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-t8hqh Total loading time: 0 Render date: 2024-12-01T04:43:24.124Z Has data issue: false hasContentIssue false

19 - Microwave Oven Control System Case Study

from Part IV - Real-Time Software Design Case Studies for Embedded Systems

Published online by Cambridge University Press:  05 March 2016

Hassan Gomaa
Affiliation:
George Mason University, Virginia
Get access

Summary

This chapter describes a case study for a microwave oven control system. The software design for this embedded system is typical of many consumer products. Thus, the microwave oven embedded system interfaces with the external environment by means of several sensors and actuators, supports a simple user interface, keeps track of time, and provides centralized control that necessitates the design of a state machine. As the microwave oven is an embedded system, the design approach benefits from starting with a systems engineering perspective of the total hardware/software system before the software modeling and design.

The problem is described in Section 19.1. Section 19.2 describes structural modeling of the microwave oven embedded system, in which the system and software context block definition diagrams are developed. Section 19.3 describes the use case model for the microwave oven system. Section 19.4 describes how the object and class structuring criteria are applied to this system. Section 19.5 describes the design of the state machines for controlling the microwave oven. Section 19.6 describes how dynamic interaction modeling is used to develop sequence diagrams from the use cases. Section 19.7 describes the design modeling for the microwave oven software system, which is designed as a concurrent component-based software architecture based on architectural structure and communication patterns. Section 19.8 describes the performance analysis of the real-time design. Section 19.9 describes the design of components, interfaces, and connectors of the component-based software architecture. Section 19.10 describes detailed software design and Section 19.11 describes system deployment.

PROBLEM DESCRIPTION

The microwave oven has input buttons for selecting Cooking Time, Start, Minute Plus, Time of Day, and Cancel, as well as a numeric keypad. It also has a display to show the cooking time left and time of day. In addition, the oven has a microwave heating element for cooking the food, a door sensor to sense when the door is open, and a weight sensor to detect if there is an item in the oven. Cooking is only permitted when the door is closed and when there is something in the oven. The oven has several actuators. Besides the heating element, there are light, beeper, and turntable actuators.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2016

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×