Challenge

Week - 4

TASK-1:

AIM:

To implement control logic of a washing machine using Stateflow in Simulink'.

OBJECTIVE:

1. To implement the control logic of a washing machine using stateflow as per given sequence:

a) If the power supply is available, the system gets activated.

b) If the Water supply is not available, stop the process & indicate through LED.

c) Soaking time should be 200s followed by Washing time of 100s.

d) Then rinsing happens for next 20s & dryer runs for 50s.

After all the processes have completed turn on the finished LED.

MODEL:

The file which contains the model is attached with this report.

Pictorial Representation of Block Diagram:

Implementing control logic of a "washing machine" using Stateflow

parameters:

output:

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

BLOCK DIAGRAM

CHART DIAGRAM

PARAMETERS

OUTPUT
GEAR1

GEAR2

GEAR3

GEAR4

GEAR5

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.