Home /
Expert Answers /
Other /
question-the-functioning-of-a-washing-machine-is-illustrated-using-a-state-diagram-figure-1-i-draw-t
(Answered): Question The functioning of a washing machine is illustrated using a state diagram (Figure 1). i) D ...
Question The functioning of a washing machine is illustrated using a state diagram (Figure 1). i) Draw the flow diagram of the functioning to the least detail. ii) Redraw the flow diagram using a sub-routine based preseantation. Start! User initiates Door closed Ready Fill water Function complete Timeout Full level detected Fault cleared Timeout Spin Out of balance Motor failure Fault Heat water Function complete Motor failure Out of balance Required temperature reached Rinse Wash Function complete Figure 1 Figure 1 The functioning of the washing machine is further explained in details as follows: When switched on, the machine first enters a Ready state. If the door is closed and the user initiates a wash, then the machine first loads with water. A level sensor detects when this is complete. The machine will also measure the time taken to fill. If it does not fill within the allotted time, then a fault is assumed. This may be due to inadequate water pressure or a faulty valve mechanism The use of time-out is a low-cost alternative to sensing the water flow or pressure itself. The fill state is followed by a water heating state. Again, a time-out occurs if the water is not heated in an allotted time. The process continues as shown, each state having a 'successful' exit condition, as well as one which leads to the fault state.