Skip to content

BLDC

FOC Voltage Saturation: Verify Current-Loop Recovery

Design and verify FOC voltage limiting and anti-windup so a brushless drive recovers predictably when speed, bus voltage or transients exhaust its voltage authority.

Brushless motor on a guarded load fixture beside a controller board and connected measurement probes

A brushless drive can regulate current well at moderate speed and behave very differently when the requested voltage reaches the inverter's limit. Current stops following its reference, the regulator continues accumulating error, and recovery can produce an unwanted torque transient after the original constraint disappears.

This is a control-authority problem, not necessarily a current-sensor or commutation fault. It deserves explicit requirements in a custom controller program. This guide extends the motor controller design guide with a focused question: what should the current regulator do when the inverter cannot produce its requested voltage? The proposed checks are engineering practices, not reports of an Outer Reef product or test result.

1. Recognize when current regulation loses voltage authority

Field-oriented control normally regulates direct-axis and quadrature-axis current with an inner vector current loop. The regulator requests voltages that the modulation stage converts into inverter switching commands. Those voltages are constrained by the instantaneous DC bus and the modulation method.

As speed rises, back EMF consumes more of the available voltage. Winding resistance and the voltage needed to change current also contribute to the demand. A supply dip or an abrupt current-reference change can therefore push an otherwise stable regulator into saturation.

Define the conditions under which accurate current tracking is required and the behavior permitted outside that envelope. A current rating alone cannot establish high-speed torque capability. Record the motor parameters, operating speed and minimum bus voltage associated with each required operating point.

2. Define one voltage-limit contract across firmware layers

The current controller and modulator must agree on voltage units, scaling and the usable limit. A regulator operating in physical volts cannot safely share an undocumented interface with modulation code expecting normalized duty commands.

For a circular voltage constraint in a consistently scaled rotating frame, the requested vector magnitude is sqrt(vd² + vq²). One possible limiter scales both components by the same factor when that magnitude exceeds the permitted value. This preserves the requested vector direction, but it is not the only valid allocation policy.

The actual inverter capability depends on modulation and operating constraints. Minimum pulse widths and reserved duty-cycle margin may reduce the usable range. Do not copy a numerical bus-to-vector conversion factor without checking the transformation convention and modulator implementation.

Document where limiting occurs and which value is returned to the regulator. If the modulator clips a command again after an earlier limiter, the anti-windup logic needs to account for that additional restriction.

3. Treat the d-axis and q-axis limits as a coupled decision

Independent axis clamps can allow a combined voltage request beyond the inverter's capability. They can also create an allocation policy accidentally: one axis may consume voltage the other axis needs.

Microchip's field-oriented-control documentation explicitly states that saturation and anti-windup should be designed for the overall vector controller rather than as two independent axis controllers.

Choose the allocation policy from the operating strategy. Proportional vector scaling preserves direction. An axis-priority policy preserves a selected component at the expense of the other. Neither guarantees acceptable torque behavior without testing. If field weakening is included, its current commands and voltage needs must be coordinated with this policy; adding it is not a substitute for a defined saturation response.

4. Give the integrators a path back to achievable commands

During saturation, the current error may persist even though the controller has no remaining voltage authority. An unrestricted integral term can keep increasing. When speed falls or the bus recovers, that stored state can command more voltage than the current transient requires.

Two candidate approaches are conditional integration and back-calculation. Conditional integration suppresses integral updates that would drive the command further into saturation while permitting updates that help it leave. Back-calculation feeds the difference between the limited and requested voltage into the integrator-state update.

For either approach, specify discrete-time scaling and the interaction with feedforward terms. In a back-calculation implementation, compare commands at compatible points in the signal chain. Comparing an unlimited total voltage against a limited regulator-only voltage mixes unlike quantities.

Aggressive correction can create abrupt state changes; weak correction can leave a long recovery tail. Avoid resetting every integrator indiscriminately on each limiting event. Preserve deliberate state handling through enable, disable and control-mode transitions, then verify the resulting current response.

5. Use measured bus voltage without hiding its limitations

A voltage request represents a different duty ratio when the bus changes. Analog Devices' discussion of inverter feedback explains how DC-bus measurement can serve as feedforward because bus variation affects current-loop dynamics.

Use a consistent bus estimate for command normalization and the voltage-limit calculation. Otherwise, the regulator may believe it has voltage authority that the modulator cannot deliver. Define measurement filtering, update timing and behavior when the bus reading is invalid.

Filtering presents a tradeoff. Heavy filtering can delay recognition of a real supply drop, while insufficient filtering can modulate the calculated limit with noise. Check the complete path on the target hardware rather than selecting a filter only from a clean simulation.

Bus feedforward does not create energy or restore missing voltage. It improves how the controller represents the available supply. Energy returned during deceleration remains a separate issue covered by the regenerative-braking and DC-bus protection guide.

6. Capture the signals that explain recovery

A speed trace alone can conceal a poor current-loop recovery. Instrument the regulator sufficiently to distinguish a voltage constraint from measurement errors or execution problems.

  • Record current references and measured d-axis and q-axis currents.
  • Capture voltage requests before limiting and commands after limiting, with the active limit.
  • Log integral states, bus voltage and saturation status.
  • Include rotor speed, operating mode and timestamps tied to the control cycle.

Check that logging does not materially disturb execution timing. A low-rate supervisory log can miss a brief recovery peak, while an intrusive debug path can create the deadline problem being investigated. Select capture bandwidth and trigger behavior from the transient that must be evaluated.

7. Verify entry, sustained limiting and release separately

Use bounded tests with an appropriate load fixture and independent electrical protection. Start below the voltage boundary, approach it deliberately and establish a repeatable limiting condition before attempting severe transitions.

Include a current-reference step near the voltage limit and a controlled supply reduction at a fixed operating point. Test release by restoring voltage headroom or reducing speed. Reversal should be evaluated separately where required because it combines changing voltage demand with mechanical and energy-path constraints.

Set acceptance criteria before testing. Useful measures include peak current deviation after release, time to return to the tracking band and the absence of sustained oscillation. Tie allowable values to the mechanism and product requirements rather than adopting universal thresholds.

Repeat relevant cases across motor temperature and bus range. Confirm that protective limiting does not silently become the normal current-control mechanism. A test that ends without a shutdown has not necessarily demonstrated acceptable torque behavior.

8. Preserve the behavior in production configurations

Recovery depends on more than PI gains. Motor parameters, current scaling, bus-divider scaling and modulation settings can all change the effective control boundary. Preserve their relationship in a controlled parameter set associated with the intended hardware and firmware.

Production checks need not reproduce every dynamic development test, but they should detect configuration and scaling errors that would invalidate those results. Parameter-loading tools should reject incompatible combinations rather than accepting values because each falls within an isolated numeric range.

For a controller design review, request evidence of the voltage-limit policy and recovery behavior alongside nominal current tracking. Predictable operation at the boundary of control authority is part of the controller's functional specification, not a tuning detail to resolve after integration.