Week - 4
WASHING MACHINE MODEL
- Here to implement washing machine control logic, Power & water are taken as inputs for our State flow chart.
- In state flow chart the states are defined as mentioned in the assignment.
- Transitions from one state to another state are governed by the conditions based on inputs in some cases, while in other cases they are delay based.
- In some states outputs are generated upon entering into that state for indication purposes like water availability and process completion.
- Two indicating lamps are connected for the same.
- Scopes are connected in the output to view the stages at different times.
SHIFTGEAR MODEL
- For Gearshift logic using state space, I have used a total of 6 blocks.
- First block is entergear and then each gear in a different block.
- All these blocks are inter connected using the given speed conditions.
- These gear blocks output gear number as output upon entering and while exiting they will reset it.
- Speed is given as an input using a slider in order to vary the value during simulation.
- All the five outputs are connected to a display using Mux.