Next Article in Journal
System Dynamics Modeling for Effective Strategies in Water Pollution Control: Insights and Applications
Previous Article in Journal
Swin–MRDB: Pan-Sharpening Model Based on the Swin Transformer and Multi-Scale CNN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modified Extended Complex Kalman Filter for DC Offset and Distortion Rejection in Grid-Tie Transformerless Converters

1
Electrical Engineering Department, Faculty of Engineering, Alexandria University, Alexandria 21544, Egypt
2
Department of Electronic and Electrical Engineering, University of Strathclyde, Glasgow G1 1XQ, UK
3
Marine Engineering Technology Department, Arab Academy for Science, Technology and Maritime Transport, Alexandria 21913, Egypt
4
Electrical and Control Engineering Department, Arab Academy for Science, Technology and Maritime Transport, Alexandria 21913, Egypt
5
CEMSE Division, King Abdullah University of Science and Technology, Thuwal 23955, Saudi Arabia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(15), 9023; https://doi.org/10.3390/app13159023
Submission received: 29 June 2023 / Revised: 26 July 2023 / Accepted: 28 July 2023 / Published: 7 August 2023

Abstract

:
Proper operation of the grid-tie transformerless converters under unbalanced and distorted conditions entails a precise detection of the frequency and fundamental component of the grid voltage. One of the main problems that could arise during the estimation of grid parameters is the existence of a DC offset generated from measurement and A/D conversion. This undesirable induced DC offset could appear as a part of the reference sinusoidal current of grid-tie converters. Although literature has proposed the use of an extended complex Kalman filter (ECKF) for the estimation of positive and negative sequence voltage components as a promising competitor to phase locked loops, mitigating the effect of possible DC offsets when a Kalman filter is employed remains scarce. This paper proposes a new extended complex Kalman filter to improve the filter stability for estimating the frequency and the fundamental positive and negative symmetrical components of the grid voltages, where DC offset, scaling error, and noise can successfully be rejected. The theoretical findings are experimentally validated.

1. Introduction

It is crucial to know the phase angle, frequency, and amplitude of grid voltage in order to properly operate and control a variety of grid-tie converters, including photovoltaic (PV) converters, pulse width modulation rectifiers, uninterrupted power supplies (UPSs), distributed power systems, and others. This process is commonly known as grid synchronization [1,2,3,4,5,6,7]. A precise and quick algorithm is required to measure the symmetrical components, particularly in a harmonically contaminated, unbalanced three-phase system. When estimating the grid characteristics, particular attention should be paid to the presence of possible DC offsets in the observed grid voltage. Voltage sensing, filtering, and A/D conversion are generally the three functions that the grid interface circuit should carry out. Even if the grid interface circuit is correctly constructed, the non-linearity of voltage sensors, A/D conversion, and thermal drift of analog components commonly yields DC offsets in measured grid voltages [8]. Typically, the maximum allowable dc current injection in a grid-tie converter should not exceed 0.5% of the full rated output current at the point of common coupling [9].
Three main categories can be used to group the techniques for suppressing dc current injection: blocking dc current with a capacitor [10,11], voltage (and/or) current detection control [12,13,14,15,16,17,18], and innovative converter topologies with dc current suppression capabilities [19,20,21]. However, the first strategy requires a bulky and expensive capacitor and may produce extra losses and poor power quality. Moreover, the dynamic response and system stability have been affected when the virtual capacitor technique is used [11]. Additionally, the grid distortion and the scaling errors in the measured grid voltages continue to have an impact on the grid current performance under this strategy [22]. On the contrary, the detection strategy may increase the system footprint, increasing cost and power loss [23]. In fact, this strategy has been frequently employed in motor drive applications for compensating the errors in measured currents [14,19,20,21,23,24]. However, there are major challenges when applying this technique to grid-tie converter applications because measurement errors might occur on both current and voltage signals, leading to inaccurate compensation results if only current or voltage measurement errors are compensated [22]. In the third strategy, current controllers with the ability to reject DC offsets have been introduced. This method seems to be simpler to practically implement since the DC offset and the scaling error in measured voltages do not need to be detected or estimated. Several converter control techniques are used to estimate positive and negative fundamental components from unbiased and unbalanced three-phase signals based on phase-locked loop implementation [25,26,27,28,29,30]. However, there are challenges facing the design of PLL, such as instability problems [31,32,33,34], complexity in the case of abnormal grid conditions [35], and a large calculation burden [36].
In [37], the positive sinusoidal signal in a grid with white noise is estimated using the extended complex Kalman filter (ECKF). Using Kalman filter algorithms, the works in [38,39,40] have suggested determining the power frequency in distorted grids based on their estimated sequence components. The concept of employing a modified Kalman filter to make up for the DSP computation delay is covered in [41]. To estimate the symmetrical components from unbalanced grid voltages without a PLL, the ECKF suggested in [42] is applied. As a result, as compared to previous methods, better noise rejection has been obtained while avoiding tuning and delay concerns. In [43], authors presented a new space vector-based model predictive current controller to deal with unbalanced and distorted grid conditions. The current references in this model-predictive algorithm are computed based on symmetrical fundamental components of grid voltages. The important note is the use of the conventional ECKF to estimate these sequence voltages. The prior methods, however, have not been investigated under biased, unbalanced, and distorted scenarios.
The main contributions of this paper are summarized in the following bullets:
  • A modified extended complex Kalman filter is presented to improve the filter’s performance for estimating symmetrical components in the presence of DC offset and noise.
  • Harmonic free current references are calculated based on the estimated positive and negative symmetrical components of grid voltages for both ECKF strategies. The finite control set model predictive control (FCS-MPC) current control structure is presented such that the grid currents follow exactly the pure sinusoidal current references generated by the current reference generator.
  • The principle of FCS-MPC is to drive the converter switches by minimizing the cost function without the need for PWM techniques. As a result, FCS_MPC features a simple real-time hardware implementation, a quick response, a higher stability margin, and the ability to handle of multiple objectives and nonlinear constraints [44].
