Challenge

Week - 4

Aim:- Implement control logic of a “Washing Machine” using State flow as per given sequence

Objective:-

  1. Understand and implement the logic control of a State Machine using State flow.
  2. If the power supply is available, the system gets activated
  3. If the Water supply is not available, stop the process & indicate through LED
  4. Soaking time should be 200s followed by Washing time of 100s.
  5. Then rinsing happens for next 20s & dryer runs for 50s

**After all the processes have completed turn on the finished LED**

Blocks Used:-

Constant :- To provide a constant signal to the Simulink environment

Flowchart :- Implement logic control of the washing machine

Scope :- To view the change of parameters with respect to time.

Lamps :- Glows according to the allotted signal

Simulink model :-

** Inputs 1 and 0 represents the availability and non-availability of the given inputs respectively**

Sub-systems:-

  • This shows the logic of the state washing machine.
  • If the water and power supply is available then the machine will proceed its further operations.
  • If either of them is absent the machine will stop with an interruption error.
  • The rest of the processes are explained in the above state flow chart.

Output :-

1) When both the power and water supply is provided: -The Green light will glow indicating the processes are successfully completed!

2) When either of the power or water in not provided: -The red light will glow, indicating the interruption in the process.

Conclusion :-

  1. The logical control of the state machine could be executed as per required and The real time changes in the simulation could also be observed if the simulation time is set to infinity and More features could be added like different modes of washing.
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.