Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-c47g7 Total loading time: 0 Render date: 2024-04-16T04:09:12.761Z Has data issue: false hasContentIssue false

Appendix C - System Modelling

Published online by Cambridge University Press:  26 October 2011

P. K. Srimani
Affiliation:
Professor, Department of Computer Science, Bangalore University
S. F. B. Nasir
Affiliation:
Professor, Department of Computer Science, Bangalore University
Get access

Summary

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:

  1. i) no calls (a)

  2. ii) call to floor one (b)

  3. iii) call to floor two. (c)

The following are the 6 possible states:

  1. q1 – waiting on first floor

  2. q2 – about to go up

  3. q3 – going up

  4. q4 – going down

  5. q5 – waiting on second floor

  6. 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.

Type
Chapter
Information
Publisher: Foundation Books
Print publication year: 2007

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 coreplatform@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.

  • System Modelling
  • P. K. Srimani, Professor, Department of Computer Science, Bangalore University, S. F. B. Nasir, Professor, Department of Computer Science, Bangalore University
  • Book: A Textbook on Automata Theory
  • Online publication: 26 October 2011
  • Chapter DOI: https://doi.org/10.1017/UPO9788175968363.019
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.

  • System Modelling
  • P. K. Srimani, Professor, Department of Computer Science, Bangalore University, S. F. B. Nasir, Professor, Department of Computer Science, Bangalore University
  • Book: A Textbook on Automata Theory
  • Online publication: 26 October 2011
  • Chapter DOI: https://doi.org/10.1017/UPO9788175968363.019
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.

  • System Modelling
  • P. K. Srimani, Professor, Department of Computer Science, Bangalore University, S. F. B. Nasir, Professor, Department of Computer Science, Bangalore University
  • Book: A Textbook on Automata Theory
  • Online publication: 26 October 2011
  • Chapter DOI: https://doi.org/10.1017/UPO9788175968363.019
Available formats
×