All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM To implement control logic of a “washing machine” using Stateflow as per the defined sequence and also to create a Simulink chart for the “Gear shift” logic as per the defined conditions. INTRODUCTION 1. SIMULINK: Simulink is a MATLAB-based graphical programming…
Laasya Priya Nidamarty
updated on 11 Mar 2021
To implement control logic of a “washing machine” using Stateflow as per the defined sequence and also to create a Simulink chart for the “Gear shift” logic as per the defined conditions.
Simulink is a MATLAB-based graphical programming environment for modeling, simulating, and analyzing multidomain dynamical systems. Its primary interface is a graphical block diagramming tool and a customizable set of block libraries. It offers tight integration with the rest of the MATLAB environment and can either drive MATLAB or be scripted from it. Simulink is widely used in automatic control and digital signal processing for multidomain simulation and model-based design. [1]
Stateflow® provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables. One can use Stateflow to describe how MATLAB® algorithms and Simulink® models react to input signals, events, and time-based conditions. Stateflow enables you to design and develop supervisory control, task scheduling, fault management, communication protocols, user interfaces, and hybrid systems. With Stateflow, the user can model combinatorial and sequential decision logic that can be simulated as a block within a Simulink model or executed as an object in MATLAB. Graphical animation enables the user to analyze and debug the logic while it is executing. Edit-time and run-time checks ensure design consistency and completeness before implementation. [2]
[3] A washing machine (laundry machine, clothes washer, or washer) is a home appliance used to wash laundry. The term is mostly applied to machines that use water as opposed to dry cleaning (which uses alternative cleaning fluids and is performed by specialist businesses) or ultrasonic cleaners. The user adds laundry detergent, which is sold in liquid or powder form, to the wash water. The earliest washing machines simply carried out a washing action when loaded with clothes and soap, filled with hot water, and started. Over time machines became more and more automated, first with complex electromechanical controllers, then fully electronic controllers; users put clothes into the machine, select a suitable program via a switch, start the machine, and come back to remove clean and slightly damp clothes at the end of the cycle. The controller starts and stops many different processes including pumps and valves to fill and empty the drum with water, heating, and rotating at different speeds, with different combinations of settings for different fabrics.
Washing: Many front-loading machines have internal electrical heating elements to heat the wash water, to near boiling if desired. The rate of chemical cleaning action of the detergent and other laundry chemicals increases greatly with temperature, in accordance with the Arrhenius equation. Washing machines with internal heaters can use special detergents formulated to release different chemical ingredients at different temperatures, allowing different type of stains and soils to be cleaned from the clothes as the wash water is heated up by the electrical heater. However, higher-temperature washing uses more energy, and many fabrics and elastics are damaged at higher temperatures. Temperatures exceeding 40 °C (104 °F) have the undesirable effect of inactivating the enzymes when using biological detergent. Many machines are cold-fill, connected to cold water only, which they heat to operating temperature. Where water can be heated more cheaply or with less carbon dioxide emission than by electricity, cold-fill operation is inefficient. Front loaders need to use low-sudsing detergents because the tumbling action of the drum folds air into the clothes load that can cause over-sudsing and overflows. However, due to efficient use of water and detergent, the sudsing issue with front-loaders can be controlled by simply using less detergent, without lessening cleaning action.
Rinsing: Washing machines perform several rinses after the main wash to remove most of the detergent. Modern washing machines use less water due to environmental concerns; however, this has led to the problem of poor rinsing on many washing machines on the market, which can be a problem to people who are sensitive to detergents. The Allergy UK website suggests re-running the rinse cycle or rerunning the entire wash cycle without detergent. In response to complaints, many washing machines allow the user to select additional rinse cycles, at the expense of higher water usage and longer cycle time. Bosch for example, in its allergy wash program, incorporates an additional 3-minute rinse cycle with water of at least 60 degree Celsius to rinse off detergent residues and any allergen.
Spinning: Higher spin speeds, along with larger tub diameters, remove more water, leading to faster drying. On the other hand, avoid ironing can be obtained not using spin cycle in the washing machine. If a heated clothes-dryer is used after the wash and spin, energy use is reduced if more water has been removed from clothes. However, faster spinning can crease clothes more. Also, mechanical wear on bearings increases rapidly with rotational speed, reducing life. Early machines would spin at 300 rpm and, because of lack of any mechanical suspension, would often shake and vibrate. In 1976, most front-loading washing machines spun at around 700 rpm, or less. Separate spin-driers, without washing functionality, are available for specialized applications. For example, a small high-speed centrifuge machine may be provided in locker rooms of communal swimming pools to allow wet swimsuits to be substantially dried to a slightly damp condition after daily use.
Maintenance wash: Many home washing machines use a plastic, rather than metal, outer shell to contain the wash water; residue can build up on the plastic tub over time. Some manufacturers advise users to perform a regular maintenance or "freshening" wash to clean the inside of the washing machine of any mold, bacteria, encrusted detergent, and unspecified dirt more effectively than with a normal wash. A maintenance wash is performed without any laundry, on the hottest wash program if there is a heater, adding substances such as white vinegar, 100 grams of citric acid, a detergent with bleaching properties, or a proprietary washing machine cleaner. The first injection of water goes into the sump so the machine can be allowed to fill for about 30 seconds before adding cleaning substances.
[4] A gear stick (rarely spelled gearstick), gear lever (both UK English), gearshift or shifter (both U.S. English) is a metal lever attached to the shift assembly in an automobile transmission. The term gear stick mostly refers to the shift lever of a manual transmission, while in an automatic transmission, a similar lever is known as a gear selector. A gear stick will normally be used to change gear whilst depressing the clutch pedal with the left foot to disengage the engine from the drivetrain and wheels.
A knob, variously called gear knob, shift knob, gear shift knob or stick shift knob, forms the handle for the gear stick. Typically, the gear knob includes a diagram of the shift pattern of the gear selection system, i.e. the positions to which the gear stick should be moved when selecting a gear. In some older manual transmission vehicles, the knob may incorporate a switch to engage an overdrive; in some automatic transmission vehicles it may incorporate a switch to engage a special mode such as a sports mode or to disengage overdrive. Both of the above-mentioned switches may also be found on the console or on steering column stalks instead. Manual shifters on the steering column, if having only three forward speeds, are typically called a "three on the tree". The lowest of these gears, if set at a much lower ratio than a typical 1st-gear ratio, is often called a "granny gear".
Starting the car in gear with the clutch engaged causes it to lurch forwards or backward since the starter motor by itself produces sufficient torque to move the whole vehicle; this can be highly dangerous, especially if the parking brake is not firmly applied and can be injurious to the starter and drivetrain. Therefore, novice drivers are taught to rock the knob of a manual gearbox from side to side before starting the engine to confirm that the gearbox is in neutral. For the same reason, modern cars require the clutch pedal to be depressed before the starter will engage (though some modern vehicles have a button that disables the clutch start requirement if held down when starting, for rare situations when starting the car in gear is necessary).
Implement control logic of a “washing machine” using Stateflow as per given sequence:
After all the processes have completed turn on the finished LED
EXPLANATION AND OBSERVATION:
CHART BLOCK: This block is used to implement control logic with finite state machine. A finite state machine is a representation of an event-driven (reactive) system. In an event-driven system, the system responds to an event by making a transition from one state (mode) to another. This transition occurs if the condition defining the change is true. A Stateflow® chart is a graphical representation of a finite state machine. States and transitions form the basic elements of the system. One can also represent stateless flow charts. For example, the user can use Stateflow charts to control a physical plant in response to events such as a temperature and pressure sensors, clocks, and user-driven events. One can also use a state machine to represent the automatic transmission of a car. The transmission has these operating states: park, reverse, neutral, drive, and low. As the driver shifts from one position to another, the system makes a transition from one state to another, for example, from park to reverse. A Stateflow chart can use MATLAB or C as the action language to implement control logic. [5]
Representation:
Make a Simulink chart for the “Gear shift” logic as per below conditions:
EXPLANATION AND OBSERVATION:
Figure 1. Power ON condition
Figure 2. Water Supply ON condition
Figure 3. Soaking ON condition
Figure 4. Washing ON condition
Figure 5. Rinsing ON condition
Figure 6. End of Process condition
Figure 7. Gear_1 activation
Figure 8. Gear_2 activation
Figure 9. Gear_3 activation
Figure 10. Gear_4 activation
Figure 11. Gear_5 activation
The required problems have been solved and justified with appropriate results. The working of a washing machine and a gear shifting system have been understood and the application of those systems in Stateflow have been thoroughly understood.
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.
Other comments...
Week 1 Understanding Different Battery Chemistry
AIM To understand different battery chemistry. INTRODUCTION 1. ELECTRIC SCOOTER/VEHICLE: [1] Electric motorcycles and scooters are plug-in electric vehicles with two or three wheels. The electricity is stored on board in a rechargeable battery, which drives one or more electric motors.…
02 Jun 2021 02:33 PM IST
Final Project: Design of an Electric Vehicle
AIM To create a Simulink model of an EV. INTRODUCTION OF ELECTRIC VEHICLES: INTRODUCTION OF ELECTRIC VEHICLES: Electric vehicles (EVs) use an electric motor for traction, and chemical batteries, fuel cells, ultracapacitors, and/or flywheels for their corresponding energy sources. The electric vehicle has many advantages…
26 May 2021 04:11 PM IST
Project-1: Powertrain for aircraft in runways
AIM To understand powertrain for aircraft in runways. PROBLEM SPECIFICATION AND SOLVING: PROBLEM STATEMENT I: Search and list out the total weight of various types of aircrafts. EXPLANATION AND OBSERVATION: [1] There are many factors that lead to efficient and safe operation of aircraft. Among these vital factors are proper…
17 May 2021 11:24 AM IST
Week-11 Challenge: Braking
AIM To understand Braking in automobiles. INTRODUCTION 1. BRAKE: [1] Brake is a mechanical device that inhibits motion by absorbing energy from a moving system. It is used for slowing or stopping a moving vehicle, wheel, axle, or to prevent its motion, most often accomplished by means…
06 May 2021 11:48 AM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.