QUESTION:Implement control logic of a “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 & indicate through LED
- Soaking time should be 200s followed by Washing time of 100s.
- Then rinsing happens for next 20s & dryer runs for 50s
AIM:
- 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
DESCRIPTION:
After all the processes have completed turn on the finished LED A washing machine is a machine used to wash various types of clothes without applying any physical effort. With a washing machine, you don't have to rub the clothes with your hand or squeeze them to remove the water from them. The washing machine is also called a clothes washer or simply a washer. The washing machine enables you to wash your clothes automatically without having to supervise its operation. All you have to do is put the clothes in the machine and select the wash mode. The washing machine automatically takes in the amount of water and detergent required and it also automatically sets the timer for washing, rinsing, and drying as per the selected mode and the number of clothes. Stages of washing machine: Let us now undergo the stages of a washing machine which in turn helps you to understand better and pick the option depending on the basis of your need successfully.
• Prewash
• Washing
• Rinsing
• Spinning
Learning these things essential to pick the right option at the right time.
Prewash
The option called prewash indicated filling the drum with a certain water 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. This is possible as we soak the whole clothes placed into the drum. Finally, drain the water without making a second thought. Taking the amount of water is different for both front load and top load washers respectively. In the front-load washing machines, it is all up to the settings done by the single user. Whereas at the top load washers, there are water level sensors for filling the drum at a certain level and clean the entire load getting rid of stubborn stains successfully.
Washing
At this particular time, the machine uses agitation which is for mixing both water and detergent, in turn moving the clothes all around the drum. Generally, the top load washing machines come with an agitator or impeller placed at the center of the tub. While coming to front-load washers, it depends upon the rotation of the entire tub provided for enhancing better wash and cleaning the load ultimately. Moreover, the duration taken to complete the wash cycle is depends upon the settings option chosen by the user. Always the heavy load enhances high duration. Small or limited load enhances less duration.
Rinsing
The option called rinsing is known for the multi-talented option. During this particular cycle is on the flow, the soapy water taken from the clothes. And all the fresh or pure water is sparkled to the clothing available in the tub. This particular rinse option held responsible for taking soapy water out of the washer without facing any kind of difficulties. Finally, the agitation with plain water is considered the last step in the rinsing option.
Spinning
Spinning is done to dry the entire clothes before getting to the end of the actual wash cycle. And these several washing machines are going to be spun at different speeds. In turn, the speed of one particular spin is calculated in revolutions per minute (rpm) respectively. This indicates the speed of the spin extracting the whole amount of water from the clothes making it dry very well.
These are the different cycles done by each model available in the Indian market. Accordingly, the machine coming with these factors enhances high performance. All the things one should aware of these options and must pick the right one at the right time. For any doubts, mention a single comment in the following rectangular section.
So that we help you understand the terminology much better comparatively. Thank you. If you like to learn more interesting things related to washing machines, keep in touch with the best washing machine irrespective of time and place.
Modeling of Washing machine in Simulink: these are the following things we need for modeling the subs system of washing machine logical block settings:
1. Toggle switch
2. Constant
3. State flow chart
4. Lamps
5. Display
Block diagrams & stateflow:
CONTROL LOGIC OF A WASHING MACHINE:
It checks for the extent of dirt and grease, the amount of soap and water to add, direction of spin, and so on. The machine rebalances washing load to ensure correct spinning. Else, it reduces spinning speed if an imbalance is detected. Even distribution 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.
Now following with steps involves in the process we go step by step:
1. Switched OFF when non operational
2. Power On
3. Water supply
4.Soaking
5. Washing On
6.Rising
7.Drying
8.End
Symbol pane
Just according to every step we define here excute accordingly
OUTPUT:
RESULT: From above Implement ploting output & control logic of a “washing machine” using Stateflow as per given sequence is sucessfully done for given dataThus 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 system is completed.
Question:
Make a Simulink chart for the “Gear shift” logic as per below conditions:
Speed Range(kmph) Gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
Above 61 5
Give speed input while the simulation is running & display the gear number.
AIM:
Speed Range(kmph) Gear
0 to 15 1
16 to 25 2
26 to 40 3
41 to 60 4
Above 61 5
Give speed input while the simulation is running & display the gear number
DESCRIPTION:
The Transmission operating mechanism:
To effect a gear change, selecting first gear, for example, the driver depresses the clutch, disengaging the input shaft. Using the shift lever, the driver selects the first gear, and the linkage moves the shift fork to connect the 1st-2nd locking collar with 1st gear, locking it to the output shaft. Now, when the clutch is released, engaging the input shaft, the output shaft turns because ist gear is locked to the output shaft by the locking collar. As the driver speeds up, selecting 2nd gear simply involved repeating the process, but moving the shift lever to 2nd gear. The shift shaft moves the shift fork to disengage ist gear and engage 2nd gear. Releasing the clutch engages the input shaft again, this time routing power through 2nd gear. Changing to 3rd gear involves using a second shift linkage, shift fork, and locking collar, this one between 3rd and 4th gears.
Because the countershaft and output shaft turn at different speeds, moving from 1st to 2nd gear, trying to engage a higher gear while the vehicle is moving slower would be like trying to turn the shaft at two different speeds, which is impossible. Synchronizer rings are like tiny clutches, using friction to bring the locking collar and the gear to the same speed, at which point they easily mesh and power can be reapplied.

MATLAB/Simulink functions in a host computer. Theprogram uses two different sampling times which interact with each other during theexperiment. The simulations are run at a time step of 0
.
1ms, while the experimentruns at 1ms. In simulations, larger time steps cause the simulation to fail at the hardstops and pressure chambers. This is due to the high stiffness of the system. Usingsmaller time step in experiments does not fetch better results as the time constants of the Proportional PRV and the clutch piston are relatively larger.The model is then compiled to generate a C-code using a C-compiler. At the endof the build process, the C-code gets uploaded to the target computer which does allthe computation required to implement the experiment. The SimHydraulics package inMATLAB is computationally intensive and the target computer does not possess highenough computing power. There are three main tasks that had to be completed beforethe model can be run successfully in real-time in the target computer. First, a moreefficient C-compiler was identified and installed. This can be a critical issue when thetime step is very close to the Task Execution Time (TET) value as in this case. TheTET is the time taken by the computer to perform calculations for one time step. Itshould always be less than the time step. Initially, Watcom 1.9 C-compiler was usedbut it was found that the TET of the experiment with this compiler exceeded the timestep of the model
Model of the gear in the simulink:
The inputs are given for the power transmission.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.
CONTROL LOGIC OF A the gear in the simulink:
SYMBOL PANE:
Now following with steps involves in the process we go step by step:
Gear-1
Gear-2
Gear-3
Gear-4
Gear-5
Output:
RESULT: A simulink model is created for the gear shift logic and using slider gain the values are obtained.and that's how we did the Gear shift logic in the simulink.
As we can see the lamp is lit according to the gear it shows and the gear is at the current running according to the speed we selected from slider.