Week - 4
1.
DESCRIPTION:
control logic for washing machine using stateflow
1. If the power supply is available, the system gets activated.
2. If the Water supply is not available, stop the process & indicate no water LED.
3. Soaking time is 200s and then Washing time is 100s.
4. Then rinsing happens for next 20s & dryer runs for 50s.
5. After all the processes have completed turn on the finished LED..
RESULT:
*Control Logic

* if power and water supply is off, then "no power" bulb glows blue.

* if the power is on and no water supply

* if power and water both are available

step wise results






2.
DESCRIPTION:
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
RESULT:
* CONTROL LOGIC

MODEL:

RESULT:
changing the speed using sliding controller
and running the model we get the gear number in the display.
1.

2.

3.

4.

5.
