Challenge

STATEFLOW CHART

  • WASHING MACHINE:
  • AIM:

The main aim of the project is to implement the control logic of 'WASHING MACHINE' uaing stateflow as per given sequence.

GIVEN SEQUENCE

  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.Then rinsing happens for next 20s & dryer runs for 50s.
  4. After all the processes have completed turn on the finished LED.
  • MODEL:

  • EXPLANATION:

When power supply and water supply is off then the logic will terminate and if only power supply is on then also the result remain the same.Hence for the further process the powe and water supply switch should be in on condition and then the further process like soaking,washing,rinsing and dryer process will take place as per the control logic and all the above control logic is modelled in stateflow chart which is a graphical representation of a finite state machine consisting of states, transitions, and data. Indicate the input and output port in the symbol toolbar. If all the condition is satisified then indicator will indicate the green colour which means the completion of process.Power indicator and Water supply indicator is connected to the input of the stateflow chart and also the power switch and water supply switch is connected to the input of the chart and the remaining state indicator is connected to their respective output.

  • When power supply and water supply is OFF:

  • When only power supply is turned ON:

  • When only water supply is turned ON:

  • When power supply and water supply turned ON:

  • SOAKING:

  • SOAKING+WASHING:

  • SOAKING+WASHING+RINSING:

  • END:

  • CONCLUSION:

The control logic of washing machine has been implemented using stateflow chart as per the given sequence.

  • GEAR SHIFT INDICATOR:
  • AIM:

The main aim of the project is to create the simulink chart for gear shift indicator as per given speed range.

GIVEN CONDITION:

Speed range (kmph) Gear
0-15 1
16-25 2
26-40 3
41-60 4
Above 61 5
  • OBJECTIVE:

The Gear Shift Indicator in the driver display shows the current gear during manual gearshifting and when it is appropriate to engage the next gear for optimum fuel economy.For eco-driving during manual gear changing,it is important to drive in right gear and to change gear in good time.

  • MODEL:

In the above chart the power and speed are the input port and the condition is assigned as per given statement and control logic is created using stateflow chart.Once power is available the logic will sense the speed range and according to that speed range gear position is indicated in the gear position indicator.

  • When engine switch is OFF:

In the above model speed and power are taken as input which is connected to the constant blocks and gear is the output from the ststeflow chart.Engine switch is connected to the input power of the chart block and also indicator is also connected to the same which indicate whether the engine switch is in on or off condition.Slider bar is for manual acceleration and deacceleration and the value is indicated in the speedometer which is connected to the input of the chart and gear position which indicated the position of the current gear which is connected to the output of the chart.

  • When speed range is from 0-15 kmph:

  • When speed range is from 16-25 kmph:

  • When speed range is from 26-40 kmph:

  • When speed range is from 41-60 kmph:

  • When speed is above 61 kmph:

  • CONCLUSION:

The control logic has been implemented for gear shifting using stateflow chart and the result has been obtained.

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.