计算机科学 ›› 2020, Vol. 47 ›› Issue (11A): 609-614.doi: 10.11896/jsjkx.200500060

• 交叉&应用 • 上一篇    下一篇

基于OPC UA的工业设备数据采集系统

禹鑫燚, 殷慧武, 施甜峰, 唐权瑞, 柏继华, 欧林林   

  1. 浙江工业大学信息工程学院 杭州 310023
  • 出版日期:2020-11-15 发布日期:2020-11-17
  • 通讯作者: 欧林林(linlinou@zjut.edu.cn)
  • 作者简介:yuxinyinet@163.com
  • 基金资助:
    国家重点研究发展计划“智能机器人”重点项目(2018YFB1308000);机器人技术与系统国家重点实验室开放基金项目(SKLRS2013MS06)

Data Acquisition System of Industrial Equipment Based on OPC UA

YU Xin-yi, YIN Hui-wu, SHI Tian-feng, TANG Quan-rui, BAI Ji-hua, OU Lin-lin   

  1. College of Information Engineering,Zhejiang University of Technology,Hangzhou 310023,China
  • Online:2020-11-15 Published:2020-11-17
  • About author:YU Xin-yi,born in 1979,Ph.D,associate professor.His main research interests include embedded,industrial robot control and research.
    OU Lin-lin,born in 1979,Ph.D,professor.Her main research interests include multi-intelligence coordination and so on.
  • Supported by:
    This work was supported by the “Intelligent Robot” Key Project of National Key Research and Development Plan (2018YFB1308000) and Open Fund Project of National Key Laboratory of Robotics and Systems (SKLRS2013MS06).

摘要: 为了解决工业设备协议多样性给工厂数据采集和统一监控带来的难题,研究了基于OPC UA的数据采集系统。以PLC、工业机器人和数控机床等工业设备为研究对象,通过工业以太网建立与本地监控服务器的连接。在本地监控服务器根据不同的工业设备通信协议设计不同的数据采集驱动和数据转换插件,并统一管理。基于OPC UASDK和配置界面生成的XML文件构建OPC UA地址空间,从而建立设备的OPC UA服务器。OPC UA服务器用以存储采集并转换后的实时数据和OPC UA客户端交互,同时将转换后的数据上传到云端存储系统供进一步数据分析。系统基于.Net平台开发,采用C#语言和.net framework框架构建整个本地监控服务器端,并且采用WPF设计本地监控服务器端的监控和配置界面。云端结合Redis和MySQL实现对运行数据的存储。最后通过实验验证了所提系统的可行性和完整性。

关键词: .Net, OPC UA, Redis, 工业设备, 数据采集

Abstract: In order to solve the problem of data collection and unified monitoring caused by various industrial equipment protocols,a data collection system based on OPC UA is studied.Taking industrial equipments,such as PLC,industrial robot and CNC machine tool as research object.Connection between industrial equipment and local monitoring server is established through industrial Ethernet.On the local monitoring server,different data acquisition drivers and data conversion plug-ins are designed and unified management according to different industrial equipment communication protocols.Based on the OPC UASDK and the XML file generated by the configuration interface,the OPC UA address space is constructed to build the OPC UA server,which is used to store the converted data and interact with the OPC UA client.Meanwhile,the collected converted data is uploaded to the cloud storage system for further data analysis.The system is developed based on .net platform,using C# language and .net framework to build the whole local monitoring server,using WPF to design the monitoring and configuration interface of the local monitoring server.The cloud combines Redis and MySQL to realize the storage of operating data.Finally,the feasibility and integrity of the system are verified through experiments.

Key words: .Net, Data collection, Industrial equipment, OPC UA, Redis

中图分类号: 

  • TP242.6
