Track trombone slide position with ultrasonic sensors

Can you tell about the precision you need?
Most (cheaper) distance sensors I know are in the order of 0.5 - 1 cm.

What is the maximal displacement of the slider?