2 inductive sensors in series on each axis, one sensing the linear position and one sensing a rotating tab or chopper on the ball screw or stepper would give you accurate, repeatable homing.