基于单片机的功率测量与显示系统的设计(任务书,开题报告,外文翻译,论文13000字)
摘要
伴随着互联网的发展和电子信息技术的迅速腾飞,现代科学技术的进步日新月异,尤其是本世纪初以来,人类社会已步入数字时代。几乎任何数字化设备都离不开功率表,一个精确的功率表可以为其提供测量、报警、计算能耗等多项功能。依托于数字功率表的高精度、多功能性、可扩展性,各行各业才能更好更快的发展进步。进而,达到现在这样一个,功率表无处不在的境地。
本论文是基于单片机的数字功率表及显示系统的设计,通过变压器和稳压电路,改变测量电压的范围,再通过AD转换器对采样电阻上的电压电流采样处理,通过积分器进入单片机,再经由C语言编程,将得到的数字量送到1602LCD,最后从该液晶屏上读出电流,电压和电功率。
单片机在该设计中担任数字量的处理,也是报警模块和时钟模块的核心组成部分。AD转换器承担将模拟量转换数字量并输出到单片机的任务。本设计采用单芯片STC89C51为微处理器和AD转换芯片进行模数转换,LCD1602用于显示设计。
该设计可以实现元件的电流,电压和功率的测量。该设计基本上可以满足设计之初的基本要求。
关键词:AT89S51单片机;AD转换器;LCD1602显示屏;数字功率表
ABSTRACT
With the development of the Internet and the rapid development of electronic information technology, the progress of modern science and technology is changing with each passing day. Especially since the beginning of this century, human society has entered the digital age. Almost any digital device can't do without the power meter. An accurate power meter can provide multiple functions such as measurement, alarm, and energy consumption calculation. Relying on the high precision, versatility and scalability of the digital power meter, all walks of life can develop better and faster. Furthermore, to achieve the current situation, the power meter is ubiquitous.
This thesis is based on the design of digital power meter and display system based on single chip microcomputer. Through the transformer and voltage regulator circuit, the range of measurement voltage is changed, and then the voltage and current on the sampling resistor are sampled and processed by the AD converter, and then enter the single chip through the integrator. Through the C language programming, the obtained digital quantity is sent to the 1602 LCD, and finally the current, voltage and electric power are read from the liquid crystal screen.
The MCU acts as a digital component in this design and is also a core component of the alarm module and clock module. The AD converter takes on the task of converting analog quantities into digital quantities and outputting them to a microcontroller. This design uses a single-chip STC89C51 for analog-to-digital conversion of the microprocessor and AD conversion chip, and LCD1602 is used for display design.
This design enables measurement of current, voltage and power of components. The design basically meets the basic requirements of the design.
Keywords: AT89S51 microcontroller; AD converter; LCD1602 display; digital power meter
目录
学位论文原创性声明 II
学位论文版权使用授权书 II
摘要 III
ABSTRACT IV
目录 V
第1章绪论 1
1.1 数字功率表的时代背景 1
1.2 设计数字功率表的目的及意义 2
第2章基于单片机的功率表的设计和实现方法 3
2.1 数字功率表的设计方法 3
2.2 开发数字功率表的客观原因 3
2.3 数字功率表的结构设计 4
第3章基于单片机的功率表硬件组成与模块设计 6
3.1 数字功率表的硬件组成框图 6
3.2 数字功率表的电流电压采集模块 7
3.2.1 数字功率表中的直流稳压电路 7
3.2.2 数字功率表中的AD转换器 8
3.3 数字功率表中的单片机处理模块 10
3.4 数字功率表的LCD显示电路 13
第4章基于单片机的功率表的调试与问题 15
4.1 数字功率表的整体软件流程图 15
4.2 数字功率表的软件程序调试与校正 16
4.3 数字功率表调试中遇到的问题与改进办法 17
4.4数字功率表的实际仿真测量 17
4.5 数字功率表测量误差的定性分析及改进措施 21
第5章总结 23
致谢 25
|