National High-Tech Enterprise IEC 61000 EMC · IEC 60730 Class B · RoHS ISO 9001 certified Jinhua, Zhejiang · around 200 staff · 25 in R&D
TECHNICAL NOTE 11 / 22

FOC Motor Control — On-the-Fly Restart (Tail-Wind/Head-Wind Start)

Sailike R&DFOC technical notes 中文原文

2026-03-23

1. Tail-Wind/Head-Wind Start (On-the-Fly Restart) Technology

In practical applications of permanent magnet synchronous motors, the motor may already be rotating before start-up, for example a fan-type load driven by natural wind, an electric vehicle re-powered after coasting, or a system restored after a brief power loss caused by a fault. The controller must then identify the rotor speed, direction and initial position accurately without a position sensor, and enter closed-loop control smoothly, avoiding overcurrent, reverse-rotation shock or loss of synchronism.

This chapter describes the two mainstream schemes for tail-wind/head-wind start (that is, on-the-fly restart): the back-EMF detection method and the short pulse injection method, and focuses on the principle and implementation of short pulse injection based on the adaptive zero-voltage-vector three-pulse method, together with the method for setting the integral initial values.


a. Back-EMF detection method

The back-EMF detection method uses the induced EMF generated in the windings while the motor rotates to obtain rotor information. It requires no additional hardware injection and is suitable for on-the-fly restart at medium and high speed.

Three-phase voltage sampling scheme

By sampling the three-phase terminal voltages or line voltages, then filtering and per-unitizing them, the instantaneous back-EMF is obtained. In the αβ reference frame:

