基于CAN通信的DNC系統(tǒng)智能轉(zhuǎn)換模塊設計
本文選題:網(wǎng)絡化制造 + 數(shù)控機床 ; 參考:《蘭州交通大學》2017年碩士論文
【摘要】:制造業(yè)是整個國家的工業(yè)基礎,其發(fā)展水平直接體現(xiàn)了一個國家的綜合國力。隨著“互聯(lián)網(wǎng)+制造業(yè)”的到來,將計算機網(wǎng)絡技術(shù)和制造業(yè)兩者緊密結(jié)合起來組成新的網(wǎng)絡化制造模式可以提高企業(yè)的經(jīng)濟效益。數(shù)控機床是現(xiàn)代制造業(yè)的重要設備,其產(chǎn)量和技術(shù)水平體現(xiàn)了國家在制造業(yè)的國際競爭力。目前,我國仍存在大量的不具備聯(lián)網(wǎng)功能的中低檔經(jīng)濟型數(shù)控機床,限制了我國制造業(yè)發(fā)展水平的提升。數(shù)控機床網(wǎng)絡化利用不同網(wǎng)絡組建分布式數(shù)字控制(DNC)系統(tǒng)可實現(xiàn)計算機對多臺數(shù)控機床的實時控制,提高了設備利用率,降低生產(chǎn)成本。CAN總線構(gòu)建的DNC系統(tǒng),上位機對多臺數(shù)控機床控制過程中即使在可調(diào)度范圍內(nèi),由于調(diào)度不當仍會發(fā)生通信沖突。本文設計的智能協(xié)議轉(zhuǎn)換模塊增加了先進先出(FIFO)存儲子模塊,模塊的智能性體現(xiàn)在構(gòu)建了雙層通信網(wǎng)絡,可以對FIFO存儲器的存儲狀態(tài)進行判斷,模塊向上位機發(fā)送狀態(tài)信號,滿狀態(tài)時上位機轉(zhuǎn)而服務其它模塊,空狀態(tài)時上位機轉(zhuǎn)而服務該模塊,保證數(shù)控機床正常工作的同時提高了設備的使用效率。接收數(shù)控機床的狀態(tài)信號,保證數(shù)據(jù)的正常傳輸。以通信沖突為研究點,CAN總線速率、程序消耗率、數(shù)據(jù)傳輸效率等參數(shù)建模計算FIFO存儲器的上下限及分析具體環(huán)境參數(shù)變化對上下限的影響,通過設置合理的門限值可以有效完成上位機對數(shù)控機床控制的調(diào)度,避免通信沖突的發(fā)生。大多數(shù)中低檔經(jīng)濟型數(shù)控機床接口為RS232C,RS485兩種,一般的協(xié)議轉(zhuǎn)換模塊只能實現(xiàn)對其中一種接口數(shù)據(jù)的轉(zhuǎn)換。設計的協(xié)議轉(zhuǎn)換模塊具有兩種接口可完成CAN-RS232C,CAN-RS485功能的轉(zhuǎn)換,用戶可根據(jù)需要選擇適當?shù)霓D(zhuǎn)換接口。最后,針對設計要求進行了相應的硬件和軟件設計,根據(jù)使用環(huán)境的設計要求對可靠性進行了研究。本文所設計協(xié)議轉(zhuǎn)換模塊在DNC系統(tǒng)中對不同總線間的數(shù)據(jù)進行格式轉(zhuǎn)換,通過對各模塊的仿真和現(xiàn)場運行驗證了設計的合理性。
[Abstract]:Manufacturing industry is the industrial foundation of the whole country, and its development level directly reflects the comprehensive national strength of a country. With the advent of "Internet manufacturing industry", the combination of computer network technology and manufacturing industry to form a new networked manufacturing model can improve the economic benefits of enterprises. CNC machine tool is an important equipment in modern manufacturing industry. Its output and technical level reflect the national international competitiveness in manufacturing industry. At present, there are still a large number of medium and low grade economic NC machine tools without networking function in China, which limits the development level of manufacturing industry in China. The distributed digital control (DNCC) system based on different networks can be used to realize the real time control of many NC machine tools, which can improve the utilization rate of the equipment and reduce the production cost. Can bus is used to construct the DNC system. In the process of controlling several NC machine tools, communication conflicts still occur due to improper scheduling, even in the range of scheduling. The intelligent protocol conversion module designed in this paper adds the first-in-first-out FIFO (FIFO) storage sub-module. The intelligence of the module is reflected in the construction of a two-layer communication network, which can judge the storage status of FIFO memory and send the state signal to the host computer. The upper computer serves other modules when it is in full state, and the upper computer serves this module when it is in space, which ensures the normal operation of NC machine tools and improves the efficiency of the equipment at the same time. Receive the status signal of NC machine tool to ensure the normal transmission of data. With the communication conflict as the research point, can bus rate, program consumption rate, data transmission efficiency and other parameters are modeled to calculate the upper and lower limits of FIFO memory and to analyze the influence of the change of specific environmental parameters on the upper and lower limits. By setting reasonable threshold values, the scheduling of NC machine tools can be accomplished effectively and communication conflicts can be avoided. There are two kinds of interface for most middle and low grade economical NC machine tools: RS232CU RS485, and the general protocol conversion module can only realize the conversion of one kind of interface data. The designed protocol conversion module has two interfaces to complete the conversion of CAN-RS232CU CAN-RS485 function. The user can choose the appropriate conversion interface according to the need. Finally, the corresponding hardware and software are designed according to the design requirements, and the reliability is studied according to the design requirements of the operating environment. In this paper, the protocol conversion module is designed to convert the format of data between different buses in DNC system, and the rationality of the design is verified by simulation and field operation of each module.
【學位授予單位】:蘭州交通大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP273
【參考文獻】
相關(guān)期刊論文 前10條
1 胡鑫;;數(shù)控加工設備網(wǎng)絡化技術(shù)研究[J];科技展望;2016年29期
2 劉德仿;季明坤;王斌;;面向模具制造過程的制造物聯(lián)數(shù)據(jù)采集方法研究[J];鹽城工學院學報(自然科學版);2016年03期
3 于傳;潘世麗;舒永志;;基于數(shù)字電路的Profibus-DP總線光電信號轉(zhuǎn)換模塊的設計[J];國網(wǎng)技術(shù)學院學報;2016年04期
4 蔡銳龍;李曉棟;錢思思;;國內(nèi)外數(shù)控系統(tǒng)技術(shù)研究現(xiàn)狀與發(fā)展趨勢[J];機械科學與技術(shù);2016年04期
5 許建峰;姚浩;唐亮;周全宇;;一種基于重傳功能的新型FIFO設計[J];江蘇科技信息;2016年02期
6 安連華;管德永;程鵬;;CAN總線在智能公交系統(tǒng)中的應用[J];城市公共交通;2016年01期
7 張玉平;葉圣江;;基于FPGA的虛擬FIFO改進設計[J];沈陽工業(yè)大學學報;2016年03期
8 李忠唐;;CAN總線技術(shù)在組合機床通信系統(tǒng)中的應用[J];科技創(chuàng)新與應用;2015年31期
9 童有好;;我國互聯(lián)網(wǎng)+制造業(yè)發(fā)展的難點與對策[J];中州學刊;2015年08期
10 房志亮;劉本剛;方柏鑫;胡毅;;國產(chǎn)數(shù)控系統(tǒng)DNC網(wǎng)絡接口解決方案及實現(xiàn)[J];制造技術(shù)與機床;2015年08期
相關(guān)博士學位論文 前2條
1 鄭一麟;基于物聯(lián)網(wǎng)的數(shù)控機床實時監(jiān)測預警技術(shù)的研究[D];中國科學院研究生院(沈陽計算技術(shù)研究所);2015年
2 童亮;數(shù)控機床網(wǎng)絡化集成運行模式及關(guān)鍵集成技術(shù)研究[D];重慶大學;2011年
相關(guān)碩士學位論文 前9條
1 葉百勝;基于RTX的開放式數(shù)控系統(tǒng)研究[D];上海工程技術(shù)大學;2016年
2 王信;基于網(wǎng)絡制造環(huán)境的現(xiàn)代制造技術(shù)訓練平臺設計與研究[D];昆明理工大學;2015年
3 趙海潞;基于ARM的多總線協(xié)議轉(zhuǎn)換器的研究與設計[D];哈爾濱理工大學;2015年
4 張秀娟;基于DNC技術(shù)的數(shù)控車間網(wǎng)絡化改造項目研究[D];南昌大學;2014年
5 夏軍;機床智能化提升終端系統(tǒng)支撐平臺的動態(tài)可配置技術(shù)研究[D];重慶大學;2014年
6 司嵐山;一種高速大容量異步FIFO存儲器的設計[D];江南大學;2013年
7 賈皓;制造企業(yè)先進制造系統(tǒng)的效益研究[D];燕山大學;2012年
8 許沛云;智能PCI-CAN及485接口卡的設計及其應用[D];哈爾濱工業(yè)大學;2010年
9 張海艷;RS232/485與CAN總線協(xié)議轉(zhuǎn)換器的研究與設計[D];大連海事大學;2008年
,本文編號:2007667
本文鏈接:http://sikaile.net/kejilunwen/zidonghuakongzhilunwen/2007667.html