The paper is organized as follows: Section 2 describes the problem statement. Section 3 presents the mathematical model of conventional ECKF and also presents the proposed ECKF. In Section 4, the simulation results are presented using MATLAB/SIMULINK 9.4 (R2018a) software to validate the effectiveness of the proposed ECKF over the conventional one under DC offset and distorted conditions. Section 5 includes the experimental validation of the proposed ECKF.

2. Problem Statement

There are typically no even or triplen harmonics in three-phase power systems; as a result, the three-phase grid voltages only contain the harmonic component h = 6 n 1 (n = 1, 2, 3, …).
v g j = V 1 cos ω s t i 1 2 π 3 + n = 1 V h cos 6 n 1 ω s t i 1 2 π 3
V 1 and V h are the amplitudes of fundamental and harmonic components, respectively, j a , b , c , i = 1 ,   2 ,   a n d   3 for j = a , b, and c, respectively, and ω s is the fundamental angular frequency of the grid.
Monitoring three-phase grid voltages using some type of amplifier circuits and, hence, implementing digital readings using the analog-to-digital conversion (ADC) module of the microcontroller are preliminary steps in the control algorithm of the grid-tie converter. Assuming that voltage measurement readings include scaling and DC offset errors, the three-phase grid voltages measured by the microcontroller can be expressed as follows:
v g j A D C = 1 Δ k j v g j + V j s ;       j a , b , c
According to (2), v g a A D C , v g b A D C , and v g c A D C are the digital readings of the three-phase grid voltage a, b, and c, respectively; Δ k a , Δ k b , and Δ k c are the scaling errors for each phase a, b, and c respectively; V a s , V b s , and V c s are the DC offsets in the measurements. Applying Clarke’s transformation, the stationary α β components of the grid voltages ( v g α and v g β ) are obtained and contain DC offset and AC ripple at ω s and 6 n 1 ω s (n = 1, 2, 3, …). The DC component of the grid voltages can be given by:
v g α D C = V a s 1 2 ( V b s + V c s )
v g β D C = 3 2 ( V b s V c s )
The stationary α β components of converter voltages ( v c α and v c β ) are then given by (5), where i α and i β are the stationary α β components of output currents.
v c α v c β = v g α v c β + R   i α i β + L d i α d t d i β d t
As the terms v g α and v g β contain DC offset and AC ripple at ω s and 6 n 1 ω s (n = 1, 2, 3, …), they subsequently inject undesired DC and AC ripple at the same frequencies into i α and i β . There is a need to present a current controller by which the DC offset and distortion are rejected.

3. Mathematical Modelling

3.1. Conventional Extended Complex Kalman Filter

