Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Placements

Student Reviews


For Business


More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Loading...
Executive Programs
Workshops
For Business

Success Stories

Placements

Student Reviews

More

Projects

Blogs

Academic Training

Find Jobs

Informative Articles

We're Hiring!

phone+91 9342691281Log in
  1. Home/
  2. Aniket Kumbhar/
  3. Project 7 - SIMULINK - Control logic - State flow

Project 7 - SIMULINK - Control logic - State flow

AIM  :  To implement control logic of a “washing machine” using State flow as per the inputs provided in power & water supply. Make a Simulink chart for the “Gear shift” logic. Give speed input while the simulation is running & display the gear number.             …

    • Aniket Kumbhar

      updated on 06 Jun 2022

    AIM  : 

    1. To implement control logic of a “washing machine” using State flow as per the inputs provided in power & water supply.
    2. Make a Simulink chart for the “Gear shift” logic. Give speed input while the simulation is running & display the gear number.

                

    OBJECTIVE:

    • Generate a Simulink model to Washing Machine at various states.
    • Generate a Simulink model to Shift the Gear according to input speed.

     

    SOLUTION:

     

    The Washing Machine is a machine were many operations are done within a short time period. It performs the operations like soaking, washing, rinsing and drying the clothes w.r.t to the time programmer control which is inbuilt.

     

     

    The washing machine concept is pretty simple – it agitates your clothes in a soapy suds and water to remove any dirt and stains before spinning to drain the water after the cycle. The main components of a washing machine is the drum, which fills up with water, but did you know that washing machines actually have two drums, not one? Your average washing machine is made up of: 

     

    An inner drum. This is where you put the clothes when you’re ready to wash. You’ll notice this drum rotates a bit when you touch it and there are a lot of holes punched into the drum. These allow the water to come in and wash the clothes. 

     

    Paddles. These are ridges that lie on the edge of the drum and help move your clothes around while being washed. 

     

    Agitator. These are more common in top load machines and is a paddle in the middle that helps turn the clothes around in the soapy water. 

     

    The outer drum. This is not obvious when you look inside the washer, but there is another drum that holds the water while the inner drum or agitator rotates. This part is completely water tight to prevent your machine from leaking all over the bathroom or kitchen! 

     

    Thermostat and heating element. These control the temperature of the water and heats up the water to the specified temperature. 

     

    Pump. This removes the water from the drum after the wash. 

     

    Programmer. This controls the washing machine through all the steps from washing to rinsing and spin drying. 

     

    Pipes and valves. These allow the water in and out of the washer.

     

     

    State-Flow:

     

    State-flow provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables

     

    State-flow for Washing Machine:

    Input Conditions: -

     

    If the power supply is available, the system gets activated

    If the Water supply is not available, stop the process & indicate through LED

    Soaking time should be 200s followed by washing time of 100s.

    Then rinsing happens for next 20s & dryer runs for 50s

     

    After all the processes have completed turn on the finished LED

     

    Steps:

     

    1. Create a chart in Simulink which satisfies all the above mentioned conditions.
    2. Open the ‘Symbols panel’ and assign proper data. (i.e input or output).
    3. Connect LED lamps to each process and set them accordingly.
    4. Provide the output as a display.
    5. In order to view the output we have provided display block and lamps.

     

    Values 1 & 0 are given as input which switch ON and switch OFF the supply of power and water respectively.

     

    State-flow for Gear Shifting:

    Input Conditions: -

     

    Speed Range (kmph) 0 to 15 - Gear 1

    Speed Range (kmph) 16 to 25 - Gear 2

    Speed Range (kmph) 26 to 40 - Gear 3

    Speed Range (kmph) 41 to 60 - Gear 4

    Above 61 (kmph) - Gear 5

     

    Steps:

    1. Create a chart in Simulink which satisfies all the above mentioned conditions.
    2. Open the ‘Symbols panel’ and assign proper data. (i.e input or output).
    3. Provide the output as a display and also provide a scope view the graph.

     

    Output:

     

    WASHING MACHINE MODEL: -

     

    For Condition where Power=1 & Water=1

    For Condition where Power=0 & Water=1  

     

    For Condition where Power=1 & Water=0

    For Condition where Power=0 & Water=0

    GEAR SHIFT MODEL: -

     

    For speed < 15 (Gear 1)

    or speed < 25(Gear 2):

    For speed < 40(Gear 3):

    For speed < 60(Gear 4): 

    For speed > 60(Gear 5):

    Variation in Gear Shift:

    Conclusion   –

     

    Thus we have successfully prepared a Simulink model for an automatic Washing Machine which can perform various operations if proper input is provided by the user.

    Thus we have successfully prepared a Simulink model for a gear shifting mechanism which changes the gear for different ranges of speed

     

    Leave a comment

    Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by Aniket Kumbhar (24)

    Week 11 - Final project

    Objective:

    Aim: To Creation of CAD model considering Class A surface, Nominal thickness and Attachment strategy.   Objective: To Creation of CAD model considering Class A surface, Nominal thickness and Attachment strategy. Create thickened part using master section for reference Create the mounting features as per design guidelines…

    calendar

    05 Jan 2023 11:12 AM IST

    • CATIA
    Read more

    Hood design-Week 2

    Objective:

    HOOD DESIGN OF A CAR AIM : To design the hood of a car with the given input Outer panel and its dimensions.   Hood Introduction :   The hood (North American English) or bonnet (Commonwealth English) is the hinged cove over the engine of motor vehicles. Hoods can open to allow access to the engine compartment…

    calendar

    01 Nov 2022 10:50 AM IST

    • BIM
    • CAE
    • CFD
    • CSS
    • DEM
    • DESIGN
    • FEA
    • GIS
    • HEV
    • MBD
    Read more

    Week 8 - Challenge 4 - Bumper

    Objective:

    BUMPER DESIGN AIM: to make a model from the provided class-A surface.INTRODUCTION:CLASS-A SURFACE: a surface made by the designer which is given as an input to the plastic modeler to work on. It is aesthetic surfaceand the outer most surface.CLASS-B SURFACE: a surface below a certain thickness from the class-A…

    calendar

    18 Sep 2022 08:20 PM IST

    • BIM
    • CAE
    • CFD
    • CSS
    • DEM
    • DESIGN
    • FEA
    • GIS
    • HEV
    • MBD
    Read more

    Week 10- Assembly Workbench

    Objective:

    AIMIn this week’s assignment, you will have to create 2 assemblies according to the contentcovered in the course videos. You will be provided with 2D diagrams of the componentsand you will have to first create the individual part files and then create a completeassembly of those part files in the assembly workbench.…

    calendar

    14 Sep 2022 01:38 PM IST

    • BIM
    • CAE
    • CFD
    • CSS
    • DEM
    • FEA
    • GIS
    • HEV
    • MBD
    • QGIS
    Read more

    Schedule a counselling session

    Please enter your name
    Please enter a valid email
    Please enter a valid number

    Related Courses

    coursecard

    Design loads considered on bridges

    Recently launched

    10 Hours of Content

    coursecard

    Design of Steel Superstructure in Bridges

    Recently launched

    16 Hours of Content

    coursecard

    Design for Manufacturability (DFM)

    Recently launched

    11 Hours of Content

    coursecard

    CATIA for Medical Product Design

    Recently launched

    5 Hours of Content

    coursecardcoursetype

    Accelerated Career Program in Embedded Systems (On-Campus) Courseware Partner: IT-ITes SSC nasscom

    Recently launched

    0 Hours of Content

    Schedule a counselling session

    Please enter your name
    Please enter a valid email
    Please enter a valid number

                Do You Want To Showcase Your Technical Skills?
                Sign-Up for our projects.