Challenge

Week - 4

1,

Objectives are;

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

This is the pictorial representation of washing machine model, inside the chart box;

The input parameters are Watersupply and Powersupply and we are given the output parameters water, soaking, washing, rinsing, drying and cycle which is end of process.

We are given 430 seconds as simulation time for whole cycle which is sufficient.

Green colour lamp ON condition and Red colour is for lamp OFF condition. The time delays are provided for each states such as given in the question.

Output:

Condition 1 :- When water supply is OFF,

From above diagram it is clear that when there is no water supply the no water lamp or indicator is ON (green). The simulink file is attached below.

Condition 2 :- When the water supply is ON,

By providing the watersupply, all the states have been executed and the final process or cycle completion indicator is ON (green).

2,

The given logics are,

Speed Range(kmph) Gear

0 to 15 1

16 to 25 2

26 to 40 3

41 to 60 4

Above 61 5

Ramp input is given where the speed is increasing with the time, the output is given into a display, while the simulation is running gear number display on display block. Inside the chart block is shown below,

The gear is shifted according to the given speed range.

Conclusion:

Created a stateflow for gearshift using simulink and the results are satisfactory. The simulink file is attached below.

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.