Challenge

Week - 4

AIM :

  • To implement control logic of a "Washing Machine" using State flow as per given sequence.
  • Make a Simulink chart for the " Gear Shift" logic as per given condition.

OBJECTIVE :

  • Implement a control logic of a "Washing Machine" using state flow as per given sequence.Create a model and operate the model logic system and display the output of the results by using lamp indicator.
  • create a model for "Gear shifting logic" as per given conditions. Given the speed input while simulation is running and display the fear number.

EXPLANATION : 

TASK 1:

State Flow :

State Flow provides a graphical language that includes state transition diagrams,flow charts,state transition tables and truth tables. By using State Flow to describe how MATLAB algorithms and simulink models react to input signals,events and time based condition .

Control logic :

Control logic is model systems logic using state machines,Flowchart and truth tables.

Explanation of control logic of a washing machine using state flow :

 State Flow is a simulink tool to implement the state machine. Here,the model systems logic of as washing machine using state flow has been done.

step 1: Create a chart and enter the given input condition.

Given 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 Rising happens for next 20s & dryer runs for 50s.

 

    After all the process have completed turn on the finished LED.

Step 2 : After entering the input conditions in the chart, Go to symbols pane and assign the given variable. (Example: input data , Output data,etc) 

Step 3 : Given the input values for turning ON or OFF for the power supply and water supply.

conditions:

       if value = 1,Power and water supply will turn ON;

       if value = 0,power and water supply will turn OFF;

Step 4 : Use ' display ' block and 'Lamp' indicator to display the results.

                          WASHING MACHINE                                                 

TASK 2:

Gear shifting Mechanism :

        Mechanical devices that enable the driver to engage gears in such a way as to obtain the desired transmission ratio are called ' shifting Mechanism'.

Explanation for gear shifting Mechansim using SIMULINK :

       Step 1: Create a chart and enter the given conditions for gear shifting.

                   Given condition :

                    Speed Range (kmph)         Gear 

                        0 to  15                          1

                        16 to 25                         2

                        26 to 40                         3

                        41 to 60                         4

                        Above 61                        5

      Step 2: After entering the input conditions in the chart,Go to symbol pane and assig the given variable.(Example : Input data,Output data ,etc)

      Step 3: Connect the ' slider gain' to vary the speed while simulation is running.

      Step 4: Create constant and giving value 1 and 0 for turning on and off.

      Step 5: Create ' Lamp ' to indicate the power is on or off.

      Step 6:  Use 'display' block to display the gear position.

CONTROL LOGIC OF A WASHING MACHINE : 

  I checks for the extent of dirt and grease, the amount of soap and water to add,direction of spin and so on. The machine rebalance washing load to ensure correct spining.else it reduce spinning speed if an imbalance it detected.Even distribition of washing load reduces spinning noise.

 

The two inputs are given for the power and water supply. once the inputs are given outputs are displayed by the flow chart as per the given sequence.The system are observed for sometime then it is checked and the process is completed by green light as displayed.

By varying the speed(parameter) in the speedometer (slider gain) gear position will change accroding to the given condition.

GEAR SHIFT LOGIC :

   A gear shift mechanism for a manual transmission includes a shaft axially movable for selecting shift planes and ratatable for engaging the gear defining the shift planes. The shafts is held in a reference shift plane by two helical springs.

Results :

1. Thus the control logic of a washing machine using stateflow is processed as per the given sequence and LED lights are turns to the green colour and the subsystem is completed.

2. A simulink model is created for the gear shift logic and using slider gain the value are obatained.

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.