【正文】
......... 53 第 五 章 軟件設(shè)計(jì) ............................................................................................................... 54 匯編語(yǔ)言及編程環(huán)境簡(jiǎn)介 ....................................................................................... 54 系統(tǒng)程序設(shè)計(jì) ........................................................................................................... 55 X25045程序模塊設(shè)計(jì) ............................................................................................... 58 軟件抗干擾設(shè)計(jì) ....................................................................................................... 59 第 六 章 結(jié)論 ......................................................................................................................... 62 參考文獻(xiàn) ................................................................................................................................ 64 致謝 ......................................................................................................................................... 65 附錄:英文技術(shù)資料及翻譯 .......................................................................................... 66 第 42 頁(yè) 共 74 頁(yè) 第一章 緒 論 課題背景 自動(dòng)化技術(shù)是本世 紀(jì)以來(lái)發(fā)展極其迅速和影響極大的科學(xué)技術(shù)之一。 控制系統(tǒng)擴(kuò)展接口設(shè)計(jì) ................................................................. 錯(cuò)誤 !未定義書(shū)簽。 系統(tǒng)硬件電路設(shè)計(jì)原則 ................................................................. 錯(cuò)誤 !未定義書(shū)簽。 第 四 章 控制系統(tǒng)硬件電路設(shè) 計(jì) ......................................................... 錯(cuò)誤 !未定義書(shū)簽。 步進(jìn)電機(jī)的單片機(jī)控制 ................................................................. 錯(cuò)誤 !未定義書(shū)簽。 步進(jìn)電機(jī)的選用 ............................................................................. 錯(cuò)誤 !未定義書(shū)簽。 第三章 步進(jìn)電機(jī)的單片機(jī)控制技術(shù) ................................................ 錯(cuò)誤 !未定義書(shū)簽。 關(guān)鍵詞 : 自動(dòng)剪板機(jī) 自動(dòng)控制 單片機(jī)系統(tǒng) 硬件設(shè)計(jì) 軟件編程 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 低成本自動(dòng)化概述 ..................................................................................................... 2 智能控制理論的發(fā)展及其應(yīng)用現(xiàn)狀 ......................................................................... 3 本課題的研究任務(wù)和工作 ..................................................................................... 46 第二章 系統(tǒng)方案分析 ...................................................................................................... 48 總體方案分析 ................................................................................. 錯(cuò)誤 !未定義書(shū)簽。 考 慮到自動(dòng)控制系統(tǒng)在實(shí)際工作環(huán)境中的可靠性和安全性,在硬件設(shè)計(jì)和軟件編程中采取了抗干擾措施,如采用監(jiān)控器芯片、設(shè)計(jì)檢測(cè)工作狀態(tài)程序等。 然后分析了單片機(jī)在自動(dòng)控制系統(tǒng)的應(yīng)用,對(duì)硬件電路中的主要環(huán)節(jié):如輸入輸出接口的擴(kuò)展、鍵盤(pán)和顯示器電路、步進(jìn)電機(jī)的驅(qū)動(dòng)控制、繼電器及 CPU監(jiān)控器 X25045電路等給出設(shè)計(jì)思路和具體實(shí)現(xiàn)方法。 1 摘要 本文根據(jù)實(shí)際工程自動(dòng)化技術(shù)改造需要,完成了全自動(dòng)剪板機(jī)智能控制系統(tǒng)的設(shè)計(jì)和調(diào)試。 說(shuō)明書(shū)首先探討了全自動(dòng)剪板機(jī)智能控制系統(tǒng)的實(shí)現(xiàn)方案,根據(jù)實(shí)際需要,在常規(guī)的 PLC控制和單片機(jī)控制中選擇了以單片機(jī)為主的控制方案。對(duì)軟件設(shè)計(jì)中的主要環(huán)節(jié):如編程器仿真器環(huán)境、控制軟件流程、主要功能模塊實(shí)現(xiàn)方法、軟件調(diào)試等進(jìn)行了論述。 在設(shè)計(jì)自動(dòng)控制系統(tǒng)的時(shí)侯,同時(shí)考慮今后技術(shù)改進(jìn)和推廣的需要,為系統(tǒng)的擴(kuò)展留下了余地。 控制系統(tǒng)實(shí)現(xiàn)的總體設(shè)想 ............................................................. 錯(cuò)誤 !未定義書(shū)簽。 概述 ................................................................................................. 錯(cuò)誤 !未定義書(shū)簽。 步進(jìn)電機(jī)的驅(qū)動(dòng)電路設(shè)計(jì) ............................................................. 錯(cuò)誤 !未定義書(shū)簽。 步進(jìn)電機(jī)加減速控制查表法設(shè)計(jì) ................................................. 錯(cuò)誤 !未定義書(shū)簽。 系統(tǒng)硬件電路的基本組成 ............................................................. 錯(cuò)誤 !未定義書(shū)簽。 AT89C51單片機(jī)芯片簡(jiǎn)介 ............................................................... 錯(cuò)誤 !未定義書(shū)簽。 主板硬件電路設(shè)計(jì) .................