【正文】
constitute the H bridge drive circuit as a driver module of DC motor speed control circuit of power amplifier. The design adopts the Hall element to measure the DC motor speed, and the result of it feeds back to the microcontroller and shows on the liquid crystal display. Moreover, through to the electric current sampling, realizes the overflow protection. On the software side, the article introduced in detail the procedures, as well as puting speed PWM measurement procedures for the preparation of ideas and the realization of the specific procedure. KEY WORDS PWM, IR2110, DC motor, STC microputer 目錄 廣州大學(xué)畢業(yè)論文(設(shè)計)用紙 摘要 ................................................................................................................................. 2 前 言 ............................................................................................................................... 4 第一章 系統(tǒng)硬件電路設(shè)計 .......................................................................................... 5 系統(tǒng)總設(shè)計框圖介紹 ....................................................................................... 5 單片機系統(tǒng)設(shè)計介紹 ....................................................................................... 6 8051單片機簡介 : .................................................................................. 6 STC單片機簡介 ...................................................................................... 6 最小系統(tǒng)原理圖及按鍵部分: .................................................................. 8 功率放大驅(qū)動電路設(shè)計 ...................................................................................... 8 IR2110 芯片及外圍原理圖 ....................................................................... 9 IR2110 性能與特點 .................................................................................. 9 IR2110的引腳圖以及功能 ...................................................................... 10 IR2110 工作原理 ................................................................................... 12 光耦隔離設(shè)計 ........................................................................................ 13 H 橋驅(qū)動設(shè)計 ........................................................................................ 13 電機測速電路設(shè)計 ............................................................................................ 15 霍爾元件介紹 ........................................................................................ 15 霍爾傳感器的工作原理 .......................................................................... 16 顯示模塊設(shè)計 .................................................................................................. 17 LCM 1602 簡介 ...................................................................................... 17 LCM 1602寫操作時序圖 ........................................................................ 18 電源 模塊設(shè)計 ................................................................................................... 18 電源模塊的原理圖 ................................................................................. 18 穩(wěn)壓芯片簡介 ........................................................................................ 19 第二章 軟件設(shè)計分析 ............................................................................................... 20 主程序流程圖 .................................................................................................. 20 PWM 基本原理及其實現(xiàn)方法 .......................................................................... 20 PWM基本原理 ...................................................................................... 20 實現(xiàn)方法 ............................................................................................... 21 PWM 調(diào)節(jié)的中斷程序及分析 ............................................................. 22 PWM輸出的特殊編程 ........................................................................... 25 測速的實現(xiàn) ...................................................................................................... 27 測速的方法 ............................................................................................ 27 軟件實現(xiàn)分析 ........................................................................................ 28 編程的可靠性分析 ................................................................................. 28 結(jié)論 ..................................................................................................................