您好,欢迎来到佳博论文网!

程控直流电压源设计

论文编号:JD1056论文字数:15253,页数:40,有开题报告,任务书

[摘要] 各种电子电路实验中,电源是一种必不可少的仪器,目前实验所用的电源大多是电流和电压输出,一般采用数字式来显示电流或电压值,搭配电位器调整所要的电压及电流输出值。若要调整精确的电压输出,须搭配精确的显示仪表监测;又因电位器的阻值特性,在调整时,会产生漂移。随着科学技术飞速发展,对电源可靠性、输出精度和稳定性要求越来越高,利用D/A 转换器的高分辨率和单片机可程控实现对电源的监控,如模拟电压跌落、间断或起伏等情况,即可编程电源也可以看作一种功率型的低频信号发生器。 程控电源可以任意设定输出电压或电流,所有功能由面板上的键盘或通过RS - 232C 串口连接的上位微机实现,给电路实验带来极大的方便。

后,在本次毕业设计过程中还涉及到了功能强大的PROTEUS软件的使用,并利用此软件绘制了系统原理图。

[关键词]:单片机 AT89C51 共阳极LED数码显示器D/A转换器

[Abstract] Experiments of various electronic circuits, power is an essential apparatus, the current power used in the experiment are current and voltage output, normally used to display the digital value of current or voltage, with a potentiometer to adjust the voltage and current output value. To adjust precise voltage output to be displayed with precise instrumentation monitoring; because of the resistance characteristics of potentiometers in the adjustment, will produce drift. With the rapid development of science and technology, the reliability of power supply, the output precision and stability requirements are much too high, the use of D / A converters and high-resolution single-chip can be programmed to monitor the realization of the power supply, such as analog voltage dip, intermittent or ups and downs, etc., can be programmed as a power supply can power low-frequency-based signal generator. Power settings can be programmed output voltage or current, all the features of the keyboard by the panel or through the RS - 232C serial port to connect PC to achieve the top, to the circuit the convenience of a great experiment. Finally, in the graduate design process also involves a powerful PROTEUS software and to make use of this software system schematic drawing

[Keywords] Single Chip Microcomputer AT89C51 Total cathode LED figures display D / A converter

目录

中文摘要Ⅵ

英文摘要Ⅶ

前言1

1绪论2

1.1 选题背景及意义2

1.2 国内外研究现状2

1.3 课题研究方法3

2方案论证3

2.1 方案设计的基本要求3

2.2总体设计方案3

2.3键盘和LED数字显示方案4

2.4按键设计思路4

2.5 硬件电路的设计方案及框图5

3过程论述5

3.1硬件电路的设计与选择5

3.1.1 单片机的选择6

3.1.2 时钟与复位电路的设计与器件选择9

3.1.3 LED显示电路设计与器件选择10

3.1.4 按键电路设计与器件选择14

3.1.5 D/A转换电路(数模转换器)的设计16

3.1.6 主电源和辅助电源18

3.1.7电路介绍和数控电压源硬件电路19

3.2程控直流电压源软件的设计方案21

3.2.1 编程语言选择21

3.2.2 主程序的初始化清单22

3.2.3 共阳极数码管段码表22

3.2.4 显示程序清单23

3.2.5 按键扫描程序清单23

3.2.6 按键处理子程序清单24

3.2.7 主函数清单25

3.2.8 延时程序清单25

3.2.9 程序流程图26

4 系统调试28

4.1 硬件调试28

4.1.1 脱机检查28

4.1.2 联机检查28

4.2 软件调试28

4.3 脱机运行29

4.3.1 系统不正常工作——其原因主要有:29

4.4系统指标测试误差分析29

4.4.1系统指标测试29

4.4.2 误差分析29

5总结30

致谢32

程控直流电压源设计......