以89S52單片機(jī)和EP1C6Q240C8型FPGA為控制核心的多功能計數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實(shí)現(xiàn)測量正弦信號的頻率、周期和相位差的功能。多功能計數(shù)器采用等精度的測量方法,可實(shí)現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠?qū)崟r顯示當(dāng)前信號的頻率、周期和相位差。該多功能計數(shù)器精度高,界面友好,實(shí)用性強(qiáng)。
Abstract:
A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.