Week - 4
Q1-To implement control logic of a washing machine using stateflow in simulink.
MODEL-THE FILLE (SEVENTH) WHICH CONTAINS THE MODEL IS ATTACHED WITH THIS REPORT
we have given WATER,SOAK,WASHING,RINSING ,DRYER,CYCLE as outputs of the chart
we have given our WATER_SUPPLY&POWER_SUPPLY as inputs of the chart.
CONDITION 1-we should not provide water supply and check for output
CONDITION 2-WHEN WATER SUPPLY IS ON
CONCLUSION--"THE SIMULATION OF THE WASHING MACHINE USING STATE FLOW IS DONE AND THE RESULT IS SATISFACTORY.
Q2-to make a simulink chart for the GEAR SHIFT logic.
range(kmph) gear speed
1 0 to 15
2 16 to 20
3 26 to 40
4 41 to 60
5 above 61
MODEL- The file (eight) which contains the model of gear shift is attached with this report.
here we give SPEED as an INPUT for the chart.
here we give SPEED as an OUTPUT for the chart
INPUT- we use slider gain to provide input to the chart,,,,,I'm changing my speed values from o to100 using slider gain during the simulation
(GEAR1-speed range:0 to 15kmph,input speed:10kmph),,(GEAR2:speed range:16 to 25kmph,,input speed:20kmph),,(GEAR3:speed range:26 to40kmph,input speed:30kmph),,(GEAR4:SPEED RANGE:41 to60kmph,,input speed:50kmph),,(GEAR5:speed range:above 60kmph,,input speed:80kmph)
CONCLUTION----"CREATED A STATE FLOW FOR GEAR SHIFT USING SIMULINK AND THE RESULTS ARE SATISFACTORY......