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

Control logic of a “washing machine” using Stateflow:

In case of washing machine all the task perform by it base on centrifugal force.In this process all the seperation of solid and liquid partical is done.The mane task performed by washing machine is sockind,washing,rensing and drying.

Given data for stateflow:

Socking=200 sec

Washing= 100 sec

Rensing=20 sec

Drying=50 sec

Stateflow Chart:

Simulation Diagram:

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.

Gearshift:

The gearshift is used to move a vehicle forward, in reverse, or remain in neutral. On cars with a manual transmission, the gearshift is actually a stick shift.with change in speed of vehical automatically gear will changes.

Speed Range(kmph) Gear

0 to 15 1

16 to 25 2

26 to 40 3

41 to 60 4

Above 61 5

Chart for Gear Shift:

SIMULATION BLOCK DIAGRAM:

Gear Simulation Results Usung Slider Gain:

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.