设计了一种基于STM32的4路双对通道定循环次数气动或液动压力装置定时充排系统,主要对管路中的电磁阀进行定时开或关。在STM32中移植了FATFS文件系统、UCOSIII操作系统和emWIN图形设计系统,系统设置的数据保存在W25Q64中,采用电阻式触摸屏和LCD进行界面操作和显示。设计制作了系统桌面、屏幕校准、监视器、系统设置、手动操作和关于系统共6个界面。通过操作系统定时函数和定时计数,全局变量设计了两种定时逻辑,可进行高压和低压两种定时模式的选择,而在手动操作模式下,系统关闭充电磁阀,只进行充排过程定时。结果表明,系统运行良好,能够根据设置准确地完成定时充排任务,可应用于多种气动或液动压力装置中。
Abstract
A timing charging and discharging system of pneumatic or hydraulic pressure device based on STM32 is designed, which mainly opens or closes the solenoid valve in the pipeline. FATFS file system, UCOSIII OS and emWin graphic design system are transplanted into STM32. The data of system settings are saved in W25Q64. The interface operation and display are carried out by resistive touch screen and LCD. Six interfaces including system desktop, screen calibration, monitor, system setting, manual operation and about the system are designed and manufactured. Two kinds of timing logic are designed by timing function and global variable of timing count, which can select two timing modes of high pressure and low pressure. In manual operation mode, the system closes the charging valve and performs exhaust timing only. The results show that the device can be used accurately in many kinds of pneumatic or hydraulic pressure charging and discharging tasks.
关键词
电磁阀 ;
STM32 ;
UCOSIII ;
触摸屏 ;
定时器
{{custom_keyword}} ;
Key words
solenoid valve ;
STM32 ;
UCOSIII ;
touch screen ;
timer
{{custom_keyword}} ;
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 陈远龙,吕安生,侯亭波,等.基于AMESim与ADAMS的抓臂式清污机工作装置联合仿真研究[J].液压与气动,2020,(1):137-141.
CHEN Yuanlong, LV Ansheng, HOU Tingbo, et al. Co-simulation on Working Device of Grab Trash-cleaning Machine Based on AMESim and ADAMS [J]. Chinese Hydraulics & Pneumatics, 2020,(1):137-141.
[2] 钱占松.三通阀控单作用缸在电液位置伺服系统的应用研究[J].液压与气动,2020,(6):127-134.
QIAN Zhansong. Research of Application in Electro-hydraulic Servo Position System with Single-acting Cylinder Controlled by Three-way Valve [J]. Chinese Hydraulics & Pneumatics, 2020,(6):127-134.
[3] 李波,芮光超,方磊,等.电液力伺服系统自适应抗扰控制研究[J].液压与气动,2019,(12):57-62.
LI Bo, RUI Guangchao, FANG Lei, et al. Adaptive Disturbance Rejection Control of Electro-hydraulic Force Servo System [J]. Chinese Hydraulics & Pneumatics, 2019,(12):57-62.
[4] 郑宇,张志龙,施卫科,等.基于自适应鲁棒的电液伺服转台双马达同步控制[J].液压与气动,2020,(7):163-168.
ZHENG Yu, ZHANG Zhilong, SHI Weike, et al. Adaptive Robust Synchronous Control for Flight Simulator Driven by Dual Hydraulic Motors [J]. Chinese Hydraulics & Pneumatics, 2020,(7):163-168.
[5] 王慧,侯冬冬.电液伺服系统位置跟踪平整度控制策略研究[J].液压与气动,2019,(7):107-113.
WANG Hui, HOU Dongdong. Research on Flatness Based Controller for Position Tracking Control of Electro-hydraulic Servo System [J]. Chinese Hydraulics & Pneumatics, 2019,(7):107-113.
[6] GALITSKOV K S, DUDANOV I. Synthesis of High-precision Hydraulic Control Systems of an Excavator [C]//MATEC Web of Conferences, 2018,04033-04037.
[7] 曹昌勇,林华,王洪新,等.电液伺服滑模消抖控制差分优化研究及仿真[J].洛阳理工学院学报:自然科学版,2019,29(2):30-34,41.
CAO Changyong, LIN Hua, WANG Hongxin, et al. Research and Simulation of Electro-hydraulic Servo Sliding Mode Debounce Control of Differential Optimization [J]. Journal of Luoyang Institute of Science and Technology: Natural Science Edition, 2019,29(2):30-34,41.
[8] 曹昌勇,林华,苗芳.基于差分进化电液伺服滑模控制研究[J].沈阳理工大学学报,2019,38(5):76-80.
CAO Changyong, LIN Hua, MIAO Fang. The Research on Electro-hydraulic Servo Sliding Mode Control Based on Differential Evolution [J]. Journal of Shenyang Ligong University, 2019,38(5):76-80.
[9] 李洁洁.北斗接收系统定时定位方法的研究[D]:西安:西安电子科技大学,2018.
LI Jiejie. Research on the Timing and Positioning Method of Beidou Receiver [D]: Xi'an: Xidian University, 2018.
[10] 陈伟刚.基于Quartz的分布式定时任务系统的设计与实现[D].南京:东南大学,2019.
CHEN Weigang. Design and Implementation of Distributed Timing Task System Based on Quartz [D]. Nanjing: Southeast University, 2019.
[11] 徐宇宝,林华,王子权.基于STM32智能温控自调速风扇PID控制研究[J].齐齐哈尔大学学报:自然科学版,2018,34(5):7-11,18.
XU Yubao, LIN Hua, WANG Ziquan. The PID Intelligent Temperature-controlled Self-paced Fan Based on STM32 [J]. Journal of Qiqihar University: Natural Science Edition, 2018,34(5):7-11,18.
[12] 魏访,郑朝霞.基于无线传感器网络的工业环境温湿度监测系统[J].仪表技术与传感器,2018,(5):55-57,82.
WEI Fang, ZHENG Chaoxia. Industrial Environment Temperature and Humidity Monitoring System Based on Wireless Sensor Network [J]. Instrument Technique and Sensor, 2018,(5):55-57,82.
[13] 邓芳明,吴翔,李兵,等.基于无源RFID传感标签的农田土壤环境监测技术研究[J].农业机械学报,2018,49(8):187-193,202.
DENG Fangming, WU Xiang, LI Bing, et al. Monitoring Technology of Farmland Soil Environment Based on Passive RFID Sensor Tag [J]. Transactions of the Chinese Society for Agricultural Machinery, 2018,49(8):187-193,202.
[14] 黄琦,韩广源,吴瑞东,等.基于STM32的高精度恒温控制系统设计[J].仪表技术与传感器,2017,(5):71-74.
HUANG Qi, HAN Guangyuan, WU Ruidong, et al. Design of High-precious Constant Temperature Control System Based on STM32 [J]. Instrument Technique and Sensor, 2017,(5):71-74.
[15] 李明,熊奥运,王成鹏.基于单片机的酒驾检测系统设计[J].江苏理工学院学报,2019,25(2):22-32.
LI Ming, XIONG Aoyun, WANG Chengpeng. Design of Drunk Driving Detection System Based on SCM [J]. Journal of Jiangsu University of Technology, 2019,25(2):22-32.
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}