Updated 20 Sep 2019
Single phase STATCOM inverter is driven using Sine PWM. The sine references are generated using a PLL and Harmonic oscillator. The closed loop control is implemented in synchronous reference frame using unbalanced d-q control.
The inverter is supplying harmonics and reactive power to the loads, such that the power drawn from the grid is at unity power factor.
Non-linear current drawn by the loads is measured and the harmonics information thereby extracted is used in synchronous reference frame for compensation.
Rajesh Farswan (2020). UDQ STATCOM APF 1P (https://www.mathworks.com/matlabcentral/fileexchange/72811-udq-statcom-apf-1p), MATLAB Central File Exchange. Retrieved .