摘要
针对超声波在介质中传播速度易受到环境温度影响的问题,设计基于PT1000铂电阻温度补偿型超声波测距传感器。传感器基于PT1000铂电阻构成电桥电路,将温度变化转变为电压变化量,经16位A/D芯片模数转换后传给单片机,再依据铂电阻特性曲线进行比较、运算得出温度值,利用误差平均效应方法对四个相同结构冗余的铂电阻电桥测量数值进行平均计算得出最终温度值,进而得出此温度下的速度值;运用渡越时间检测法采集脉冲回波的时间,再利用距离公式计算则得出距离值。实验结果表明,采用PT1000补偿的测距传感器测量平均误差为0.001m,没有温度补偿测距传感器测量平均误差为-0.110m,采用DS18B20补偿测距传感器测量平均误差为0.010m。
According to the propagation velocity of ultrasonic wave in the medium susceptible to the influence of ambient temperature, designs ranging sensor with redundant temperature compensation type based on PT1000 platinum resistance. Sensor based on PT1000 platinum resistance consti- tutes a bridge circuit, the temperature change into voltage variation, the 16 bit A/D chip module after converting to the single chip microcomputer, and then according to the platinum resistance characteristic curve comparison, operation temperature, using the error that the average effect method to four the same structure redundant platinum resistance bridge numerical calculated mean the final temperature, and a conclusion that the speed of this temperature value; Using the time of flight test collection pulse echo time, reusing distance to calculate the distance value obtained. The experimental results show that the PTI000 compensation range sensor measurement error of the mean is 0.001 m, no temperature compensation range sensor measurement error of the mean for 0.110 m, the DS18B20 compensation range sensor measurement error of the mean is 0.010 m.
出处
《现代计算机》
2013年第6期62-66,共5页
Modern Computer
关键词
传感器
测距
超声波
温度补偿
Sensor
Ranging
Ultrasonic
Temperature Compensation