基于单片机的数字频率计设计.pdf
摘要
本方案主要以单片机为核心,主要分为时基电路,逻辑控制电路,放大整形电路,
闸门电路,计数电路,锁存电路,译码显示电路七大部分,设计以单片机为核心,被
测信号先进入信号放大电路进行放大,再被送到波形整形电路整形,把被测的正弦波
或者三角波整形为方波。利用单片机的计数器和定时器的功能对被测信号进行计数。
编写相应的程序可以使单片机自动调节测量的量程,并把测出的频率数据送到显示电
路显示。
本设计以89C51单片机为核心,应用单片机的算术运算和控制功能并采用LED
数码显示管将所测频率显示出来。系统简单可靠、操作简易,能基本满足一般情况下
的需要。既保证了系统的测频精度,又使系统具有较好的实时性。本频率计设计简洁,
便于携带,扩展能力强,适用范围广。
[关键词]单片机:运算;频率计;LED数码管
整理为word格式
Abstract
Theprogrammainlymicrocontrollerasthecore,aredividedintotime-base
circuit,thelogiccontrolcircuit,amplifiershapingcircuit,thegate
circuit,thecountingcircuit,latchcircuit,decodingcircuitmostofthe
sevenshows,designamicrocontrollerasthecore,themeasuredsignalthe
firstamplifiertoamplifytheincomingsignal,andthenwassenttothe
waveformshapingcircuitsurgery,themeasuredsinewaveortrianglewave
shapingasasquarewave.Counterandtimermicrochipfeaturesofthesignal
count.Writethecorrespondingprogramcanautomaticallyadjustthe
measurementrangeofSCM,andthefrequencyofthemeasureddatatothedisplay
circuitdisplays.
Thedesignofthe89C51microcontrollercore,microcontrollerapplications
andcontrolfunctionsandarithmeticoperationswithLEDdigitaldisplaytube
tothemeasuredfrequencyisdisplayed.Systemissimple,reliable,easyto
operateandcanbasicallymeetthegeneralneeds.Bothtoensuretheaccuracy
ofthesystemfrequencymeasurement,butalsothesystemhasgoodreal-time.
Thefrequencymeterdesignissimpleandeasytocarry,expansioncapability,
wideapplication.
[Keywords]microcontroller,operation,frequencymeter,LEDdigitaltube
整理为word格式
目录
摘要1
概述1
第一章绪论2
1.1课题背景2
1.2课题研究的目的和意义2
1.4数字频率计设计的任务与要求2