Libray used for ultrasonic sensor