A direct power control photovoltaic system can combine renewable power generation with active power-quality support. In the approach described here, a grid-connected PV array supplies available solar power while a shunt active power filter helps compensate reactive power and harmonic currents created by nonlinear loads. The control strategy uses estimated instantaneous active and reactive power to select inverter switching states, rather than relying on an inner current-control loop and a separate PWM modulator.
This arrangement is intended to address a practical challenge at the point of common coupling (PCC): electronic equipment can draw distorted currents, while a PV installation must also manage its power exchange with the load and utility. The reported results come from MATLAB/Simulink simulations, not field measurements.
Why combine photovoltaic generation and active filtering?
Nonlinear loads, including equipment with electronic circuits, can draw currents that are not sinusoidal. These currents introduce harmonics into the electrical system and may affect power factor and power quality. A grid-connected PV inverter that only supplies active power does not, by itself, address all of these effects.
A shunt active power filter is connected in parallel with the load. It injects a compensating current so that the source supplies the load current while the filter offsets unwanted components. In the system described, the inverter has a dual role: transfer PV energy to the load and/or grid, and provide compensation for harmonic currents, reactive power, and unbalanced current.
The control objective is to keep source current closer to a sinusoidal waveform, compensate reactive power at the PCC, and deliver the maximum active power available from the PV array. These functions are coordinated by the inverter control rather than treated as unrelated tasks.
How direct power control works in a photovoltaic system
Direct power control (DPC) regulates instantaneous active power, p, and reactive power, q. The controller compares estimated power values with their references. Hysteresis comparators convert the differences into discrete control signals, and a switching table uses those signals and the voltage-vector sector to select the inverter’s switching state.
In a conventional control structure, current references may be tracked by an inner current loop and a PWM stage. The DPC approach described instead selects switching states directly from power-error signals. This can simplify the control structure by removing those inner current-control and modulation blocks. The system still requires feedback and estimation: power is calculated using measured electrical quantities and converter information, while the proposed method is characterized as operating without voltage sensors.
Setting active and reactive power references
The active-power reference is supplied by a DC-link voltage controller. If the DC-link voltage moves away from its reference, the controller adjusts the active-power command to regulate the link. The reactive-power reference is specified separately; in the described setup, it is set to support reactive-power compensation.
The controller estimates active and reactive power, compares each estimate with its command, and passes the resulting errors through hysteresis comparators. The switching table then determines an inverter state based on the comparator outputs and the sector of the estimated voltage vector. This direct relationship between power errors and switching decisions is central to DPC.
PV power tracking and system configuration
The simulated system consists of a PV array, a DC-DC boost converter, a three-phase inverter, a grid connection, a filter, and a nonlinear load. A perturb-and-observe (P&O) maximum power point tracking algorithm controls the boost converter. P&O adjusts the operating point in response to changes in PV power to track the array’s maximum power point.
The boost converter and inverter therefore have complementary roles. The boost stage supports PV maximum-power extraction, while the inverter transfers energy and performs the active-filter function. A DC-link capacitor connects the conversion stages, and its voltage is regulated through the active-power command.
To examine operation across changing PV conditions, the simulation varies irradiance from 0 W/m² to 1000 W/m² and then down to 200 W/m². This allows the control response to be assessed at different modeled levels of solar input, alongside the nonlinear-load compensation task.
What the simulation results indicate
Before compensation, the simulated source current has a reported total harmonic distortion (THD) of 27.57%. After applying the active filter and DPC strategy, the reported source-current THD is:
- 1.78% at 0 W/m² irradiance
- 1.50% at 1000 W/m² irradiance
- 3.15% at 200 W/m² irradiance
The simulation also shows the source current becoming more sinusoidal, reactive power remaining close to zero, and the DC-link voltage returning to its reference after a disturbance. The filter current provides the compensation needed to address load harmonics and reactive current while PV power is delivered to the load and/or grid. The reported negative source active power during part of one operating interval is interpreted in the study as power being injected toward the utility while the filter supports the load.
These findings describe the behavior of the modeled system under its stated conditions. They should not be treated as a guarantee of the same THD or transient response in a physical installation, where results depend on system design and operating conditions.
Practical implications for system designers
For engineers and integrators, the key design consideration is the inverter’s combined responsibility. It must manage PV power transfer and respond to power-quality requirements at the PCC. DPC offers a way to coordinate these objectives through active- and reactive-power commands and switching-state selection. The P&O algorithm separately supports operation of the PV array near its maximum power point.
Evaluation should therefore consider the full system: PV array and boost-converter behavior, DC-link regulation, power estimation, switching logic, nonlinear-load characteristics, and the interface with the grid. Simulation can help assess these interactions, but the reported results alone do not establish performance for every installation.
Conclusion
Direct power control can enable a grid-connected PV inverter to combine active solar-power delivery with shunt active filtering. In the simulated configuration, the strategy uses power-error comparators and a switching table to reduce source-current distortion and compensate reactive power, while MPPT manages PV energy extraction. For industrial decision-makers, the practical takeaway is to treat power generation and power quality as coordinated functions—and to validate control performance against the specific loads and grid conditions of the intended application.