Week - 4
Aim:-
- 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
After all the processes have completed turn on the finished LED
2. 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
Give speed input while the simulation is running & display the gear number.
Principal:-
1)implement control logic of a "wasing machine "
A washing machine by spinning at 800-1600 rpm helps soap and dirt with it to leave the surface of the cloth via centrifugal force and into outlet pipes hence utilizing centrifugation to both clean and partially dry the clothes loaded in it
Soaking:-
First we dip clothes and run the machine 200-300rpm speed and powersupply can be applied and we due to the water supply at the machine this function customer need to select soak from a panel. Soak - This function is available with wash timer, In 42 min of washing 27 min is soak and 15 min machine will wash the clothes.
Washing :-
during the washing cycle and kept the clothes on the drum and it operation is done the water was flow at another drum
The dirty, soapy water is drained, then the washing machine is refilled and your clothes are "rewashed" in clean water. Spin: All the water is drained completely, then your clothes are spun very fast and excess water is removed thanks to centrifugal force.
Drying:-
Now the soaking and washing and rinsing operation is done and the washing machine is abser all water drop and it was creat some low temperature to drying the clothes
Using stateflow block diagram :-

Control logic of the washing machine :-
. The washing machine can be control of the power supply and it can flow the water The machine rebalances washing load to ensure correct spinning. Else, it reduces spinning speed if an imbalance is detected. Even distribution of washing load reduces spinning noise.

In the chart was assume the washing machine it can be control to washing the clothes and the given input as run it comes output and display on given data The system are observed for sometime then it is checked and the process is completed by green light as displayed.

2)
Make a Simulink chart for the “Gear shift” logic as per below condition:-
The gear 1 was run the 15km speed and the gear 2 is run the 25km and gear 3 is run the 45km and gear 4 is run at 60km speed and it can de calculate the dispaly

Conclution:-
The washing machine and the gear shift blocks was creat the simulink and run it sucessfully