The design of the pwm control system
Abstract:In this paper, we reseach PWM technology’s development at present,designing a PWM signal output system based on AT89S52 single_chip microcomputer.Firstly ,we studied and analyzed the system structure and the PWM software algorithm,Including comparison and analysis of several PWM.This paper designed the system structure.after completion of the overall design,The hardware circuit of each unit module is designed.To realize the system function the paper use the C language programming,Finally,a simulation on the computer.
This design adopts AT89S52 single chip microcomputer as control core of the hardware,which can produce berween 1HZ to 9999HZ frequency which is adjustable PWM and the duty ratio is also adjusted between 1%to99%.The digital tube display frequency and duty ratio.We can use an inverter or not gate to produce two lines of symmetry of the PWM pulse wave which can adopted in a half bridge inverter power supply,realizing the switch of inverter power in a cycle of order conduction.By adjusting the PWM control part of the control of the control system we can realize high efficiency inverter power supply output.
Key word:AT89S52;PWM;Frequency;Duty ratio;Inverter
目 录
摘要 1
引言 2
1.PWM控制系统的研究现状和设计任务 2
1.1设计背景 2
1.2发展状况 2
1.3设计任务与要求 3
2.PWM控制系统的总体设计 3
2.1设计系统概述 3
2.2方案论证与比较 4
2.3总体方案设计 4
2.4设计的元器件介绍 5
2.4.1 AT89S52的介绍 5
2.4.2 74HC138的介绍 7
2.4.3 74HC573的介绍 8
3.系统硬件设计 9
3.1时钟电路 10
3.2复位电路 11
3.3键盘接口电路 12
3.4数码管LED显示电路 14
3.5 PWM输出放大电路 15
4.软件设计 16
4.1编程语言的选择 16
4.2软件的总体设计 16
4.3中断服务子程序的介绍 17
5.系统仿真和调试 18
5.1系统调试说明 18
5.2仿真软件介绍 19
5.3仿真结果 21
6. PWM波的应用 26
6.1逆变电路的性能和分类 27
6.2半桥逆变电路的原理分析 27
6.3半桥逆变电路的仿真 28
参考文献 31
附录 33
基于单片机的PWM控制系统的设计及应用引言