【正文】
采用分立元件控制回路或集成電路的步進電機控制系統(tǒng),不僅調(diào)試安裝復雜,需要消耗大量的元器件,而且一旦定型后,只有重新設計電路才能改變控制方案,對于系統(tǒng)的適應性有很大的考驗。在在單相激磁時,電機轉(zhuǎn)軸停至整步位置上,驅(qū)動器收到下一脈沖后,如給另一相激磁且保持原來相繼處在激磁狀態(tài),則電機轉(zhuǎn)軸將移動半個步距角,停在相鄰兩個整步位置的中間。而0、3號齒和A、B相繞組產(chǎn)生錯齒,5號齒就和A、D相繞組磁極產(chǎn)生錯齒。 開始時,開關SB接通電源,SA、SC、SD斷開,B相磁極和轉(zhuǎn)子0、3號齒對齊,同時,轉(zhuǎn)子的4號齒就和C、D相 繞組磁極產(chǎn)生錯齒,5號齒就和D、A相繞組磁極產(chǎn)生錯齒。因而,對于步進電機控制的研究也就顯得尤為重要了。近年來由于微型計算機技術的快速發(fā)展,使步進電機的控制系統(tǒng)發(fā)生變革。 正是由于步進電機具有突出的優(yōu)點,所以成了機電一體化的關鍵產(chǎn)品之一,廣泛應用在各種自動化控制系統(tǒng)中。 步進電機是一種將數(shù)字信號直接轉(zhuǎn)換成角位移或線位移的控制驅(qū)動元件, 具有快速起動和停止的特點。~15176。、18176。、176。、90176。為適應這些要求,發(fā)展了一系列新的具備控制功能的電動機系統(tǒng),其中較有自己特點,且應用十分廣泛的一類便是步進電動機。傳統(tǒng)電動機作為機電能量轉(zhuǎn)換裝置,在人類的生產(chǎ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 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第二章 步進電機的控制及驅(qū)動 3 3 4 4第三章 控制系統(tǒng)硬件電路組成 5 5 6 8 8 28BYJ48 9 10 12第四章 軟件設計 13 程序設計思路 13 14 15 16第五章 系統(tǒng)調(diào)試與改進 17 開發(fā)軟件簡介 17 17 18 19第六章 開發(fā)總結與體會 19致謝 20參考文獻 21 第一章 引言 隨著著數(shù)字化技術發(fā)展,數(shù)字控制技術得到了廣泛而深入的應用。本文也介紹了單片機AT89S5步進電機驅(qū)動芯片ULN2003等器芯片的使用方法和運用的場合。并能對步進電機的工作方式進行設置,具有交互性的特點。本文介紹了一個利用STC89C52RC單片機來控制步進電機的系統(tǒng)實例。而步進電機恰好有運行平穩(wěn)、低噪音、響應快、使用壽命長、高輸出扭矩和控制誤差小的特點。 基于單片機的步進電機控制