[1] TIAN C.Research on the current situation and developmenttrend of industrial robots [J].China Management Informatization,2019,22(20):156-157.
[2] WANG F D,ZHANG H L,YANG F.Research on robot information model based on OPC UA in the 70th lecture of industrial wireless communication technology lecture [J].Instrument Standardization and Metrology,2018(4):12-15,25.
[3] LIU Y Y,SU X R,XU Z C,et al.Brief introduction of OPC UA technology in the 56th lecture on industrial wireless communication technology [J].Instrument Standardization and Measurement,2016(2):21-24.
[4] ZHAO Y H,NIE Y J,WANG Y L,et al.Overview of OPC UA technology [J].Naval Chemical Defense,2010(2):33-37.
[5] LI J X.Research on equipment data acquisition and remote monitoring system for intelligent factories [D].Nanjing:Nanjing University of Aeronautics and Astronautics,2018.
[6] LIU W.Research on MES data management system based onOPC UA [D].Beijing:Beijing University of Posts and Telecommunications,2019.
[7] ZHAN G C,WU M L,LU J Q,et al.Design of 828D CNC machine tool group remote monitoring system based on OPC UA [J].Machinery Manufacturing &Automation,2018,47(6):186-189.
[8] XU B B.Design and implementation of key modules of data acquisition and monitoring system based on OPC UA [D].Xi'an:Xi'an University of Science and Technology,2017.
[9] XU J M,PAN X F.Research on industrial robot monitoring system based on Socket communication [J].Computer Measurement and Control,2017,25(7):70-73.
[10] LU H M,YAN Z F.research and development of OPC UA ser-ver address space key technology [J].Power Automation Equipment,2010,30(7):109-113.
[11] WANG Z Z,XIE B H.design of OPC UA server based on MODBUS protocol [J].Computer Application and Software,2014,31(2):89-92,131.
[12] ZHAO Y L,YAN X F,LIU D.Design and implementation ofembedded OPCUA server based on SDK [J].Manufacturing Automation,2017,39(1):49-52.
[13] XU P F,QI G,SONG K,et al.Research on redis-based dual-channel real-time data acquisition system [J].Science and Technology Innovation,2019(25):84-85.
[14] LIU Y T,HU T N,LV Y L.Research on multi-protocol conversion system based on embedded technology [J].Instrument Technology and Sensors,2020(2):62-66,70.
[15] XU M H,WANG F,ZHANG M.Application and research of Redis technology based on big data [J].Information Technology and Informatization,2019(11):228-230.
[16] CAVALIERI S,CHIACCHIO F,PUGLISI A D S.Integrating KNX and OPC UA Information Model[J].Journal of Computers,2014,9(7):1536-1541.
[17] SCHÄFER F,BAKAKEU J,KLEINERT B,et al.Designing an OPC UA Based Ecosystem for Smarter Homes[J].Advanced Engineering Forum,2016,4420:83-91.
[18] SHIN I J,SONG B K,EOM D S.Auto-Mapping and Configuration Method of IEC 61850 Information Model Based on OPC UA[J].Energies,2016,9(11):901-902.
[1] 王鹏跃, 郭茂祖, 赵玲玲, 张昱.
城市空气质量感知方法综述
Review on Urban Air Quality Perception Methods
计算机科学, 2019, 46(6A): 35-40.
[2] 曾健荣, 张仰森, 郑佳, 黄改娟, 陈若愚.
面向多数据源的网络爬虫实现技术及应用
Implementation Technology and Application of Web Crawler for Multi-data Sources
计算机科学, 2019, 46(5): 304-309. https://doi.org/10.11896/j.issn.1002-137X.2019.05.047
[3] 冯安琪, 钱丽萍, 黄玉蘋, 吴远.
RFID环境下基于自适应卡尔曼滤波的高速移动车辆速度预测
RFID Data-driven Vehicle Speed Prediction Using Adaptive Kalman Filter
计算机科学, 2019, 46(4): 100-105. https://doi.org/10.11896/j.issn.1002-137X.2019.04.016
[4] 黄国锐, 郭康, 王世贵, 蒋金波.
一种手持式数据采集终端的设计与实现
Design and Implementation ofHandheld Data Acquisition Terminal
计算机科学, 2019, 46(11A): 567-569.
[5] 王芬,顾乃杰,黄增士.
基于Bully算法的Redis集群选举方案优化
Election Scheme Optimization of Redis Cluster Based on Bully Algorithm
计算机科学, 2017, 44(10): 165-170. https://doi.org/10.11896/j.issn.1002-137X.2017.10.031
[6] 董书暕,汪璟玢,陈远.
HMSST+:基于分布式内存数据库的HMSST算法优化
HMSST+:HMSST Algorithm Optimization Based on Distributed Memory Database
计算机科学, 2016, 43(3): 220-224. https://doi.org/10.11896/j.issn.1002-137X.2016.03.040
[7] 许洋,李石坚,焦文均,潘纲.
用户驾驶行为建模的研究和应用
Driving Behavior Identification System and Application
计算机科学, 2015, 42(9): 1-6. https://doi.org/10.11896/j.issn.1002-137X.2015.09.001
[8] 韩立,刘正捷,张军,陈媛嫄.
远程用户体验评估综述:工具、方法和挑战
Remote User Experience Evaluation Review:Tools,Methods and Challenges
计算机科学, 2014, 41(10): 196-203. https://doi.org/10.11896/j.issn.1002-137X.2014.10.043
[9] 梁欢,赵凯瑞,兰其龙,杨鑫,魏紫阳,周月明.
TDMA原理在机载数据采集系统中的应用
Application of TDMA Theory in Data Collection System Onboard
计算机科学, 2013, 40(Z11): 13-14.
[10] 舒大有,冯暄,卢军,郭本俊.
一种分布式SCADA系统设计与实现
Design and Implementation of Distributed SCADA System
计算机科学, 2013, 40(8): 83-85.
[11] 杨山亮,赵鑫业,杨妹,付跃文,周云.
军事分析仿真评估系统WMD模型研究
Research on WMD Model in Military Simulation and Analysis System
计算机科学, 2013, 40(11): 14-17.
[12] 于留宝,胡长军,苏林晗.
基于MapReduce的微博文本采集平台
Micro-blogs Data Collection Based on MapReduce
计算机科学, 2012, 39(Z11): 143-145.
[13] 陈志锋,李清宝,王炜,林夕杰.
自动复位快速环树数据采集算法
Quick Data Collecting Algorithm Based on Ring-tree with Auto-reset
计算机科学, 2012, 39(10): 303-307.
[14] 秦刚,王金一,杨智超,代梁峰,樊道毅,阎保平.
e-Science应用中野外数据采集传输系统设计与实现
Design and Implementation of Field Data Collection and Transmission System for e-Science Applications
计算机科学, 2011, 38(Z10): 133-135.
[15] 张文涛.
基于CMM项目管理平台的系统设计

计算机科学, 2008, 35(4): 276-279.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!