【正文】
涌電壓問題,可在 D 觸發(fā)器加一個固定頻率的時鐘。以下是這幾種驅(qū)動方式的 比較。 用軟件代替環(huán)形分配器,通過對單片機的設(shè)定,用同一種電路實現(xiàn)了多相步進電機的控制和驅(qū)動,大大提高了接口電路的靈活性和通用性 ??刂葡到y(tǒng)采用 PLC 來產(chǎn)生控制脈沖。 so me systems in the operation is not very convenient, do not have a strong interaction. So the research contents of this thesis is to design a set of hardware system is simple, economic, but the function is plete, strong adaptability, convenient operation, high reliability, can anically integrate electronic technology, single chip technology, motor control technology of stepping motor control syste m. This paper briefly describes the development of the scheme, the stepper motor applications, as well as the mon control system, driving te chnology is mon, but also analyzed the working principle of stepping motor, and then by the microcontroller. The hardware design scheme of the system, detailed design on the basis of each module the circuit, then expounds the stepping motor control soft ware development process. Keywords: stepper motor microcontroller watchdog driver technology III 目 錄 摘 要 .................................................................................................... I ABSTRAC............................................................................................. II 第 1 章 緒論 ..........................................................................................1 前言 ......................................................................................... 1 基于電子電路控制手段 ................................................. 1 基于 PLC/變頻器控制手段 ............................................ 2 基于單片機控制手段 ..................................................... 3 國內(nèi)外發(fā)展情況 ...................................................................... 4 步進電機驅(qū)動方式分類及比較 ............................................... 6 單電壓驅(qū)動 .................................................................... 6 高低壓驅(qū)動 .................................................................... 7 自激式恒電流斬波驅(qū)動 ................................................. 8 它激式恒電流斬波驅(qū)動 ................................................. 8 細分驅(qū)動 ........................................................................ 9 研究的目的和意義 .................................................................10 論文安排 ................................................................................. 11 第 2 章 步進電機概述 .........................................................................13 步進電機的特點 .....................................................................13 步進電機的分類 .....................................................................14 反應(yīng)式步進電機 ...........................................................14 永磁式步進電機 ...........................................................14 混合式步進電機 ...........................................................14 步進電機的運行原理闡述 ......................................................15 第 3 章 步進電機控制系統(tǒng)概述 .........................................................17 步進電機控制系統(tǒng)簡介 ..........................................................17 本系統(tǒng)特點與功能 .................................................................20 本系統(tǒng)特點 ...................................................................20 系統(tǒng)功能 .......................................................................21 第 4 章 系統(tǒng)硬件設(shè)計 .........................................................................22 系統(tǒng)組成 ................................................................................22 系統(tǒng)核心 —— AT89C51 單片機 ..............................................22 主要特性 ......................................................................23 管腳說明 ......................................................................23 振蕩器特性 ...................................................................25 芯片擦除 .......................................................................25 最小系統(tǒng) ......................................................................26 外圍電路設(shè)計 .........................................................................27 顯示電路 — LCD1602 ....................................................27 IV 鍵盤電路 .......................................................................34 看門狗復(fù)位電路 ...........................................................36 驅(qū)動電路 — L298N ........................................................38 電源電路 .......................................................................41 第 5 章 系統(tǒng)軟件設(shè)計 .........................................................................43 系統(tǒng)軟件主流程圖 .................................................................43 系統(tǒng)初始化流程圖 .................................................................44 步進電機運行模塊主流程圖 ..................................................45 系統(tǒng)顯示流程圖 .....................................................................46 系統(tǒng)鍵盤流程圖 .....................................................................47 待機狀態(tài)下鍵盤操作流程 ...........................................47 連續(xù)運行模式狀態(tài)下鍵盤操作流程 ............................49 第 6 章 總結(jié) ........................................................................................52 結(jié)論 ........................................................................................52 參考文獻 ..............................................................................................54 致謝 ......................................................................................................56 附錄 1:部分系統(tǒng)程序清單 ..................................................................57 附錄 2:系統(tǒng)圖 ......................................................................................59 V CONTENTS ABSTRACT ........................................................................................... I ABSTRACT .......................................................................................... II Chapte r1 introduction ........