Let a noisy distorted signal z k of h negative and positive sinusoids be given by:
z k = i = 1 h A i + e j ( ω i T K + ϕ i + ) + A i e j ( ω i T K + ϕ i ) + N o i s e
A i + and A i are the amplitudes of positive and negative sinusoids, ω i is the angular frequency, ϕ i + and ϕ i are the phase angles of the positive and negative sinusoid, respectively, and T is the sampling time.
To model the observation signal y k , the state space representation is given by:
x k + 1 = f x k = A   x k
y k = H x k + v k
where (9) and (10) are given as follows:
γ x 1 ( k + 1 ) x 2 ( k + 1 ) = 1 0 0 0 γ 0 0 0 γ 1   γ x 1 ( k ) x 2 ( k )
y k = 0 1 1 γ x 1 ( k ) x 2 ( k ) + [ v k ]
where
γ = exp j ω s T
x 1 ( k ) = A i + e j ( ω s T K + ϕ 1 + )
x 2 ( k ) = A i e j ( ω s T K + ϕ 1 )
The artificial state γ expresses the variation in the fundamental frequency. x 1 ( k ) is the recent state of the positive fundamental component, and x 2 ( k ) is the recent state of the negative fundamental component of the grid voltages.
Applying the following ECKF algorithm [37]:
K k = P ^ k | k 1   H H   H P ^ k | k 1   H H + R 1
x ^ k | k = x ^ k | k 1 + K k ( y k H x ^ k | k 1 )
P ^ k | k = I K k   H     P ^ k | k 1
x ^ k + 1 | k = A   x ^ k | k
P ^ k + 1 | k = F P ^ k | k   F H + Q
where
F = d f x k d x k | x k = x ^ k | k = 1 0 0 x ^ 1 k | x γ ^ 0 γ ^ 2 · x ^ 2 k | x 0 γ ^ 1
F ,   H are the linearized transition and measurement matrices, and F H ,   H H are the Hermitian of these matrices, respectively. Moreover, the observation and process noise covariance matrices are R and Q; the estimated state is denoted by x ; P denotes the state error covariance matrix, whereas Kalman gain is represented by notation K k .
It is worth noting that any decrease in Kalman gain causes the filter to more closely match model predicted states, whereas the most recent measurements are given more weight whenever the Kalman gain increases. To obtain the best performance, R and Q are experimentally tuned.
The estimated state one step in advance x ^ k + 1 can be given based on the recent state x ^ k by (20).
x ^ k + 1 = A   x ^ k
Moreover, the advance of states by two steps can be given by:
x ^ k + 2 = A   x ^ k + 1
Noting that
x 1 ( k ) = V g α β + = V g α ( k ) + + j V g β ( k ) +
x 2 ( k ) = V g α β = V g α ( k ) + j V g β ( k )

3.2. Modified Extended Complex Kalman Filter

A modified extended complex Kalman filter is proposed to achieve DC offset and noise rejection.
Unlike conventional ECKF, where its output states are expected to contain DC components, the modified ECKF uses state feedback loops to remove the expected DC offsets.
Define two observation signals as shown in Figure 1. The first observation signal y 1 ( k ) is the distorted signal z k extracted from it, the fundamental negative signal x 2 ( k ) . The observation signal y 2 ( k ) is the distorted signal z k extracted from it, the fundamental positive signal x 1 ( k ) .
To model the observation signals y 1 ( k ) and y 2 ( k ) , the state space representation can be given by (9), while (10) is replaced by (24).
y 1 ( k ) y 2 ( k ) = 0 1 0 0 0 1 γ x 1 ( k ) x 2 ( k ) + v 1 ( k ) v 2 ( k )
On the other hand, Equations (11)–(23) remain the same. In conclusion, the method suggests that the DC component in the input distorted signal is subtracted before the ECKF algorithm is applied.

4. Current Control Structure

A block diagram of the FCS-MPC current control structure based on the ECKF estimator is presented in Figure 2 to improve the output grid currents of the grid-tie PV transformerless converter.
Considering the dynamic equation of the grid-tie transformerless voltage source converter interfaced via an L filter is discussed (R and L are the resistance and inductance of the filter), it is given in the stationary α β reference frame by (25). Based on the forward Euler discretization rule in (26), the discrete predictive current model can be expressed by (27). In (27), the assumption that the grid voltages at a recent instant are the same as the last instant is acceptable. The reason is that the periodic time of the grid voltage waveform is much longer than the sampling time.
L d i α d t d i β d t = v c α v c β v g α v c β R   i α i β
d i d t = i ( k + 1 ) i ( k ) T s
i α ( k + 1 ) i β ( k + 1 ) = T s L V c α ( k ) V g α ( k 1 ) V c β ( k ) V g β ( k 1 ) + ( 1 R   T s L )   i α ( k ) i β ( k )
To compensate for the control action delay, the current model two steps in advance is predicted as follows:
i α ( k + 2 ) i β ( k + 2 ) = T s L V c α ( k + 1 ) V g α ( k ) V c β ( k + 1 ) V g β ( k ) + 1 R   T s L i α k + 1 i β k + 1
As a result, the current references are calculated based on (29)–(32) to suppress active power 2nd order oscillations depending on the estimated positive and negative fundamental components [43].
i α ( k + 2 ) r i β k + 2 r = 1 0 1 0 0 1 0 1 i α k + 2 + i β k + 2 + i α k + 2 i β k + 2
where
i α k + 2 + i β k + 2 + i α k + 2 i β k + 2 = V g α k + 2 + C V g β k + 2 + D V g β k + 2 + C V g β k + 2 + C V g α k + 2 C V g β | k + 1 C V g β k + 2 C V g α k + 2 C P r Q r
and,
C = V g α k + 2 + 2 V g α k + 2 2 + V g β k + 2 + 2 V g β k + 2 2  
D = V g α k + 2 + 2 + V g α k + 2 2 + V g β k + 2 + 2 + V g β k + 2 2    
The switching signals corresponding to the optimal voltage vector are obtained such that the smallest value of the cost function in (33) is achieved:
G = i α k + 2 r i α k + 2 2 + i β k + 2 r i β k + 2 2

