Week - 4
1) Modelling of washing machine in Simulink.
These are the following things we need for modelling the model in Simulink.
a) Lamp
b) Constant
c) Chart
d) State flow chart
e) Display
f) Toggle switch.
State flow chart:

Plane symbol

Power Supply ON:

Water Supply ON:

Soaking:

Washing:

Rising:

Drier:

End:

2) Gear Shift logic:
These are the following block set logic we require to build the Simulink model\
a) Display
b) Constant
c) State flow chart
d) Slider
State flow chart for Gear shift logic:

Symbol Plane:


The ouput is just similar as it is
0-15 -- 1st Gear

16-25 --- 2nd Gear

26-40 ---- 3rd Gear

41-60 --- 4th Gear

Above 61 --- 5th Gear
This is how we achieved the Gear Position at different speed from the slider input.