【正文】
......... 53 第 五 章 軟件設計 ............................................................................................................... 54 匯編語言及編程環(huán)境簡介 ....................................................................................... 54 系統(tǒng)程序設計 ........................................................................................................... 55 X25045程序模塊設計 ............................................................................................... 58 軟件抗干擾設計 ....................................................................................................... 59 第 六 章 結論 ......................................................................................................................... 62 參考文獻 ................................................................................................................................ 64 致謝 ......................................................................................................................................... 65 附錄:英文技術資料及翻譯 .......................................................................................... 66 第 42 頁 共 74 頁 第一章 緒 論 課題背景 自動化技術是本世 紀以來發(fā)展極其迅速和影響極大的科學技術之一。 控制系統(tǒng)擴展接口設計 ................................................................. 錯誤 !未定義書簽。 系統(tǒng)硬件電路設計原則 ................................................................. 錯誤 !未定義書簽。 第 四 章 控制系統(tǒng)硬件電路設 計 ......................................................... 錯誤 !未定義書簽。 步進電機的單片機控制 ................................................................. 錯誤 !未定義書簽。 步進電機的選用 ............................................................................. 錯誤 !未定義書簽。 第三章 步進電機的單片機控制技術 ................................................ 錯誤 !未定義書簽。 關鍵詞 : 自動剪板機 自動控制 單片機系統(tǒng) 硬件設計 軟件編程 2 Abstract According to the requirement of improving actual engineering automatic technology, the exploitation and debugging of the intelligent controlling system on plete automation board shears were finished in this paper. Firstly,the implement scheme of intelligent controlling system on plete automation board shears is to the practical needs and requirement of clients,the SCM controller was chosen as main control scheme between the conventional PLC controller and SCM controller. Secondly,the executing an needed in the automatic controlling system is analysed and then thedesign of mechanical part,such as the an of feeding,the an of precise length set and the an of charge and discharge, is also finished. Finally, the application of SCM in the intelligent controlling system was analyzed. The designing idea and specific implement methods of the important section of hardware such as the expanding of I/O interface, the circuit of keyboard and display, the driving controller of stepbystep electric machinery, the circuit relya and CPU monitor were given. The main section of software such as the environment of programming editor and emulator, the flow chart of controller software, the implement methods of primary function module and the debugging of software wer discussed Considering the reliability and security of intelligent controlling system in the practical working environment, antijamming measure was adopted,such as usisng the COMS chip and designing the program to inspect working state etc. After it was debugged, the practical effect is very good. When designing the intelligent controlling system, the requirements of technology improvement and spread are also considered, which leaves the space for the extending of system. Keywords: plete automation board shears automatic control SCM system hardware designing software programming 3 目 錄 摘要 ........................................................................................................................................... 1 Abstract.................................................................................................................................. 2 第一章 緒論 ........................................................................................................................... 1 課題背景 ..................................................................................................................... 1 課題研究目的與意義 ................................................................................................. 1 低成本自動化概述 ..................................................................................................... 2 智能控制理論的發(fā)展及其應用現(xiàn)狀 ......................................................................... 3 本課題的研究任務和工作 ..................................................................................... 46 第二章 系統(tǒng)方案分析 ...................................................................................................... 48 總體方案分析 ................................................................................. 錯誤 !未定義書簽。 考 慮到自動控制系統(tǒng)在實際工作環(huán)境中的可靠性和安全性,在硬件設計和軟件編程中采取了抗干擾措施,如采用監(jiān)控器芯片、設計檢測工作狀態(tài)程序等。 然后分析了單片機在自動控制系統(tǒng)的應用,對硬件電路中的主要環(huán)節(jié):如輸入輸出接口的擴展、鍵盤和顯示器電路、步進電機的驅動控制、繼電器及 CPU監(jiān)控器 X25045電路等給出設計思路和具體實現(xiàn)方法。 1 摘要 本文根據(jù)實際工程自動化技術改造需要,完成了全自動剪板機智能控制系統(tǒng)的設計和調試。 說明書首先探討了全自動剪板機智能控制系統(tǒng)的實現(xiàn)方案,根據(jù)實際需要,在常規(guī)的 PLC控制和單片機控制中選擇了以單片機為主的控制方案。對軟件設計中的主要環(huán)節(jié):如編程器仿真器環(huán)境、控制軟件流程、主要功能模塊實現(xiàn)方法、軟件調試等進行了論述。 在設計自動控制系統(tǒng)的時侯,同時考慮今后技術改進和推廣的需要,為系統(tǒng)的擴展留下了余地。 控制系統(tǒng)實現(xiàn)的總體設想 ............................................................. 錯誤 !未定義書簽。 概述 ................................................................................................. 錯誤 !未定義書簽。 步進電機的驅動電路設計 ............................................................. 錯誤 !未定義書簽。 步進電機加減速控制查表法設計 ................................................. 錯誤 !未定義書簽。 系統(tǒng)硬件電路的基本組成 ............................................................. 錯誤 !未定義書簽。 AT89C51單片機芯片簡介 ............................................................... 錯誤 !未定義書簽。 主板硬件電路設計 .................