Synchronize resolver reference frequency with clock of position control