Week - 4
Aim: To 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 next 20s & dryer runs for 50s
and
To Make a Simulink chart for the “Gear shift” logic as per below conditions:
Speed Range(kmph) Gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
Above 61 5
If the input Power present then it will check for water supply once water supply is on then, it is going to starts the process of soaking which will last for 200 seconds. Washing will be there for 100 seconds and rinsing will be for 20 seconds. The drying process is going to take 15 seconds then whole process will be completed. After completion of each state green lamp suppose to turn ON.



2. Gearshift logic
Here input speed is wearing according to this gear will change.
Gears are used to transmit power from one person to another part of the machine. in any bicycle or car and bikes also have the gear shift system. This gear shift helps cartoon mov forward in rivers or to remain in neutral a manual transmission of the gear shift is actually stick shift.

The logic for gearshifting: As input(speed) increases gear changes.

