【正文】
基于單片機的步進電機控制轉(zhuǎn)速器設(shè)計論文 摘要: 隨著科學(xué)技術(shù)的快速發(fā)展,社會對產(chǎn)品的要求也越來越高。各種精密器件需求增加,這就使得我們對制造產(chǎn)品的機器要求越高。而步進電機恰好有 運行平穩(wěn)、低噪音、響應(yīng)快、使用壽命長、高輸出扭矩 和控制誤差小的特點。步進電機必將會在國民生產(chǎn)起到越來越大的作用。 本文介紹了一個利用 STC89C52RC單片機來控制步進電機的系統(tǒng)實例。該系統(tǒng)可通過鍵盤輸入相關(guān)數(shù)據(jù),步進電機根據(jù)這些數(shù)據(jù)來進行相應(yīng)的動作。并能對步進電機的工作方式進行設(shè)置,具有交互性的特點。顯示電路能實時顯示步進電機運行 的 速度 ,具有實時性的特點。 本文也介紹了單片機 AT89S5步進電機驅(qū)動芯片 ULN2020等器芯片的使用方法和運用的場合。文中還提到系統(tǒng)的硬件組成、程序流程圖、程序及說明。 關(guān)鍵詞 :單片機;步進電機;控制;顯示 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 步進電機的發(fā)展 ................................................................................................... 1 步進電機的分類 ................................................................................................... 2 步進電機的應(yīng)用 ................................................................................................... 2 第二章 步進電機的控制及驅(qū)動 ....................................................................................... 3 四相步進電機八拍驅(qū)動原理 ................................................................................. 3 步進電機的控制方式 ............................................................................................ 4 論文研究內(nèi)容及意義 ............................................................................................ 4 第三章 控制系統(tǒng)硬件電路組成 ....................................................................................... 5 電源模塊 ............................................................................................................. 5 單片機 STC89C52RC ........................................................................................... 6 單片機 RST 復(fù)位電路 ................................................................................. 7 晶振選定 .................................................................................................... 8 步進電機 28BYJ48 ........................................................................................... 9 步進電機的驅(qū)動模塊 .......................................................................................... 10 液晶顯示模塊 .................................................................................................... 12 第四章 軟件設(shè)計 .......................................................................................................... 13 程序設(shè)計思路 ................................................................................................... 13 系 統(tǒng)軟件主流程 ...........