Best control structure for task of aligning motor with sensor