毕业论文

打赏
当前位置: 毕业论文 > 物理论文 >

AT89C51单片机交流数字电压表设计+电路图+程序

时间:2025-12-15 22:22来源:100931
以AT89C51单片机为核心、LTC1864为模数转换电路主要器件的数字电压表。在论文的开始介绍了数字电压表(DVM)的发展过程、国内外研究程度,以及发展的新前景

摘要:本文设计的交流数字电压表是以单片机AT89C51为控制核心,与LTC1864模数转换器相结合的4位数码管显示。该检测系统主要分为测量电压输入模块、A/D转换模块、单片机控制模块、显示模块,可以检测0~222V的交流电压值,精度达到10%。正文中详细介绍了各个硬件电路的工作原理及工作方式,描述了软件各子程序的具体设计过程及如何运行的。通过利用Proteus仿真软件进行大量的仿真,证明了利用硬件电路与软件程序相结合的设计思路进行数字电压表的设计,具有读数方便、测量误差小、精度高、良好实用性等优点。

关键词  数字电压表  AT89C51  模数转换  数字显示

毕业设计说明书外文摘要

Title    Design of AC digital voltmeter                   

                                                           

Abstract:This paper presents a four bit nixie tube display AC digital volt meter,which using AT89C51 single-chip as the center controller,and using LTC1864 A/D as the converter.The detection system is pided into measuring voltage input module, A/D conversion module,single-chip control module,display module, can measure the AC voltage from 0 to 222 volts,the accuracy of up to 10%.Text introduces in detail the working principle of hardware circuit and working way,describes the specific software each subroutine design process and how to run.By using a large number of Proteus simulation software simulation,and proved that using the combination of hardware circuit and software program design ideas for the design of the digital voltmeter,with convenient reading, small measurement error,high precision and good practicability.

Keywords  digital voltmeter  AT89C51  A/D conversion  digital display

目   次

1  引言(或绪论)  1

1.1  课题研究的背景及国内外的研究现状  1

1.2  所研究课题的发展新趋势  2

2  设计的总方案  4

2.1  设计要求  4

2.2  设计思路  4

2.3  设计方案  4

3  硬件电路设计  6

3.1  测量电压输入电路  6

3.2  A/D转换电路  8

3.3  单片机控制电路  9

3.4  时钟电路和复位电路  10

3.5  数字显示电路  11

3.6  总体硬件电路  11

4  软件程序设计  13

4.1  软件初始化  13

4.2  74HC595串行输入、并行输出子程序  14

4.3  读取LTC1864模数转换值子程序  15

4.4  数位分解子程序  16

4.5  交流电压检测子程序  16

4.6  串行输出到595驱动数码管显示 17

4.7  主程序  17

4.8  T0溢出中断函数子程序  17

5  软硬件调试、仿真与误差分析  19

5.1  软硬件调试  19

5.2  仿真  19

5.3  误差分析  25

结论  27

致谢  28

参考文献 29

附录A  软件程序代码  30

1  引言

1.1  课题研究的背景及国内外的研究现状

1.2  所研究课题的发展新趋势

2  设计的总方案

2.1  设计要求

(1)选择AT89C51单片机为核心器件,搭建硬件电路; AT89C51单片机交流数字电压表设计+电路图+程序:http://www.chuibin.com/wuli/lunwen_206393.html

------分隔线----------------------------
推荐内容