Research on fuzzy control algorithm of intelligent washing machine
To implement the fuzzy control algorithm in a microcontroller, a fuzzy control system for an automatic washing machine was established in the MATLAB/Simulink environment. Based on this fuzzy control system, a data extraction model was first established, and the data extraction algorithm was written using an M-file to obtain a two-dimensional array. Then, an RTW automatic code generation model was built, and the obtained two-dimensional array was imported into the 2-D Lookup Table block of the model. Using the RTW function in MATLAB, automatic code was generated, and the two-dimensional lookup interpolation algorithm in the code was analyzed. Finally, the algorithm was written into the microcontroller and experimentally verified. The results showed that the operational outcomes of the microcontroller were basically consistent with the offline simulation results of the model, and the designed fuzzy controller met the real-time and accuracy requirements of the control.
Authors
- Jue Hou
- Chunhua Xu (ORCID: https://orcid.org/0000-0001-5453-0339)
- Jigao Niu
- Jiangke Jiu
Institutions
- Zhongyuan University of Technology (CN)
Publication Details
- Published
- 2024-12-12
- DOI
- https://doi.org/10.1117/12.3055481
- Primary Topic
- Fuzzy Logic and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00