Ultrasonic sensors with continuous level measurement