5. Simulation Results

The conventional and proposed modified ECKF algorithms are investigated under biased, unbalanced, and distorted conditions.
A positive fundamental grid reference component ( V g + ) with 100 V amplitude is considered. The voltage unbalance factor ( V U F ) is given by (34), where V g is the negative fundamental grid reference component. A value of V U F is chosen to be 20%. The grid distortion is considered by adding 5 t h and 7 t h harmonics of 12% and 8% of the reference, respectively.
V U F = V g V g + × 00 %
White noise is added as presented in Figure 3. The reference a b c grid voltages are transformed using Clarke’s transformation into reference α β grid components and fed to the ECKF input in the complex form z k . Moreover, significant DC offsets ( V a s , V b s , and V c s ) are applied at percentages of 70%, 50%, and 30%, respectively, of the peak value of the positive fundamental component at instant 0.04 s. The per unit (p.u.) a b c grid voltages and the fundamental positive and negative αβ components are illustrated in Figure 3 in the case of conventional and proposed ECKF.
In Figure 4, the output fundamental positive and negative α β components are transformed into fundamental positive and negative a b c components and compared with the reference positive and negative a b c grid voltages for detailed documentation.
Moreover, the grid fundamental frequency under both algorithms is estimated using (35) and is introduced in Figure 5, where the reference is 50 Hz.
f s = ln ( I m a g γ 2 π T )
According to the simulation results, both algorithms give correct estimation if the input signal is free of DC offset. However, the conventional ECKF leads to obvious offsets in estimated symmetrical components. Moreover, it behaves like oscillations in the estimated frequency in the case of a biased input signal. Based on the results, the priority of the proposed modified ECKF in estimating positive and negative fundamental components is ensured. In conclusion, it is expected that the proposed ECKF will provide harmonic-free current references, while the reference currents calculated based on the estimated values introduced by the conventional ECKF may be distorted.

6. Experimental Validation

The experimental setup of the grid-tie PV converter is shown in Figure 6. To investigate the conventional and the proposed ECKF under unbalanced and distorted conditions, series resistance is used to increase the phase voltage ( v g a ) by 14% (unbalance condition), and a high nonlinear rectifier load is shunted with the phases on the AC grid side to produce voltage distortion (distorted behavior). The OP4510 real-time simulator with four digital and analog I/O modules is used with a clock frequency of 2.1 GHz. The IKCM30F60GD fully isolated voltage source converter module is combined with three LV 25-P voltage sensors and three LA 25-NP hall effect current sensors to interface with a three-phase programmable source via an L filter, as shown in Figure 6. A 100 V DC supply is used as the DC link voltage. Hence, the maximum AC grid voltage in this case will be 28 V rms. For more details, Table 1 presents the system parameters.
Considering the measurement errors in Table 2, the grid voltages are biased, as shown in Figure 7. By applying the empirically determined values of the Kalman covariance matrices given by (36) and (37), the estimated positive fundamental α β components presented in Figure 8 behave more accurately using the modified ECKF compared with the conventional ECKF. On the other hand, the DC offsets and phase shift errors in the estimated negative α β components are obvious in the case of conventional ECKF, as illustrated in Figure 9. Consequently, a zoomed view is presented in Figure 10 to configure the reference currents calculated based on the estimated symmetrical components in the case of conventional ECKF or modified ECKF.
Q = 5 e 17 0 0 0 5 e 6 0 0 0 5 e 6
R = 100
To investigate the effectiveness of the modified ECKF over the conventional one, the frequency responses of the accompanying reference currents are presented in Figure 11. The main observation is the appearance of a 2nd order harmonic component in the case of conventional ECKF as a result of the false estimation of positive and negative components. Therefore, the total harmonic distortion (THD) in the case of modified ECKF is much smaller than that of the conventional ECKF.
The three-phase grid currents are illustrated in Figure 12 and Figure 13 in the case of conventional and modified ECKF, respectively. More smooth output currents are provided in the case of modified ECKF, as shown in Figure 13. Moreover, the modified ECKF offers a better estimation for the grid frequency, as shown in Figure 14. On the other side, the predicted grid frequency oscillates in the case of conventional ECKF.

7. Discussion

The proposed technique ECKF has been introduced to estimate the sequence components of biased, unbalanced, and distorted grid voltages caused by the existence of DC offsets generated from the measurement and A/D conversion stages.
The simulation results show that the conventional ECKF provides a poor response compared with the modified ECKF in the case of biased grid voltages. In addition, an experimental setup is introduced where the FCS model predictive current controller is used and the reference currents are generated based on the positive and negative fundamental components estimated by using the conventional and modified ECKF. Experimental results have been introduced to validate the priority of the proposed ECKF over the conventional one in the case of unbalanced and distorted conditions. As illustrated in Table 3, the current THD in the case of modified ECKF is reduced by 80% compared with the conventional one.
In general, the modified ECKF estimator achieves less total harmonic distortion and corrects current magnitudes and phase angles as compared with the conventional ECKF filter presented in the literature.
It is worth noting that this proposed ECKF is unable to deal with even harmonics due to possible nonlinearities and asymmetries, which are postponed for future work. This point can be useful for current tracking in grid-tie uncontrolled rectifier applications.

