本科毕业设计
论文题目:数字频率计电路设计
姓名:
王明泽
学号:
2009341115
系(部):
物理系
专业:
自动化
班级:
2009级1班
指导教师:
张书法
完成时间: 2013 年 4 月
摘要
频率计是一种测量信号频率的仪器,在教学、科研、高精度仪器测量、工业控制等领域都有较广泛的应用。本设计采用单片机AT89S52作为系统控制单元,其结构主要包括电源电路、放大整形电路、单片机控制电路和数码管显示电路,软件编程主要是采用C语言。AT89S52单片机是频率计的控制核心,来完成它待测信号的计数,译码,显示以及对分频比的控制。利用它内部的定时/计数器完成待测信号频率的测量。
在整个设计过程中,所制作的频率计采用内部分频,实现1Hz~6MHz的频率测量,而且可以实现量程自动切换流程。以AT89S52单片机为核心,通过单片机内部定时/计数器的门控时间,方便对频率计的测量。其待测频率值使用四位共阳极数码管显示,并可以自动切换量程,单位分别由绿、红、黄3个LED指示。本次采用单片机技术设计一种数字显示的频率计具有测量准确度高,响应速度快,体积小、可靠性好、设计产品成本低,性价比高等特点。
关键字:单片机数字频率计频率测量
Abstract
The frequency meter is a kind of measuring signal frequency instrument, in teaching, scientific research, precision instrument measurement, industrial control domain has the widespread application. This design uses the AT89S52 single-chip puter as the system control unit and its structure is mainly include power source circuit, amplyfing and reforming circuit,single-chip puter control circuit , and digital tube display circuit, software programming is mainly using C language. The AT89S52 puter unit is the control core frequency of dollars plete its count of the signal under test, decoding, display and control of the frequency division ratio. Using its internal timer or counter plete the signal of the under test cycle / frequency of measurement.
Throughout the design process, periodic measurement of the frequency meter application and the corresponding mathematical treatment to achieve 1Hz ~ 6MHz frequency measurements, and can automatically switch the flow to achieve scale. To the core of AT89S52 microcontroller, with the MCU internal timer / counter gate time, it can be easier for frequency frequency value is displayed by four bit nixie tube and can autimatically switch the flow to achieve scale,using green,red and yellow the three LED to mark units respectively. The use of puter technology to design a digital display of frequency meter, have a measurement of high accuracy, fast response, small size and so
王明泽的数字频率计设计。 来自淘豆网m.daumloan.com转载请标明出处.