期刊文献+

基于微控制器的模糊控制算法实现 被引量:4

Implementation of fuzzy control algorithm based on microcontroller
下载PDF
导出
摘要 为了在微控制器中实现模糊控制算法,在Matlab/Simulink环境中建立了自动洗衣机的模糊控制系统。基于该模糊控制系统,首先建立数据提取模型,并通过M文件编写算法,提取数据,得到了二维数组;然后建立RTW(Real-Time Workshop)自动代码生成模型,并将所得二维数组导入模型的2-D Lookup Table模块,利用Matlab软件的RTW功能生成自动代码,分析代码中的二维查表插值算法;最后,将该算法写入微控制器,并进行了试验验证。结果表明,微控制器的运行结果与模型的离线仿真结果基本一致,所设计模糊控制器能够满足控制的实时性和精度要求。 In order to realize the fuzzy control algorithm in the microcontroller,a fuzzy control system of the automatic washing machine is established in the Matlab/Simulink environment.Based on the fuzzy control system,the data extraction model is established,and a two-dimensional array is obtained by M-file algorithm.Then,the RTW automatic code generation model is established,and the two-dimensional array is imported into the 2-D Lookup in the model.The table module uses the RTW function in Matlab to generate automatic code,analyzes the two-dimensional Look-up Table interpolation algorithm in the code,and finally writes the algorithm into the microcontroller for experimental verification.The results show that the operating results of the microcontroller are basically the same as the offline simulation results of the model,which can meet the real-time and accuracy requirements.
作者 侯军凯 聂建军 牛继高 席建普 闫修鹏 HOU Junkai;NIE Jianjun;NIU Jigao;XI Jianpu;YAN Xiupeng(School of Mechanical and Electronic Engineering,Zhongyuan University of Technology,Zhengzhou 450007,China)
出处 《中原工学院学报》 CAS 2021年第5期57-62,共6页 Journal of Zhongyuan University of Technology
基金 国家自然科学基金项目(51705546) 中原工学院教学改革研究与实践项目(2019ZGJGLX012)。
关键词 微控制器 MATLAB/SIMULINK 模糊控制 二维查表插值算法 RTW自动代码 microcontroller Matlab/Simulink fuzzy control two-dimensional look-up table interpolation algorithm RTW automatic code
  • 相关文献

参考文献9

二级参考文献124

共引文献105

同被引文献44

引证文献4

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部