现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
24期
87-89
,共3页
嵌入式处理器%测速测距%超声波%温度补偿
嵌入式處理器%測速測距%超聲波%溫度補償
감입식처리기%측속측거%초성파%온도보상
embedded processor%velocity and range measurement%ultrasonic wave%temperature compensation
系统以STM32处理器为控制核心,主要包含超声波发射电路、超声波接收电路、温度补偿模块和液晶显示电路等电路。通过测量超声波发射到遇到障碍物返回的时间差,计算出距离和速度。采用DS18B20检测环境温度,修正超声波传播速度误差。经测试,系统可测量5 m内的距离和100 cm/s内的速度。
繫統以STM32處理器為控製覈心,主要包含超聲波髮射電路、超聲波接收電路、溫度補償模塊和液晶顯示電路等電路。通過測量超聲波髮射到遇到障礙物返迴的時間差,計算齣距離和速度。採用DS18B20檢測環境溫度,脩正超聲波傳播速度誤差。經測試,繫統可測量5 m內的距離和100 cm/s內的速度。
계통이STM32처리기위공제핵심,주요포함초성파발사전로、초성파접수전로、온도보상모괴화액정현시전로등전로。통과측량초성파발사도우도장애물반회적시간차,계산출거리화속도。채용DS18B20검측배경온도,수정초성파전파속도오차。경측시,계통가측량5 m내적거리화100 cm/s내적속도。
The system takes the STM32 processor as its control core,and mainly includes ultrasonic transmitting circuit, ultrasonic receiving circuit,temperature compensation module and liquid crystal display circuit. The distance and speed are cal?culated by measuring the time difference between ultrasonic emission and return. DS18B20 is used to detect the ambient temper?ature,and correct the ultrasonic propagation velocity error. The testing results show the system can measure the distance within 5 m and speed in 100 cm/s.