编号:单片机综合设计实训论文说明书题目:ADC0809电压检测院(系):信息与通信学院专业:电子信息工程学生姓名:学号:指导教师:2012年06月24日摘要数字电压表(DigitalVoltmeter)简称DVM,它是采用数字化测量技术,把连续的模拟量(直流输入电压)转换成不连续、离散的数字形式并加以显示的仪表。目前,由各种单片A/D转换器构成的数字电压表,已被广泛用于电子及电工测量、工业自动化仪表、自动测试系统等领域,显示出强大的生命力。与此同时,由DVM扩展而成的各种通用及专用数字仪器仪表,也把电量及非电量测量技术提高到崭新水平。本次课程设计重点介绍由单片机芯片AT89S51和A/D转换器以及由它们构成的直流数字电压表的工作原理。基本要求为利用ADC0809,有8路模拟量输入,将模拟量输入转换成数字量显示出来,用单片机芯片AT89S51设计电路,实现0-10V电压测量。直流数字电压表具有以下特点:显示清晰直观,读数准确;准确度和分辨率高;测量范围宽,扩展能力强;集成度高,微功耗;输入阻抗高,抗干扰能力强。关键词:数字电压表;ADC0809;AT89S51;电压测量AbstractDVM(DigitalVoltmeter)referredtoastheDVM,itistheuseofdigitalmeasurementtechnique,thecontinuousanalog(DCinput)intodiscrete,discretedigitalformanddisplayinstrument.Currently,thevariousDanpianA/Dconverterconsistingofdigitalvoltmeter,hasbeenwidelyusedinelectronicandelectricalmeasurement,industrialautomation,instrumentation,automatictestsystemsandotherareas,showingstrongvitality.Atthesametime,theDVMextensiontoavarietyofgeneralandspecialdigitalinstrumentation,butalsothepowerandnonpowermeasurementtechnologytonewlevels.ThecurriculumfocusesonthesinglechipAT89S51andA/Dconverter,andtheyconstituteaDCdigitalvoltmeterworks.BasicrequirementsfortheuseofAD0809converter,8analoginputs,theanaloginputintoadigitaldisplay,withthedesignofsinglechipAT89S51circuit,0-10Vvoltagemeasurement.DCdigitalvoltmeterwiththefollowingcharacteristics:Displayclearandintuitive,accuratereadings;accuracyandhighresolution;widemeasurementrange,expansioncapability;highintegration,micro-power;inputimpedance,highanti-interferenceability.Keywords:digitalvoltmeter;ADC0809;AT89S51;voltagemeasurement目录引言.......................................................................................................................11课题设计目的和要求.....................................................................................12设计方案论证.................................................................................................12.1直流数字电压表总体电路设计分析................................................................................12.2系统的组成框图..............................................................................................................23硬件设计.........................................................................................................23.1ADC0809..............................................................................................................................23.1.1ADC0809芯片简介...........................................................................................................23.1.2ADC0809芯片的工作原理及应用说明.........................................................................33.1.3ADC0809的芯片性能特点............................................................................................53.2AT89S51..............................................................................................................................53.2.1AT89S51芯片介绍...........................................................................................................53.2.2AT89S51芯片主要性能特点...........................................................................................63.2.3AT89S51芯片管脚介绍...................................................................................................63.3液晶显示部分....................................................................................................................83.4电路检测部分....................................................................................................................93.5切换通道电路部分............................................................................................................94软件设计.........................................................................................................94.1程序设计流程图.................................................................................................................94.2应用程序设计..................................................................................................................105直流数字电压表设计原理框图及PCB图...................................................116数字电压表焊接安装与调试.......................................................................126.1电路板的焊接与安装......................................................................................................126.2电路板的调试..................................................................................................................126.2.1调试仪器及调试方法...................................................................................................126.2.2测试结果分析...............................................................................................................127电路出现的问题及解决方法.......................................................................138实训总结.......................................................................................................13谢辞.................................................................................................................14参考文献.............................................................................................................16附录....................