Measurement Technique for the Permanent Magnet Rotor Thermal Time Constant Determination