Washing machines are an indispensable household appliance in family life. Fully automatic washing machines are popular because of their convenience. Fully automatic means that a series of processes such as water filling, washing, rinsing, and drying are completed automatically. The controller of a general washing machine usually has several washing programs for users to choose from for different clothes. Although washing machines with such controllers make the washing process simple and easy to control, they cannot combine washing and energy saving well [1].
This design is based on a simulated washing machine system based on fuzzy control, which makes the laundry system develop in the direction of automation, intelligence, and especially energy saving. It can automatically control the water volume, water temperature, detergent, mechanical force, etc. according to the texture and degree of dirtiness of the washed clothes, so that the washing process is more energy-efficient while the clothes are washed clean.
1. Sunplus microcontroller SPMC75F2413A
SPMC75F2413A is an industrial-grade 16-bit microcontroller chip designed and developed by Sunplus Technology. Its core uses the μ′nSTM (pronounced micro-n-SP) microprocessor with independent intellectual property rights of Sunplus. It integrates functional modules such as multi-function I/O ports, synchronous and asynchronous serial ports, ADC, timer counters, and special hardware modules such as multi-function capture comparison module, BLDC motor drive dedicated position detection interface, two-phase incremental encoder interface, and PWM generator that can generate various motor drive waveforms [2]. These hardware modules support SPMC75F2413A to complete complex applications such as variable frequency drives for household appliances, standard industrial variable frequency drives, variable frequency power supplies, and multi-loop servo drive systems.
2 Fuzzy Control Model of Fully Automatic Washing Machine
Fuzzy control is a new type of computer control method based on fuzzy set theory, fuzzy language variables and fuzzy logic reasoning. Obviously, the basis of fuzzy control is fuzzy mathematics, and the means of realizing fuzzy control is computer.
The basic working process of a fully automatic washing machine includes water intake, washing, rinsing, drainage, and spin drying. After fuzzy control technology is used in a fully automatic washing machine, it can automatically obtain the best washing method based on the detection of the laundry, thereby achieving intelligent and energy-saving effects. This design takes the weight and dirtiness of the laundry as the test objects, and designs a series of washing methods suitable for different clothes. The fuzzy control model of a fully automatic washing machine is shown in Figure 1.
3 Hardware Design
First, the hardware part of the washing machine is modularized, mainly divided into the following modules:
⑴ Detection module: The detection part is mainly realized by various sensors and A/D converters, which are divided into: cloth quantity detection, clothing contamination detection, etc. The detection results of each part are input into the single-chip CPU through the A/D converter for processing and analysis;
⑵Control module: The control part is the key part of the entire intelligent washing machine, and the single-chip microcomputer is responsible for processing. The sensor transmits the detected data information to the controller, where it is analyzed and processed. The CPU compares the obtained data with the standard data to obtain the control results, such as: water addition amount, washing time, motor speed, etc., and outputs the processed results to the actuator action;
⑶ Washing module: The washing part is mainly composed of a motor and various switches. Various washing actions are completed through the CPU-controlled motor forward and reverse rotation, speed and switch closing. Its hardware circuit is shown in Figure 2;
Taking five washing methods as an example, the fuzzy control rule table is shown in Table 2. Among them, 16 clothing detection states are represented by state1~state16; washing intensity {weak, medium, strong} is represented by variables {w, c, s} respectively; time {short, medium, long} is represented by variables {s, m, l} respectively.
(4) Voice module: The voice part is completed by the speaker, which reports the washing progress through the control of the CPU;
⑸ Display module: The display part consists of a group of LED digital displays and 9 groups of light-emitting diodes, which are used to display the washing time and washing process. Its hardware circuit is shown in Figure 3.
4 Software Design and Physical Pictures
In a fuzzy controller, the measured quantity needs to be fuzzified before being sent to the fuzzy controller.
The fuzzy sets of the fuzzy input quantities of the above-mentioned measurement quantities are: whether the clothes are dirty or clean {clean, relatively clean, relatively dirty, dirty}, and whether the clothes are light or heavy {light, relatively light, relatively heavy, heavy}.
The fuzzy sets of the output quantities of the corresponding fuzzy controller are: water inlet time (control water inlet amount) {short, medium, long}, washing time {short, medium, long}, rinsing time {short, medium, long}, drainage time {short, medium, long}, dehydration time {short, medium, long}, washing intensity {weak, medium, strong}.
The detection status table of the clothes to be washed is shown in Table 1. In the table, 0000~1111 represent 16 different detection states.
The main program flow chart of the software is shown in Figure 4. Clothes washing process: Turn on the washing machine, select automatic or manual mode, if it is manual, set the washing parameters, otherwise enter the automatic mode. Detect the state of the clothes before washing, and then automatically select the corresponding washing parameters, call the corresponding washing program, and complete the control of fuzzy rules on clothing washing.
The working state diagram of the simulated washing machine is shown in Figure 5. There are three parts in the figure, as shown in Figure 5(a): 1 is the power supply and motor control part; 2 is the main controller Lingyang microcontroller SPMC75F2413A; 3 is the cleaning state display part; 4 is the DC motor that simulates the rotation of the washing machine cylinder. Figure 5(a) is the rinsing state of state 12, the motor rotates forward and reverse, and the digital tube displays the remaining rinsing time. Figure (b) is the dehydration state of state 12, the motor rotates forward, and the digital tube displays the remaining dehydration time.
This design uses the Sunplus 16-bit single-chip SPMC75F2413A as the control core to complete a simulation system of a fully automatic washing machine based on fuzzy control. The system can automatically select the corresponding washing method through fuzzy reasoning of the laundry detection status information, and achieves better control of a series of parameters such as washing intensity, water intake, washing time, etc. during the washing process, and simulates the washing, rinsing, dehydration, drainage and other states during the laundry process. The design scheme is verified to be feasible through the combination of software and hardware, and meets the design requirements.
Previous article:Design of touch button based on electric field sensor MC33794
Next article:Design of constant temperature faucet based on STC12C5A08PWM
Recommended ReadingLatest update time:2024-11-16 17:50
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- MATLAB simulation model for parameter identification of three-phase asynchronous motor at static state
- 【CC1352P Review】What is a Sensor controller?
- The shell of the pycom development board
- Common switching power supply transformer design core size and AE area
- Thank you + my family, girlfriend, and friends
- [2022 Digi-Key Innovation Design Competition] Material Unboxing—STM32F750, nano ble 33
- Create a new IKS01A3 project in STM32CubeMX
- Difficulties that need to be paid attention to in the design of single chip microcomputer circuits
- [phyBOARD-i.MX 8M Plus Development Board] Evaluation 2: System power-on, terminal command test
- How to use LM337 to generate negative voltage