基于多串口轉(zhuǎn)以太網(wǎng)的數(shù)據(jù)采集及分析系統(tǒng)設(shè)計(jì)
本文選題:串口 + TCP/IP協(xié)議 ; 參考:《東華大學(xué)》2017年碩士論文
【摘要】:工業(yè)大數(shù)據(jù)的基礎(chǔ)是數(shù)據(jù)來(lái)源的準(zhǔn)確性。傳統(tǒng)的零件尺寸數(shù)據(jù)檢測(cè)方法是先通過(guò)測(cè)量?jī)x器進(jìn)行測(cè)量,然后手工記錄再輸入上位機(jī),此模式不僅人力成本高,還會(huì)增加出錯(cuò)率。與此同時(shí),隨著以太網(wǎng)技術(shù)的發(fā)展,基于以太網(wǎng)的網(wǎng)絡(luò)互聯(lián)設(shè)備的使用也開(kāi)始越來(lái)越普及。在這個(gè)背景下,工業(yè)互聯(lián)網(wǎng)及工業(yè)4.0的提出使工業(yè)的發(fā)展突破傳統(tǒng)“制造”的內(nèi)涵,并讓制造和生產(chǎn)更加智能化和低成本化,這在人力成本日益增加的今天,對(duì)于企業(yè)的擴(kuò)大產(chǎn)能和健康發(fā)展具有非常重要的意義。盡管讓所有設(shè)備都能連入互聯(lián)網(wǎng)已成為一種趨向,但設(shè)備通信互聯(lián)的模式仍在不斷發(fā)展和進(jìn)步。串行通信的可靠性和安全性較高,傳輸協(xié)議也相對(duì)簡(jiǎn)單,在近距離的數(shù)據(jù)通信中容易實(shí)現(xiàn),正是由于上述特點(diǎn),RS-232/RS-485等異步串行接口廣泛應(yīng)用于很多終端設(shè)備。但是串行通信存在無(wú)法與距離傳輸,無(wú)法接入主流網(wǎng)絡(luò)等缺點(diǎn),并且串行通信連接的接頭不支持帶電插拔,這給調(diào)試過(guò)程也帶來(lái)諸多不便。而零件尺寸數(shù)據(jù)的采集,不僅是為了判斷生產(chǎn)的零件是否合格,也為了對(duì)零件尺寸數(shù)據(jù)進(jìn)行相關(guān)分析并且用以反饋以及調(diào)整生產(chǎn)情況。孔軸匹配就是零件數(shù)據(jù)分析中的一個(gè)重要問(wèn)題,傳統(tǒng)的解決方法普遍是任意匹配或分組匹配,這種策略在對(duì)精度要求很高的場(chǎng)合很難兼顧匹配精度和成本。本文的研究基于目前行業(yè)中零件的數(shù)據(jù)采集與分析中現(xiàn)實(shí)問(wèn)題以及大部分測(cè)量設(shè)備集成了串口且未聯(lián)網(wǎng)的現(xiàn)狀展開(kāi)。本文的多串口轉(zhuǎn)以太網(wǎng)的數(shù)據(jù)采集及分析系統(tǒng)可以在無(wú)需更換傳統(tǒng)檢測(cè)設(shè)備的基礎(chǔ)上,實(shí)現(xiàn)將串行通信檢測(cè)設(shè)備的串行通信數(shù)據(jù)通過(guò)以太網(wǎng)實(shí)時(shí)傳輸,這可以解決串行通信本身無(wú)法與距離傳輸?shù)膯?wèn)題,實(shí)現(xiàn)串口設(shè)備的監(jiān)控與網(wǎng)絡(luò)化管理,并且可以對(duì)采集到的孔軸數(shù)據(jù)進(jìn)行孔軸匹配分析。本文提出了多串口轉(zhuǎn)以太網(wǎng)的數(shù)據(jù)采集及分析系統(tǒng)的總體架構(gòu),并采用邁沖科技公司設(shè)計(jì)的MC-A5D3X-GKA底板以及MC-A5D3X-CORE核心板為硬件載體,使用基于嵌入式Linux的軟件系統(tǒng)實(shí)現(xiàn)串口數(shù)據(jù)到以太網(wǎng)的傳輸,利用C#開(kāi)發(fā)上位機(jī)軟件實(shí)現(xiàn)采集數(shù)據(jù)的實(shí)時(shí)顯示和已采集數(shù)據(jù)的查詢,使用SQL SERVER2012數(shù)據(jù)庫(kù)作為后臺(tái)數(shù)據(jù)存儲(chǔ)及前端數(shù)據(jù)展示的媒介。對(duì)采集到的合格的孔軸直徑數(shù)據(jù),提出用智能優(yōu)化算法中的遺傳算法對(duì)孔軸匹配問(wèn)題進(jìn)行優(yōu)化,以達(dá)到同批量孔軸對(duì)匹配成功的對(duì)數(shù)最多,并在匹配對(duì)數(shù)最多的情況下讓孔軸間間隙最小的優(yōu)化結(jié)果,與傳統(tǒng)人工匹配的結(jié)果相比,在確保匹配精度基礎(chǔ)上,大大提高了匹配率。同時(shí),有效的匹配也在一定程度上降低了孔軸加工過(guò)程的偏差要求。
[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.
【學(xué)位授予單位】:東華大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP274.2
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 王璐;;工業(yè)大數(shù)據(jù)激活智能制造[J];軟件和集成電路;2016年08期
2 趙福全;劉宗巍;;工業(yè)4.0浪潮下中國(guó)制造業(yè)轉(zhuǎn)型策略研究[J];中國(guó)科技論壇;2016年01期
3 孫曉曄;成彬;;串口轉(zhuǎn)以太網(wǎng)模塊配置軟件設(shè)計(jì)及實(shí)現(xiàn)[J];微型機(jī)與應(yīng)用;2015年22期
4 王建民;;智能制造基礎(chǔ)之工業(yè)大數(shù)據(jù)[J];機(jī)器人產(chǎn)業(yè);2015年03期
5 胡晶;;工業(yè)互聯(lián)網(wǎng)、工業(yè)4.0和“兩化”深度融合的比較研究[J];學(xué)術(shù)交流;2015年01期
6 張曙;;工業(yè)4.0和智能制造[J];機(jī)械設(shè)計(jì)與制造工程;2014年08期
7 王海勇;;基于ARM9的嵌入式多串口服務(wù)器設(shè)計(jì)[J];化工自動(dòng)化及儀表;2013年03期
8 董武;陸利坤;李業(yè)麗;;基于W5300的以太網(wǎng)和串口數(shù)據(jù)相互轉(zhuǎn)換系統(tǒng)設(shè)計(jì)[J];制造業(yè)自動(dòng)化;2013年02期
9 李紅嬋;朱顥東;;采用十進(jìn)制免疫遺傳算法求解高校排課問(wèn)題[J];系統(tǒng)工程理論與實(shí)踐;2012年09期
10 曾廣圣;曾維清;徐冉;;一種基于ARM的以太網(wǎng)串口服務(wù)器的設(shè)計(jì)[J];科技廣場(chǎng);2012年05期
相關(guān)碩士學(xué)位論文 前8條
1 吳榮斌;基于ARM9的以太網(wǎng)串口服務(wù)器的設(shè)計(jì)與實(shí)現(xiàn)[D];蘭州交通大學(xué);2014年
2 楊洋;基于ARM的多串口服務(wù)器系統(tǒng)[D];昆明理工大學(xué);2014年
3 葉晶;服裝數(shù)控裁床裁剪路徑優(yōu)化的研究[D];蘇州大學(xué);2014年
4 周超;基于Cortex-M3的以太網(wǎng)串口服務(wù)器的設(shè)計(jì)與實(shí)現(xiàn)[D];武漢理工大學(xué);2012年
5 袁成文;基于MC9S12NE64的通用串口以太網(wǎng)轉(zhuǎn)換器[D];昆明理工大學(xué);2011年
6 葛明;多路串口服務(wù)器的設(shè)計(jì)與實(shí)現(xiàn)[D];浙江工業(yè)大學(xué);2011年
7 薛蓮;基于ARM的串口轉(zhuǎn)以太網(wǎng)接口設(shè)計(jì)[D];南京理工大學(xué);2010年
8 侯立丹;等批量孔軸零件的統(tǒng)計(jì)配制技術(shù)的研究及計(jì)算機(jī)實(shí)現(xiàn)[D];山東理工大學(xué);2010年
,本文編號(hào):2035821
本文鏈接:http://www.lk138.cn/kejilunwen/zidonghuakongzhilunwen/2035821.html