Week - 4
1.
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
Control logic of a Washing machine
The main work going on the washing is
* Soaking
* Washing
* Rinsing
* Dryer
STATE-FLOW:
State flow is operating mode of system. This is one of the important part of programming language, this is a other method of flow diagram like algorithm. The flow diagram is like a base of algorithm.
Here first the condition is checked while executing the flow diagram.
RESULT:

Logic diagram:
Here two input are given for the power supply and water source. The input are given to and the output is displayed as per the given sequence
RESULT
Thus the control logic of the washing machine using state flow is processed as per the given sequence
2.
GEAR TRANSMISSION
A gear transmission system is the main part on an manual transmission vehicle, where the engine get smoot transmission. The shaft is held in a reference shift plan by two helical spring.
RESULT
Thus the simulink model is created for the gear shift logic using the slider gain the value for speed has obtained.