Published online by Cambridge University Press: 26 October 2011
Thermostat
Consider the problem of heating a room. Assume that the thermostat is used as a controller and we do not have the exact model of how the the thermostat functions. It is only known that the thermostat turns on the radiator when temperature is between 68 and 70 degrees and it turns off the radiator when temperature is between 80 and 82 degrees. This heating system can be modelled as an automaton shown in the figure below, where X denotes the temperature.
The automaton shown is a non deterministic automaton, in the sense that for a given initial condition it accepts the whole family of different executions (solutions).
Elevator Controller
Consider an elevator that serves two floors. Inputs to elevator are calls to a floor, either from inside the elevator or from the floor itself.
The following are the 3 possible inputs:
i) no calls (a)
ii) call to floor one (b)
iii) call to floor two. (c)
The following are the 6 possible states:
q1 – waiting on first floor
q2 – about to go up
q3 – going up
q4 – going down
q5 – waiting on second floor
q6 – about to go down.
The above transition diagram is without the accepting and rejecting states because the elevator design is simple and acceptance is not an issue. In designing a more complex elevator, with states like overloading, breakdown etc., accepting and rejecting states become significant.
To save this book to your Kindle, first ensure no-reply@cambridge.org 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.
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.
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.