Automatic Lamps Control
This document outlines the design of a state machine for an automatic front lamp control system in vehicles. The system features three distinct states, with the default being "Lights Off." The control mechanism is governed by a selector switch with three positions: "Auto," "Parklamps," and "Headlamps." When the selector is set to Auto, it determines the state of the lamps based on external conditions. In the Parklamps position, only the Parklamps activate. Setting the selector to Headlamps illuminates both the Headlamps and Parklamps, while the Off position deactivates all lights.
Automatic Lamps Control
E N D
Presentation Transcript
Automatic Lamps Control • Design the state machine to solve the next problem • A customer is requesting a new functionality to control the front lamps of his new car. • It will be controlled by the next inputs: • It has 3 states: • The default state must be Lights Off • Transitions when selector is in Auto: • If the selector is moved to Parklamps, just the Parklamps must turn on • If the selector is moved to Headlamps, the Headlamps and Parklamps must turn on • If the selector is moved to Off, all the lights must turn off