跳到主要內容

臺灣博碩士論文加值系統

(44.200.82.149) 您好!臺灣時間:2023/06/09 22:38
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:林似鋒
研究生(外文):Ssu-feng Lin
論文名稱:一個基於PLCopen的嵌入式可程式邏輯控制器快速開發平台
論文名稱(外文):A PLCopen-based Rapid Development Platform for Embedded Programmable Logic Controller
指導教授:陳慶瀚陳慶瀚引用關係
學位類別:碩士
校院名稱:國立中央大學
系所名稱:資訊工程學系在職專班
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2014
畢業學年度:102
語文別:中文
論文頁數:93
中文關鍵詞:PLCPLCopenIEC61131-3
外文關鍵詞:PLCPLCopenIEC61131-3
相關次數:
  • 被引用被引用:2
  • 點閱點閱:2147
  • 評分評分:
  • 下載下載:64
  • 收藏至我的研究室書目清單書目收藏:0
PLC是工業自動化領域一個不可或缺的設備。隨著工業4.0趨勢的出現,傳統的封閉式控制系統已經不能滿足未來智慧製造的需求,新的PLC技術將朝向開放式、標準化,並且具有快速開發和跨硬體平台佈署的能力發展。本研究基於PLCopen的開放性架構,提出一個新的PLC軟硬體開發平台。此一平台使用開放源碼的PLCopen編輯器進行PLC應用系統的編輯,本研究則實現一個XML分析器(parser)和C code產生器。得以將編輯完成的PLC應用系統合成為低階的ANSI C程式。為了實現完整的嵌入式PLC系統開發,我們針對低功耗、低成本的微控制器目標硬體 STM32F207,設計了一個符合IEC61131-3標準的嵌入式中介軟體,作為PLC在微控制器的即時執行引擎。最後我們整合微控制器的各類PLC週邊,包含DIO、RS485通訊、步進馬達驅動,結合上述軟體,完成一個開放性嵌入式PLC快速開發和驗證平台。論文最後,我們以數個應用實例來驗證和演示此開發平台之功能。
Programmable Logic Controller (PLC) is indispensable automation equipment in industry. While the traditional closed control system cannot meet the needs of future intellectual manufacturing, with the emergence of industrial 4.0 trends, the new PLC technology will make it possible to have an open and standardized hardware platform deployment, capable of having efficient and effective developments and deployments. Based on the open architecture of PLCopen standard, this study is to propose a new PLC hardware and software development platform. This platform uses open source editor for editing PLC application system using SFC language, which is saved as XML file. We design an XML parser and C code generator for converting the XML to low-level ANSI C program. In order to achieve a completely embedded PLC system development, based on low-cost microcontroller solution, we design and implement an embedded PLC middleware in line with the IEC61131-3 standard as PLC run-time engine. Finally, we integrate STM32F207 microcontroller with divers PLC peripherals, including DIO, RS485 communication, and stepper motor drivers to form an evaluation board. In combination with the above software, we have completed an embedded PLC rapid development platform. In conclusion of this paper, we use a number of application examples to validate and demonstrate the functionalities of this development platform.
摘要 III
Abstract IV
目錄 V
圖目錄 VIII
表目錄 XI
第一章、緒論 1
1.1 研究背景與動機 1
1.2 研究目的 3
1.3 論文架構 4
第二章、文獻回顧 5
2.1 SoftPLC 5
2.2 可程式邏輯控制器(PLC) 6
2.3 IEC61131-3標準 7
2.4 PLCopen 13
2.5 PLCopen Editor (Beremiz) 14
第三章、嵌入式PLC開發平台系統架構 15
3.1 系統架構與開發流程 15
3.2 各部硬體 17
3.2.1 微控制器STM32F207開發板 17
3.2.2 數位輸入模組 18
3.2.3 數位輸出模組 19
3.2.4 步進馬達及驅動器模組 21
3.2.5 RS485通訊模組 23
3.2.6 Modbus通訊協定 25
3.3 PLC嵌入式中介軟體(Run-Time Engine) 32
3.4 XML轉C code 33
第四章、系統整合實作 36
4.1開發流程 36
4.2 PLCopen Editor - Beremiz 38
4.3 XML Parser 39
4.3.1 XML介紹 39
4.3.2 XML解析 40
4.4 XML轉C code產生器 43
4.5 程式碼編譯及下載到硬體平台 48
4.5.1 Keil uVersion 4介紹 49
4.5.2 編譯及下載C code 49
第五章、開發平台驗證 51
5.1 硬體平台 51
5.2 應用例一(延時開燈) 51
5.2.1 示意圖 51
5.2.2 動作說明 51
5.2.3 裝置說明 52
5.2.4 驗證流程與結果 52
5.3 應用例二(燈號閃爍) 55
5.3.1 示意圖 55
5.3.2 動作說明 55
5.3.3 裝置說明 56
5.3.4 驗證流程與結果 56
5.4 應用例三(停車場) 61
5.4.1 示意圖 61
5.4.2 動作說明 61
5.4.3 裝置說明 61
5.4.4 驗證流程與結果 62
5.5 應用例四(生產出貨) 67
5.5.1 示意圖 67
5.5.2 動作說明 67
5.5.3 裝置說明 67
5.5.4 驗證流程與結果 68
5.6 與現有PLC比較 72
第六章、結論與未來展望 73
6.1結論 73
6.2未來展望 73
參考文獻 74
附錄A 76

