- 1
- 0
- 约2.8万字
- 约 54页
- 2016-12-16 发布于辽宁
- 举报
摘要
本文主要讲述了基于单片机的单相数字电功率表的设计。该单相数字功率表采用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
您可能关注的文档
- 本科毕业论文---基于插值方法的数字图像几何变换的研究与实现正文.doc
- 本科毕业论文---基于stm32的红外测距系统设计正文.doc
- 本科毕业论文---基于产业集群的海宁皮革区域品牌建设研究(论文)设计.doc
- 本科毕业论文---基于产业集群的海宁皮革区域品牌研究.doc
- 本科毕业论文---基于stm32温控风扇.doc
- 本科毕业论文---基于产业集群的濮院羊毛衫区域品牌建设研究(论文)设计.doc
- 本科毕业论文---基于产业集群的濮院羊毛衫区域品牌研究.doc
- 本科毕业论文---基于触控屏和plc的分拣站电气控制系统设计.doc
- 本科毕业论文---基于uml和c#图书管理系统设计正文.doc
- 本科毕业论文---基于-大学本科购物偏好的仓储超市货品摆放的调研.doc
- 人教版九年级英语Unit 4曾害怕课件3a-4c.pdf
- 雅思口语考题回顾:朗阁海外考试研究中心2019年10月10日Part 1考题总结.pdf
- 2026届高三地理一轮复习课件小专题河流袭夺.pptx
- 【名师原创】复习专题5 三角函数 作者:合肥市第八中学 蒲荣飞名师工作室.docx
- 高中数学一轮复习 微专题2 抽象函数.docx
- 高中数学——复习专题4 空间向量与立体几何.docx
- 高中数学一轮复习 微专题3 空间几何体中的截面、轨迹问题.docx
- 高中数学一轮复习 微专题4 空间几何体的最值、范围问题.docx
- 导流洞施工质量通病防治手册.docx
- 江苏省徐州市第一中学、徐市第三中学等五校2026届高三上学期12月月考历史试题含答案.docx
原创力文档

文档评论(0)