资源预览内容
第1页 / 共15页
第2页 / 共15页
第3页 / 共15页
第4页 / 共15页
第5页 / 共15页
第6页 / 共15页
第7页 / 共15页
第8页 / 共15页
第9页 / 共15页
第10页 / 共15页
亲,该文档总共15页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
基于单片机 KL25 的数字电压表摘要数字电压表(Digital Voltmeter)简称 DVM,它是采用数字化测量技术,把连续的模拟量(直流输入电压)转换成不连续、离散的数字形式并加以显示的仪表。传统的指针式电压表功能单一、精度低,不能满足数字化时代的需求,采用单片机的数字电压表,由精度高、抗干扰能力强,可扩展性强、集成方便,还可与 PC 进行实时通信。目前,由各种单片 A/D 转换器构成的数字电压表,已被广泛用于电子及电工测量、工业自动化仪表、自动测试系统等智能化测量领域,示出强大的生命力。与此同时,由 DVM 扩展而成的各种通用及专用数字仪器仪表,也把电量及非电量测量技术提高到崭新水平。本章重点介绍单片 A/D 转换器以及由它们构成的基于单片机的数字电压表的工作原理。关键词:数字电压表 A/D 转换器 PC 电压测量The Design of Digital VoltmeterAbstract 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.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, Ji Cheng 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.Key words Digital voltmeter A/Dconverter PC Voltage measurement 目录第一章 系统概要.5 1.1 课题研究背景.5 1.2 数字电压表的分类.5 1.3 系统功能.5 第二章 设计总方案.6 2.1 设计题目.6 2.2 设计内容及要求.6 2.3 设计原理及方案.6 第三章 硬件设计.7 3.1 A/D 转换电路.7 3.2LED 显示电路.7 第四章 系统软件设计.8 4.1 主程序(main.c).8 4.2 中断子程序(Isr.c).9 4.3 LED 子程序(LED.c).10 第五章 系统测试.13 5.1 运行界面调试.13 5.2 运行结果图.14 第六章 总结.15 6.1 结论.15 6.2 展望.15 6.3 致谢.15 6.4 参考文献.16第一章第一章 系统概要系统概要1.1 课题研究背景课题研究背景数字电压表(Digital Voltmeter)简称 DVM,它采用的是数字化测量技术,把连续的模拟量,也就是连续的电压值转变为不连续的数字量,加以数字处理然后再通过显示器件显示,由于数字式仪器具有读数准确方便、精度高、误差小、灵敏度高和分辨率高、测量速度快等特点而倍受青睐,数字式电压表就是基于这种需求而发展起来的.。而采用单片机的数字电压表由于测量精度高、速度快,读数时也非常方便,抗干扰能力强,可扩展性强等优点已被广泛的应用于电子及电工的测量、工业自动化仪表、自动测试系统等智能化测量领域,显示出强大的生命力。1.2 数字电压表的分类数字电压表的分类目前实现电压数字化测量的方法仍然模-数(A/D)转换的方法,而数字电压表种类繁多,型号新异,目前国际仍未有统一的分类方法。而常用的分类方法有如下几种: 1按用途来分:有直流数字电压表,交、直流数字电压表,交直流万用表等。2按显示位数来分:有 4 位,5 位,6 位,7 位,8 位
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号