基于多串口转以太网的数据采集及分析系统设计
本文选题:串口 + TCP/IP协议 ; 参考:《东华大学》2017年硕士论文
【摘要】:工业大数据的基础是数据来源的准确性。传统的零件尺寸数据检测方法是先通过测量仪器进行测量,然后手工记录再输入上位机,此模式不仅人力成本高,还会增加出错率。与此同时,随着以太网技术的发展,基于以太网的网络互联设备的使用也开始越来越普及。在这个背景下,工业互联网及工业4.0的提出使工业的发展突破传统“制造”的内涵,并让制造和生产更加智能化和低成本化,这在人力成本日益增加的今天,对于企业的扩大产能和健康发展具有非常重要的意义。尽管让所有设备都能连入互联网已成为一种趋向,但设备通信互联的模式仍在不断发展和进步。串行通信的可靠性和安全性较高,传输协议也相对简单,在近距离的数据通信中容易实现,正是由于上述特点,RS-232/RS-485等异步串行接口广泛应用于很多终端设备。但是串行通信存在无法与距离传输,无法接入主流网络等缺点,并且串行通信连接的接头不支持带电插拔,这给调试过程也带来诸多不便。而零件尺寸数据的采集,不仅是为了判断生产的零件是否合格,也为了对零件尺寸数据进行相关分析并且用以反馈以及调整生产情况。孔轴匹配就是零件数据分析中的一个重要问题,传统的解决方法普遍是任意匹配或分组匹配,这种策略在对精度要求很高的场合很难兼顾匹配精度和成本。本文的研究基于目前行业中零件的数据采集与分析中现实问题以及大部分测量设备集成了串口且未联网的现状展开。本文的多串口转以太网的数据采集及分析系统可以在无需更换传统检测设备的基础上,实现将串行通信检测设备的串行通信数据通过以太网实时传输,这可以解决串行通信本身无法与距离传输的问题,实现串口设备的监控与网络化管理,并且可以对采集到的孔轴数据进行孔轴匹配分析。本文提出了多串口转以太网的数据采集及分析系统的总体架构,并采用迈冲科技公司设计的MC-A5D3X-GKA底板以及MC-A5D3X-CORE核心板为硬件载体,使用基于嵌入式Linux的软件系统实现串口数据到以太网的传输,利用C#开发上位机软件实现采集数据的实时显示和已采集数据的查询,使用SQL SERVER2012数据库作为后台数据存储及前端数据展示的媒介。对采集到的合格的孔轴直径数据,提出用智能优化算法中的遗传算法对孔轴匹配问题进行优化,以达到同批量孔轴对匹配成功的对数最多,并在匹配对数最多的情况下让孔轴间间隙最小的优化结果,与传统人工匹配的结果相比,在确保匹配精度基础上,大大提高了匹配率。同时,有效的匹配也在一定程度上降低了孔轴加工过程的偏差要求。
[Abstract]:The industrial big data is based on the accuracy of data sources. The traditional method of measuring part size data is first measured by measuring instrument, then recorded by hand and then input into the upper computer. This mode not only has high labor cost, but also increases the error rate. At the same time, with the development of Ethernet technology, the use of network interconnection devices based on Ethernet is becoming more and more popular. In this context, the introduction of Industrial Internet and Industrial 4.0 makes the development of industry break through the connotation of traditional "manufacturing" and make manufacturing and production more intelligent and low-cost. For the expansion of capacity and healthy development of enterprises have a very important significance. Although it has become a trend to connect all devices to the Internet, the mode of device communication interconnection is still developing and improving. The serial communication has high reliability and security, and the transmission protocol is relatively simple. It is easy to realize in the short distance data communication. It is precisely because of the above characteristics that the asynchronous serial interface such as RS-232 / RS-485 is widely used in many terminal devices. However, the serial communication has some disadvantages, such as unable to transmit distance, unable to connect to the mainstream network, and the connection of serial communication does not support live plugging, which brings many inconvenience to the debugging process. The acquisition of part dimension data is not only to judge whether the part is qualified, but also to analyze the part dimension data and to feedback and adjust the production situation. Hole shaft matching is an important problem in part data analysis. The traditional solution is arbitrary matching or grouping matching. This strategy is difficult to match precision and cost when the precision is very high. The research of this paper is based on the practical problems of data acquisition and analysis of parts in the industry and the fact that most of the measuring devices are integrated with serial port and are not connected to the network. The data acquisition and analysis system of multi-serial port to Ethernet in this paper can realize the real-time transmission of serial communication data through Ethernet on the basis of no need to replace the traditional detecting equipment. This can solve the problem that the serial communication itself can not transmit the distance, realize the monitoring and network management of the serial port equipment, and can carry on the hole axis matching analysis to the collected hole axis data. In this paper, the architecture of data acquisition and analysis system of multi-serial port to Ethernet is presented. The MC-A5D3X-GKA bottom board and MC-A5D3X-CORE core board are used as the hardware carrier, and the MC-A5D3X-GKA core board is used as the hardware carrier. The software system based on embedded Linux is used to realize the transmission of serial port data to Ethernet, and C # is used to develop the upper computer software to realize the real-time display of the collected data and the query of the collected data. SQL SERVER2012 database is used as the media of background data storage and front-end data display. For the qualified hole shaft diameter data collected, the genetic algorithm in the intelligent optimization algorithm is proposed to optimize the hole shaft matching problem in order to achieve the maximum logarithm of the matching success in the same batch of hole shaft pairs. In the case of maximum matching logarithm, the optimal result of minimizing the gap between the holes is compared with the traditional artificial matching results, and the matching rate is greatly improved on the basis of ensuring the matching accuracy. At the same time, the effective matching also reduces the deviation requirement of the hole shaft machining process to some extent.
【学位授予单位】:东华大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP274.2
【参考文献】
相关期刊论文 前10条
1 王璐;;工业大数据激活智能制造[J];软件和集成电路;2016年08期
2 赵福全;刘宗巍;;工业4.0浪潮下中国制造业转型策略研究[J];中国科技论坛;2016年01期
3 孙晓晔;成彬;;串口转以太网模块配置软件设计及实现[J];微型机与应用;2015年22期
4 王建民;;智能制造基础之工业大数据[J];机器人产业;2015年03期
5 胡晶;;工业互联网、工业4.0和“两化”深度融合的比较研究[J];学术交流;2015年01期
6 张曙;;工业4.0和智能制造[J];机械设计与制造工程;2014年08期
7 王海勇;;基于ARM9的嵌入式多串口服务器设计[J];化工自动化及仪表;2013年03期
8 董武;陆利坤;李业丽;;基于W5300的以太网和串口数据相互转换系统设计[J];制造业自动化;2013年02期
9 李红婵;朱颢东;;采用十进制免疫遗传算法求解高校排课问题[J];系统工程理论与实践;2012年09期
10 曾广圣;曾维清;徐冉;;一种基于ARM的以太网串口服务器的设计[J];科技广场;2012年05期
相关硕士学位论文 前8条
1 吴荣斌;基于ARM9的以太网串口服务器的设计与实现[D];兰州交通大学;2014年
2 杨洋;基于ARM的多串口服务器系统[D];昆明理工大学;2014年
3 叶晶;服装数控裁床裁剪路径优化的研究[D];苏州大学;2014年
4 周超;基于Cortex-M3的以太网串口服务器的设计与实现[D];武汉理工大学;2012年
5 袁成文;基于MC9S12NE64的通用串口以太网转换器[D];昆明理工大学;2011年
6 葛明;多路串口服务器的设计与实现[D];浙江工业大学;2011年
7 薛莲;基于ARM的串口转以太网接口设计[D];南京理工大学;2010年
8 侯立丹;等批量孔轴零件的统计配制技术的研究及计算机实现[D];山东理工大学;2010年
,本文编号:2035821
本文链接:https://www.wllwen.com/kejilunwen/zidonghuakongzhilunwen/2035821.html