【正文】
日俱增,研制步進(jìn)電機(jī)驅(qū)動(dòng)器及其控制系統(tǒng)具有十分重要的意義。步進(jìn)電動(dòng)機(jī)可以在寬廣的頻率范圍內(nèi)通過(guò)改變脈沖頻率來(lái)實(shí)現(xiàn)調(diào)速、快速起停、正反轉(zhuǎn)控制等,這是步進(jìn)電動(dòng)機(jī)最突出的優(yōu)點(diǎn)。 關(guān)鍵詞 : 步進(jìn)電機(jī) 單片機(jī) 課 程 設(shè) 計(jì) 用 紙 Abstract Stepper motor is a kind of controlled by electric pulse signal phase winding current to achieve constant Angle rotating mechanical and electrical ponents. Easy openloop precision pared with other types of motor control, no accumulated error, etc, widely used in many fields. This article first simply introduces the development situation and characteristics of stepper motor and working principle. Including the stepper motor drive system, control method and the system shows that the overall scheme of the system design is given and the features and functions of this system. Then is given priority to with AT89C52 singlechip microputer controller, is introduced in detail based on the single chip microputer stepping motor control system. On the basis of the peripheral circuit, the keyboard circuit, reset circuit, etc. Each module circuit design in detail. Then elaborated the stepper motor control software development processes and program design. At the same time gives the step motor and reversing, speed control program list. In this paper, by using the bined method of software and hardware to achieve the optimal control of the stepper motor. Keyword: stepper motor microcontroller 課 程 設(shè) 計(jì) 用 紙 目 錄 概述 .......................................................................................................................................1 第 1 章 步進(jìn)電機(jī)的工作原理及其特性 ..........................................................2 步進(jìn)電機(jī)的概念 ..........................................................................................................2 步進(jìn)電機(jī)的特點(diǎn) ..........................................................................................................2 步進(jìn)電機(jī)的綜述 ..........................................................................................................3 步進(jìn)電機(jī)的工作原理 ...................................................................................................4 步進(jìn)電機(jī)的常用術(shù)語(yǔ) ...................................................................................................4 步進(jìn)電機(jī)的震蕩和失步 ...............................................................................................5 步進(jìn)電機(jī)的控制方式 ...................................................................................................6 第 2 章 硬件電路設(shè)計(jì) ...............................................................................................8 硬件的設(shè)計(jì)與選擇 .....................................................................................................8 步進(jìn)電機(jī)的驅(qū)動(dòng) ..........................................................................................................8 單片機(jī)的選擇 ........................................................................................................... 10 按鍵電路設(shè)計(jì) ............................................................................................................. 10 時(shí)鐘電路設(shè)計(jì) ............................................................................................................. 11 硬件的總體電路設(shè)計(jì)圖 .......................................................................................... 12 課 程 設(shè) 計(jì) 用 紙 第 3 章 程 序 設(shè) 計(jì) ................................................................................................ 13 程序設(shè)計(jì)的總體思路 ............................................................................................... 13 主程序流程圖 ............................................................................................................. 14 ............................................................................................................. 14 正反轉(zhuǎn)流程圖 ........................................................................................................... 15 啟動(dòng)與停止流程圖 ..................................................................................................... 16 主程序 ........................................................................................................................... 17 第 4 章 調(diào) 試 ................................................................................................................ 21 軟件編寫(xiě)及調(diào)試 ...........................................................................