基于AT89C51单片机数字直流电流表设计.doc

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于AT89C51单片机数字直流电流表设计

摘 要 传统电流测量一般采用电流表和万用表,但随着嵌入式技术与传感器技术的发展数字电流测量实用日益广。本论文描述了交直流数字电流测量系统的设计系统包括微控制器最小系统模块、电流采集模块、AD转换模块、显示模块、电源管理模块等。通过输入电路把交、直流模拟信号送给ADC0809转换为数字信号再送至AT89C52单片机,通过P0口经LCD1602显示出测量值,其中交流信号通过单向桥式整流电路将交流信号转换成直流信号在通过ADC0809转换器。论文还详细阐述了与系统硬件相应的系统软件设计。 本系统经测试运行良好具有一定的实用价值和推广价值。 关键字: 单片机 ,数字电流表 ,A/D Abstract The traditional current measurement generally use the ammeter and multimeter, but with the development of embedded technology and sensor technology, digital current measurement utility is increasingly widespread. This paper describes the design of the DC and digital current measurement system, the system including the minimum system module of the microcontroller, the current acquisition modules, AD converter module, display module, the power management module. Through the input circuit AC and DC analog signal is sent to the ADC0809 into digital signals and then sent to the AT89C52 microcontroller, the LCD1602 display the measured value through the P0 port; AC signal through the one-way bridge rectifier circuit of the AC signal into a DC signal by the ADC0808 converter. The paper also elaborates the corresponding system software design and system hardware. This system has been tested and runs well, has some practical value and promotional value. Keywords: single-chip ,digital ammeter, A / D, rectifier circui 目 录 1 绪论 1 1.1 课题研究问题 1 1.2 课题背景及意义 1 2 背景知识介绍 3 2.1 单片机发展详细介绍 3 2.1.1 单片机的工作原理 4 2.1.2 单片机的基本特点 4 2.2 A/D转换器的介绍 5 2.3 A/D转换器的工作原理 5 2.4 A/D转换器的基本特点 7 3 系统硬件设计 8 3.1 系统整体设计方案 8 3.2 主控制器模块设计 8 3.2.1 主控制器的选择 8 3.2.2 AT89C52 10 3.2.3 AT89C52最小系统 11 3.3 转换模块设计 11 3.3.1 A/D转换器的选择 11 3.3.2 ADC0809 11 3.3.3 ADC0809转换电路 12 3.4 数据采集模块的设计 13 3.4.1 直流电流采集电路 13 3.4.2 交流电流采集电路一 13 3.4.3 交流电流采集电路二 13 3.5 显示模块设计 14 4 系统软件设计 15 4.1 系统主控程序设计 15 4.2 数据采集处理程序设计 16 4.3 显示模块程序设计 17 5 测量结果显示 18 6 结论 19 参考文献 20 致 谢 21 1 绪论 随着微电子技术的迅速发展和超大规模集成电路的出现,特别是单片机的出现,正引起测量、控制仪表领域新的技术革命。采用单片机作为测量仪器的主控制器,这种以单片机为主体的新型智能仪表将计算机与测量控制技术结合在一起,在测量工程自动化测量结果所举处理以及功能

文档评论(0)

tmd2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档