8. Conclusions

In this paper, the proposed ECKF filter has been introduced to estimate the positive and negative sequence components of biased, unbalanced, and distorted grid conditions of grid-tie transformerless converters while considering the existence of a DC offset generated from measurement and an A/D conversion. The proposed ECKF estimator presents better estimated results compared with the conventional ECKF used in the literature. The current harmonic distortion is reduced by 80% and, consequentially, yields a better performance in the overall current control structure.

Author Contributions

Conceptualization, M.E.-N.; methodology, M.E.-N., K.A. and A.S.A.-K.; software, M.E.-N.; validation, M.E.-N.; formal analysis, E.H. and M.S.H.; investigation, M.E.-N.; resources, A.S.A.-K.; data curation, M.E.-N., K.A. and A.S.A.-K.; writing—original draft preparation, M.E.-N.; writing—review and editing, M.E.-N. and A.S.A.-K.; visualization, M.E.-N.; supervision, M.E.-N., K.A. and A.S.A.-K.; project administration, K.A. and A.S.A.-K.; funding acquisition, S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Due to the need for follow-up research, participants of this study did not agree for their data to be shared publicly, so supporting data are not available.

Conflicts of Interest

All authors certify that they have no affiliations with or involvement in any organization or entity with any financial or non-financial interests in the subject matter or materials discussed in this manuscript.

