Regulation using position sensors