Rotor position sensor measuring principle