References

  1. Meral, M.E.; Çelík, D. A comprehensive survey on control strategies of distributed generation power systems under normal and abnormal conditions. Annu. Rev. Control 2019, 47, 112–132. [Google Scholar] [CrossRef]
  2. Verma, A.K.; Jarial, R.K.; Roncero-Sanchez, P.; Ungarala, M.R.; Guerrero, J.M. An Improved Hybrid Prefiltered Open-Loop Algorithm for Three-Phase Grid Synchronization. IEEE Trans. Ind. Electron. 2020, 68, 2480–2490. [Google Scholar] [CrossRef]
  3. Chedjara, Z.; Massoum, A.; Wira, P.; Safa, A.; Gouichiche, A. A fast and robust reference current generation algorithm for three-phase shunt active power filter. Int. J. Power Electron. Drive Syst. IJPEDS 2022, 12, 121. [Google Scholar] [CrossRef]
  4. Ahmed, H.; Çelik, D. Sliding mode based adaptive linear neuron proportional resonant control of Vienna rectifier for performance improvement of electric vehicle charging system. J. Power Sources 2022, 542, 231788. [Google Scholar] [CrossRef]
  5. Safa, A.; Gouichiche, A.; Verma, A.K.; Su, C.-L.; Chedjara, Z.; Messlem, Y.; Berkouk, E.M. Open Loop Synchronization Techniques Benchmarking for Distributed Energy Sources Connection. IEEE Access 2022, 10, 63554–63566. [Google Scholar] [CrossRef]
  6. Çelik, D. Lyapunov based harmonic compensation and charging with three phase shunt active power filter in electrical vehicle applications. Int. J. Electr. Power Energy Syst. 2022, 136, 107564. [Google Scholar] [CrossRef]
  7. Al-Majidi, S.D.; Al-Nussairi, M.K.; Mohammed, A.J.; Dakhil, A.M.; Abbod, M.F.; Al-Raweshidy, H.S. Design of a Load Frequency Controller Based on an Optimal Neural Network. Energies 2022, 15, 6223. [Google Scholar] [CrossRef]
  8. Lubura, S.; Šoja, M.; Lale, S.; Ikić, M. Single-phase phase locked loop with DC offset and noise rejection for photovoltaic inverters. IET Power Electron. 2014, 7, 2288–2299. [Google Scholar] [CrossRef]
  9. Basso, T. IEEE standard for interconnecting distributed resources with the electric power system. In Proceedings of the IEEE Pes Meeting, College Station, TX, USA, 30 March–1 April 2004; p. 1. [Google Scholar]
  10. Gonzalez, R.; Lopez, J.; Sanchis, P.; Marroyo, L. Transformerless Inverter for Single-Phase Photovoltaic Systems. IEEE Trans. Power Electron. 2007, 22, 693–697. [Google Scholar] [CrossRef]
  11. Xiaoqiang, G.; Herong, G.; Guocheng, S. DC injection control for grid-connected inverters based on virtual capacitor concept. In Proceedings of the 2008 International Conference on Electrical Machines and Systems, Wuhan, China, 17–20 October 2008; pp. 2327–2330. [Google Scholar]
  12. Armstrong, M.; Atkinson, D.J.; Johnson, C.M.; Abeyasekera, T.D. Auto-calibrating DC link current sensing technique for transformerless, grid connected, H-bridge inverter systems. IEEE Trans. Power Electron. 2006, 21, 1385–1393. [Google Scholar] [CrossRef]
  13. Bowtell, L.; Ahfock, A. Direct current offset controller for transformerless single-phase photovoltaic grid-connected in-verters. IET Renew. Power Gener. 2010, 4, 428–437. [Google Scholar] [CrossRef] [Green Version]
  14. Buticchi, G.; Lorenzani, E.; Franceschini, G. A DC Offset Current Compensation Strategy in Transformerless Grid-Connected Power Converters. IEEE Trans. Power Deliv. 2011, 26, 2743–2751. [Google Scholar] [CrossRef]
  15. Guofeng, H.; Xu, D. A novel DC loop current control strategy for paralleled UPS inverter system based on decoupled control scheme. In Proceedings of the 2012 IEEE International Symposium on Industrial Electronics, Hangzhou, China, 28–31 May 2012; pp. 70–75. [Google Scholar] [CrossRef]
  16. Ahfock, T.L.; Bowtell, L. DC offset elimination in a single-phase grid-connected photovoltaic system. In Proceedings of the 16th Australasian Universities Power Engineering Conference (AUPEC 2006), Melbourne, VIC, Canada, 10–13 December 2006. [Google Scholar]
  17. Menniti, D.; Pinnarelli, A. A novel compensation approach for DC current component in a grid-connected photovoltaic generation system. In Proceedings of the 2012 IEEE Power and Energy Society General Meeting, San Diego, CA, USA, 22–26 July 2012. [Google Scholar] [CrossRef]
  18. Song, W.; Feng, X.; Smedley, K.M. A Carrier-Based PWM Strategy with the Offset Voltage Injection for Single-Phase Three-Level Neutral-Point-Clamped Converters. IEEE Trans. Power Electron. 2012, 28, 1083–1095. [Google Scholar] [CrossRef]
  19. Yan, Q.; Wu, X.; Yuan, X.; Geng, Y.; Zhang, Q. Minimization of the DC Component in Transformerless Three-Phase Grid-Connected Photovoltaic Inverters. IEEE Trans. Power Electron. 2014, 30, 3984–3997. [Google Scholar] [CrossRef]
  20. Chung, D.-W.; Sul, S.-K. Analysis and compensation of current measurement error in vector-controlled AC motor drives. IEEE Trans. Ind. Appl. 1998, 34, 340–345. [Google Scholar] [CrossRef]
  21. Jung, H.-S.; Hwang, S.-H.; Kim, J.-M.; Kim, C.-U.; Choi, C. Diminution of current-measurement error for vector-controlled AC motor drives. IEEE Trans. Ind. Appl. 2006, 42, 1249–1256. [Google Scholar] [CrossRef]
  22. Trinh, Q.N.; Wang, P.; Tang, Y.; Choo, F.H. Mitigation of DC and Harmonic Currents Generated by Voltage Measurement Errors and Grid Voltage Distortions in Transformerless Grid-Connected Inverters. IEEE Trans. Energy Convers. 2017, 33, 801–813. [Google Scholar] [CrossRef]
  23. He, G.; Xu, D.; Chen, M. A Novel Control Strategy of Suppressing DC Current Injection to the Grid for Single-Phase PV Inverter. IEEE Trans. Power Electron. 2014, 30, 1266–1274. [Google Scholar] [CrossRef]
  24. Suzuki, S.; Yoshida, M. Elevator Control Apparatus with Compensation for Current Sensor Offset Voltage. U.S. Patent 5,407,027, 18 April 1995. [Google Scholar]
  25. Wang, Y.F.; Li, Y.W. Grid synchronization PLL based on cascaded delayed signal cancellation. IEE Proc. Electr. Power Appl. 2010, 26, 1987–1997. [Google Scholar] [CrossRef]
  26. Mellouli, M.; Hamouda, M.; Slama, J.B.H.; Al-Haddad, K. A Third-Order MAF Based QT1-PLL That is Robust Against Harmonically Distorted Grid Voltage With Frequency Deviation. IEEE Trans. Energy Convers. 2021, 36, 1600–1613. [Google Scholar] [CrossRef]
  27. Du, L.; Li, M.; Tang, Z.; Xiong, L.; Ma, X.; Tang, G. A Fast Positive Sequence Components Extraction Method with Noise Immunity in Unbalanced Grids. IEEE Trans. Power Electron. 2019, 35, 6682–6685. [Google Scholar] [CrossRef]
  28. Li, J.; Wang, Q.; Xiao, L.; Hu, Y.; Wu, Q.; Liu, Z. An αβ-Frame Moving Average Filter to Improve the Dynamic Performance of Phase-Locked Loop. IEEE Access 2020, 8, 180661–180671. [Google Scholar] [CrossRef]
  29. Liu, X.; Wu, B.; Xiu, L. A Fast Positive-Sequence Component Extraction Method with Multiple Disturbances in Unbalanced Conditions. IEEE Trans. Power Electron. 2022, 37, 8820–8824. [Google Scholar] [CrossRef]
  30. Al-Majidi, S.D.; Abbod, M.F.; Al-Raweshidy, H.S. Maximum Power Point Tracking Technique based on a Neural-Fuzzy Approach for Stand-alone Photovoltaic System. In Proceedings of the 55th International Universities Power Engineering Conference, Torino, Italy, 1–4 September 2020; pp. 1–6. [Google Scholar] [CrossRef]
  31. Li, X.; Lin, H. A Design Method of Phase-Locked Loop for Grid-Connected Converters Considering the Influence of Current Loops in Weak Grid. IEEE J. Emerg. Sel. Top. Power Electron. 2019, 8, 2420–2429. [Google Scholar] [CrossRef]
  32. Zhu, D.; Zhou, S.; Zou, X.; Kang, Y. Improved Design of PLL Controller for LCL-Type Grid-Connected Converter in Weak Grid. IEEE Trans. Power Electron. 2019, 35, 4715–4727. [Google Scholar] [CrossRef]
  33. Guo, X.; Wu, W.; Chen, Z. Multiple-Complex Coefficient-Filter-Based Phase-Locked Loop and Synchronization Technique for Three-Phase Grid-Interfaced Converters in Distributed Utility Networks. IEEE Trans. Ind. Electron. 2010, 58, 1194–1204. [Google Scholar] [CrossRef]
  34. Karimi-Ghartemani, M.; Iravani, M.R. A Method for Synchronization of Power Electronic Converters in Polluted and Variable-Frequency Environments. IEEE Trans. Power Syst. 2004, 19, 1263–1270. [Google Scholar] [CrossRef]
  35. Teodorescu, R.; Liserre, M.; Rodríguez, P. Grid synchronization in threephase power converters. In Grid Converters for Photovoltaic and Wind Power Systems; IEEE: Piscataway, NJ, USA, 2007; pp. 169–204. [Google Scholar]
  36. Jin, N.; Gan, C.; Guo, L. Predictive Control of Bidirectional Voltage Source Converter with Reduced Current Harmonics and Flexible Power Regulation Under Unbalanced Grid. IEEE Trans. Energy Convers. 2017, 33, 1118–1131. [Google Scholar] [CrossRef]
  37. Nishiyama, K. A nonlinear filter for estimating a sinusoidal signal and its parameters in white noise: On the case of a single sinusoid. IEEE Trans. Signal Process. 1997, 45, 970–981. [Google Scholar] [CrossRef] [Green Version]
  38. Dash, P.; Panda, G.; Pradhan, A.; Routray, A.; Duttagupta, B. An extended complex Kalman filter for frequency measurement of distorted signals. EEE Trans. Instrum. Meas. 2002, 49, 746–753. [Google Scholar] [CrossRef] [Green Version]
  39. Dash, P.K.; Pradhan, A.K.; Panda, G. Frequency estimation of distorted power system signals using extended complex Kalman filter. IEEE Trans. Power Deliv. 1999, 14, 761–766. [Google Scholar] [CrossRef] [Green Version]
  40. Huang, C.-H.; Lee, C.-H.; Shih, K.-J.; Wang, Y.-J. Frequency Estimation of Distorted Power System Signals Using a Robust Algorithm. IEEE Trans. Power Deliv. 2007, 23, 41–51. [Google Scholar] [CrossRef]
  41. Ahmed, K.; Massoud, A.; Finney, S.; Williams, B.J.I.P.E. Autonomous adaptive sensorless controller of inverter-based islanded-distributed generation system. IET Power Electron. 2009, 2, 256–266. [Google Scholar] [CrossRef]
  42. Andrew, E.T.; Ahmed, K.H.; Holliday, D. A New Model Predictive Current Controller for Grid-Connected Converters in Unbalanced Grids. IEEE Trans. Power Electron. 2022, 37, 9175–9186. [Google Scholar] [CrossRef]
  43. El-Nagar, M.; Elattar, O.; Ahmed, K.; Hamdan, E.; Abdel-Khalik, A.S.; Hamad, M.S.; Ahmed, S. Space vector-based model predictive current controller for grid-connected converter under unbalanced and distorted grid without a phase-locked loop. Alex. Eng. J. 2023, 77, 265–281. [Google Scholar] [CrossRef]
  44. Pérez-Guzmán, R.E.; Rivera, M.; Wheeler, P.W. Recent advances of predictive control in power converters. In Proceedings of the 2020 IEEE International Conference on Industrial Technology (ICIT), Buenos Aires, Argentina, 6–28 February 2020; pp. 1100–1105. [Google Scholar]
Figure 1. The modified extended complex Kalman filter.
Figure 1. The modified extended complex Kalman filter.
Applsci 13 09023 g001
Figure 2. Block diagram of grid-tie PV converter with FCS-MPC current control structure.
Figure 2. Block diagram of grid-tie PV converter with FCS-MPC current control structure.
Applsci 13 09023 g002
Figure 3. The a b c grid voltages, positive and negative fundamental α β components in case of (a) conventional ECKF, and (b) modified ECKF.
Figure 3. The a b c grid voltages, positive and negative fundamental α β components in case of (a) conventional ECKF, and (b) modified ECKF.
Applsci 13 09023 g003
Figure 4. The reference and the estimated values of positive and negative components of grid phases a ,   b , and c grid voltages in case of (a) conventional ECKF, and (b) modified ECKF.
Figure 4. The reference and the estimated values of positive and negative components of grid phases a ,   b , and c grid voltages in case of (a) conventional ECKF, and (b) modified ECKF.
Applsci 13 09023 g004
Figure 5. The reference and the estimated grid fundamental frequency in case of conventional and modified ECKF.
Figure 5. The reference and the estimated grid fundamental frequency in case of conventional and modified ECKF.
Applsci 13 09023 g005
Figure 6. Experimental test setup.
Figure 6. Experimental test setup.
Applsci 13 09023 g006
Figure 7. Three-phase grid voltages (unbalanced distorted conditions).
Figure 7. Three-phase grid voltages (unbalanced distorted conditions).
Applsci 13 09023 g007
Figure 8. The estimated positive fundamental α β components in case of conventional and modified ECKF.
Figure 8. The estimated positive fundamental α β components in case of conventional and modified ECKF.
Applsci 13 09023 g008
Figure 9. The estimated negative fundamental α β components in case of conventional and modified ECKF.
Figure 9. The estimated negative fundamental α β components in case of conventional and modified ECKF.
Applsci 13 09023 g009
Figure 10. Zoomed view for the reference currents in case of conventional and modified ECKF.
Figure 10. Zoomed view for the reference currents in case of conventional and modified ECKF.
Applsci 13 09023 g010
Figure 11. The frequency response of the reference currents in case of (a) conventional ECKF and (b) modified ECKF.
Figure 11. The frequency response of the reference currents in case of (a) conventional ECKF and (b) modified ECKF.
Applsci 13 09023 g011
Figure 12. Three-phase grid currents in case of conventional ECKF. Phase a is in green colour, b is violet, and c is blue.
Figure 12. Three-phase grid currents in case of conventional ECKF. Phase a is in green colour, b is violet, and c is blue.
Applsci 13 09023 g012
Figure 13. Three-phase grid currents in case of modified ECKF.
Figure 13. Three-phase grid currents in case of modified ECKF.
Applsci 13 09023 g013
Figure 14. The estimated grid frequency in case of conventional and modified ECKF.
Figure 14. The estimated grid frequency in case of conventional and modified ECKF.
Applsci 13 09023 g014
Table 1. Hardware parameters.
Table 1. Hardware parameters.
ParametersSymbolValue (Unit)
Grid phase voltage (RMS) v g a b c m 28 V
Grid fundamental frequency f 1 50 Hz
Switching frequency f s w 10 kHz
DC link voltage V d c 100 V
Filter InductanceL6.7 mH
Filter ResistanceR1.6 Ω
Table 2. Scaling errors and measurement offsets.
Table 2. Scaling errors and measurement offsets.
Δ k a −0.02 V a s +2.5
Δ k b −0.08 V b s −2
Δ k c +0.08 V c s −1.5
Table 3. THD results.
Table 3. THD results.
Conventional ECKFModified ECKFReduction Percentage
T H D 7.81 T H D 1.58Reduction80%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

El-Nagar, M.; Ahmed, K.; Hamdan, E.; Abdel-Khalik, A.S.; Hamad, M.S.; Ahmed, S. Modified Extended Complex Kalman Filter for DC Offset and Distortion Rejection in Grid-Tie Transformerless Converters. Appl. Sci. 2023, 13, 9023. https://doi.org/10.3390/app13159023

AMA Style

El-Nagar M, Ahmed K, Hamdan E, Abdel-Khalik AS, Hamad MS, Ahmed S. Modified Extended Complex Kalman Filter for DC Offset and Distortion Rejection in Grid-Tie Transformerless Converters. Applied Sciences. 2023; 13(15):9023. https://doi.org/10.3390/app13159023

Chicago/Turabian Style

El-Nagar, Mohammed, Khaled Ahmed, Eman Hamdan, Ayman S. Abdel-Khalik, Mostafa S. Hamad, and Shehab Ahmed. 2023. "Modified Extended Complex Kalman Filter for DC Offset and Distortion Rejection in Grid-Tie Transformerless Converters" Applied Sciences 13, no. 15: 9023. https://doi.org/10.3390/app13159023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop