没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的数字电压表设计毕设.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 186 浏览量
2023-06-07
13:45:04
上传
评论
收藏 338KB DOC 举报
温馨提示
试读
41页
基于单片机的数字电压表设计毕设.doc
资源推荐
资源详情
资源评论
目 录
设计总说明 ................................................................1
Design General Information ................................................2
1 绪论 ....................................................................4
1.1 课题的背景及意义...................................................4
1.2 数字电压表的简介...................................................4
2 系统的方案设计与论证 ....................................................5
2.1 数字电压表原理.....................................................5
2.2 数字电压表设计要求.................................................5
3 系统硬件结构设计 ........................................................5
3.1 电源电路...........................................................6
3.2 单片机芯片选择.....................................................7
3.2.1 AT89C51 主要特性..............................................8
3.2.2 管脚说明 .....................................................9
3.2.3 内部单元.....................................................10
3.2.4 中断 ........................................................13
3.2.5 芯片擦除 ....................................................15
3.2.6 结构特点 ....................................................15
3.3 A/D 转换电路 ......................................................16
3.3.1 TLC2543 的特点...............................................16
3.3.2 TLC2543 的引脚说明...........................................17
3.3.3 TLC2543 控制字...............................................18
3.3.4 TLC2543 接口时序.............................................20
3.4 显示电路..........................................................22
3.5 复位电路..........................................................24
3.6 晶振电路..........................................................24
4 系统软件设计 ...........................................................26
4.1 主程序流程图......................................................26
4.2 中断程序流程图....................................................27
4.3 源程序............................................................28
总 结 ...................................................................35
参考文献 .................................................................36
致 谢 ...................................................................37
附录 A....................................................................38
数字电压表电路原理图..................................................38
附录 B....................................................................39
元件清单列表..........................................................39
基于单片机的数字电压表的设计
设计总说明
在当今的数字时代,大到空间雷达,地球卫星定位系统,移动通信,计算机,医
用断层扫描设备,小到家用计算机,数码影像设备,数字录音笔,数码微波炉等设备中,
数字技术与数字电路组成的数字系统已经成为这些现代电子系统的重要组成部分。数字
电压表正进入一个蓬勃发展的新时期,一方面它开拓了电子测量领域的先河,另一方面
它本身正朝着高准确度、智能化、低成本的方向发展。此外,数字电压表在安装工艺、
外观设计、安全性、可靠性等方面也在不断改进,日臻完善。
数字电压表(Digital Voltmeter)简称 DVM,它是采用数字化测量技术,把连续
的模拟量(直流输入电压)转换成不连续、离散的数字形式并加以显示的仪表。现代数
字电压表按测量功能可分为直流数字电压表和交流数字电压表。数字电压表一般由模拟
部分和数字部分组成,模拟部分主要功能是获取电压并将其转换为相应的数字量,数字
部分完成逻辑控制、译码和显示等功能。数字电压表的核心是 A/D 转换器,由 A/D 转换
器工作原理的不同,数字电压表又可分为逐次比较型和双积分型。传统的指针式电压表
功能单一、精度低,不能满足数字化时代的需求。采用单片机的数字电压表,由精度高、
抗干扰能力强,可扩展性强、集成方便,还可与 PC 进行实时通信。目前,由各种单片 A/D
转换器构成的数字电压表,已被广泛用于电子及电工测量、工业自动化仪表、自动测试
系统等智能化测量领域,示出强大的生命力。与此同时,由 DVM 扩展而成的各种通用及
专用数字仪器仪表,也把电量及非电量测量技术提高到崭新水平。
数字电压表作为数字技术的成功应用,发展相当快。数字电压表以其功能齐全、精
度高、灵敏度高、显示直观等突出优点深受用户欢迎。特别是以 A/D 转换器为代表的
集成电路为支柱,使 DVM 向着多功能化、小型化、智能化方向发展。DVM 应用单片机控
制,组成智能仪表;与计算机接口,组成自动测试系统。本设计主要是以 AT89C51 单片
机为核心,包含数据采集模块、数据处理模块和输入/输出模块,能实现 0-5V 直流电压
测量、数字显示、小数点显示等。能对电压值较小的线路进行电压值的测量,具有较高
的测量精度,能满足一般电子系统电压测量要求,留有可扩展的接口,便于依据实际情况
增加其他功能。
关键词:数字电压表;A/D 转换器;电压测量
Microcontroller-based digital voltmeter
Design General Information
In today's digital age, space radar, global satellite positioning systems, mobile
communications, computer, medical tomography device as small as home computers, digital
imaging equipment, digital voice recorder, digital microwave ovens and other equipment,
digital technology and digital circuit consisting of digital systems has become an important
part of modern electronic systems. The digital voltmeter is entering a vibrant new period of
development, on the one hand, it opened up the first of its kind in the field of electronic
measuring the other hand, it in itself is moving in the direction of high accuracy, intelligent,
low-cost development. In addition, the digital voltmeter in the installation process, design,
safety, reliability is also continuous improvement, and improving.
Digital voltage meter (Digital Voltmeter) referred to as DVM, it is the use of digital
measuring technology, the continuous analog (DC input voltage) into a non-continuous,
discrete digital form and to display the instrument.
Modern digital voltmeter measurement
functions can be divided into a DC digital voltmeter and AC digital voltmeter. The digital
voltmeter is generally by the analog part and digital part and analog part of the main function
is to obtain the voltage and converts it to digital and digital part of the complete logic control,
decode and display. The digital voltmeter is the core of the A / D converter, the device works
is different from the digital voltmeter can be divided into successive comparison type and a
double integral A / D converter. Analog voltage meter features a traditional single, low
accuracy, can not meet the digital age, using the single chip digital voltage meter, from the
high precision, anti-interference ability, scalability,
Integrated convenience, and PC can
communicate in real time. At present, by a variety of single A / D converter consisting of
digital voltage meter, has been widely used in electronic and electrical measurement,
industrial automation, instrumentation, automated test systems, intelligent measurement,
showing strong vitality. At the same time, the DVM extension to the various general and
specific digital instruments, but also the power and non-power measurement up to a new level.
This chapter focuses on single-chip A / D converter, and they form by the
microcontroller-based digital voltmeter works.
Digital voltmeter as the successful application of digital technology, the development is
quite fast. Digital voltmeter with a full-featured, high precision, high sensitivity, and
intuitive display outstanding advantages welcomed by users. In particular, the A / D converter
is represented by IC pillar, DVM toward multifunction, miniaturization, intelligent direction.
DVM application MCU control, composed of intelligent instrument; computer interface,
composed of the automatic test system. This design is mainly based on 51 series
microcontroller core contains the data acquisition module, data processing module and input /
output modules, digital display, measuring DC voltage, decimal point display and over-range
display. Measurement of the voltage value of the smaller line voltage, higher measurement
accuracy can meet the general electronic system voltage measurement requirements, leaving
the scalable interface, easy to add other functions based on the actual situation.
Keywords: digital voltmeter; A / D converter; voltage measurement
剩余40页未读,继续阅读
资源评论
老帽爬新坡
- 粉丝: 83
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功