Week - 4
OBJECTIVES:-
1). IMPLEMENT CONTROL OF A LOGIC "WASHING MACHINE" USING STATEFLOW AS PER GIVEN SEQUENCE:
- if the power supply is available ,the system gets activated
- if the water supply is not available ,stop the process and continue through the LED
- soaking time should be 200 sec folowed by washing time is 100 sec
- then rinsing happens for the next 20 sec and dryer runs for 50 sec.
after all the process have completed turn on the finished LED
2).make a simulink chart for the "GEAR SHIFT" logic as per the below conditions:
speed of range in (km) gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
above all 5
give speed input while the simulation is running & running the gear number
FOR QUESTION 1:
SOLUTION:
1).I mplement control of a logic "washing machine"using state flow as per the given sequence:
- if the power supply is available ,the system gets activated
- if the water supply is not available ,stop the process and continue
- soaking time should be 200 sec folowed by washing time is 100 sec
- then rinsing happens for the next 20 sec and dryer runs for 50 sec.
after all the process have completed turn on the finished LED
the washing is a type of machine it is used to wash the cloths of varoius types of fabrics and without applying any physical efforts to it.just we need to give the water and power.the washing machine enables you to wash your clothes automatically without having to supervise its operation.the washing machine automatically takes in the amount of water detergent can required and it also automatically sets the timer for washing,rinsing and drying as per the selected mode and the number of clothes.
stages involved in the washing machine:
there are 4 stages in the washing machine to complete c=wash the cloth
1. prewash
2. washing
3. rinsing
4. spinning
leaening these things essential to pick the right option at the right time.
PREWASH:- it is the option is called prewash indicated filling the drum with a certain level and mix up with the detergent powder. all this option helps to wash out all the stains including the stubborn or dirt very well from the clothes.it is the process of taking the amount of water is different foe the both front load and top load washing..
WASHING: at this particular of time, the machine is mixing the both water and detergent in turn moving the clothes all around the drum. after mixing the water and detergent with the clothes and the clothes are ready to wash.
RINSING: this stage is called multi talented option. this particular rinse option held responsible for taking soap water out the of the washer without facing any kind of difficulities.
SPINNING: it is the process of spinning the clothes means twist the clothes or sepertion of water from the clothes.and it is the very speed operation in the drum .
in this washing machine first step is adding the water and detergent in the drum after that we need to add the clothes in the drum and we fix the washing time and spinning time and drying time and end process .then after we remove the clothes from the machine.
Modelling of washing machine in the simulation:-
in this we use the blocks are
1.constant
2.state flow chart
3.toggel switch
4.lamps
5.display

now following are the steps involves in the process we go step by step:
1.switched OFF when non operational:

2.power on :

3. water supply ON:

4.soaking:

5.washing ON:

6.Rinsing:

7.end process:

This is what it looks like in the state flow chart:

just according to every step we define here execute accordingly.
FOR QUESTION2:
SOLUTION:
2).make a simulink chart for the "GEAR SHIFT" logic as per the below conditions:
speed of range in (km) gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
above all 5
give speed input while the simulation is running & running the gear number.
To effect a gear change,selecting first gear,for example, the driver depresses the clutch, disengaging the input shaft.and the linkage moves the shift fork to connect the 1st-2nd locking collar with 1st gear .in this we use the 5 gear system for the examples of GEAR SHIFT.
Before we going into the simulink for the transmission box simulation we need to follow the beloww conditions for the setup:
speed of range in (km) gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
above all 5
And by doing so we do that in a coded pattern in the state flow chart which we get to see the below:

These are the following block setup we needfor the setup:
1.state flow chart
2.slider
3.constant
4.display
5.lamps
and the output is just as similar as it is
0 to 15 1st gear

16 to 25 2nd Gear

26 to 40 3ed Gear

41 to 60 4th Gear

above 61 5th Gear

this is the i did the gear shift of logic in the simulink
CONCLUSION:
In the washing machine we use the 7 steps of output and when the water or power are equal to 1 it is in the ON state and the lamp will be glow and the water and power are equal to 0 it goes to off state and the lamp will not glow.
in the gear shift mechanism system we use the 5 gears each one cary a lamp to continue and in the first gear 0-15 the first lamp will be glow and, in the second stage 16-25 the lamp 2 will beglow ,and in the 3 rd stage 26-40 the lamp 3 will be glow, and in the 41-60 the lamp4 will be glow, and above 61 the lamp 5 will be glow , this are the conditions and terms are requrired to aGEAR SHIFT.