A Fast and Robust Reference Current Generation Algorithm For Three-Phase Shunt Active Power Filter
A Fast and Robust Reference Current Generation Algorithm For Three-Phase Shunt Active Power Filter
Zakaria Chedjara1, Ahmed Massoum2, Patrice Wira3, Ahmed Safa4, Abdelmadjid Gouichiche5
1,2LaboratoireICEPS, Université Djilali Liabes Sidi Bel Abbes, Algérie
3Laboratoire IRIMAS Université de Haute alsace, 4 rue des frères lumière, Mulhouse cedex, France
4,5Laboratoire LGEP, Université Ibn khaldoun, Tiaret, Algérie
Corresponding Author:
Zakaria Chedjara
Laboratoire ICEPS
Université Djilali Liabes sidi Bel Abbes, Algérie
Email: [email protected]
1. INTRODUCTION
The increasing penetration of distributed generation (DG) sources into the power grid and the
proliferation of domestic non-linear loads have posed serious power quality problems and made the
mitigation task more difficult than before [1]-[8].
Shunt active power filters (SAPF) in low-voltage electrical networks remains one of the most
studied and developed compensation methods. However, the shunt active power filter remains a complex
strategy that needs a thorough and careful study to perform well. Each part in the SAPF control algorithm
performs a very precise task and depends heavily on the performance of the other parts. This dependence
makes the modeling more difficult and requests a rigorous selection of techniques to be used as shown I
Figure 1.
The identification of the current references constitutes an important part of the control of active
power filter. This part requires an accurate estimation of the frequency, phase, and proper extraction of the
load current harmonics. To this end, many identifications have been reported in the literature [9]-[22]; they
can have categorized into the time domain and frequency domain approaches. The frequency domain such as
the discrete Fourier transform (DFT) and recursive DFT [20], the nonlinear least square [21]. However, these
techniques require a computational demanding, and its estimation accuracy is affected by the choice of
sampling frequency and window length, the time-domain techniques such as the instantaneous power theory
(IPT) [4], the diphase current method (DQ) and the direct [2], [22].
All these techniques, regardless of their structure differences, operate satisfactorily under an ideal
condition, in which the grid voltage is free of any noise. However, this situation almost never occurs in
practice due to more and more frequent power quality problems (presence of harmonics, interharmonics, DC
offset and asymmetrical voltage drops).
The most widely used technique is the phase-locked loop (PLL), the conventional types suffer from
three critical limitations: 1) only an approximation but not a true amplitude and phase angle of the positive
sequence component are detected; 2) the detected positive sequence voltages are distorted and unbalanced; 3)
the dynamic response of the system is significantly affected [23].
To deal with this problem, some efforts for designing more efficient PLLs methods have been made
recently. A review of recent advances is given in [23]. These efforts improve the filtering capability and
disturbance rejection ability of PLLs by including different filters, the moving average filter (MAF), the
Delayed Signal Cancelation operator (DSC), Second-Order Generalized Integrator (DSOGI) and others.
These techniques suffer from one or more on the following shortcomings: 1) slow dynamic response, 2)
inefficiency under large frequency drifts and highly distorted source voltage, 3) are less attractive to deal
with the DC-offset problem, 4) require a deep stability analysis.
Furthermore, the IPT and DQ require a low-pass or high-pass filter to extract the fundamental or the
harmonic components. However, these kinds of filters must be designed carefully in order to avoid erroneous
compensation reference signals during the SAPF operation. For the sake of simplicity, the direct method
requires fewer calculations (does not necessitate pre-processing, such as high-pass and low-pass filtering, in
order to separate the fundamental and the harmonic components) than IPT, DQ and ensures better accuracy
and robustness.
To address these issues, this paper proposes the hybrid synchronous/ stationary filtering technique
(HPLL) with the direct method [24] as good option mainly because, 1) it achieves zero phase error under
frequency drifts, 2) Fast dynamic response, 3) totally block the DC offset, 4) From the control point of view,
it is a type 1 control system which results in high stability margin. To the best of authors’ knowledge, the
HPLL has not been used in active power filter yet. Besides, a neural regulator to enhance the dynamic of the
DC bus voltage.
Int J Pow Elec & Dri Syst, Vol. 12, No. 1, March 2021 : 121 – 129
Int J Pow Elec & Dri Syst ISSN: 2088-8694 123
In conventional SRF-PLL, Clarke and Park's transformations are applied to voltage signals to
transfer them to the synchronous reference frame (dq). The resulting dq axis signals contain the phase and
amplitude error information. The signal containing the phase error, here Vq, passes through the LF, which is
an integral proportional regulator (PI). The cooperation of this regulator and the VCO guarantees a zero
average phase tracking error at nominal and non-nominal frequencies in steady state. Note that the unit vector
generated by the VCO [i.e., sin and cos] is used by the PD (park transformation) to generate the phase and
amplitude error information. Also note that the PI controller output and the d-axis signals are estimates of the
frequency and magnitude of the grid voltage, respectively. The d-axis signal is transmitted to a low-pass filter
in order to reject/attenuate the possible disturbances and accurately estimate the magnitude of the grid
voltage. According to the ref, the transfer function of SRF-PLL with additional LPF is (1):
A fast and robust reference current generation algorithm for three-phase shunt active … (Zakaria Chedjara)
124 ISSN: 2088-8694
Vˆ+ k
=
V ( s − jc ) + k
(1)
Figure 4 shows the frequency response of (5) for ω=314 rad/s and three values of k. In these plots, it
can be noted that the negative frequency is interpreted as a response to the negative sequence vector signal.
The frequency response is asymmetric around the zero and it provides a unit gain with zero-phase shifts at
the fundamental frequency of positive sequence, while offering some level of attenuation to the same
negative sequence frequency. The dynamic response depends on the parameter k.
Int J Pow Elec & Dri Syst, Vol. 12, No. 1, March 2021 : 121 – 129
Int J Pow Elec & Dri Syst ISSN: 2088-8694 125
3.1. MAF
A MAF is good alternative to make the SRF immune to the unbalance, harmonic, and DC offset.
The MAF described as (2):
1 − e−Tw s
GMAF ( s) =
Tw s (2)
Where Tw is the length of the MAF window, the MAF passes the DC Component and completely
blocks the frequency components of multiple integers from (1/Tw) in hertz. This is the reason why the MAF
is sometimes called (quasi-ideal LPF). This selection of Tw is a tradeoff between excellent filtering
capability and fast dynamic response. For example, Tw=T removes all harmonics and DC offset but
unfortunately, this selection results in slow dynamic response. Besides, to achieve fast dynamic response
selecting Tw=T/2. In this case, however, the MAF cannot reject the DC offset [24].
3.2. DSC
To solve this problem, we use the operator (DSC) in the PLL input [24]. DSC is a finite impulse
response filter which can be defined in the Laplace domain as
2 T
j − s
1+ e n
e n
DSCn (s) =
2 (3)
Where n is the delay factor, and it should be determined based on which components are to be
removed. According to ref, selecting n=2 to remove the DC component.
4. SIMULATION RESULTS
The proposed algorithm is simulated using Matlab/Simulink. Three scenarios are investigated: ideal
source conditions, unbalanced and distorted, DC offset in order to analyze the performance and the
effectiveness of the proposed algorithm. Since the MCCF-PLL is mathematically equivalent and perform
similarly under different operating conditions to some advanced Type 2 PLLs such as decoupled double SRF
(DDSRF), (DSOGI), multiple reference frame PLL (MRF-PLL) and the frequency adaptive discrete filter
(FADF) with two stages [30], it has been used as a reference in evaluating the proposed technique.
seen that, the proposed scheme is fast compared with MCCF-PLL, to be more exact the H-PLL have a
settling time about 1 cycle while, the MCCF-PLL have 2 cycles. In addition, the neural regulator enhances
the DC bus voltage dynamic.
(a)
(b)
(c)
(d)
(e)
Figure 7. Simulation results under highly unbalanced source voltage: (a) load current and its frequency
spectrum, (b) source current and its frequency spectrum with the MCCF-PLL, (c) source current and its
frequency spectrum with the H-PLL, (d) DC bus voltage with the neural regulator, (e) DC bus voltage with
the classical PI regulator
Int J Pow Elec & Dri Syst, Vol. 12, No. 1, March 2021 : 121 – 129
Int J Pow Elec & Dri Syst ISSN: 2088-8694 127
active power filter had good performances only with the proposed scheme with a source current THD of
1.89%. It can be noted that the proposed algorithm is largely better than the MCCF-PLL.
(a)
(b)
(c)
(d)
Figure 8. Simulation results under DC offset: (a) source current and its frequency spectrum with the MCCF-
PLL, (b) source current and its frequency spectrum with the H-PLL with neural regulator, (c) DC bus voltage
with MCCF-PLL, (d) DC bus voltage with H-PLL and neural regulator
A fast and robust reference current generation algorithm for three-phase shunt active … (Zakaria Chedjara)
128 ISSN: 2088-8694
(a)
(b)
(c)
Figure 9. Simulation results under distorted conditions: (a) source voltage and its frequency spectrum, (b)
source current and its frequency spectrum with the H-PLL, (c) source current and its frequency spectrum
with MCCF-PLL
5. CONCLUSION-
In this paper the H-PLL synchronization technique to enhance the performance of APF under
adverse grid conditions with the direct method is presented. The main advantage of the proposed method is
the fact of being able to work under adverse grid conditions with the fast-dynamic response and with high
stability margin. The neural PI regulator is used to enhance the dynamic of the DC bus. Simulation results
have been obtained and show that the proposed H-PLL with a neural regulator is a very suitable for shunt
active power filter.
REFERENCES
[1] B. K. Bose, “Global energy scenario and impact of power electronics in 21st century”, IEEE Trans. Ind. Electron.,
vol. 60, no. 7, pp. 2638-2651, Jul. 2013.
[2] A. Safa, E. M. Berkouk, Y. Messlem, and A. Gouichiche, “An improved sliding mode controller for a
multifunctional photovoltaic grid-tied inverter”, J. Renew. Sustain. Energy, vol. 9, no 6, p. 065506, 2017.
[3] X. Wang and F. Blaabjerg, “Harmonic stability in power electronic based power systems: Concept, modeling, and
analysis”, IEEE Trans. Smart Grid, 2018, in the press, DOI: 10.1109/TSG.2018.2812712.
[4] A. Safa, E. M. Berkouk, Y. Messlem, and A. Gouichiche, “A robust control algorithm for a multifunctional grid-
tied inverter to enhance the power quality of a microgrid under unbalanced conditions”, International Journal of
Electrical Power & Energy Systems, vol. 100, pp. 253-264, 2018.
[5] P. Rodríguez, J. Pou, J. Bergas, J. I. Candela, R. P. Burgos, et D. Boroyevich, “Decoupled double synchronous
reference frame PLL for power converters control”, IEEE Trans. Power Electron., vol. 22, no. 2, pp. 584-592,
2007.
[6] H. S. Kamil, D. M. Said, M. W. Mustafa, M. R. Miveh, and N. Ahmad, “Low-voltage Ride-through Methods for
Grid connected Photovoltaic Systems in Microgrids: A Review and Future Prospect”, International Journal of
Power Electronics and Drive Systems (IJPEDS), vol. 9, no. 4, p. 1834-1841, 2018.
Int J Pow Elec & Dri Syst, Vol. 12, No. 1, March 2021 : 121 – 129
Int J Pow Elec & Dri Syst ISSN: 2088-8694 129
[7] A. Bouknadel, N. Ikken, A. Haddou, N.-E. Tariba, H. E. Omari, and H. E. Omari, “A new SOGI-PLL method
based on fuzzy logic for grid connected PV inverter”, International Journal of Electrical & Computer Engineering
(IJECE), vol. 9, no. 4, pp. 2088-8708, 2019.
[8] H. S. Kamil, D. M. Said, M. W. Mustafa, M. R. Miveh, and N. Ahmad, “Low-voltage ride-through for a three-
phase four-leg photovoltaic system using SRFPI control strategy”, International Journal of Electrical and
Computer Engineering (IJECE), vol. 9, no. 3, p. 1524-1530, 2019.
[9] R. Guzman, L. G. de Vicuña, J. Morales, M. Castilla, et J. Miret, “Model-Based Control for a Three-Phase Shunt
Active Power Filter”, IEEE Trans. Ind. Electron., vol. 63, no. 7, pp. 3998-4007, 2016.
[10] Thirumoorthi, P & T D, Raheni, “Adaptive Method for Power Quality Improvement through Minimization of
Harmonics Using Artificial Intelligence,” International Journal of Power Electronics and Drive Systems (IJPEDS),
vol. 8, no. 1, pp. 470-482, 2017, 8. 470.
[11] Laxmi Devi Sahu, Satya Prakash Dubey, “ANN based Hybrid Active Power Filter for Harmonics Elimination with
Distorted Mains,” International Journal of Power Electronics and Drive System (IJPEDS), vol. 2, no. 3, pp. 241-
248, September 2012, ISSN: 2088-8694.
[12] M. Jauhari, D. C. Riawan, M. Ashari, “Control Design for Shunt Active Power Filter Based On P-Q Theory in
Photovoltaic Grid-Connected System,” International Journal of Power Electronics and Drive System (IJPEDS),
vol. 9, no. 3, pp. 1064-1071, Sep. 2018.
[13] M. Qasim, P. Kanjiya, et V. Khadkikar, “Artificial-neural-network-based phase-locking scheme for active power
filters”, IEEE Trans. Ind. Electron., vol. 61, no. 8, pp. 3857-3866, 2014.
[14] D. O. Abdeslam, P. Wira, J. Mercklé, D. Flieller, and Y.-A. Chapuis, “A unified artificial neural network
architecture for active power filters”, IEEE Trans. Ind. Electron., vol. 54, no. 1, pp. 61-76, 2007.
[15] Z. Chedjara, A. Massoum, S. Massoum, P. Wira, A. Safa, and A. Gouichiche, “A novel robust PLL algorithm
applied to the control of a shunt active power filter using a self-tuning filter concept,” in 2018 IEEE International
Conference on Industrial Technology (ICIT). IEEE, pp. 1124-1131, 2018.
[16] S. Ahmed, G. Madjid, M. Youcef, T. Hamza, “Real-Time Control of an Active Power Filter under Distorted
Voltage Condition”, International Journal of Power Electronics and Drive Systems (IJPEDS), vol. 2, no. 4, pp.
424-433, 2012.
[17] S. Biricik, S. Redif, Ö. C. Özerdem, S. K. Khadem, et M. Basu, “Real-time control of shunt active power filter
under distorted grid voltage and unbalanced load condition using self-tuning filter”, IET Power Electron., vol. 7, no
7, pp. 1895-1905, 2014.
[18] M. A. Omran, I. I. Ibrahim, A. Z. Ahmad, M. Salem, M. M. Almelian, A. Jusoh, et al., “Comparisons of PI and
ANN controllers for shunt HPF based on STF-PQ Algorithm under distorted grid voltage”, International Journal
of Power Electronics and Drive Systems (IJPEDS), vol. 10, no. 3, pp. 1339-1346, 2019.
[19] D. M. Soomro, S. C. Chong, Z. A. Memon, F. Abbasi, “Power quality improvement in QUCEST larkana campus
by using three types of power filters”, International Journal of Power Electronics and Drive Systems (IJPEDS),
vol. 8, no. 4, pp. 1876-1885, 2017.
[20] E. Lavopa, P. Zanchetta, M. Sumner, and F. Cupertino, “Real-Time estimation of fundamental frequency and
harmonics for active shunt power filters in aircraft electrical systems”, IEEE Trans. Ind. Electron., vol. 56, no. 8,
pp. 2875-2884, Aug. 2009.
[21] R. Chudamani, K. Vasudevan, and C. S. Ramalingam, “Real-time estimation of power system frequency using
nonlinear least squares”, IEEE Trans. Power Del., vol. 24, no. 3, pp. 1021-1028, Jul. 2009.
[22] Y. Terriche, J. M. Guerrero, and J. C. Vasquez, “Performance improvement of shunt active power filter based on
non-linear least-square approach”, Electr. Power Syst. Res., vol. 160, Jul. 2018, pp. 44-55, 2018.
[23] S. Golestan, J. M. Guerrero, and J. C. Vasquez, “Three-phase PLLs: A review of recent advances”, IEEE Trans.
Power Electron., vol. 32, no. 3, pp. 1894-1907, 2017.
[24] S. Golestan, J. M. Guerrero, A. M. Abusorrah, and Y. Al-Turki, “Hybrid synchronous/stationary reference-frame-
filtering-based PLL”, IEEE Trans. Ind. Electron., vol. 62, no. 8, pp. 5018-5022, Aug. 2015.
[25] G Abdelmadjid, BM Seghir, S Ahmed, M Youcef, “Sensorless sliding mode vector control of induction motor
drives”, International Journal of Power Electronics and Drive System (IJPEDS), vol. 2, no. 3, pp. 277-284, 2012.
[26] G. Imane, and al., “Neural adaptive kalman filter for sensorless vector control of induction motor”, International
Journal of Power Electronics and Drive System (IJPEDS), vol. 8, no. 4, pp. 1841-1851, 2017.
[27] A. Gouichiche, M. Zabar, Z. Chedjara, A. Safa, and M. Tadjine, “Experimental validation of a fault-tolerant control
of induction motor using a voting algorithm”, in 2015 3rd International Conference on Control, Engineering &
Information Technology (CEIT), May 2015.
[28] I.Ghlib, Y. Messlem, and Z. Chedjara, “ADALINE-based speed control for induction motor drive”, in 2019
International Conference on Advanced Electrical Engineering (ICAEE), Nov 2019.
[29] A. Gouichiche, A. Safa, A. Chibani, and M. Tadjine, “Global fault-tolerant control approach for vector control of
an induction motor”, International Transactions on Electrical Energy Systems, vol. 30, no. 2, p. e12440, 2020.
[30] S. Golestan, M. Monfared, F. D. Freijedo, and J. M. Guerrero, “Performance Improvement of a prefiltered
synchronous-reference-frame PLL by using a PID-type loop filter”, IEEE Trans. Ind. Electron., vol. 61, no. 7, pp.
3469-3479, Jul. 2014.
A fast and robust reference current generation algorithm for three-phase shunt active … (Zakaria Chedjara)