摘要
本设计以PIC18F452单片机为核心,采用测频法实现对周期矩形方波和周期正弦波的频率测量,并在测量10 kHz以上高频信号时,通过多级硬件计数器分频和单片机内部输入捕获模块的硬件分频达到最大能够测量500 MHz信号频率的水平。同时,该系统通过USART通信接口实现了一主多从的频率监测系统,能够在主机进行频率监测的时候,与从机进行数据传输,使从机显示频率信息,并可通过TM1638模块进行从机切换。
This design takes PIC18F452 monolithic integrated circuit as the core, uses the frequency meas-urement method to realize to the periodic rectangle square wave and the periodic sine wave fre-quency measurement, and in the measurement of high frequency signal above 10 kHz, through the multi-stage hardware counter frequency division and MCU internal input capture module hardware frequency division to achieve a maximum of 500 MHz signal frequency measurement level. At the same time, the system realizes a multi-slave frequency monitoring system through USART communication interface and can switch between slaves and computer through TM1638 module.
出处
《软件工程与应用》
2021年第3期234-245,共12页
Software Engineering and Applications