Please wait a minute...
吉林化工学院学报, 2022, 39(11): 6-13     https://doi.org/10.16039/j.cnki.cn22-1249.2022.11.002
  本期目录 | 过刊浏览 | 高级检索 |
基于微信小程序监控的双容水箱虚拟仿真平台设计
高兴泉,徐德财**
吉林化工学院 信息与控制工程学院,吉林 吉林 132022
Design of Virtual Simulation Platform for Coupled-tank System based on WeChat Mini Program Monitoring
GAO Xingquan, XU Decai**
下载:  PDF (8404KB) 
输出:  BibTeX | EndNote (RIS)      
摘要 

针对双容水箱受场地限制?介质流动?实验周期长等局限性,为了更好地监控数据和提高实验效率,同时激发使用者的兴趣,我们设计了一款双容水箱虚拟仿真平台.该平台使用STM32微控制器分别模拟双容水箱数学模型和增量式PID控制器,通过wxml?wxss和javascript,完成微信小程序的搭建;此外,我们还使用WIFI模块ESP8266和MQTT服务器实现了单片机与微信小程序之间的数据转换.该系统能够与手机终端交互,用户可在手机上随时设置PID参数,实时显示液位数值和监控整个实验过程,并且可以显示液位历史曲线,LCD屏幕上也可模拟动态水柱变化,使得用户使用效果更加生动和直观.

服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
高兴泉
徐德财
关键词:  STM32微控制器  微信小程序  双容水箱  MQTT服务器  ESP8266     
Abstract: 

We have designed a Coupled-tank System virtual simulation platform to address the limitations of restricted site conditions, fluid flow, and lengthy experimental periods. This is to enhance data monitoring and improve experimental efficiency, while inspiring user interest. This platform uses the STM32 microcontroller to simulate the mathematical model of the Coupled-tank System and the incremental PID controller. The WeChat Mini Program is built using wxml, wxss, and javascript. Additionally, we used the WIFI module ESP8266 and the MQTT server to achieve data conversion between the single-chip microcomputer and the WeChat Mini Program. The system can interact with mobile terminals, and users can set the PID parameters on their mobile phones, display real-time level values and monitor the entire experimental process. The system can also display the historical level curve and, on the LCD screen, simulate the dynamic water column changes, making the user experience more vivid and intuitive.

Key words:  STM32 microcontroller    WeChat mini program    double tank    MQTT server    ESP8266
               出版日期:  2022-11-25      发布日期:  2022-11-25      整期出版日期:  2022-11-25
ZTFLH:  TP 273  
引用本文:    
高兴泉, 徐德财. 基于微信小程序监控的双容水箱虚拟仿真平台设计 [J]. 吉林化工学院学报, 2022, 39(11): 6-13.
GAO Xingquan, XU Decai. Design of Virtual Simulation Platform for Coupled-tank System based on WeChat Mini Program Monitoring . Journal of Jilin Institute of Chemical Technology, 2022, 39(11): 6-13.
链接本文:  
http://xuebao.jlict.edu.cn/CN/10.16039/j.cnki.cn22-1249.2022.11.002  或          http://xuebao.jlict.edu.cn/CN/Y2022/V39/I11/6
[1] 高兴泉, 王子硕, 祝强, 赵强. 基于Quanser数据采集卡的双容水箱控制系统半实物仿真平台[J]. 吉林化工学院学报, 2018, 35(7): 14-17.
[1] . [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 0 .
[2] . [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 0 .
[3] SHAO Bao-li, LU Da, ZHAO Dong-hui. The Application of Dimensional Analysis in the Physical Quantity Conversion between Physical System and Numerical System [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 1 -3 .
[4] ZHANG Jian, ZHAO Xiang, QU Bo, WU Qi, LIU Yu-tong, LI Yu-shi, LIU Qun. Application of Phosphorus-sulfur-nitrogen Composite Flame Retardant in Cotton Fabric [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 4 -7 .
[5] WU Ping, REN Hong, LU Fei, WEI Qingling. A Functional Material on Recognition of Zn(II) ions based on the New Azo Compound [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 8 -10 .
[6] YANG Yan-jun, WANG Ya-hong, Yang Xiu-dong. Process Aptimization of Surfactant Assisted Extraction of Total Polyphenols from Kyllinga Brevifolia Rottb [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 11 -15 .
[7] LIU Jin-lu, LEI Yong-ping, WANG xiao-lin, ZHONG fang-li. Study on the  Purification Method of Total Saponins fromFruit of Rosa Davuvrica Pall. and its  Purification Method [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 16 -23 .
[8] SONG Jian-gang, ZHONG Fang-li, WANG Xiao-lin, LIN Yu. Study on Extraction of Anthocyanin from Aronia melanocarpa Fruit by Ionic liquid Ultrasound Assisted [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 24 -31 .
[9] TAN Li-hui, TAN Hong-wu. The Crashworthiness Analysis of different Cross-Section Thin-Walled Components [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 32 -35 .
[10] YU Wen-xin, ZHENG Kai, WANG Li-hui, LIU Hai-bo, Wang Jian-xin. The Influence of Magnetostrictive Transducer Radiation Plate material on Radiation Sound Field Distribution [J]. Journal of Jilin Institute of Chemical Technology, 2018, 35(9): 36 -40 .
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed