摘要
随着现代社会的不断发展,对机械自动化的要求也越来越高,对于单片机而言,对其位置和时间的精确度也提出了更高的要求,因此,如何提高电机的运动速度是现代社会电机的一个重要课题。本次研究以89C52单片机为核心,用C语言进行编程控制,采用单片机内部定时器产生可调的矩形波,依据直流电动机的工作原理和数学模型以及脉宽调制(PWM)控制原理和H桥电路基本原理设计了驱动电路,采用了PWM技术对电动机进行控制,通过对占空比的计算达到精确调速的目的。
With the continuous development of modern society, there are increasing requirements for mechanical automation. For singlechip, there are higher requirements for the accuracy of the location and time. Therefore, how to improve the speed of the motor is an important subject of motor in modern society. This study takes 89C52 singlechip as the core, uses C language for programming control,produces adjustable square wave by the MCU internal timer, and designs the drive circuit based on the working principle and mathematic model of continuous current motor and Pulse width modulation(PWM) control principle and the basic principle of H bridge circuit. It adopts PWM technology to control the motor and achieves the goal of precise speed control through duty cycle calculation.
出处
《价值工程》
2016年第8期247-249,共3页
Value Engineering
基金
国家自然科学基金(61364008)
基于超致密时间测度模型CPS实时交互执行一致性确定性研究