摘要
介绍了采用双CPU设计的超声波测距仪。采用主单片机对从单片机进行控制产生和停止超声波信号源。超声波信号发生器由AT89C2051单片机产生,采用AT89C51单片机接收超声波信号并对信号进行处理,利用锁相环对信号频率进行锁定,对距离数据进行16次采样,提高了测量的精确性和仪器的稳定性。并通过实验,将测得的数据与实际的数据进行比对,进行误差分析,并根据分析结果对测距仪进行了改进。该测距仪性能良好,在机车受电弓测量中得到了很好的应用。
This paper introduces a ultrasonic range finder which used two CPUs. Ultrasonic signal source is generate and halted by assistant singlechip controlled by main singlechip. Ultrasonic signal generator produced by singleehip AT89C51, adopting singlechip AT89C51 to receive ultrasonic signal and deal with the signal, using lock posture ring to lock signal frequency. Sampling 16 times of the distance data, improved the metrical accuracy and the instrument's stability. The error analysis is executed by comparison between autual data and measured data abtained by test. And the range finder is advanced by analysis resuts. This range finder's capability is very good, and used well in the motorcycle which beard the electronic bow's measure.
出处
《电子测量技术》
2009年第5期29-31,61,共4页
Electronic Measurement Technology
关键词
单片机
超声波
测距
singlechip
ultrasonic
distance measure