摘要
针对目前工业上数据采集系统搭建过程复杂、开发自由度较低的情况,提出了一种面向工业应用的通用远程数据采集器设计方案。数据采集器采用基于i. MX6Q芯片设计的硬件电路,以嵌入式Linux操作系统为软件基础,针对工业上通用的Modbus、CAN等协议,实现了数据采集、储存及远程转发等基本功能。考虑到多传感器并发采集时对响应性能的影响,提出了基于多进程同步采集的机制以及使用了环形缓冲区数据结构。针对工业上对数据采集系统的扩展性及灵活性需求,引入了基于Web服务器及数据库的实时配置功能。试验测试验证了该系统在采集多个Modbus传感器时的正确性与可行性,为嵌入式Linux数据采集器的开发提供了思路。
In view of the complex process of creating industrial data acquisition system and the low degree of freedom of development,a design scheme of universal remote data acquisition device for industrial applications is proposed.The hardware circuit of data collector is designed based on i.MX6Q chip and embedded Linux operating system is adopted as software foundation.Aiming at common industrial protocols such as Modbus and CAN,the collector realizes the basic functions of data acquisition,storage and remote transferring.Considering the influence of multi-sensor concurrent acquisition on response performance,a mechanism based on multi-process synchronous acquisition and a ring buffer data structure are proposed.In accordance with the requirement of expansibility and flexibility of data acquisition system in industry,the real-time configuration function based on Web server and database is introduced.Experiments verify the correctness and feasibility of the system for collecting multiple Modbus sensors,which provides a idea for the development of embedded Linux data collector.
作者
赵炯
杨天豪
肖杰
熊肖磊
ZHAO Jiong;YANG Tianhao;XIAO Jie;XIONG Xiaolei(Mechanical and Energy Engineering School,Tongji University,Shanghai 201804,China)
出处
《自动化仪表》
CAS
2019年第1期53-57,61,共6页
Process Automation Instrumentation