Week - 4
AIM:Implement control logic of a washing machine using Stateflow as per given sequence
objectives:
If the power supply is available, the system gets activated
If the Water supply is not available, stop the process & indicate through LED
Soaking time should be 200s followed by Washing time of 100s.
Then rinsing happens for next 20s & dryer runs for 50s
Here we using the chart block,constant block and display and scope and lamps
create a chart block for defining the stateflow as per the given conditions
we obtained the specific results from scope and display
2. Make a Simulink chart for the Gear shift logic as per below conditions
Speed Range Gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
Above 61 5
Give speed input while the simulation is running and display the gear number
to ceate simulink model of gear shift create a stateflow chart and we are using the chart block and constant block and slider block and display and scope
gears are changing by varying of speed