基于单片机的直流稳压电源的设计本科毕设论文 联系客服

发布时间 : 星期日 文章基于单片机的直流稳压电源的设计本科毕设论文更新完毕开始阅读

******大学毕业设计(论文)

毕业设计论文

基于单片机的直流稳压电源的设计

I

******大学毕业设计(论文)

摘 要

直流稳压电源是电子技术常用的设备之一,广泛的应用于教学、科研等领域。传统的直流稳压电源几乎都是用旋纽开关调节电压,调节精度不高、难控制、体积大、结构复杂,而且经常跳变,使用麻烦。

将单片机数字控制技术融入直流稳压电源的设计中,设计出的数字化直流稳压电源具有数码显示、数字输入调压、电压调节精度高的特点。而且通过软件编程,易于实现功能的扩展。数控电源目前的发展,主要朝着更高的数控精度和分辨率及更好的动态特性;更好的环保性能;智能化与高可靠性;更广泛的应用方向发展。

本设计利用AT89S51作为主控芯片,控制数模转换模块DAC0832的输出电压,通过运算放大器OPA552放大输出。设置四个按键,来实现电压的增减,并带有数码显示模块。可以达到每步0.1V的精度,输出电压范围0~15V,电流可以达到200mA。 关键词:数控电源;AT89S51;DAC0832;OPA552

II

******大学毕业设计(论文)

Abstract

Direct current voltage-stabilized power supply is one of the commonly used equipment in electronic technology. It’s widely used in teaching, researching and other fields.Most of the traditional direct current voltage-stabilized power supply use the knob switch to adjust the voltage.It has the trouble of low-precision and difficult to control. The structure is complex and the volume is large.

The numerical control technique of single chip microcomputer is adopted in the design of direct current voltage-stabilized power supply for a digitalized.Having numeral display,the direct current power can adjust voltage programmably and differentiate voltage precisely.Moreover,it’s easy to have its function enlarged through the programmer.Numerical control

direct

current

voltage-stabilized

dynamic

power

supply

mainly

toward

to

high-precision,high-resolution,better

characteristics,better

environmental

performance,intelligent,high reliability and wider application direction.

In this design,using the AT89S51 as main module to control the output voltage of DAC0832. The voltage is magnified by amplifier OPA552. In this system, the step of voltage is control by four keys, and the display module is also designed.The step precision is 0.1V,the output voltage is range from 0V to 15V and the current is up to 200mA. Key words: Numerical control power;AT89S51;DAC0832;OPA552

III

******大学毕业设计(论文)

目 录

摘要 ............................................................................................................................................. I Abstract ................................................................................................................................... III

第1章 绪论 ............................................................................................................................ 1 1.1 课题的背景和意义 ...................................................................................................... 1 1.2 数控电源的发展 .......................................................................................................... 1 第2章 方案设计 .................................................................................................................... 3 第3章 系统硬件电路设计 .................................................................................................... 4 3.1 主要电路的设计 .......................................................................................................... 4 3.2 具体电路介绍 .............................................................................................................. 4 3.2.1 主控单元电路 ........................................................................................................ 4 3.2.2 信号处理电路 ........................................................................................................ 8 3.2.3 电压放大电路 ...................................................................................................... 12 3.2.4 按键电路 .............................................................................................................. 14 3.2.5 显示电路 .............................................................................................................. 15 第4章 系统软件设计 .......................................................................................................... 18 4.1 程序运行原理 ............................................................................................................ 18 4.2 程序流程 .................................................................................................................... 19 4.2.1 延时子程序流程 .................................................................................................. 19 4.2.2 拆分送显存子程序流程 ...................................................................................... 19 4.2.3 显示子程序流程 .................................................................................................. 20 4.2.4 主程序流程 .......................................................................................................... 21 第5章 设计仿真及调试 ...................................................................................................... 22 5.1 WAVE6000集成调试软件简介 ................................................................................ 22 5.2 程序调试的步骤 ........................................................................................................ 23 第6章 电路调试及实验分析 .............................................................................................. 25 6.1 实验仪器 .................................................................................................................... 25 6.2 电路焊接和调试 ........................................................................................................ 25 6.3 实际电压与显示电压对比分析 ................................................................................ 25 6.4 系统误差分析 ............................................................................................................ 26 结论 .......................................................................................................................................... 27

IV