赵丹,谌建飞,邓敏,唐立军.基于MQTT的步进电机远程控制方案实现[J].测控技术,2018,37(6):126-129 |
基于MQTT的步进电机远程控制方案实现 |
Realization of Remote Control Scheme of Stepping Motor Based on MQTT |
|
DOI:10.19708/j.ckjs.2018.06.028 |
中文关键词: 远程控制 MQTT通信 步进电机 远程实验 |
英文关键词:remote control MQTT communication stepper motor remote experiment |
基金项目:国家科技支撑计划计划课题(2014BAH28F04);湖南省教育厅科学研究项目(15K009,17K004) |
|
摘要点击次数: 1148 |
全文下载次数: 490 |
中文摘要: |
远程实验的仪器操作与动态数据测量离不开步进电机,针对远程实验步进电机控制需要,设计了一个基于MQTT通信和嵌入式的电机远程控制方案。在Windows Azure云计算平台上搭建基于MQTT的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. |
查看全文 查看/发表评论 下载PDF阅读器 |
关闭 |