基于AVR单片机双闭环直流调速控制系统设计
陈中,丁圣均
盐城工学院,江苏 盐城 224003
摘 要:介绍了基于单片机控制直流调速工作的原理,设计了基于AVR 单片机双闭环直流调速控制系统,利用AVR 单片机自带的输入捕捉功能及A/D 转换功能,精确、方便地检测电机转速和电流,并通过单片机产生的PWM 波控制电机。实验结果表明,采用该控制方案,将软件调试和硬件调试相结合,使系统具有较好的跟随性和抗扰动性。
关键词:AVR 单片机;直流调速;跟随性;抗扰动性
中图分类号:TP273+.5 文献标识码:A 文章编号:1007-3175(2015)12-0019-05
Design of Double Loop Direct Current Speed Control System Based on AVR Microcontroller
CHEN Zhong, DING Sheng-jun
Yancheng Institute of Technology, Yancheng 224003, China
Abstract: Introduction was made to the working principle of direct current speed control based on microcontrollers. A direct current speed control system was designed based on AVR microcontroller. The AVR microcontroller has its own input capture and A/D conversion functions, which accurately and conveniently tested the motor speed and current, generating pulse width modulation waves to control the motor. The experimental results show that the adopted control plan combined software debugging with hardware debugging to make the system following and anti-disturbing better.
Key words: AVR microcontroller; direct current speed regulation; following performance; disturbance rejection
参考文献
[1] 陈中,沈翠凤. 基于单片机直流调速控制系统设计[J]. 盐城工学院学报:自然科学版,2012,25(3):54-58.
[2] 冯金水,孙爱军,伍洲. 基于MOSFET驱动芯片的直流电机驱动器的设计[C]// 中国煤炭学会短壁机械化开采专业委员会学术研讨会论文集,2007.
[3] 王珣,杜茂华,卢培进. 基于单片机的PWM 直流调速控制系统设计[J]. 机械与电子,2011(3):50-52.
[4] 张维玲,李冬杨. 智能电动车控制系统设计[J].机械研究与应用,2007,20(6):96-97.
[5] 张小石,郝秀平. 基于Proteus的直流电机测速系统仿真[J]. 机械工程与自动化,2015(2):214-215.
[6] 孟海港,常美,孙剑. 基于8051单片机控制的直流电机PWM调速系统设计[J]. 伺服控制,2013(2):41-45.
[7] 杭和平,杨芳. 单片机原理和应用[M]. 北京:机械工业出版社,2003.
[8] 马潮.AVR单片机嵌入式系统原理与应用实践[M].2版. 北京:北京航空航天大学出版社,2003.
[9] 丁元杰. 单片机原理及应用[M]. 北京:机械工业出版社,2005.