JIMI 发表于 20:51

数字频相测量系统设计

论文编号:DZXX027  论文字数:9991,页数:34
摘  要
 随着数字电子技术的发展,由数字逻辑电路组成的控制系统逐渐成为现代检测技术中的主流,数字测量系统也在工业中越来越受到人们的重视。在实际工作中,经常会遇到需要检测两个信号的相位差,这也是研究网络相频特性中不可缺少的重要方面。数字式仪器采用数码管显示相位差,精确度高,稳定性能好,读数方便且不需要经常调试。
 本设计通过把两路同频率正弦信号整形放大成方波,然后由AT89C51单片机对两路方波的低电平进行采样,经过算法设计实现这两路信号的频率及相位差计算,检测范围50Hz~2kHz,0o ~ 360 o,精度均可达2%。
 本课题硬件设计用Protel99 SE工具,软件仿真用Keil c V3.60语言编程。系统经调试,功能稳定,均实现各项任务指标。
关键词:AT89C51;TLP521;脉冲整形;相位差
ABSTRACT
 With the development of digital electronic technology, digital logic circuit control system has gradually become the mainstream of modern detection technology. In industry , people is also taking more and more attention in digital measuring system. In the practice, we often encounter to detect two difference signals of phase. This research is important aspects in an indispensable phase frequency characteristics of network. Digital devices are with digital control phase, high precision, stable performance, easy reading and less regular debugging.
 First, two input signals with same frequency were amplified, then transformed two pulse signals. AT89C51 sampled them and calculated their frequency, phase difference. The detect range were from 50Hz~2kHz in frequency and 0o ~ 360 o in phase difference.
 The hardware of this topic was designed by Protel99 SE, and the hardware emulator was designed by base Keil c V3.60.When the system was debugged, it carried out all required precision.
Keywords:  AT89C51;TLP521;pulse shaping;phase difference
目  录
摘  要 3
ABSTRACT 4
第一章  引言 6
1.1  背景 6
1.2  研究内容 6
1.3  单片机硬件系统设计原则 7
第二章  AT89C51与TLP521介绍 8
2.1  AT89C51单片机简介 8
2.2  TLP521简介 11
2.3  74HC14N,6路施米特触发反相器 12
第三章  数字频相测量系统的硬件设计 13
3.1 硬件电路设计简介 13
3.2 整体系统框图 13
3.3 正弦波整形电路 13
3.4 单片机检测与处理电路 14
3.5 数码管显示电路的设计 16
第四章  数字频相测量系统的软件设计 18
4.1程序流程图 18
4.2 程序代码分析 20
4.3软件系统调试 23
第五章 移相测试信号源设计 25
第六章 系统调试 26
第七章 结论 27
致谢 28
参考文献 29
附录1   硬件电路图 30
附录2   程序清单 31
附录3   元器件清单 35
附录4   实物图 36
页: [1]
查看完整版本: 数字频相测量系统设计