【正文】
基于單片機(jī)的步進(jìn)電機(jī)控制轉(zhuǎn)速器設(shè)計(jì)論文摘要:隨著科學(xué)技術(shù)的快速發(fā)展,社會(huì)對(duì)產(chǎn)品的要求也越來(lái)越高。各種精密器件需求增加,這就使得我們對(duì)制造產(chǎn)品的機(jī)器要求越高。而步進(jìn)電機(jī)恰好有運(yùn)行平穩(wěn)、低噪音、響應(yīng)快、使用壽命長(zhǎng)、高輸出扭矩和控制誤差小的特點(diǎn)。步進(jìn)電機(jī)必將會(huì)在國(guó)民生產(chǎn)起到越來(lái)越大的作用。本文介紹了一個(gè)利用STC89C52RC單片機(jī)來(lái)控制步進(jìn)電機(jī)的系統(tǒng)實(shí)例。該系統(tǒng)可通過(guò)鍵盤(pán)輸入相關(guān)數(shù)據(jù),步進(jìn)電機(jī)根據(jù)這些數(shù)據(jù)來(lái)進(jìn)行相應(yīng)的動(dòng)作。并能對(duì)步進(jìn)電機(jī)的工作方式進(jìn)行設(shè)置,具有交互性的特點(diǎn)。顯示電路能實(shí)時(shí)顯示步進(jìn)電機(jī)運(yùn)行的速度,具有實(shí)時(shí)性的特點(diǎn)。本文也介紹了單片機(jī)AT89S5步進(jìn)電機(jī)驅(qū)動(dòng)芯片ULN2003等器芯片的使用方法和運(yùn)用的場(chǎng)合。文中還提到系統(tǒng)的硬件組成、程序流程圖、程序及說(shuō)明。關(guān)鍵詞:?jiǎn)纹瑱C(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 ULN2003 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 2 2第二章 步進(jìn)電機(jī)的控制及驅(qū)動(dòng) 3 3 4 4第三章 控制系統(tǒng)硬件電路組成 5 5 6 8 8 28BYJ48 9 10 12第四章 軟件設(shè)計(jì) 13 程序設(shè)計(jì)思路 13 14 15 16第五章 系統(tǒng)調(diào)試與改進(jìn) 17 開(kāi)發(fā)軟件簡(jiǎn)介 17 17 18 19第六章 開(kāi)發(fā)總結(jié)與體會(huì) 19致謝 20參考文獻(xiàn) 21 第一章 引言 隨著著數(shù)字化技術(shù)發(fā)展,數(shù)字控制技術(shù)得到了廣泛而深入的應(yīng)用。步進(jìn)電動(dòng)機(jī)已成為除直流電動(dòng)機(jī)和交流電動(dòng)機(jī)以外的第三類電動(dòng)機(jī)。傳統(tǒng)電動(dòng)機(jī)作為機(jī)電能量轉(zhuǎn)換裝置,在人類的生產(chǎn)和生活進(jìn)入電氣化過(guò)程中起著關(guān)鍵的作用??墒窃谌祟惿鐣?huì)進(jìn)入自動(dòng)化時(shí)代的今天,傳統(tǒng)電動(dòng)機(jī)的功能已不能滿足工廠自動(dòng)化和辦公自動(dòng)化等各種運(yùn)動(dòng)控制系統(tǒng)的要求。為適應(yīng)這些要求,發(fā)展了一系列新的具備控制功能的電動(dòng)機(jī)系統(tǒng),其中較有自己特點(diǎn),且應(yīng)用十分廣泛的一類便是步進(jìn)電動(dòng)機(jī)。 步進(jìn)電機(jī)按工作原理可分為永磁式、磁阻式(也叫反應(yīng)式)及永磁感應(yīng)子式三種基本類型.永 磁式步進(jìn)電機(jī)定子上有多相繞組,轉(zhuǎn)子由永久磁鐵構(gòu)成,其磁化方向?yàn)檩椣虼呕?,無(wú)激磁時(shí)有保持轉(zhuǎn)矩.轉(zhuǎn) 子極數(shù)與定子每相的極數(shù)相同.依轉(zhuǎn)子材質(zhì)區(qū)分,其步進(jìn)角有 45176。、90176。及 176。、176。、15176。、18176。等幾種.永 磁式步進(jìn)電動(dòng)機(jī)消耗功率小,制造成本低、起動(dòng)頻率和運(yùn)行頻率都較低.磁阻式步進(jìn)電動(dòng)機(jī)在定、 轉(zhuǎn)子鐵心的內(nèi)外表面上設(shè)有按一定規(guī)律分布的相近齒槽,利用這兩種齒槽相對(duì)位置變化引起磁路磁 阻的變化產(chǎn)生轉(zhuǎn)矩.其步矩角可做到 1176。~151