洛阳理工学院毕业设计(论文)I数控直流稳压电源摘要本设计为一种简易数控直流稳压电源。该电源由电源供电模块、加减数控调压模块、数模转换和模数转换模块、电压调整模块以及数字输出显示电路等组成。该设计以STC90C516RD+单片机为基本控制核心,通过单片机控制数模转换芯片DAC0832输出稳压电源的基准电压,再通过两级放大输出到电压调整管,控制调节输出电源电压。该数控电源可以通过粗调和微调按键实现0-10V之间不同幅值的电压输出,同时还设置了+3.3V和+5V电压设定按键,以实现常用芯片电压的快速设定。设计中采用LCD1602液晶显示设定电压和电源输出的实际电压,便于观察和调整。在设计中,对该电源系统进行了Proteus仿真,配合KeiluVision4软件的应用,得到比较满意的仿真结果。另外,该数控电源具有较好的抗干扰能力,可靠性较高,易于调节,操作简单,输出电压值与真实显示电压值精度较高等优点。关键词:数控直流稳压电源,STC90C516,模数转换,Proteus仿真,LCD1602洛阳理工学院毕业设计(论文)IINumericalControlDCRegulatedPowerSupplyABSTRACTThisgraduationdesignisakindofnumericalcontroldcregulatedpowersupply.Thepowerissuppliedbytheregulatedpowersupplypowersupplymodule,plusorminusnumericalcontrolregulatingmodule,digital-to-analogconversionandanalog-to-digitalconversionmodule,voltageregulationmodules,anddigitaloutputdisplaycircuit.Thebasiccontrolcoreofthisdesignisthe51single-chipcomputerwithamodelofSTC90C516,throughthesingle-chipmicrocomputercontrold/aconversionDAC0832chipoutputreferencevoltagestabilizedvoltagesupply,thenthroughtwostageamplifieroutputtoadjustthetubevoltage,controllingtheoutputvoltage.Thenumericalcontrolpowersupplycanberealizedthroughthecoarseandfinethevoltageofthedifferentamplitudebetween0-10voutput,alsosetup+3vand+5vvoltagesettingbutton,soastorealizetherapidcommonlyusedvoltagesettings.ThedesignadoptstheLCD1602LCDdisplayingthesettingvoltageandtheactualvoltageofthepoweroutput,convenientforobservationandsettings.InthedesignofthepowersystemhascarriedontheProteussimulation,cooperatedwithKeiluVision4softwareapplication,togetsatisfactorysimulationresults.Inaddition,thenumericalcontrolpowersupplyhasgoodanti-interferenceability,highreliability,easytoadjust,simpleoperation,theoutputvoltagevalueandthetrueshowsthatthecharacteristicofhighprecisionvoltagevalue.KEYWORDS:numericalcontroldcregulatedpowersupply,STC90C516,digital-to-analog,theProteussimulation,LCD1602洛阳理工学院毕业设计(论文)III目录前言................................................................................................1第1章数控电源概述.......................................................................21.1设计的依据与意义...............................................................21.2国内外数控电源概况...........................................................21.3设计的内容...........................................................................31.4设计方法...............................................................................4第2章设计方案与论证...................................................................52.1设计方案...............................................................................52.1.1方案一.........................................................................52.1.2方案二.........................................................................52.2方案比较与论证...................................................................62.2.1数控部分.....................................................................62.2.2输出部分.....................................................................62.2.3显示部分.....................................................................7第3章硬件电路设计.......................................................................83.1电源供电电路模块...............................................................83.2主控电路模块.......................................................................93.2.1STC90C516RD+单片机简介.....................................103.1.2引脚功能说明...........................................................103.3按键电路模块.....................................................................123.4显示电路模块.....................................................................123.4.1LCD1602主要参数...................................................133.4.2LCD1602引脚功能说明............................................133.5D/A转换电路模块..............................................................143.5.1DAC0832主要参数...................................................163.5.2DAC0832的引脚说明...............................................163.5.3DAC0832的工作方式...............................................173.6电压调整电路模块.............................................................18洛阳理工学院毕业设计(论文)IV3.7A/D转换电路模块..............................................................19第4章系统软件设计.....................................................................214.1主程序流程图.....................................................................214.2LCD1602程序流程图.........................................................224.3按键扫描程序.....................................................................224.4A/D采样子程序..................................................................234.5D/A输出子程序..................................................................23第5章系统仿真与调试.................................................................245.1软件仿真调试.....................................................................245.1.1KeiluVision4软件编程.............................................245.1.2Proteus仿真...............................................................255.2硬件电路调试.....................................................................265.2.1搭接电路板实物图.....