Challenge

Week - 4

1)

Aim :

To Implement control logic of a “washing machine” using Stateflow.

Conditions :

  1. If the power supply is available, the system gets activated.
  2. If the Water supply is not available, stop the process & indicate through LED.
  3. Soaking time should be 200s followed by Washing time of 100s.
  4. Then rinsing happens for next 20s & dryer runs for 50.

flow chart for the given condition is made using the chart block in simulink.

inputs and outputs in the flow chart.

  • when the power is on and water is on all the lamps are glowing green

when the power is on and water is off the lamp for power green and water is red also the process is incomplete of end lamp is also red.

when the power is off and water is on the lamp for power is red and water is green also the process is incomplete of end lamp is also red.

2)

Aim :

To Make a Simulink chart for the “Gear shift” logic.

Conditions :

Speed Range(kmph) Gear

0 to 15 1

16 to 25 2

26 to 40 3

41 to 60 4

Above 61 5

  • Flowchart for the gears as per the conditions is done using the chart block in the flow chart.

  • In this picture we can see how the gear position changes when we change the vechile speed as per the condition we have given in the chart.

The google drive link for the model is attached below:

https://drive.google.com/file/d/1lIWLmjme8nQ2QkSfKCVs0e2BvG0KT9G9/view?usp=sharing

https://drive.google.com/file/d/1HPJIPUBKqyLJO-3ZVN7u7zrTxs7R69mU/view?usp=sharing

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.