{eα=−ωrψfsinθreβ=ωrψfcosθr

where eα,eβ is the back-EMF in the αβ reference frame, θr is the rotor electrical angle, ωr is the electrical angular speed and ψf is the permanent-magnet flux linkage. The rotor angle can be extracted directly by the two-argument arctangent:

θ^r=atan2(−eα, eβ)

Differentiating the angle gives the electrical angular speed:

ω^r=dθ^rdt

Two-phase voltage sampling and zero-crossing detection

To simplify the hardware, only two line voltages need to be sampled, such as uab and ubc . Assuming the three-phase voltages are symmetrical and the neutral-point voltage is negligible or estimable, the phase voltages can be reconstructed indirectly from the linear relationship between line and phase voltages ( uab=ua−ub , ubc=ub−uc ); after filtering out the back-EMF, the zero crossings are detected. A back-EMF zero crossing corresponds to a specific rotor position:

  • when ea=0 , θr=0∘ or 180∘ ;
  • when eb=0 , θr=120∘ or 300∘ ;
  • when ec=0 , θr=60∘ or 240∘ .

The direction of rotation can be determined from the sequence of back-EMF zero crossings, and the speed from the time interval between consecutive zero crossings. This method is simple to implement but demands high voltage sampling accuracy; at low speed the back-EMF is weak and reliability drops.

Direction determination and phase compensation

Owing to the orthogonal relationship between the back-EMF vector and the rotor flux linkage vector, the angle θ^r obtained from atan2 corresponds directly to the rotor electrical angle and needs no additional compensation. If zero-crossing detection is used instead, each detected zero crossing must be mapped to the corresponding rotor position according to its type and direction, and a continuous angle then obtained by interpolation or a phase-locked loop. Once θ^r and ω^r are available, they can be used directly for closed-loop control.


b. Short pulse injection method (adaptive zero-voltage-vector three-pulse method)

The short pulse injection method needs no back-EMF sampling circuit. By turning on all switches of the lower or upper arm of the inverter for a very short time, a zero-voltage-vector short circuit is formed. The back-EMF generated by the rotating motor then drives a short-circuit current in the shorted loop, and sampling that current vector yields the initial rotor position and speed. The method suits on-the-fly restart at medium and high speed and has low hardware requirements.

b.1 Basic principle: distinguishing the transient from the steady state

When a zero-voltage-vector pulse is applied, all switches of the upper or lower arm of the inverter are on and the stator windings are short-circuited instantaneously. It must be emphasized that short pulse detection exploits the transient process, not the steady-state short circuit.

In the αβ reference frame, the back-EMF during coasting is:

{eα=−ωrψfsinθreβ=ωrψfcosθr

After the zero-voltage vector is applied the stator windings are shorted; neglecting the stator resistance drop:

Lsdidt≈−e

The direction of the short-circuit current rate of change is therefore opposite to the back-EMF. Integrating the current from zero over a short time, if the pulse width satisfies:

Tc≪LsRs

the current has not yet reached the steady state and the short-circuit current vector is approximately:

isc≈didtTc

Thus:

  • When ωr>0 :
∠isc≈θr−π2

that is:

θr=∠isc+π2
  • When ωr<0 :
∠isc≈θr+π2

that is:

θr=∠isc−π2

**Key conclusion: under the short-pulse transient, the short-circuit current vector angle differs from the rotor electrical angle by about 90∘ electrical degrees.**

If the short-circuit time is too long the current enters the steady state; neglecting the resistance, the steady-state short-circuit current satisfies:

id≈−ψfLd,iq≈0

that is, the current vector lies almost entirely on the negative d axis:

∠isc≈θr+π

so:

θr≈∠isc−π

Short pulse detection for on-the-fly restart must work in the transient state and must not enter the steady state.

Described in the dq reference frame, under the zero-voltage vector the angle of the short-circuit current in the dq reference frame is:

θdq=atan2(iq, id)

When ωrTc is small, from the dq axis current response under the zero-voltage vector:

id≈−ψfLd(ωrTc)22,iq≈−ψfLqωrTc

we obtain:

θdq≈{−π2−Lq2LdωrTc,ωr>0π2−Lq2LdωrTc,ωr<0

Thus the current vector angle and the rotor angle in the stationary αβ reference frame satisfy:

θr=θαβ−θdq

where:

θαβ=atan2(iβ, iα)

Neglecting the small terms, θdq≈−π/2 under ωr>0 , hence θr≈θαβ+π/2 , consistent with the transient conclusion above.


b.2 Initial speed observation: single pulse and multiple pulses

Single pulse

In principle a single pulse allows the speed magnitude to be calculated from the amplitude of di/dt :

|didt|=|ωr|ψfLs

so:

|ωr|=Lsψf|didt|

A single pulse, however, has a fatal problem: the short-circuit current vector angle differs from the rotor position by ±90∘ , whose sign depends on the direction of rotation (forward +π/2 , reverse −π/2 ). Given one measured current vector, it is impossible to tell whether π/2 should be added or subtracted — the same current vector may correspond to one rotor position when rotating forward, or to another position 180∘ away from it when rotating in reverse. A single pulse therefore **can neither determine the direction of rotation nor uniquely determine θr **, and there is 180∘ ambiguity.

A single pulse can therefore only give a rough estimate of the speed magnitude and cannot be used alone for on-the-fly restart.

Multiple-pulse method

To observe the initial speed and direction, several zero-voltage-vector pulses must be applied in succession. In practice a three-pulse strategy is used: the first pulse serves only as a speed probe (coarse measurement), the second and third pulses each resolve the rotor position, and the position difference then gives the accurate speed and direction (see b.5).

From the short-pulse transient it follows that the position resolved by each pulse is approximately θαβ−θdq , where θdq is determined by the speed and the pulse width. The position difference Δθ obtained from two measurement pulses (such as the second and third) is approximately the electrical angle the rotor turns through during the interval τ :

ω^=Δθτ

This multiple-pulse method identifies both the speed magnitude and the direction. To ensure atan2 is computed correctly, the electrical angle the rotor turns through during the pulse interval must be limited to the range (−180∘,180∘) .


b.3 First pulse as a probe: Tc1 width calculation and coarse speed measurement

Before an on-the-fly restart the controller knows nothing about the speed, which may range from zero to rated or even higher. If a fixed-width pulse is applied:

  • at high speed the fixed width produces an excessive short-circuit current, causing overcurrent or bus voltage pumping;
  • at low speed the fixed width produces too weak a current and the signal-to-noise ratio is insufficient.

The first pulse must therefore use **a conservative, safe fixed width Tc1 that guarantees no overcurrent even at the highest possible speed. It trades signal-to-noise ratio at low speed for safety. The only task of the first pulse is to estimate the speed magnitude roughly; it takes no part in position resolution.**

Engineering calculation formula for Tc1

Given the target current itrg and the bus voltage udc , the bus voltage allows an estimate of the maximum electrical angular speed the motor can reach at that voltage.

The maximum phase-voltage fundamental amplitude in the linear modulation region of SVPWM is:

Uph,max=mudc3

where m is the maximum modulation index, m≤1 in the linear region, commonly taken as m=0.90~0.95 in engineering practice.

The maximum back-EMF amplitude approximately equals the maximum phase-voltage amplitude:

Emax=ωmaxψf≈Uph,max

Hence the maximum electrical angular speed:

ωmax≈Uph,maxψf=mudc3ψf

The transient short-circuit current amplitude is approximately:

|isc|≈ψf|ωr|TcLs=ETcLs

To ensure the short-circuit current does not exceed the target current itrg at maximum speed, the following must hold:

Uph,maxTc1Ls≤itrg

so:

Tc1≤LsitrgUph,max=3Lsitrgmudc

Introducing a safety factor kT1 , usually taken as kT1=0.6~0.9 , gives:

Tc1=kT13Lsitrgmudc

If the modulation index m is neglected, this simplifies to:

Tc1≈kT13Lsitrgudc

At the same time, Tc1 must satisfy the transient condition:

Tc1≪LsRs

In engineering practice it is usually limited to:

Tc1≤15LsRs~110LsRs

so the final value is:

Tc1=min(kT13Lsitrgmudc, 15LsRs)

If this value is so small that the signal-to-noise ratio is insufficient at low speed, the speed is extremely low and a switch to the high-frequency injection method should be considered.

Coarse speed measurement with the first pulse

Apply a zero-voltage-vector pulse of width Tc1 and sample the short-circuit current vector i1 , whose amplitude is approximately:

|i1|≈ψfLs|ωr|Tc1

The speed magnitude is thus roughly:

|ω^est|=Lsψf·|i1|Tc1

Converted to mechanical speed:

|n^est|=30π·|ω^est|p

Note: a single pulse gives only the speed magnitude, not the direction. The direction must be determined from the phase difference between subsequent pulses.

Adaptive determination of the second and third pulse widths

The goal of the second pulse is to bring the short-circuit current amplitude to the desired value itrg . The response to the first pulse shows that the current amplitude is approximately proportional to the pulse width:

|i1|Tc1≈|i2|Tc2

so the second pulse width is:

Tc2=Tc1·itrg|i1|
  • if |i1| is already close to or above itrg , the speed is relatively high and the second pulse width should be reduced;
  • if |i1| is far below itrg , the speed is relatively low and the second pulse width should be increased to improve the signal-to-noise ratio.

Protection logic: if the calculated Tc2 exceeds the upper limit Tc,max , the speed is extremely low; Tc2=Tc,max must be limited and a switch to another method (such as high-frequency injection) considered. Tc,max may be taken as 15LsRs or derived from the inverter overcurrent limit.

The third pulse width can be fine-tuned further with the current amplitude of the second pulse:

Tc3=Tc2·itrg|i2|

If the second pulse current is already close to the target, Tc3=Tc2 may be used directly.

This strategy ensures that at different speeds both the second and third pulses yield a current signal that is strong enough and safe, improving the robustness of the observation.


b.4 Adaptive pulse interval adjustment

From the speed observation error analysis, the relative speed observation error can be approximated as:

δω=2θαβerrωrτ·100%

where θαβerr is the maximum error in observing the current vector position and τ is the pulse interval used in the position difference calculation. A larger pulse interval reduces the observation error, but too large an interval makes the rotor turn through too great an electrical angle and causes ambiguity in the angle calculation.

Interval between the first and second pulses, τ12

The choice of τ12 is relatively simple: there is no need to wait for the rotor to turn through a specified angle; it is enough to wait for the short-circuit current of the first pulse to decay to zero before starting the second pulse:

τ12≥τfall

where τfall is the time required for the short-circuit current to decay to zero with time constant Ls/Rs , usually taken as:

τfall≈(3~5)LsRs

It can also be decided in real time by current zero-crossing detection: when the amplitudes of all three phase currents fall below the threshold Ith (such as 1%~2% of the rated current), the second pulse is applied immediately. This ensures τ12 is long enough for the current injected previously to reset completely, preventing the two currents from superimposing and disturbing the sampling.

Interval between the second and third pulses, τ23

The third pulse provides the final confirmation of the position resolution; its interval τ23 from the second pulse is determined by the speed magnitude roughly measured by the first pulse, so that the rotor turns through a reasonable electrical angle between the two pulses — large enough to reduce the speed observation error, yet free of angle ambiguity. Take:

τ23=2π/3|ω^est|

that is, the rotor turns through about 120∘ electrical degrees during the interval, and check the hard boundary:

|ω^est|·τ23<π

that is, the rotor turns through less than 180∘ electrical degrees so the angle unwrapping is unambiguous. If the coarse measurement error is large, the limit may be relaxed towards 180∘ , but **should not exceed 180∘ **, otherwise the sign of the position difference becomes unreliable and the direction cannot be determined uniquely. In engineering practice a value within the range 120∘~180∘ is preferable: too small and the signal-to-noise ratio is insufficient, too large and it approaches the ambiguity boundary.

This strategy matches the pulse interval to the current speed, avoiding angle ambiguity while optimizing the observation accuracy.


b.5 Complete flow of adaptive three-pulse on-the-fly restart

The whole flow uses a two-stage, three-pulse strategy of coarse measurement → fine measurement: the first pulse is a probe, used only to measure the speed magnitude roughly and to derive the widths of the second and third pulses; the second and third pulses each resolve the rotor position, the position difference gives the accurate speed and direction, and the position from the third pulse serves as the initial position for entering closed loop.

  1. System preparation: all power devices of the inverter are off;
  1. First pulse (probe, coarse measurement): according to the formula
Tc1=min(kT13Lsitrgmudc, 15LsRs)

apply a zero-voltage-vector pulse of fixed conservative width and sample the current vector i1 . Using the formula

|ω^est|=Lsψf·|i1|Tc1

measure the speed magnitude roughly (neither direction nor position);

  1. **Interval τ12 **: wait for the short-circuit current of the first pulse to decay to zero ( τ12≥τfall ), then start the second pulse;
  1. Second pulse (fine measurement): according to
Tc2=Tc1·itrg|i1|

determine the second pulse width adaptively, apply the zero-voltage-vector pulse and sample the current vector i2 . Since the direction is still unknown, compute the rotor position θ2 provisionally with the forward-rotation offset θ=∠i+π/2 applied uniformly. This assumption does not affect the subsequent position difference or the direction determination, and is corrected once the direction is confirmed;

  1. **Interval τ23 **: computed from the roughly measured speed
τ23=2π/3|ω^est|

ensuring that during the interval the rotor turns through about 120∘ and no more than <180∘ electrical degrees;

  1. Third pulse (final confirmation): according to
Tc3=Tc2·itrg|i2|

or take Tc3=Tc2 directly to apply the third pulse, sample the current vector i3 and resolve the rotor position θ3 from the single pulse as before;

  1. Accurate speed and direction from the position difference:
ω^=θ3−θ2τ23

where θ3−θ2 must be unwrapped into the range (−π,π] . The direction follows directly from the sign of Δθ :

  • Δθ>0 : forward;
  • Δθ<0 : reverse.

The resulting ω^ is the accurate signed speed, containing both magnitude and direction;

  1. Correct the absolute position and enter closed loop: using the direction determined in step 7, recompute the absolute position of the third pulse with the correct offset:
θ^0={∠i3+π2,ω^>0∠i3−π2,ω^<0

More precisely, correct it with θdq :

θ^0=θαβ3−θdq(ω^,Tc3)

where θdq is calculated by the correction formula in b.1. Use θ^0 as the initial position for entering closed loop at on-the-fly restart, together with the speed ω^ , for the subsequent closed-loop control.


c. Setting the integral initial values

After the initial rotor position θ^0 and the initial speed ω^0 have been obtained, entering closed-loop control directly with the current-loop and speed-loop integrators at zero would make the controller output jump and produce a current surge. For a smooth entry the integral terms of the controllers must be initialized.

Current-loop integral initial value

In the dq reference frame the current-loop PI controller outputs the voltage command ud,uq . Before entry, the steady-state feedforward voltage can be calculated from the current speed ω^0 and the current command id*,iq* :

{ud,ff=Rid*−ω^0Lqiq*uq,ff=Riq*+ω^0(Ldid*+ψf)

Use the feedforward voltage as the initial output and set the integral term initial value accordingly:

{intd(0)=ud,ff−Kp,d(id*−id)intq(0)=uq,ff−Kp,q(iq*−iq)

where Kp,d,Kp,q is the proportional gain and id,iq is the actual current at the instant of entry. The controller then outputs the feedforward voltage at that instant, avoiding a step from a zero integrator.

Speed-loop integral initial value

The speed-loop PI controller outputs the torque current command iq* . Before entry, set the speed-loop integral initial value from the load estimate or the current steady-state conditions. If the present electromagnetic torque is known to balance the load, let:

iq*(0)=Tload1.5pψf

where p is the number of pole pairs and Tload is the estimated load torque, which may be zero. A more general approach is to set the speed-loop integral initial value to the steady-state value of the current observer output iq* , or to increase the command gradually by a soft-entry method.

Coordination with soft entry

Besides setting the integral initial values, a ramp function or low-pass filter can introduce the angle and speed commands slowly at the instant of entry to smooth the transition further.


d. Scheme comparison and selection recommendations

SchemeHardware requirementApplicable speed rangeImplementation complexityApplication
Back-EMF detectionVoltage sampling requiredMedium and high speed (>5% of rated speed)LowSystems already equipped with phase/line voltage sampling
Adaptive zero-voltage-vector three-pulse methodCurrent sampling onlyMedium and high speedMediumSystems without phase voltage sampling that need robust restart

In practice the two can be combined: try back-EMF detection first, and if it fails, for example because the voltage signal-to-noise ratio is low, switch to the adaptive zero-voltage-vector three-pulse method; once the speed has risen, transition smoothly back to the back-EMF model observer.


e. Conclusion

Tail-wind start and head-wind start are among the key technologies of position-sensorless control for permanent magnet synchronous motors.

The back-EMF detection method uses the back-EMF generated naturally during rotation and obtains the rotor position and speed by arctangent or zero-crossing detection. It is simple to implement and suits on-the-fly restart at medium and high speed.

The adaptive zero-voltage-vector three-pulse method applies three zero-voltage-vector short-circuit pulses and estimates the speed and initial position from the short-circuit current response excited by the back-EMF: the first pulse is a probe that roughly measures the speed magnitude and adaptively determines the subsequent pulse widths and intervals; the second and third pulses resolve the positions, and the position difference gives the accurate speed and direction, with no extra voltage sampling. Adaptive adjustment of the pulse widths and intervals improves the observation accuracy and system robustness at different speeds.

It must be emphasized in particular:

  1. short pulses must work in the transient state, satisfying Tc≪Ls/Rs , otherwise the current enters the steady state and the angle relationship becomes a difference of about 180∘ ;
  2. in the transient state, the short-circuit current vector angle differs from the rotor electrical angle by about 90∘ electrical degrees, that is θr=∠isc+π/2 (forward) or θr=∠isc−π/2 (reverse);
  3. a single pulse can only give the speed magnitude, not the direction; on-the-fly restart must use multiple pulses, with the direction and accurate speed identified from the position difference;
  4. **the first pulse width Tc1 is determined jointly by the target current itrg and the bus voltage udc **:
Tc1=min(kT13Lsitrgmudc, 15LsRs)
  1. Setting the initial values of the current-loop and speed-loop integrators before entering closed loop is a necessary step for avoiding surges and achieving a smooth transition.

Choosing or combining the above schemes appropriately ensures reliable starting of the motor under all operating conditions.


References: On-the-fly restart strategy for permanent magnet synchronous motors based on the adaptive zero-voltage-vector two-pulse method — ZHANG Guoqiang (this article extends his two-pulse method into a three-pulse adaptive strategy of probe plus two fine measurements)

This article was compiled by AI and proofread manually.