Challenge

Week - 4

Q1)

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

AIM - Implementation of control logic chart for Washing Machine using Stateflow

Steps->

1) Start the MATLAB software, go to blank model

2) Add the chart block

3) Design the stateflow chart

4) Connect the input and output blocks for provide the input value and output for measurment.

The Given blocks are used.

1) Chart - In chart block uses for design the stateflow logic in simulink for implement the logic.

2) Constant - This block is used for provide the constant imput value to the system.

3) Rocker Switch - Rocker switch is used for provide the supply for water and power.

4)Display - Display is used for display the some output received by statflow logic chart for study the working of washing machine and read the output function of washing machine.

5) LED block - This block is used for indication. Indicate and represent the function of ON and OFF and provide the input to system.

1. Water supply

2. Power supply

3.Washing

4. Soaking

5.Rinsing

6.Drying

Working - When input ( water and power supply ) is provide to the chart statflow block the water and supply is both are present the system is work in progress and functuning the various given block..one by one ( washing - soaking - Rinsing - Drying ) with provide the some delay time .. and all the system parameters are monitored by display and indicatiors.Indicators is indicate the funcuning ON or OFF.

Here all LED glown as Green means all process has been completed and all display output as 1.

Power OFF simulink system - https://drive.google.com/file/d/1ueDDS4OBT28PWW3XuRuwFqwTbVqcwqUX/view?usp=sharing

Symbols Plane with Stateflow chart - https://drive.google.com/file/d/1yfMwaKal38phFKNRDf4nwKeoQuaV4BZ1/view?usp=sharing

Power and water supply ON - https://drive.google.com/file/d/1DbhQgkH-gmjbwQB5L7HdEpWB324AkIa4/view?usp=sharing

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

AIM - IMPLEMENTATION OF CONTROL LOGIC FOR GEAR SHIFT USING STATEFLOW

Steps - >

1) Start the MATLAB software, go to blank model

2) Add the chart block

3) Design the stateflow chart

4) Connect the input and output blocks for provide the input value and output for measurment.

The Given blocks are used.

1) Chart - In chart block uses for design the stateflow logic in simulink for implement the logic.

3) Slider - It use for provide variable input speed to a simulink for understand relation between speed with gear.

2) Display - Display is used for display the some output received by statflow logic chart for study the working of washing machine and read the output function of washing machine.

4)LED block - This block is used for indication. Indicate and represent the function of ON and OFF and provide the input to system.

Working - 1) The slider blocks move from 0 to 100 for changes the input speed and provided to chart ( stateflow ) logic.

2)Control logic for gear shift is such that it should change the gear when the speed increases of decreases automatically.

3) When the speed between 0 to 15 it indicates the system in 1st gear, , the speeed is between 16 - 25 the gear shift in 2nd gear.

4) The speed is beeteween 26 to 40 = 3 th gear and

5) The speed is beeteween 41 to 60 = 4 th gear

Above 61 = 5 th gear

All speed parameter of gears <= define speed it exits condition.

All parameters are measured and stateflow run infinite time and system working.

All gear status indicate by LED ..

Simulink model - https://drive.google.com/file/d/1NcFFxsEp2MXWH9MWrJHu3r71I_jOQCYp/view?usp=sharing

Output - Gear 1 ) https://drive.google.com/file/d/1rD8c0adUbkhLUxoiA5upOYIko7KuzeG6/view?usp=sharing

Gear 2)https://drive.google.com/file/d/1WlhiSiVxBJyQkgckLbmcHiLrggp8r9m8/view?usp=sharing

Gear 3)https://drive.google.com/file/d/15-HuqgT1j2qmo4mkA8A0816Z0A-9iUPt/view?usp=sharing

Gear 4)https://drive.google.com/file/d/1WTqaS1SburxXra-vKr47auUdEw0Wza49/view?usp=sharing

Gear 5)https://drive.google.com/file/d/1l0_RVN7_VEF_6s_YTv9RhOuImOXjp5UO/view?usp=sharing

Symbol plane - https://drive.google.com/file/d/1a8eNz7Q1xL6yleyzMmn8qcY4r0B2IW87/view?usp=sharing

Output plot - https://drive.google.com/file/d/1_ENXxcJgYTaL1rP_7kZnR5iZVhWEYfsp/view?usp=sharing

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.