基于单片机的单相数字电功率表设计大学毕业设计.docVIP

基于单片机的单相数字电功率表设计大学毕业设计.doc

  1. 1、本文档共56页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘要 本文主要讲述了基于单片机的单相数字电功率表的设计。该单相数字功率表采用AT89C52单片机作为中央处理器,其间通过检测电压电流值,采用过零比较法利用单片机的定时器计算出相位角,最后依据得出电网功率,最后将检测到的测量值显示在液晶显示器上。另外本文介绍了其相关硬件电路和软件程序流程图,本设计主要包括下面几方面:交流信号数据采样与处理、模数转换、单片机应用与编程、液晶显示。随着社会的发展,电子产品逐渐朝着数字化、信息化、自动化方向发展,本设计的数字功率表也逐渐取代了传统指针式模拟功率表,其具有抗干扰能力强、精度高、可扩展性强、集成方便等优点,具有良好的研究意义。 关键词:单片机 数据采集 过零比较 液晶显示 Abstract This paper describes the design of single-phase digital electric power meter based on MCU.The single phase digital power meter using AT89C52 microcontroller as the central processor, which by detecting the voltage and current value, the zero crossing comparison method the use of single-chip timer to calculate the phase angle, finally based on the results of the power, the measurement of the detected value displayed on the LCD monitor.This paper also introduces the related hardware circuit and software program flow chart, the design mainly includes the following aspects: sampling and processing, analog-to-digital conversion, application and programming, MCU LCD AC signal data.With the development of society, electronic products gradually towards digitization, informatization, automation development direction, the design of the digital power meter has gradually replaced the traditional analog pointer type power meter, it has advantages of strong anti-interference ability, high precision, strong expansibility, easy to be integrated, with good research significance. Keywords:microcontroller data acquisition more than zero liquid crystal display 目 录 摘要 I Abstract II 第1章 概 述 1 1.1 设计背景与意义 1 1.2 研究内容 1 第2章 系统方案设计 2 2.1 系统基本思想 2 2.2 系统功能要求 2 2.3 系统框图 3 2.4 设计方案及技术分析 3 2.4.1 电压电流采集模块 3 2.4.2 信号处理模块 4 2.4.3 模数转换模块 4 2.4.4 相位角测量模块 4 第3章 系统硬件分析 5 3.1 电路测试系统的分析 5 3.1.1 单片机最小系统简介 5 3.1.2 数据存储器24C16 5 3.2 系统的前向通道 8 3.2.1 电压、电流采样的前置电路 8 3.2.2 相位角测量的前置电路 10 3.2.3 模数转换电路 11 3.3 键盘电路 15 3.4 液晶显示电路 15 第4章 系统软件设计 18 4.1 Keil编程软件介绍 18 4.2 程序设计 18 4.2.1 系统的主程序设计 18 4.2.2 初始化子程序的设计 19 4.2.3 测量子程序 21 4.2.4 液晶显示子程序 26 4.2.5 键盘扫描子程序 28 第5章 系统调试过程 30 5.1 Proteus软件应用 30 5.2 电压、

文档评论(0)

Andy Warhol + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档