高速高精多通道數(shù)控系統(tǒng)中基于FPGA的EtherCAT主站設計
本文選題:EtherCAT 切入點:FPGA 出處:《合肥工業(yè)大學》2017年碩士論文
【摘要】:計算機、微電子技術的日新月異使得各行各業(yè)經歷了變革性的洗禮,在制造業(yè)具有舉足輕重地位的數(shù)控技術也趕上了這時代的潮流,突破了原有的格局,朝著開放多通道式、網(wǎng)絡互聯(lián)化、智能化發(fā)展,而數(shù)控系統(tǒng)的傳統(tǒng)通信接口的弱實時性、復雜的現(xiàn)場配置、固件升級困難等缺陷漸漸成為制約其向高速高精多通道發(fā)展的障礙。目前,以太網(wǎng)技術在工業(yè)領域中嶄露頭角,越來越多的數(shù)控系統(tǒng)通信接口 結合了 以太網(wǎng)技術,EtherCAT(Ethernet for Control Automation Technology)工業(yè)實時以太網(wǎng)由德國倍福推出,將以太網(wǎng)技術執(zhí)行到了底層設備級,更兼具了高傳輸速率、高同步性、低延時、多拓撲等特性。針對數(shù)控技術中的通信接口問題,本文提出了基于FPGA實現(xiàn)實時以太網(wǎng)EtherCAT主站的設計方案。首先,結合數(shù)控系統(tǒng)的發(fā)展狀況查閱現(xiàn)場總線的發(fā)展歷史,指出傳統(tǒng)數(shù)控系統(tǒng)通信接口的局限性,并提出新的要求。研究近年來出現(xiàn)的實時以太網(wǎng)現(xiàn)場總線的技術背景和國際標準,通過對比主流的實時以太網(wǎng)解決方案,闡述EtherCAT在自動化加工、數(shù)控領域中表現(xiàn)出的技術優(yōu)勢。其次,深入研究EtherCAT技術的協(xié)議原理,包括拓撲結構、尋址方式、分布式時鐘同步原理、應用層協(xié)議等,為實現(xiàn)EtherCAT主站做好理論基礎。根據(jù)研究背景,對主站整體方案實現(xiàn)進行規(guī)劃和設計。根據(jù)主站需求,設計了以FPGA為核心的硬件電路,分別闡述了各個功能模塊的設計選型并附有原理圖,為主站的實現(xiàn)提供了可靠有效的實現(xiàn)平臺。再次,FPGA作為EtherCAT主站實現(xiàn)的主體平臺,協(xié)議棧主體、網(wǎng)卡驅動等NIOSⅡ軟核中實現(xiàn),其他配合模塊以VHDL實現(xiàn)。提出一種亦基于FPGA的以太網(wǎng)現(xiàn)場總線的時鐘同步策略和雙網(wǎng)口的硬件冗余提高可靠性和處理異警情況的措施的設計思路,基于FPGA可以更加精確的實現(xiàn)時間戳的捕獲的特性;利用PI控制器原理建立時鐘同步算法并構建時鐘頻率補償模塊以優(yōu)化穩(wěn)定主時鐘晶振。利用雙網(wǎng)口的硬件結構實現(xiàn)主站的冗余,提高系統(tǒng)可靠性,并給出了從站異常狀態(tài)下主站的處理流程。最后,構建系統(tǒng)測試平臺,包括EtherCAT的FPGA主站控制器,臺達數(shù)字交流伺服驅動器ASDA-A2-E750W和電機ECMA-C10807RS。通過測試實驗表明,以本文設計主站主導的EtherCAT通信系統(tǒng)具有良好的實時性、同步性及穩(wěn)定性。
[Abstract]:With the rapid development of computer and microelectronics technology, various industries have experienced a revolutionary baptism. Numerical control technology, which plays an important role in the manufacturing industry, has also caught up with the trend of the times, breaking through the original pattern and moving towards the open multi-channel mode. Network interconnection, intelligent development, and the traditional communication interface of CNC system, such as weak real-time, complex field configuration, difficulty in firmware upgrade, etc, gradually become the obstacle to the development of high-speed and high-precision multi-channel. Ethernet technology is emerging in the industrial field. More and more CNC system communication interfaces combine Ethernet technology with Ethernet for Control Automation technology. Industrial real-time Ethernet is introduced by Germany, and the Ethernet technology is executed to the bottom device level. It also has the characteristics of high transmission rate, high synchronization, low delay, multi-topology and so on. Aiming at the problem of communication interface in numerical control technology, this paper proposes a design scheme of real-time Ethernet EtherCAT master station based on FPGA. According to the development of CNC system, the history of fieldbus is consulted, the limitation of communication interface of traditional NC system is pointed out, and the new requirements are put forward. The technical background and international standard of real-time Ethernet fieldbus are studied in recent years. By comparing the mainstream real-time Ethernet solutions, this paper expounds the technical advantages of EtherCAT in the field of automatic machining and numerical control. Secondly, the protocol principle of EtherCAT technology, including topology structure and addressing method, is studied in depth. The principle of distributed clock synchronization, application layer protocol and so on, are used to lay the theoretical foundation for the realization of EtherCAT master station. According to the research background, the overall scheme of master station is planned and designed. According to the demand of master station, the hardware circuit based on FPGA is designed. The design and selection of each functional module are described and the schematic diagram is attached. The realization of the main station provides a reliable and effective implementation platform. Again, as the main platform of EtherCAT master station, the protocol stack main body, network card driver and other NIOS II soft core are realized. Other cooperation modules are implemented by VHDL. A design idea of clock synchronization strategy of Ethernet fieldbus based on FPGA and hardware redundancy of double network port to improve reliability and deal with abnormal alarm situation is presented. Time stamp capture can be realized more accurately based on FPGA. The clock synchronization algorithm is established by using Pi controller principle and the clock frequency compensation module is constructed to optimize and stabilize the master clock crystal oscillator. The redundancy of the master station is realized by using the hardware structure of the double network port and the system reliability is improved. Finally, the system test platform, including EtherCAT FPGA master controller, Delta digital AC servo driver ASDA-A2-E750W and motor ECMA-C10807RS, is constructed. The design of EtherCAT communication system with master station in this paper has good real-time, synchronization and stability.
【學位授予單位】:合肥工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TG659
【相似文獻】
相關期刊論文 前10條
1 ;國家高技術產業(yè)化示范工程項目“高性能數(shù)控系統(tǒng)產業(yè)化”及國家數(shù)控系統(tǒng)工程技術研究中心通過國家批復立項建設[J];華中理工大學學報;2000年03期
2 ;多種數(shù)控系統(tǒng)鉆孔循環(huán)編程的比較[J];計算機輔助設計與制造;2000年11期
3 孫季初;用于高速加工的數(shù)控系統(tǒng)[J];世界制造技術與裝備市場;2000年03期
4 韓江,趙福民,王治森,吳焱明;網(wǎng)絡數(shù)控系統(tǒng)的概念及其技術內容[J];中國機械工程;2001年10期
5 李雪文;數(shù)控系統(tǒng)特殊故障排除三例[J];機床電器;2001年04期
6 陸紅偉,汪木蘭;數(shù)控系統(tǒng)實驗裝置的研制[J];南京工程學院學報;2001年01期
7 張運泰,王利;多種數(shù)控系統(tǒng)鉆孔循環(huán)編程的比較[J];機械工人.冷加工;2001年01期
8 ;數(shù)控系統(tǒng)的種類和用途[J];機械工人.冷加工;2001年05期
9 李瑩,王炳升;開放化的數(shù)控系統(tǒng)[J];機械工人.冷加工;2001年11期
10 李宏勝;現(xiàn)代數(shù)控系統(tǒng)的技術特點與發(fā)展趨勢[J];制造業(yè)自動化;2002年11期
相關會議論文 前10條
1 丁文飛;孫永全;郭建英;;數(shù)控系統(tǒng)故障模式模糊風險分析[A];2009年全國機械可靠性技術學術交流會暨第四屆可靠性工程分會成立大會論文集[C];2009年
2 鄒方;薛漢杰;劉強;;數(shù)控系統(tǒng)的網(wǎng)絡支持技術[A];《制造業(yè)自動化與網(wǎng)絡化制造》學術交流會論文集[C];2004年
3 鄒方;薛漢杰;劉強;;數(shù)控系統(tǒng)的網(wǎng)絡支持技術[A];先進制造技術論壇暨第三屆制造業(yè)自動化與信息化技術交流會論文集[C];2004年
4 陳道君;米玉華;;840D數(shù)控系統(tǒng)用于兩地控制的改造技術[A];第二屆全國信息與電子工程學術交流會暨第十三屆四川省電子學會曙光分會學術年會論文集[C];2006年
5 林波;周尚榮;林培輝;;基于數(shù)控系統(tǒng)網(wǎng)絡化通信的對比研究[A];先進制造技術論壇暨第五屆制造業(yè)自動化與信息化技術交流會論文集[C];2006年
6 王太勇;李宏偉;汪文津;趙巍;李波;;基于嵌入式架構自治模型的數(shù)控系統(tǒng)智能化平臺的研究[A];全面建設小康社會:中國科技工作者的歷史責任——中國科協(xié)2003年學術年會論文集(上)[C];2003年
7 劉清建;王太勇;劉振忠;吳榮宗;王潤;;數(shù)控系統(tǒng)在機狀態(tài)監(jiān)測與遠程監(jiān)控研究[A];機械動力學理論及其應用[C];2011年
8 雒補清;;西門子802D數(shù)控系統(tǒng)典型故障分析研究[A];2009年促進中部崛起專家論壇暨第五屆湖北科技論壇——裝備制造產業(yè)發(fā)展論壇論文集(下)[C];2009年
9 韓向春;李浩;;數(shù)控系統(tǒng)程序編輯器的設計與實現(xiàn)[A];《制造業(yè)自動化與網(wǎng)絡化制造》學術交流會論文集[C];2004年
10 韓向春;李浩;;數(shù)控系統(tǒng)程序編輯器的設計與實現(xiàn)[A];先進制造技術論壇暨第三屆制造業(yè)自動化與信息化技術交流會論文集[C];2004年
相關重要報紙文章 前10條
1 功山;數(shù)控系統(tǒng)確立“十一五”目標[N];中國工業(yè)報;2006年
2 徐虹;多通道模塊數(shù)控系統(tǒng)問世[N];科技日報;2005年
3 金石;日數(shù)控系統(tǒng)漲價 臺機床業(yè)面臨成本壓力[N];中國工業(yè)報;2011年
4 亓娟;泰鋼能源數(shù)控系統(tǒng)運行穩(wěn)定[N];中國冶金報;2012年
5 喬立;誰將是中國數(shù)控系統(tǒng)第一品牌[N];中國機電日報;2002年
6 蘇靜 繆金元;數(shù)控系統(tǒng)實現(xiàn)智能化開放式[N];中國航天報;2000年
7 見習記者 嚴曼青;中低端數(shù)控系統(tǒng) 從獨行俠到眾人行[N];機電商報;2005年
8 李本禹;中國要發(fā)展自己的高端數(shù)控系統(tǒng)[N];機電商報;2005年
9 本報記者 胥娟;國產數(shù)控系統(tǒng)路在何方[N];機電商報;2005年
10 趙立新;中國機床呼喚“中國大腦”數(shù)控系統(tǒng)產業(yè)共圖發(fā)展大計[N];機電商報;2005年
相關博士學位論文 前10條
1 黃祖廣;基子功能安全的數(shù)控系統(tǒng)設計方法及關鍵技術研究[D];山東大學;2015年
2 王國勛;基于STEP-NC的開放式數(shù)控系統(tǒng)若干關鍵技術研究[D];東北大學;2013年
3 王濤;數(shù)控系統(tǒng)的可靠性設計理論和方法研究[D];天津大學;2008年
4 王文斌;嵌入式可重構數(shù)控系統(tǒng)及其關鍵技術研究[D];上海大學;2007年
5 喬巍巍;數(shù)控系統(tǒng)可靠性建模及熵權模糊綜合評價[D];吉林大學;2008年
6 余順周;編譯型數(shù)控系統(tǒng)及其關鍵技術的研究[D];哈爾濱工業(yè)大學;2007年
7 劉清建;數(shù)控系統(tǒng)運動控制及運行優(yōu)化[D];天津大學;2010年
8 金新娟;面向服務的動態(tài)可配置數(shù)控系統(tǒng)及其關鍵技術研究[D];武漢理工大學;2012年
9 岳東峰;數(shù)控系統(tǒng)功能安全關鍵技術的研究[D];中國科學技術大學;2012年
10 楊磊;基于工業(yè)以太網(wǎng)的數(shù)控系統(tǒng)實時性問題研究[D];中國科學技術大學;2014年
相關碩士學位論文 前10條
1 葉蕾;基于uC/OS-II和ARM9的嵌入式數(shù)控系統(tǒng)人機接口研究[D];華南理工大學;2015年
2 徐愷;國產數(shù)控系統(tǒng)通信機制及軟件研究與實現(xiàn)[D];中國地質大學(北京);2015年
3 劉娜娜;基于UMAC的鏜銑加工中心的數(shù)控系統(tǒng)的研究與開發(fā)[D];沈陽理工大學;2015年
4 王明陽;基于UMAC的超精密車銑復合機床數(shù)控系統(tǒng)的研制[D];哈爾濱工業(yè)大學;2015年
5 馬軍;數(shù)控機床VMC850E的數(shù)控系統(tǒng)改造[D];電子科技大學;2014年
6 鄧林;基于DSP和1553B總線的航空發(fā)動機數(shù)控系統(tǒng)的設計與實現(xiàn)[D];上海交通大學;2014年
7 OH和;高壓氣瓶專用螺紋數(shù)控機床電氣設計[D];北京工業(yè)大學;2014年
8 周志敏;基于開放性數(shù)控系統(tǒng)的黃金鏈珠車花機床的研制[D];哈爾濱工業(yè)大學;2015年
9 王兵強;基于運動控制卡的數(shù)控實驗臺數(shù)控系統(tǒng)研究[D];青島大學;2015年
10 趙偉;基于ARM和FPGA的嵌入式數(shù)控系統(tǒng)的研究實現(xiàn)[D];上海交通大學;2013年
,本文編號:1678456
本文鏈接:http://www.sikaile.net/shoufeilunwen/boshibiyelunwen/1678456.html