文档详情

基于单片机的相位测量仪设计制作 毕业设计_精品.doc

发布:2018-04-01约3.42万字共81页下载文档
文本预览下载声明
基于单片机的相位测量仪设计制作 摘 要 本次设计提出了一种基于8051 单片机开发的相位差测量仪的设计,系统以单片机8051 及计数器为核心, 构成完备的测量系统。系统可以对20Hz~ 20kHz 频率范围的信号进行频率、相位等参数的精确测量, 测相绝对误差不大于1°。系统采用液晶1602显示被测信号的频率、相位差。硬件结构简单, 程序简单可读写性强,软件采用C语言实现。与传统的电路系统相比, 其有处理速度快、稳定性高、性价比高的优点。 关键字:单片机 相位差测量 1602 The design and implementation of intelligent charger ABSTRACT In our daily life, mobile phone has become more and more important. We often need to use a mobile phone, phone calls, text messaging, surfing the Internet, watching movies, listening to music, play games, and so on. With large screen and high frequency mobile phone, lithium ion battery becomes more important, the lithium ion battery charger also brought to the attention of the consumers. This product adopts the li-ion battery charger IC MAX1898, through STC89C52RC control can realize prefi lled, fast charging, and constant voltage charge. By setting the other can easily change the charging time, etc., you can also monitor the charging process of each state, as well as the use of 1602 convenient displays information about the charging current. This design implements the circuit is simple, low cost, and charge effect is very good, including the high security, short time-consuming, small damage to the battery, and meet the requirements of general users. Key words: single chip MAX1898 1602 目 录 摘 要 ABSTRACT 目 录 1 绪论 1 2 设计原理与方案论证 1 2.1 设计要求 1 2.2 方案论证 1 2.2.1 控制部分的方案选择和论证 1 2.2.2 显示模块的选择方案和论证 2 2.2.3 相位测量方案选择和论证 2 2.3 相位差测量原理论证 3 3 系统硬件电路设计 3 3.1 各单元模块功能分析及模块电路设计 4 3.1.1 单片机控制模块 4 3.1.2 稳压电路设计 6 3.1.3 相位差测量模块 6 3.1.4 显示模块 9 4 软件部分设计 12 4.1 C语言的简介 12 4.2系统软件设计思想 12 5 仿真调试及结果 14 5.1 硬件的调试 15 5.2 软件调试 15 5.3 Proteus中仿真图的绘制与调试 16 5.3.1 仿真图的绘制 16 5.3.2 仿真结果 20 5.4设计结果及总结 20 5.4.1 设计结果 20 5.4.2 设计总结 21 参考文献 21 致 谢 23 附录 24 1 绪论 在电子测量技术中,相位测量时最基本的测量手段之一,相位测量仪式电子领域的常用仪器。随着相位测量技术广泛应用于科学研究、实验、生产实践等各个领域,对相位测量技术的要求也向高精度高智能化方向发展,在低频范围内,相位测量在电力、机械等部门具有非常重要的意义。基于数字式相位测量仪的高精度、高智能化、直观化的特点,工业上常常用此进行低频信号相位差的精确测量。同频信号间相位差的测量在电力系统、工业自动化、智能控制及通信、电子、地球物理勘探等许多领域都有着广泛的应用。尤其在工业领域中,相
显示全部
相似文档