Challenge

Week - 4

  1. 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

After all the processes have completed turn on the finished LED

If the power supply is available, the system gets activated and If the Water supply is not available, stop the process & indicate through LED:

State flow diagram:

Process:

When the supply is ON and the water level is not enough to run the system the the red LED will ON.

If the water level is enough:

When there is a enough water supply, then the process will start.

First the soaking will start and it will run for 200 sec.

After that the washing process will start and it will run for 100 sec,

After that rinsing process will starts and it will be run for 20sec.

Then the process of drying will starts and it will run 50 sec.

Then the LED will turn ON.

. Make a 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

Give speed input while the simulation is running & display the gear number.

Simulink chart for the model:

The machine at stant still condition:

When we given the supply and the speed is at above o condition:

Speed at between 0 and 15 the machine runs at the first gear,after 15 the machine runs in the second gear.

Speed at between 15 and 25 the machine runs at the second gear,after 25 the machine runs in the third gear.

Speed at between 25 and 40 the machine runs at the third gear,after 40 the machine runs in the fourth gear.

Speed at between 40 and 60 the machine runs at the fourth gear,after 60 the machine runs in the fifth gear.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.