Week - 4
control logic of a “washing machine

Electricty comes in means POWER=1, it goes to CYCLE ON STATE, activate= 1, means when LAMP will become green,

if WATER=0, then cycleOFF state will be active, Value, STOP=1.

if WATER=1, it soaks for 200sec, SOAK=1 means LAMP ON, and when SOAKING STATE leaves SOAK=0, MEans Lamp again turn off.
SIMILiarly for , WASHING, RINSING & DRYING after that cycle stops with VALUE OF STOP=1.
you can slow animation speed to SLOW to visulize better.
https://drive.google.com/file/d/15BVLC1h-ep67cU1VJgThMtubSRW2y7aH/view?usp=sharing
Make a Simulink chart for the “Gear shift” :l

SPECIFIED ABOVE CONDITION ON EACH LINK. ACCORDING TO SPEED OF VEHICLE.

YOU CAN USE SLIDER GAIN TO INCREASE AND DECRESE INSTANTLY.


FOR GREATER THAN 15 AND LESS THAN 25 IT IS 2ND GEAR,.

FOR SPEED OF 25 TO 40 KMPH, 3RD GEAR IS ENGAGED.
FOR 4TH GEAR

FOR 5TH GEAR.
LINK :https://drive.google.com/file/d/1mJrZLWZ3ZfCEZ1ZhwFEkPBKwVrRnZSnI/view?usp=sharing
THANK YOU