Solving Multiple Triggering Problem of Ultrasonic Distance Measurement by Debouncing
Abstract In recent years, multiple measurement systems fusion technologies have developed rapidly. Ultrasonic ranging is paid much attention because it has the advantages of directly measuring short-distance targets, high longitudinal resolution, and a wide application range. However, when the ultrasonic distance measurement is carried out by assembling the circuit board, it is found that the switch is triggered multiple times, and the measurement data is inaccurate. This paper proposes a new method that adding debounce to improve the accuracy of measurement. Besides, Some suggestions are provided to decrease the operation difficulty in the actual measurement process. Based on the experimental result, the accuracy and efficiency of ultrasonic distance measurement are greatly improved via this method proposed in this paper. By the way, the single-chip computer simulation technology simulates the ranging phenomenon in the experiment.