Robust ultrasonic sensors with flexible parameterization