【正文】
chosen to control the three rows of LED monitor to display, used for showing the size of coordinates of X axis and Z axis and the related number of function word。 關(guān)鍵詞: 數(shù)控螺紋車床;控制系統(tǒng);電路設(shè)計 南京工程學(xué)院自動化學(xué)院本科畢業(yè)設(shè)計(論文) II ABSTRACT This paper introduced the design process of the control system hardware circuit of numerical control thred lather in detail. The control system hardware circuit mainly includes six parts: CPU clock and reset circuit, memory expander, manual keyboard and editor keyboard circuit, I/O expander, display circuit as well as decoding circuit. The control system chose the 8031 singlechip of the MCS51 series to be main CPU;In the design of memory expander, the chip of 27256 expanding program memory of 32K and the chip of 6264 expending the datacarrier storage of 8K outside, used for depositing the system administration procedure and CNC process program as well as operational datas respectively??刂葡到y(tǒng)選用 MCS51 系列的 8031 作為主 CPU;在存儲器擴展電路設(shè)計中 ,選 用 27256 芯片 外擴了 32K 的程序存儲器和 6264 芯片外擴了 8K 的數(shù)據(jù)存儲器,分別 用于存放系統(tǒng)管理程序、數(shù)控加工程序以及運算數(shù)據(jù) ;在手動鍵盤和編輯鍵盤設(shè)計中選用 8155 芯片的 PA口和 PC 口作為行、列母線,擴展了矩陣式編輯鍵盤,用于程序和數(shù)據(jù)的輸入或編輯,同時選用 8031 單片機的 P1 口擴展了手動鍵盤,用于系統(tǒng)啟動、停止以及運動部件在 X、 Z 軸方向的手動控制;在 I/O 口擴展電路設(shè)計中選用 8255 芯片擴展了輸入輸出口,用于接收和傳送開關(guān)量及相關(guān)信息;在顯 示電路設(shè)計中,選用 MCS51 系列的 89C2051 單片機作為從 CPU,控制三排 LED 顯示器,用于 X軸、 Z 軸動態(tài)坐標(biāo)以及相關(guān)數(shù)字的動態(tài)顯示;此外選用 74LS138 譯碼器設(shè)計了相關(guān)芯片的片選信號譯碼電路。 南京工程學(xué)院 自動化學(xué)院 本科畢業(yè)設(shè)計(論文) 題 目: 數(shù)控螺紋車床控制系統(tǒng)硬件電路設(shè)計 專 業(yè): 班 級: 學(xué)生姓名: 指導(dǎo)教師: 起迄日期: 設(shè)計地點: 工 程實踐中心 Graduation Design (Thesis) Control System Hardware Circuit Design of Numerical Control Thred Lathe By CHEN Kai Supervised by Associate Prof. HUA Maofa School of Automation Nanjing Institute of Technology June, 2021 南京工程學(xué)院自動化學(xué)院本科畢業(yè)設(shè)計(論文) I 摘 要 本文詳細(xì)地介紹了數(shù)控螺紋車床控制系統(tǒng)硬件電路的設(shè)計過程。該控制系統(tǒng)主要可分為六部分: CPU 時鐘及復(fù)位電路、存儲器擴展電路、手動鍵盤和編輯鍵盤電路、 I/O 擴展電路、顯示電路以及譯碼電路。 綜上所述,該設(shè)計電路簡單、開發(fā)成本低、可靠性高,在此基礎(chǔ)上,進一步完善硬件,并開發(fā)控制軟件,對經(jīng)濟型數(shù)控螺紋車床,尤其是功能要求不高的經(jīng)濟型螺紋車床,具有一定的應(yīng)用價值。 The PA export and PC export of 8155 are used to expand the matrix editor keyboard circuit for inputting or editing the program and data, The P1 export of 8031 singlechip is used to expend the manual keyboard for starting and stopping system and moving the directional part in X or Z orientation。 In addition, the chip of 74LS164 is used to design decoding circuit for signalelection of related chips. Total to say, the circuit is simple, the development cost is low, the reliability of system is high, in this foundation, further consummates the hardware, and develop the control software, then the design has the actual application value for economy numerical control thred lather, especially for those of which the demand of function isn’t high. Key words: Numerical Control Thred Lathe。 Circuit Design 南京工程學(xué)院自動化學(xué)院本科畢業(yè)設(shè)計(論文) III 目 錄 第一章 緒論 ........................................................................................... 1 引言 ...................................................................................................................1 選題背景與意義 ...............................................................................................1 研究現(xiàn)狀 ...........................................................................................................2 本文的結(jié)構(gòu) .......................................................................................................3 第二章 數(shù)控螺紋車床控制系統(tǒng)硬件電路設(shè)計方案的擬定 ................. 4 控制對象及要求 ...............................................................................................4 總體控制方案的擬定 .......................................................................................4 主 CPU的選用 ........................................................................................4 外擴存儲器的確定 ..................................................................................5 顯示電路的確定 ......................................................................................5 擴展鍵盤及 I/O 口電路的確定 ..............................................................6 總體方案的結(jié)構(gòu)框圖 ..............................................................................6 第三章 數(shù)控螺紋車床控制系統(tǒng)硬件電路設(shè)計 .................................... 7 CPU時鐘及復(fù)位電路設(shè)計 ...............................................................................7 時鐘電路設(shè)計 ..........................................................................................7 復(fù)位電路設(shè)計 ..........................................................................................7 存儲器擴展電路設(shè)計 .......................................................................................8 程序存儲器擴展電路設(shè)計 ......................................................................8 數(shù)據(jù)存儲器擴展電路設(shè)計 ....................................................................10 手動鍵盤和編輯鍵盤電路設(shè)計 .....................................................................14 手動鍵盤電路設(shè) 計 ................................................................................14 工作方式選擇開關(guān)電路設(shè)計 ................................................................15 編輯鍵盤電路設(shè)計 ................................................................................16 I/O 接口擴展電路設(shè)計 ...................................................................................20 顯示電路設(shè)計 .................................................................................................24 數(shù)字動態(tài)顯示電路