Week - 4
WASHING MACHINE USING STATEFLOW
AIM : Implement control logic of a "WASHING MACHINE" using stateflow method.
REQUIREMENTS : Simulink-Chart, Constant Block, Display Block, Lamp.
PROCEDURE : 1. As per the given conditions, set a chart in accordance with the steps followed by the operating of washing
machine
2. The inputs and outputs are defined using "symbol pane".
3. Connecting inputs to constant block and outputs to the display unit. the lamp is used for indicate whether
the state is ON or OFF. red indicates OFF state and green indicates ON state.
RESULTS : Obtained control logic of a "WASHING MACHINE" using stateflow.
GEAR-SHIFT LOGIC
AIM : Make a Simulink chart for "GEAR-SHIFT" logic using stateflow
REQUIREMENTS : Simulink-chart, Slider block, Mux, Display block.
PROCEDURE : 1. Create a simulink chart in accordance with the conditions mentioned in the challenge.
2. The input and output is defined using "symbol pane".
3. The input is connected to the slider switch using constant and the output is given to a mux and its
value is obtained using display block.
RESULTS : Obtained simulink chart for "GEAR-SHIFT" LOGIC.