【正文】
基于單片機(jī)的步進(jìn)電機(jī)控制轉(zhuǎn)速器設(shè)計論文 摘要: 隨著科學(xué)技術(shù)的快速發(fā)展,社會對產(chǎn)品的要求也越來越高。各種精密器件需求增加,這就使得我們對制造產(chǎn)品的機(jī)器要求越高。而步進(jìn)電機(jī)恰好有 運行平穩(wěn)、低噪音、響應(yīng)快、使用壽命長、高輸出扭矩 和控制誤差小的特點。步進(jìn)電機(jī)必將會在國民生產(chǎn)起到越來越大的作用。 本文介紹了一個利用 STC89C52RC單片機(jī)來控制步進(jìn)電機(jī)的系統(tǒng)實例。該系統(tǒng)可通過鍵盤輸入相關(guān)數(shù)據(jù),步進(jìn)電機(jī)根據(jù)這些數(shù)據(jù)來進(jìn)行相應(yīng)的動作。并能對步進(jìn)電機(jī)的工作方式進(jìn)行設(shè)置,具有交互性的特點。顯示電路能實時顯示步進(jìn)電機(jī)運行 的 速度 ,具有實時性的特點。 本文也介紹了單片機(jī) AT89S5步進(jìn)電機(jī)驅(qū)動芯片 ULN2020等器芯片的使用方法和運用的場合。文中還提到系統(tǒng)的硬件組成、程序流程圖、程序及說明。 關(guān)鍵詞 :單片機(jī);步進(jìn)電機(jī);控制;顯示 Abstract : With the rapid development of science and technology, social requirements of products is getting higher and higher. Increased demand for a variety of sophisticated devices, which allows us to manufacture products that require higher machine. The stepper motor has just run a smooth, low noise, fast response, long life, high output torque and control the characteristics of motor in the national product will play an increasingly important role. This article describes a singlechip microputer to control the use of STC89C52RC stepper motor examples of the system. The system can be related through the keyboard input data, stepper motor based on these data to carry out the corresponding action. Stepper motor is able to set up ways of working with interactive features. Display circuit to display realtime rate operation of stepper motor rotation, with the characteristics of realtime. This paper also introduced the singlechip AT89S51, Stepper Motor Driver IC ULN2020 chip such as the use of methods and the use of the occasion. The article also mentioned that the hardware ponent, the program flow chart, procedures and notes. Keywords: singlechip microputer ; stepper motor; control; show 目錄 1 第一章 引言 ............................................................................................................... 1 步進(jìn)電機(jī)的發(fā)展 ................................................................................................... 1 步進(jìn)電機(jī)的分類 ................................................................................................... 2 步進(jìn)電機(jī)的應(yīng)用 ................................................................................................... 2 第二章 步進(jìn)電機(jī)的控制及驅(qū)動 ....................................................................................... 3 四相步進(jìn)電機(jī)八拍驅(qū)動原理 ................................................................................. 3 步進(jìn)電機(jī)的控制方式 ............................................................................................ 4 論文研究內(nèi)容及意義 ............................................................................................ 4 第三章 控制系統(tǒng)硬件電路組成 ....................................................................................... 5 電源模塊 ............................................................................................................. 5 單片機(jī) STC89C52RC ........................................................................................... 6 單片機(jī) RST 復(fù)位電路 ................................................................................. 7 晶振選定 .................................................................................................... 8 步進(jìn)電機(jī) 28BYJ48 ........................................................................................... 9 步進(jìn)電機(jī)的驅(qū)動模塊 .......................................................................................... 10 液晶顯示模塊 .................................................................................................... 12 第四章 軟件設(shè)計 .......................................................................................................... 13 程序設(shè)計思路 ................................................................................................... 13 系 統(tǒng)軟件主流程 ...........