1、 I 摘摘 要要 本文介绍了一种基于 PWM 信号, 采用 H 桥对直流电机进行调压调速的驱动电路。 mega64 单片机发出 PWM 信号,先经 CPLD(保护作用),然后经光耦隔离、放大后,控制功率管的 导通和关断,从而对电机进行调压调速。两路 PWM 信号控制电机两个不同的转向。本文还 采用模拟电路以及 CPLD 为驱动电路设计了一种巧妙的过流欠压保护方案,对 CPLD 保护以 及欠压、过流、过热保护电路都作了详细的介绍。 关键词:关键词:脉宽调制 ; H 桥驱动电路 ; 过流保护;欠压保护 ; II Abstract A drive circuit which is based on
2、the PWM signals and used H bridge to adjust the voltage and speed of DC motor is presented in this paper. The mega64 MCU send PWM signals which firstly go through the CPLD (protective effect)and then pass by the coupler isolation、 amplification .They control the on and off of the power management so
3、 as to adjust the voltage and speed of DC motor . Two PWM signals controlled the two different motor shift. A clever overcurrent and undervoltage protection program that consists of analog circuit and CPLD which is designed for the drive circuit in this paper .And then the CPLD protection and underv
4、oltage 、overcurrent 、thermal protection circuit is detailly introduced. Keywords: pulse width modulation; H bridge driver circuit; overcurrent protection; undervoltage protection III 目录目录 摘 要 I 1 前 言 . 1 2 基本原理 2 2.1 直流电机工作原理及基本结构 2 2.1.1 直流电机基本工作原理 . 2 2.1.2 直流电机结构 . 3 2.2 PWM 控制调速原理 . 5 3 电源模块及 PWM 驱动电路设计 6 3.1 电源模块的确定 6 3.2 H 桥驱动原理 9 3.3 H 桥驱动使能控制及方向逻辑 . 11 3.4 PWM 驱动电路设计 . 11 3.4.1 直流电机双极性驱动 PWM 系统 11 3.4.2 MOSFET 的选择 . 12 3.4.3 栅极驱动电路及主要接口电路 13 3.5 功率开关管散热及保护 13 3.5.1 功率开关管散热 13 3