摘要在实际工作中,经常需要对元器件如滤波器放大器的频率特性进行研究。如输入信号的幅度比随频率变化的幅频关系,输入信号相位差随频率变化的相频关系。在图像信号传输以及处理处理方面,研究系统网络的相频特性的重要性显得尤为突出。其中,相位差测量是相频特性中关键的一个环节,如何快速精确的测量相位差已经成为很多项目的研究课题。相位差的测量的基本原理主要有三种:对波形的变换比较、对傅氏级数的运算以及对三角函数的运算。而第一种测量原理的主要办法有:示波器测量、相位转换时间差计算以及相位转换电压差计算等等。
本设计为一种基于AT89C52的单片机开发的数字式相位测量仪的设计。系统围绕Atmle公司的AT89C51单片机为核心构造相位测量系统。可以对10Hz~20kHzd的频率范围的信号进行频率、相位等参数的精确测量。通过LED数码管显示测量相位差配合少量逻辑电路完成硬件设计。软件采用汇编语言,通过Keil C进行单片机的仿真调试。65331
毕业论文关键字 单片机 相位测量 数字电路
毕业设计说明书(论文)外文摘要
Title Design of digital phase meter based on Microcontroller
Abstract In actual work, often need to components such as the frequency characteristic of the filter amplifier by the line of research. As the amplitude of the input signal amplitude frequency varies with frequency, the input signal phase difference phase frequency varies with frequency. In image signal transmission and processing, the importance of phase frequency characteristic of the system network is particularly prominent. Among them, the phase difference measurement is a link in the phase frequency characteristics of the key, how to quickly and accurately measuring the phase difference has become the research focus of many projects. The basic principle of phase difference measurement mainly has three kinds: Transformation of the waveform comparison of Fourier series, the operation of trigonometric function. While the main way of the first measurement principle is: the oscilloscope, phase switching time calculation and phase shift voltage difference etc..
The design for the design of a digital phase measuring instrument based on AT89C52 MCU development. The system based on the Atmle company AT89C51 microcontroller as the core structure of phase measurement system. Precise measurement of 10Hz ~ 20kHzd frequency range of frequency, phase and other parameters, the error is not more than 2 °, display measuring phase difference with the completion of hardware design of a logic circuit through the LED digital tube. Software using assembly language, debugging MCU simulation by Keil.
Keywords: MCU Phase measurement Digital circuit
目 录
1 绪论1
1.1 相位差测量概述1
1.2 单片机概述2
1.3 课题研究主要内容…4
2 相位差测量基础理论5
2.1 相位差测量原理…5
2.2 系统设计及工作原理…9
3 系统硬件电路设计11
3.1 正弦波整形电路…11
3.2 相位移动电路设计12
3.3 异或门鉴相电路设计13
3.4 高频脉冲时钟电路设计13
3.5 复合门设计14
3.6 相位超前或者滞后判断模块…15
3.7 数显电路设计16
3.8 双电源供电电路20 AT89C52单片机的数字式相位计设计+电路图:http://www.751com.cn/zidonghua/lunwen_72911.html