文档介绍:电镀数字脉冲电源控制程序设计
摘要
所谓数字脉冲电源,就是采用微处理器等数字电路对脉冲电源中的直流斩波进行控完成制,并实现数字显示与数字调节的一种脉冲电源。它是当今最为先进的电镀电源,也是电镀电源发展的方向。本设计主要介绍可调节占空比及频率的脉冲电镀电源。本设计采用双CPU系统设计架构,主CPU系统以AT89C52芯片为核心,主要负责显示电路、按键电路、运行状态控制以及向从CPU系统发送脉冲参数等模块程序设计。而从CPU系统选用89C2051单片机,唯一的任务是产生斩波所需要的脉冲信号。同时为了减轻主CPU的负担,简化硬件设计,显示与按键电路通过8279专用接口芯片与单片机相连。再通过主从软件系统各模块之间的协调调用来实现这一功能。
关键词:脉冲,电镀,电源,单片机
Digital Pulse Electroplating Power Supply Control Program
ABSTRACT
The so-called digital pulse power supply, is the use of microprocessors and other digital circuits on the pulse of the DC chopper for power control and digital display and digital regulation of a pulsed power supply. It is the power of today's most advanced plating ,which is electroplating power development. This design introduces an adjustable duty cycle and frequency pulse plating power supply. The design uses a dual-CPU system architecture, the main CPU AT89C52 chip as the core system, the main administration includes displaying circuit, key circuit, operating state control, and sending a pulse from the CPU system parameters. 89C2051 CPU system selected from the microcontroller, the only task is to produce the required pulse chopper. Meanwhile, in order to reduce the burden on the main CPU to simplify hardware design, display and keypad circuit through the 8279 special interface chip is connected with the microcontroller. Realized this function through host's from software system various modules coordinated transfer.
KEY WORDS: pulse, electroplate, power, SCM
目录
摘要 I
Abstract II
1 绪论 1
1
1
2
2 电镀数字脉冲电源系统总方案设计 3
3
3
4
AT89C52结构及功能介绍 5
8279结构及功能介绍 6
AT89C2051结构及功能介绍 7
复位与看门狗电路 9
数码管显示部分设计 10
键盘电路模块设计 11
3电镀数字脉冲电源各模块程序设计 13
13
13
17
T2定时中断程序设计 19
22
从系统程序设计 28
28
31
T2定时中断 32
4程序仿真调试 35
5总结 37
致谢 38
参考文献 39
1 绪论
随着科学技术与生产的发展,电