首页 | 官方网站   微博 | 高级检索  
     

基于MQTT的步进电机远程控制方案实现
引用本文:赵丹,谌建飞,邓敏,唐立军.基于MQTT的步进电机远程控制方案实现[J].测控技术,2018,37(6):126-129.
作者姓名:赵丹  谌建飞  邓敏  唐立军
作者单位:长沙理工大学物理与电子科学学院,湖南长沙410114;近地空间电磁环境监测与建模湖南省普通高校重点实验室,湖南长沙410114
基金项目:国家科技支撑计划计划课题(2014BAH28F04),湖南省教育厅科学研究项目(15K009
摘    要:远程实验的仪器操作与动态数据测量离不开步进电机,针对远程实验步进电机控制需要,设计了一个基于MQTT通信和嵌入式的电机远程控制方案.在Windows Azure云计算平台上搭建基于MQTT的Mosquitto服务器,接收来自Web端发送的命令,推送至步进电机控制器,实现对步进电机的使能、方向、速度等控制.采用该方案利用远程Web端操控电机,对电机进行实时测试,结果表明,该方案可以实现对步进电机准确、实时、可靠的远程控制,电机以150 Hz驱动频率运行时位置误差为0.21%,可应用于相关远程实验中.

关 键 词:远程控制  MQTT通信  步进电机  远程实验  remote  control  MQTT  communication  stepper  motor  remote  experiment

Realization of Remote Control Scheme of Stepping Motor Based on MQTT
ZHAO Dan,CHEN Jian-fei,DENG Min,TANG Li-jun.Realization of Remote Control Scheme of Stepping Motor Based on MQTT[J].Measurement & Control Technology,2018,37(6):126-129.
Authors:ZHAO Dan  CHEN Jian-fei  DENG Min  TANG Li-jun
Abstract: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.
Keywords:remote control  MQTT communication  stepper motor  remote experiment
本文献已被 万方数据 等数据库收录!
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号