摘 要
随着电力电子技术的进步,发展了许多新的电枢电压控制方法。PWM控制与传统晶闸管驱动装置比较,具有下列优点:需用的大功率可控器件少,线路简单;调速范围宽;电流波形系数好,附加损耗小;功率因数高。可以广泛应用于现代直流电机系统中。
本设计是基于PIC单片机实现直流电动机的控制,控制电动机的正向/反向、快速/慢速运转,由单片机输出脉宽调制信号(PWM)驱动电动机并实现正反向的互锁。
本设计介绍了直流电机结构、特点、种类及励磁方式等;PIC 单片机的优点、结构特点、指令特点等。系统的介绍了PIC16F73单片机芯片,详述了PIC126F73单片机的内部结构,外部引脚,模块功能,寄存器结构、功能、地址等。本文介绍了一种基于PIC16F73单片机的直流电机控制器的设计与实现,该控制器完成调速控制,其中软件实现转子位置检测、旋转磁场信号输出及电机PWM调速。
关键词:PIC单片机;直流电机;PWM
Abstract
With the progress of power electronics and technological, many new armature voltage control methods are developed . PWM control compared with the traditional SCR drive, has the following advantages: required less high-power controllable devices, simple circuits; governed wider range; better current waveform and less additional wear and high power factor. It can be widely used in modern DC motor system.
This design based on the PIC single chip microcomputer to control DC motor, can control motor’s rotation with forward or backward direction and with high or low speed, the PIC single chip microcomputer output the signal of PWM to drive the motor and lock the two direction with each other.
This paper introduced the DC motor structure, characteristics, category and the magnetism create mode etcs; The advantage, structure characteristics, instruction characteristics etc. of the PIC single chip micro computer. The system introduced the chip of PIC16F73, going into detail internal structure ,exterior leads, function modules, registers structure, function, address...etc. of PIC126F73 single chip, in addition view introduce assemble langue. In this paper, a PIC16F73 microcontroller based on the DC motor controller design and implementation of the controller to complete speed control, the rotor position detection software, the rotating magnetic field and the electrical signal output PWM speed control.
Key words: PIC microcontroller; DC motor; PWM