Week - 4
QUESTION N0 1
Implement control logic of a “washing machine” using Stateflow as per given sequence
CONDITION 1 .... WHEN WATER AND POWER IS SUPPLIED ALL INDICATORS ARE IN GREEN
CONDITION 2 .... WHEN WATER AND POWER IS DISCONNECTED ALL INDICATORS ARE IN RED
- If the Water supply is not available, stop the process & indicate through LED
.
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
Gear 1 incicator with green
Gear 2 indicator with blue
Gear 3 indicator with ORANGE
Gear 4 indicator with yellow
Gear 5 indicator with blue