摘要
本文设计了一种基于阿里云平台的SCARA机器人监控系统,包括本地客户端与Web远程监控端。本地客户端基于TCP/IP协议和C#语言进行搭建,包括基于OPC统一架构(OPC UA)的数据采集模块,基于MySQL的数据存储模块和基于消息队列遥测传输(MQTT)与云平台的数据交互模块。Web远程监控端通过前后端分离的方式进行搭建,基于Django rest framework框架搭建Web后端服务程序,可视化界面由Vue前端框架搭建,在此基础上,采用WebGL和Three.js技术在界面上搭建SCARA机器人3维模型。最后基于OPC UA协议实现了本地客户端与SCARA机器人的运动状态、数据指令的交互,通过MQTT与位于阿里云的MySQL数据库进行数据交互,通过3D可视化界面实现对SCARA机器人监控。
SCARA robot monitoring system is designed based on Alibaba Cloud in this paper,including local client and Web remote monitoring terminal.The local client is built based on the TCP/IP protocol and the C#,including data collect module based on OPC unified architecture(OPC UA),data storage module based on MySQL and data interaction module based on message queuing telemetry transport(MQTT)and cloud platform.The Web remote monitoring terminal is built by separating the front and rear ends.The Web backend service program is compiled based on Django rest framework,and the visual interface is compiled by the Vue framework.On this basis,WebGL and Three.js technologies are used to compiled the SCARA robot Web3D model on the interface.Finally,based on the OPC UA protocol,the interaction between the local client and the SCARA robot’s motion state and data commands is realized,the data exchange with the MySQL database located in Alibaba Cloud is realized through MQTT,and the SCARA robot is monitored through the 3D visual interface.
作者
徐建明
俞俊铭
董建伟
俞立
Xu Jianming;Yu Junming;Dong Jianwei;Yu Li(School of Information Engineering, Zhejiang University of Technology, Hangzhou 310023)
出处
《高技术通讯》
EI
CAS
北大核心
2020年第9期938-948,共11页
Chinese High Technology Letters
基金
国家自然科学基金-浙江省自然科学基金联合基金两化融合项目(U1709213)
国家自然科学基金面上项目(61374103)资助。