Wavelet-based techniques for high-accuracy measurements on ultrasonic sensor