Week - 4
Procedure:
Working Principle of Washing Machine:
A Washing Machine by spinning at 800-1600 rpm helps soap and dirt within it to leave the surface of the cloth by centrifugal force and into outlet pipes hence utilizing centrufugation to both clean and partially dry the clothes loaded in it. Thus the processes are electrically controlled such as the drum,valves, pump, motor & heating. The valve opens again and the dirty water drains out of the drums.The pump works to help get rid of the water. The valve lets clean water in again into the drums. The pump works to help get rid of water. The valve lets clean water in again into drums. The four process are:
Soaking:
It is used to dip clothes in detergent water to remove dirt from the clothes. In 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 wash cycle, a large plastic agitator(green) turns around, moving the clothes through water. When the wash is finished, the pump drains the water form the outer drum.
Rinsing:
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 are spun very fast and excess water is removed because of the centrifugal force.
Dryer:
They work by pushing warm dry air through your wet washing to extract moisture, then cooling the now humid air in a heat exchanger to condense the mositure, which is collected in a tank or pumped down the drain. The (now dry) air is reheated and the cycle repeats.
1) STATE-FLOW:
Systematic solution of a problem is possible with sequential, unambiguous and realizable finite process step set. This set is called "algorithm" and it is one of the most important part of the programming languages. In this study, it is represented how to learn algorithm by using Simulink Stateflow. In flow diagram-based algorithm learning.

Control Logic of a Washing Machine:
It checks for the extent of dirt and grease, the amount of soap and water to add, direction of spin, and so on. 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.

The two inputs are given for the power amd water supply. Once the inputs are given outputs are displayed by the flow chart as per given sequence. The system are observed for the sometime then it is checked and the process is completed by green light as displayed.

2) Gear Shift Logic:
A gear shift mechanism for a manual transmission includes a shaft axially movable for selecting shift planes and rotatable for engaging the gears defining the shift planes. The shaft is held in a reference shift plane by two helical springs.

Results:
1) Thus the control logic of a washing machine using stateflow is processes as per the given sequence and LED lights are turned to green colour an the system is completed.
2) A Simulink model is created for the gear shift logic and using slider gain the values are obtained.