论文部分内容阅读
介绍一种高精度非接触式测距方案,从软、硬件两方面阐述了系统的组成和功能。在介绍超声波测距的原理和分析影响超声波测距精度原因的基础上,以C8051F020单片机为控制核心,结合Parallax 28015超声波传感器,利用单片机内部PCA输入捕捉功能,测量回波时间;同时采集温度传感器信号对声速进行温度补偿,完成了现场距离的精确测量,有广泛的应用价值。
Introduce a kind of high precision non-contact distance measurement scheme, elaborate the composition and function of the system from two aspects of software and hardware. On the basis of introducing the principle of ultrasonic distance measurement and analyzing the reasons that affect the accuracy of ultrasonic ranging, taking C8051F020 as the control core and Parallax 28015 ultrasonic sensor, using the single-chip PCA input capture function to measure the echo time; at the same time, the temperature sensor signal The speed of sound temperature compensation, completed the accurate measurement of the site distance, has a wide range of applications.