Basics |
Case study: Alarm State MachineBuilding the machine
The states value will be stored in flipflops (each flipflop can be seen as a 1 bit memory).
(The two circuits will be studied and built here) We will just have to describe the conditions (using the inputs (Arm, Disarm, Intrusion, Time-Out), and the current state) to be in each state.
These conditions are the transition conditions and the stay conditions. To be in a state, you have to satisfy a transition condition and then a stay condition.
For this alarm, we have the following equations:
Hence, the complete conditions for each state:
Logic is done and can be easely construct when each flipflop correspond to only one state.
|