Challenge

Week - 4

1) Implement control logic of a “washing machine” using Stateflow as per given sequence:

CHALLENGE:

  1. First open the simulink page then draw the chart block next inside the chart derive the states
  2. First state is powersupply and next water supply next other operation state in the washing machine flow chart
  3. Powersupply to water supply some condition given by state flow chart if PS==1 go to next state if PS==0 state flow return to the power supply state
  4. Next condition is water supply state.If WS==1 go to next state if WS==0 state flow return to the power supply state At the same time WS==0 go to directly stop state
  5. If WS==1 go to soaking state after 200s go to washing state then after 100s go to rinsing state after 20s next go to dryer state rinsing's timeing water flow stoped because after the rinsing state go to dryer state so water not need
  6. After 50 the sec of dryer state flow will be stop
  7. Constant input block Connected to the chart inputs PS and WS but water supply input connected by rocker switch also
  8. Outputs are connected by displays and also outputs are link with lamp blocks

2)Make a Simulink chart for the “Gear shift” logic as per below conditions:

  • First open the simulink page then draw the chart block next inside the chart derive the states
  • First state is First gear state and second gear state, third gear state next fourth and fifth gear state this all flowly arranged
  • First gear state to second gear state some condition given by state flow chart if IN>15 go to next state if IN<=15 state flow return to the second gear state
  • Next condition is second gear state to third gear state .If IN>25 go to next state if IN<=25 state flow return to the second gear state
  • Next condition is third gear state to fourth gear state .If IN>40 go to next state if IN<=40 state flow return to the third gear state
  • Next condition is fourth gear state to fifth gear state .If IN>60 go to next state if IN<=61 state flow return to the fourth gear state
  • Constant input block connected to chart input.At the same time constant inputblock connected by slider block also because we are need veriable speed input
  • Outputs are connected by displays
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.