当前位置:首页 > 数控直流稳压电源本科毕设论文 - 图文
洛阳理工学院毕业设计(论文)
毕业设计论文 数控直流稳压电源
摘 要
本设计为一种简易数控直流稳压电源。该电源由电源供电模块、加减数控调压模块、数模转换和模数转换模块、电压调整模块以及数字输出显示电路等组成。该设计以STC90C516RD+单片机为基本控制核心,通过单片机控制数模转换芯片DAC0832输出稳压电源的基准电压,再通过两级放大输出到电压调整管,控制调节输出电源电压。该数控电源可以通过粗调和微调按键实现0-10V之间不同幅值的电压输出,同时还设置了+3.3V和+5V电压设定按键,以实现常用芯片电压的快速设定。设计中采用LCD1602液晶显示设定电压和电源输出的实际电压,便于观察和调整。在设计中,对该电源系统进行了Proteus仿真,配合Keil uVision4软件的应用,得到比较满意的仿真结果。另外,该数控电源具有较好的抗干扰能力,可靠性较高,易于调节,操作简单,输出电压值与真实显示电压值精度较高等优点。
关键词:数控直流稳压电源,STC90C516,模数转换,Proteus仿真,LCD1602
I
洛阳理工学院毕业设计(论文)
Numerical Control DC Regulated Power Supply
ABSTRACT
This graduation design is a kind of numerical control dc regulated power supply. The power is supplied by the regulated power supply power supply module, plus or minus numerical control regulating module, digital-to-analog conversion and analog-to-digital conversion module, voltage regulation modules, and digital output display circuit. The basic control core of this design is the 51 single-chip computer with a model of STC90C516, through the single-chip microcomputer control d/a conversion DAC0832 chip output reference voltage stabilized voltage supply, then through two stage amplifier output to adjust the tube voltage, controlling the output voltage. The numerical control power supply can be realized through the coarse and fine the voltage of the different amplitude between 0 -10 v output, also set up + 3 v and + 5 v voltage setting button, so as to realize the rapid commonly used voltage settings. The design adopts the LCD1602 LCD displaying the setting voltage and the actual voltage of the power output, convenient for observation and settings. In the design of the power system has carried on the Proteus simulation, cooperated with Keil uVision4 software application, to get satisfactory simulation results. In addition, the numerical control power supply has good anti-interference ability, high reliability, easy to adjust, simple operation, the output voltage value and the true shows that the characteristic of high precision voltage value.
KEY WORDS: numerical control dc regulated power supply,STC90C516,digital-to-analog,the Proteus simulation,LCD1602
II
洛阳理工学院毕业设计(论文)
目 录
前 言 ................................................................................................ 1 第1章 数控电源概述 ....................................................................... 2
1.1 设计的依据与意义 ............................................................... 2 1.2 国内外数控电源概况 ........................................................... 2 1.3 设计的内容 ........................................................................... 3 1.4 设计方法 ............................................................................... 4 第2章 设计方案与论证 ................................................................... 5
2.1 设计方案 ............................................................................... 5
2.1.1 方案一 ......................................................................... 5 2.1.2 方案二 ......................................................................... 5 2.2 方案比较与论证 ................................................................... 6
2.2.1 数控部分 ..................................................................... 6 2.2.2 输出部分 ..................................................................... 6 2.2.3 显示部分 ..................................................................... 7
第3章 硬件电路设计 ....................................................................... 8
3.1 电源供电电路模块 ............................................................... 8 3.2 主控电路模块 ....................................................................... 9
3.2.1 STC90C516RD+单片机简介 ..................................... 10 3.1.2 引脚功能说明 ........................................................... 10 3.3 按键电路模块 ..................................................................... 12 3.4 显示电路模块 ..................................................................... 12
3.4.1 LCD1602主要参数 ................................................... 13 3.4.2 LCD1602引脚功能说明 ............................................ 13 3.5 D/A转换电路模块 .............................................................. 14
3.5.1 DAC0832主要参数 ................................................... 16 3.5.2 DAC0832的引脚说明 ............................................... 16 3.5.3 DAC0832的工作方式 ............................................... 17 3.6 电压调整电路模块 ............................................................. 18
III
洛阳理工学院毕业设计(论文)
3.7 A/D转换电路模块 .............................................................. 19 第4章 系统软件设计 ..................................................................... 21
4.1 主程序流程图 ..................................................................... 21 4.2 LCD1602程序流程图 ......................................................... 22 4.3 按键扫描程序 ..................................................................... 22 4.4 A/D采样子程序 .................................................................. 23 4.5 D/A输出子程序 .................................................................. 23 第5章 系统仿真与调试 ................................................................. 24
5.1 软件仿真调试 ..................................................................... 24
5.1.1 Keil uVision4软件编程 ............................................. 24 5.1.2 Proteus仿真 ............................................................... 25 5.2 硬件电路调试 ..................................................................... 26
5.2.1 搭接电路板实物图 ................................................... 26 5.2.2 Altium Designer PCB板 ............................................ 28 5.2.3 电路调试 ................................................................... 29 5.2.4 测试结果 ................................................................... 30
结 论 .............................................................................................. 32 谢 辞 ................................................................................................ 33 参考文献 .......................................................................................... 34 附 录 .............................................................................................. 36 外文资料翻译 ................................................... 错误!未定义书签。
IV
共分享92篇相关文档