To shorten a startup interval to reach a synchronizing condition, a phase
difference and an amplitude difference between the grid voltage and the
stator voltage of one phase of a winding are obtained. The difference in
amplitude is decreased prior to or in parallel to synchronizing the
stator voltage with the grid voltage. The calculated compensation phase
compensation value is used as an initial value for synchronizing at the
next synchronizing operation.