Week - 4
AIM:
1. Implement control logic of a washing machine using stateflow as per given sequence:
. 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 the next 20s & dryer runs for 50s
after all the processes have completed turn on the finished LED
A washing machine is a machine used to wash various types of clothes without applying any physical effort . With a washing machine , you dont have to rub the clothes with your hand or squeeze them to remove the water from them .
Stages of washig machine :
Let us now undergo the stages of a washing machine which in turn helps you to understand better and pick the option depending on the basis of your need successfully.
Prewash , Washing , Rinsing , Spinning
MODELING of Washing machine in Simulink
s
STATE FLOW CHART OF WASHING MACHINE :
2 : Make a simulink chart for the gear shift logic as per the below condition :
Speed Range (km) Gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
above 61 5
state flow chart :

simulink chart :