[1]PLC, “Programmable logic controller”, [Online].Avaliable: http://en.wikipedia.org/wiki/Programmable_logic_controller
[2]Dong Yulin, Zheng Chunjiao, “Design and Research of Embedded PLC Development System”, Computer Research and Development (ICCRD), Volume: 3 pp. 226-228, 11-13 March 2011.
[3]R. W. Lewis, “Programming Industrial Control System using IEC1131-3”, 1995.
[4]S.J. Song, X.F. Lin, Q.B. Huang, C.H. Wang, “An Embedded SoftLogic Control System Based on S3C44BOX and IEC 61131-3 Standard”, Control and Automation, pp. 2060-2064, May 30 2007-June 1 2007.
[5]Eelco van der Wal, “Introduction into IEC 1131-3 and PLCopen”, The Application of IEC 61131 to Industrial Control: Improve Your Bottom Line Through High Value Industrial Control Systems (Ref. No. 1999/076), pp. 2/1-2/8, 1999.
[6]PLCopen Technical Committee 6, “XML Formats for IEC 61131-3,Ver 1.0”, April 2005.
[7]浯陽科技, “MIAT-STM32嵌入式ARM Cortex M3開發平台”, [Online].Avaliable: http://www.wu-yang.com.tw/p_info.php?p_type=1
[8]PLCopen Editor, “PLCopen Editor”, [Online].Avaliable: http://www.beremiz.org/
[9]TC6-XML, “PLCopen TC6-XML”, [Online].Avaliable: http://www.plcopen.org/
[10]E.Estevez, M.Marcos, E.Irisarri, “Analysis of IEC 61131-3 Compliance through PLCopen XML Interface”, 7th IEEE International Conference on Industrial Informatics, pp. 757-762, 23-26 June 2009.
[11]R.J.Mayer, “IDEF0 Function Modeling”, Air Force Systems Command, May 1992.
[12]匯誠科技, “四路光電隔離模塊”, [Online].Avaliable: http://item.taobao.com/item.htm?spm=a1z10.3.w4002-2585687092.46.apOuAJ&id=14944629600/
[13]宏遠電子, “8路繼電器模塊”, [Online].Avaliable: http://item.taobao.com/item.htm?id=16208263577/
[14]宏遠電子, “步進電機驅動板+步進電機”, [Online].Avaliable: http://item.taobao.com/item.htm?spm=a1z10.3.w4002-2910568053.19.aawa54&id=35464431412/
[15]柏毅電子, “MAX485模組”, [Online].Avaliable: http://goods.ruten.com.tw/item/show?21303030169468/
[16]Modbus-IDA, “Modbus Application Protocol Specification Version 1.1b”, 2006.
[17]Ching-Han Chen,Chia-Ming Kuo,Chen-Yuan Chen and Jia-Hong Dai, “The design and synthesis using hierarchical robotic discrete-event modeling”, Journal of Vibration and Control, 2012.
[18]Keil Corporation, “Keil uVersion4 IDE”, [Online].Avaliable: http://www.keil.com/uvision/uv4.asp/

連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
1. 王欽賢:〈禪境之觀照──冥契主義的觀點〉,《鵝湖學誌》,第26期(2001年),頁107-126。
2. 牟宗三:〈研究中國哲學之文獻途徑〉,《鵝湖月刊》第121期(1985年7月),頁1-7。
3. 沈清松:〈老子的溝通理論──詮釋與重構〉,《哲學年刊》第3期(1985年6月),頁409-425。
4. 何澤恆:〈孔子與易傳相關問題覆議〉,《臺大中文學報》第12期(2000年5月),頁5-55。
5. 李明輝:〈牟宗三先生的哲學詮釋之方法論問題〉,《中國文哲研究集刊》第8期(1996年3月),頁175-196。
6. 林啟屏:〈「內在超越」的一個發生學解釋:以堯舜形象為討論中心〉,《哲學與文化》第39卷第4期(2012年4月),頁117-140。
7. 林月惠:〈陽明後學的「克己復禮」解及其工夫論之意涵〉,《法鼓人文學報》第2期(2005年12月),頁161-202。
8. 林維杰:〈牟宗三先生論儒教〉,《揭諦》第7期(2004年6月),頁77-108。
9. 林遠澤:〈克己復禮為仁──論儒家實踐理性類型學的後習俗責任倫理學重構〉,《清華學報》新42卷第3期(2012年9月),頁401-442。
10. 周鳳五:〈郭店楚墓竹簡〈唐虞之道〉新釋〉,《中央研究院歷史語言研究所集刊》第70本3分(1999年9月),頁739-759。
11. 周大興:〈儒家大路道家棧──《老子哲學之詮釋與重建》評介〉,《中國文哲研究通訊》第2卷3期(1992年9月),頁70-83。
12. 施益堅:〈從Kant 到康德:牟宗三的「華語哲學」 之現身〉,《揭諦》17期(2009年7月),頁25-46。
13. 陳榮灼:〈道家之「自然」與海德格之「Er-eignis」〉,《清華學報》第34卷2期(2004年12月),頁245-269。
14. 黃俊傑:〈中國古代儒家歷史思維的方法及其運用〉,《中國文哲研究集刊》第3期(1993年3月),頁361-390。
15. 黃銘崇:〈古史即「神話」──以《大荒經》及《堯典》為中心的再檢討〉,《新史學》7卷3期(1996年9月),頁175-194。