Access Official Technical PDF

Share Summary:LinkedInEmail

Nonlinear loads such as rectifiers and adjustable-speed drives can draw distorted current from an electrical network. The resulting harmonics can affect power factor and contribute to problems including equipment overheating and measurement errors. A shunt active power filter (SAPF) counters these effects by injecting a compensating current at the point of common coupling. Effective shunt active power filter control depends on more than the inverter: a set of coordinated algorithms must identify the distortion, maintain the DC-link voltage and produce the required current in step with the supply.

For engineers and system integrators, the practical choice is not simply a matter of selecting one “best” algorithm. Control performance depends on the source voltage, the converter topology and the response required from the filter.

How a shunt active power filter works

A voltage-source-inverter-based SAPF is commonly connected in parallel with the nonlinear load at the point of common coupling. The controller measures load or supply signals and calculates the compensating current. The inverter then injects a current intended to oppose the harmonic component drawn by the load. If compensation is effective, the supply current is closer to its fundamental component and can operate more nearly in phase with the source voltage.

The inverter’s DC-link capacitor provides energy storage, while a filter inductor helps limit ripple in the injected current. Because converter switching has losses, the controller must also draw a small amount of real power to maintain the capacitor voltage. SAPF controllers therefore typically combine four functions:

  • Harmonic extraction: identifies the unwanted current component and produces a reference.
  • DC-link voltage regulation: adjusts the controller’s real-power demand to maintain the required capacitor voltage.
  • Current control: generates inverter switching commands to make the output follow its target.
  • Synchronization: establishes the phase reference needed to coordinate operation with the supply, when required.

Harmonic extraction: turning measurements into a reference

Harmonic extraction is an early and influential step in the control chain. It separates the fundamental current from distortion in the measured signal and uses the result to form the reference current. Delays or errors at this stage can affect how promptly and accurately the inverter compensates the load.

Time-domain methods

Two established approaches are synchronous reference frame (SRF) and instantaneous power, or pq, theory. SRF transforms three-phase currents into rotating d-q coordinates. With an appropriate phase reference, the fundamental component appears as a DC quantity, while harmonics appear as variations. A low-pass filter can separate the components, after which an inverse transformation produces the reference current. The method is widely used in three-phase systems, but its filtering can introduce delay, and conventional implementations rely on balanced, sinusoidal source conditions.

Pq theory transforms three-phase voltage and current signals into stationary coordinates, then calculates instantaneous active and reactive power. Filtering the active-power component helps identify the harmonic contribution used to generate the compensating reference. Like conventional SRF, this approach is generally framed around balanced, sinusoidal three-phase voltage, and filtering can delay extraction.

Frequency-domain and learning approaches

Frequency-domain methods use discrete or fast Fourier transforms to identify selected harmonic components and reconstruct a time-domain reference. They can be applied to single- or three-phase systems, but must collect enough samples for analysis and can impose substantial computational demands.

Learning-based options include artificial neural networks and optimization methods. Modified neural-network approaches update their weights to adapt the estimated current, but their performance depends on design choices such as the learning rate. The broader trade-off is that alternative or more adaptive methods may bring implementation complexity and processing requirements. Modified versions of SRF and pq methods have also been proposed to address filtering delays.

Maintaining the DC-link voltage

The capacitor voltage must remain at a suitable level for the inverter to reproduce the commanded current. In practice, switching and conduction losses mean that the SAPF must draw real power from the AC system. The voltage-regulation algorithm adjusts the reference so that this power can cover the losses and maintain the DC link.

A common approach manipulates the difference between measured and target DC-link voltage using a proportional-integral (PI) controller. PI control is straightforward to implement, but fixed gains can make dynamic response difficult to tune, with overshoot or delay possible under changing conditions. Fuzzy logic control offers a way to handle nonlinear behaviour without requiring an exact mathematical model, though its membership functions and rule base can increase computational workload.

Self-charging approaches use energy conservation to calculate the required charging-current contribution. Other modified methods aim to reduce voltage overshoot and undershoot during dynamic operation. The suitability of these techniques can depend on the harmonic-extraction method and system configuration; they should not be treated as interchangeable without evaluation.

Current control and inverter switching

Current-control algorithms translate the reference into switching actions for the voltage-source inverter. With direct current control, the controller tracks injected current. With indirect current control, it regulates the supply current toward a sinusoidal reference, thereby controlling injected compensation indirectly. The latter can require fewer measurements and calculations and uses direct information about supply-current behaviour.

Common switching approaches include:

  • Sinusoidal PWM: uses a modulating signal to set switching duty cycles and is widely applied in two-level inverters.
  • Space-vector PWM: selects inverter switching states and offers flexibility for different converter topologies, including multilevel inverters, but involves more involved calculations.
  • Hysteresis control: switches when current error crosses set limits. It is direct and responsive, while fixed-band implementations can have variable switching frequency. Adaptive bands seek to manage frequency variation but add design complexity and sensitivity to system parameters.
  • Predictive control: estimates future current behaviour from a system model and selects a voltage command. Accuracy depends on the model and prediction process.

Why supply conditions and topology matter

Many conventional control algorithms are developed for an ideal supply: balanced, sinusoidal source voltage. In practical conditions, voltage imbalance or distortion can compromise synchronization and, in turn, the reference used by the controller. A phase-locked loop or zero-crossing detector may not provide a sufficiently accurate phase estimate when the voltage is non-ideal. Control methods therefore need to be assessed against the actual supply conditions, rather than assumed to work equally well in every installation.

Converter topology matters too. Voltage-source inverters are widely used in SAPFs, and multilevel versions introduce additional switching states and control considerations. Techniques developed for standard two-level inverters may need modification when applied to multilevel systems. These differences make topology, source quality and the desired compensation functions important inputs to controller selection.

Practical implications for system design

Choosing a SAPF control strategy means balancing response, accuracy, computational demand and implementation complexity. A useful design review should consider the full control chain: how the reference current is extracted, how the DC link is maintained, how the inverter tracks its target and how synchronization performs under expected voltage conditions. The control method should also match the phase configuration and inverter topology.

In short, a shunt active power filter is only as effective as the coordination of its control algorithms. Engineers evaluating a system should look beyond a single harmonic-extraction technique and verify that every control stage is appropriate for the network and converter. That system-level assessment is essential for reliable harmonic current mitigation and practical power-quality improvement.

Access Official Technical PDF

About The Author