为解决用单片机实现载波频率的精确测量和采样数据的压缩、存储技术,建立了载波频率测量与数据压缩存储综合模型。采用均值算法精确测量自学习信号的载波频率,克服了单片机指令周期与载波周期同一个量级而不能直接检测的难题;针对单片机RAM存储容量受限,利用矢量量化编码及聚类算法,大幅度地压缩了数据量;智能红外遥控器以SD卡为存储介质,采用标准的文件格式组织数据,实现了SD卡与PC机的交互。为用单片机实现同量级频率的精确测量和数据压缩与存储提出了一种解决方案。
In order to measure the carrier frequency, compress and storage data by single chip, the synthetic model is established. Average algorithm which is used to measure the high speed frequency had solved the problem that the MCU instruction cycle and frequency cycle are on the same scale; the data memory space is compressed greatly by the vector quantization coding and the cluster algorithm. The SD card which used standard file systems as the save medium, had realized the SD card and PC interactive. A technique of the carrier frequency measurement on the same scale and the data compressed storage by single chip is put forward.