基于MQTT的步进电机远程控制方案实现  被引量:6

Realization of Remote Control Scheme of Stepping Motor Based on MQTT

在线阅读下载全文

作  者:赵丹[1,2] 谌建飞 邓敏 唐立军[1,2] ZHAO Dan;CHEN Jian-fei;DENG Min;TANG Li-jun(School of Physics & Electronic Science,Changsha University of Science & Technology,Changsha 410114,China;Hunan Province Higher Education Key Laboratory of Modeling and Monitoring on the Near-Earth Electromagnetic Environments,Changsha 410114,China)

机构地区:[1]长沙理工大学物理与电子科学学院,湖南长沙410114 [2]近地空间电磁环境监测与建模湖南省普通高校重点实验室,湖南长沙410114

出  处:《测控技术》2018年第6期126-129,共4页Measurement & Control Technology

基  金:国家科技支撑计划计划课题(2014BAH28F04);湖南省教育厅科学研究项目(15K009;17K004)

摘  要:远程实验的仪器操作与动态数据测量离不开步进电机,针对远程实验步进电机控制需要,设计了一个基于MQTT通信和嵌入式的电机远程控制方案。在Windows Azure云计算平台上搭建基于MQ,TT的Mosquitto服务器,接收来自Web端发送的命令,推送至步进电机控制器,实现对步进电机的使能、方向、速度等控制。采用该方案利用远程Web端操控电机,对电机进行实时测试,结果表明,该方案可以实现对步进电机准确、实时、可靠的远程控制,电机以150 Hz驱动频率运行时位置误差为0.21%,可应用于相关远程实验中。In the remote experiment, the instrument operation and dynamic data measurement can not be separated from the stepping motor. A remote control scheme of stepper motor based on MQTT communication and embedded is designed for the need of stepper motor control in remote experiment. The MQTT-based Mosquitto server was built on the Windows Azure cloud computing platform, which received the commands from the Web and sent them to the stepper motor controller to achieve the stepper motor enable, direction, speed and other control. The remote Web terminal was used to control the motor for the real-time testing. The motor has an error of 0. 21% at the driving frequency of 150 Hz. The results show that this scheme can realize accurate, real-time and reliable remote control of the stepper motor and can be applied to the relevant remote experiments.

关 键 词:远程控制 MQTT通信 步进电机 远程实验 

分 类 号:TP315[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象