Week - 4
AIM
1. TO APPLY CONTROL LOGIC IN WASHING MACHINE PROCESS USING CHART BLOCK
2. TO MAKE A GEAR SHIFT LOGIC USING CHART BLOCK IN SIMULINK
WASHING MACHINE
Washing machine runs by a set of process[states] chain
- soaking
- washing
- rinsing
- drying
we need to apply a simple state control logic to execute our simulink model
chart block state logic
in below diagram we have applied the simple logic for our problem
- after the clothes put into the washing machine
------start [if power supply is provided (LED indicates YELLOW) ----- Take water [if water supply is connected(led glows BLUE]-----soak the clothes---after 200 sec-----wash----after 100 sec----rinse----after 20 sec---dry---after 50--off
If condition satisfies then display 1/if not display 0
afetr the process is completed succesfully state process led turns GREEN if not
indicates RED

Both the Power and water supply is provided
the output will be

output with no water supply

GEAR SHIFT LOGIC WRT TO SPEED
SPEED GEAR
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
Above 61 5
condition Explanation
Eg;if the input speed is 35kmph its satisfies the first three block but fails in fourth block
it comes back to third block and display 3rd gear

Speed can be controlled by using slider gain block
in below output @60kmph the gear shift to 5this how the logic works
