Next Article in Journal
A Hybrid Reproducing Kernel Particle Method for Three-Dimensional Helmholtz Equation
Previous Article in Journal
Dynamics for a Ratio-Dependent Prey–Predator Model with Different Free Boundaries
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Complex-Valued Stationary Kalman Filter for Positive and Negative Sequence Estimation in DER Systems

by
Ricardo Pérez-Ibacache
1,
Rodrigo Carvajal
2,
Ramón Herrera-Hernández
2,
Juan C. Agüero
3 and
César A. Silva
3,*
1
The Thinking Pod Innovation, Nottingham NG7 2TU, UK
2
School of Electrical Engineering, Pontificia Universidad Católica de Valparaíso, Av. Brasil 2147, Valparaíso 2362804, Chile
3
Departamento de Electrónica, Universidad Técnica Federico Santa María, Av. España 1680, Valparaíso 2390123, Chile
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(12), 1899; https://doi.org/10.3390/math12121899
Submission received: 20 April 2024 / Revised: 4 June 2024 / Accepted: 13 June 2024 / Published: 19 June 2024
(This article belongs to the Section Engineering Mathematics)

Abstract

:
In medium- and low-voltage three-phase distribution networks, the load imbalance among the phases may compromise the network voltage symmetry. Inverter-interfaced distributed energy resources (DERs) can contribute to compensating for such imbalances by sharing the required negative sequence current while providing active power synchronized with the positive sequence voltage. However, positive and negative sequences are conventionally defined in a steady state and are not directly observed from the instantaneous voltage and current measurements at the DER unit’s point of connection. In this article, an estimation algorithm for sequence separation based on the Kalman filter is proposed. Furthermore, the proposed filter uses a complex vector representation of the asymmetric three-phase signals in synchronous coordinates to allow for the implementation of the Kalman filter in its stationary form, resulting in a simple dynamic filter able to estimate positive and negative sequences even during transient operation. The proposed stationary complex Kalman filter performs better than state-of-the-art techniques like DSOGI and very similarly to other Kalman filter implementations found in the literature but at a fraction of its computational cost (23.5%).

1. Introduction

Inverter-interfaced distributed energy resources (DERs) are increasingly common in three-phase distribution networks, forming microgrids at medium or low voltage. The microgrid concept offers numerous benefits, including the capacity to integrate renewable energy sources near the loads, the integration of energy storage devices, and the possibility of islanded operation [1]. The DER units in a microgrid also can provide support for a host of power quality issues. For example, when the microgrid operates in a grid-connected mode, the sharing of reactive power by the DERs contributes to the local voltage regulation [2]. Among the challenges in power quality management, the compensation of imbalance is a significant one where DERs can make a substantial contribution. Unbalanced loads are characteristic of low-voltage networks and demand asymmetric currents that, in turn, can considerably affect the symmetry of the microgrid’s voltage. This may be exacerbated during asymmetric faults. In such cases, the DER units are required to remain in operation, at least temporarily, compensating some of the imbalance [3]. In [4], a current reference strategy including an explicit negative sequence component is suggested to contribute to voltage equalization during asymmetric fault ride-through. The compensation of imbalance is particularly important in the islanded mode of operation [5,6,7,8] where the DERs must supply the whole of the imbalance currents.
The implementation of appropriate control algorithms for unbalanced voltage support in unbalanced grids requires the decoupling of the so-called positive and negative sequences of asymmetrical three-phase voltages and currents. Typically, the voltage sequence components are used for current reference generation, and the current sequence components are used directly for feedback in the inner current control loop; see, e.g., [8]. Thus, the dynamic response of the current sequence separation algorithm influences the system’s response and should be considered in the control design for optimal performance. However, this aspect is, to the best of our knowledge, overlooked in the literature.
The concept of positive and negative sequence components in asymmetric three-phase systems was introduced by Fortescue [9] more than one hundred years ago, and stems from the fact that real sinusoidal signals can be expressed in terms of two complex exponentials of positive and negative frequencies, i.e., e j ω and e j ω via Fourier series. Hence, one of the main characteristics of the Fortescue transformation is that it only applies to the steady-state regime. Afterwards, Clarke [10] introduced the idea of instantaneous complex vector transformation applicable to time-domain signals in transient regimes. Although this transformation does not include an explicit sequence separation, both Fortescue and Clarke transformations are strongly interconnected [11,12]; the former is applicable to signals in phasor representation, whereas the latter in the time domain. As a matter of fact, the Clarke transformation [10] yields a representation of the three three-phase signals in a coordinate system aligned with the direction of its average (or common mode) and a plane orthogonal to this common mode, the so-called α β plane [13]. The electrical quantities of interest can then be represented as a vector, [ s α s β ] T R 2 , or in complex representation s α β C . In this plane, the pure positive and negative sequences of a stationary three-phase system would be fixed magnitude complex signals that rotate in opposite directions at a fixed (synchronous) frequency. However, in this representation, both positive and negative sequences are condensed in a single quantity. The Clarke transformation leads to a more general representation of arbitrary signals that may include transients, harmonics, and noise. Unfortunately, there is no bijective transformation that separates the positive and negative sequence components from the resulting complex signal. Therefore, the positive and negative sequences can only be estimated by a dynamic algorithm, such as filters or observers.
Possibly the best-known algorithm for sequence separation is the delayed signal cancellation method [14]. This method uses a linear combination of the complex representation of the electrical quantities of interest s α β with a version of itself delayed by a quarter of its fundamental period ( T / 4 ). The only dynamic element on this filter is delay, and the rest are algebraic calculations. Therefore, this algorithm does not perform well with distorted signals or during transients. A family of methods that do incorporate filtering in the classical sense stems from the synchronous reference frame phase-locked loop (SRF-PLL) of [15]. To better handle unbalance, the use of two synchronous rotating frames (in opposite directions) and a decoupling network has been proposed in the double synchronous reference frame PLL (DSRF-PLL) [16]. The decoupled double synchronous reference frame (DDSRF) algorithm can be used for sequence separation [4]. Another family of synchronization methods is based on the second-order generalized integrator (SOGI-PLL) [17], originally devised to make use of the advantages of complex signal processing on single-phase (real) signals. The second-order generalized integrator is an adaptive band-pass filter centered at the fundamental frequency, providing additional filtering with respect to SRF-based methods and improving its handling of distorted signals. By applying the SOGI method to both components ( α , β ) in an unbalanced system and using a decoupling network, the double second-order generalized integrator PLL (DSOGI-PLL) [18] and its frequency-locked loop variant DSOGI-FLL [19] can separate the positive and negative sequences effectively. For these reasons, the DSOGI has become a well-established method for sequence separation and synchronization in distorted and weak grids [20] and can be used as a benchmark for other methods. However, all the DDSRF- and DSOGI-based methods rely on coordinate rotations, filters, and linear combinations of the signals, resulting in deterministic implementations. The random nature of the sequence separation problem has been acknowledged in [21], which has led to the utilization of stochastic estimation techniques. In [21], a complex-valued Kalman filter is used to estimate the positive sequence and negative sequences. Moreover, the order of the model is expanded to estimate harmonic components. In [22,23], the problem of sequence separation is tackled together with the frequency estimation problem by implementing an extended Kalman filter (EKF). The idea of utilizing a complex-valued model was further explored in [24], where an extended model was developed and the estimation was carried out using a complex-valued EKF. However, the EKF approach in real-time closed-loop applications presents a high computational load and results in an uncertain dynamic response.
In many of the techniques described above, the real and imaginary components of the complex variables that arise from the transformations are treated separately, favoring vector [ s α s β ] T (real) representation. This approach disregards the compactness and analytical advantages of dealing directly with complex-valued variables. The processing of complex signals ( s C ) has many advantages over the processing of real signals and this fact is used extensively in many sub-fields of electrical and electronic engineering, for example, in signal processing and communications (see, e.g., [25] and the references therein) and in drive control [26]. On the other hand, the advantage of using complex signals in sequence separation has been recognized in [21], where the real and imaginary parts of the process noise and measurement noise are assumed mutually independent. In this paper, the solution of the sequence estimation by a complex time-varying Kalman filter (KF) proposed in [21] is reviewed in detail in terms of the statistical properties of the process noise and measurement noise allowing for a straightforward implementation of the complex-valued Kalman filter, in which the transpose operator is simply replaced by the hermitian (conjugated transpose) operator. Moreover, in this paper, a linear transformation of the state variable is proposed, resulting in a stationary solution of the Kalman filter [27]. This complex-valued stationary KF for sequence separation is the main contribution of the article and leads to a sequence estimation algorithm with similar performance to the conventional (real valued) time-varying KF, but at a fraction of the computational cost. Additionally, this stationary filter results in a constant and predictable dynamic performance, facilitating its incorporation into the control design. The benefits of this property for modern control design are illustrated in a numerical example.

2. Problem Statement

2.1. Asymmetrical Three-Phase Signals in Stationary Coordinates

The discrete-time sampled signals in a three-phase unbalanced electrical network (the voltages or the currents) can be expressed as
s a b c [ k ] = s a [ k ] cos ( θ s [ k ] + φ a [ k ] ) s b [ k ] cos ( θ s [ k ] 2 π / 3 + φ b [ k ] ) s c [ k ] cos ( θ s [ k ] + 2 π / 3 + φ c [ k ] ) ,
where amplitudes s a , s b , s c and phases φ a , φ b , φ c , in general, are different from each other in asymmetric systems and may be time-varying, i.e., they are a function of k (the discrete-time index), to include the description of transient operations. However, in grid applications, the frequency of these signals ( ω s ) is nearly constant and known by the local controllers. Therefore, considering sampling time T s , the phase of the corresponding sinusoidal waves at time instant k can be estimated as θ s [ k ] = θ s [ k 1 ] + ω s T s .
The Clarke transformation maps the three-phase asymmetrical signals into a complex variable s α β C , plus a real common mode s γ R or a zero-sequence component. The trajectory of complex variable s α β is said to be in a stationary α β reference frame. The γ or the zero-sequence component, by definition, does not contribute to the positive or negative components and is consequently disregarded hereinafter. Hence, the Clarke transformation from s a b c R 3 to s α β C can be expressed as
s α β = 2 3 1 a a 2 T s a b c .
with a = e j 2 π 3 . Before advancing to the Clarke transformation of the signals of (1), it is convenient to express this equation using the Euler form of the cosine function, cos η = e j η + e j η 2 . Thus,
s a b c [ k ] = 1 2 s a [ k ] 0 0 0 s b [ k ] 0 0 0 s c [ k ] e j φ a [ k ] e j φ a [ k ] e j ( φ b [ k ] 2 π 3 ) e j ( φ b [ k ] 2 π 3 ) e j ( φ c [ k ] + 2 π 3 ) e j ( φ c [ k ] + 2 π 3 ) e j θ s [ k ] e j θ s [ k ] .
Applying (2) to (3), obtain the asymmetrical three-phase signal in the complex α β frame as
s α β [ k ] = 1 3 s a [ k ] e j φ a [ k ] + s b [ k ] e j φ b [ k ] + s c [ k ] e j φ c [ k ] e j θ s [ k ] s α β + [ k ] + 1 3 s a [ k ] e j φ a [ k ] + s b [ k ] e j ( φ b [ k ] + 2 π 3 ) + s c [ k ] e j ( φ c [ k ] 2 π 3 ) e j θ s [ k ] s α β [ k ]
The expression in (4) corresponds to a single complex variable that can be written as the sum of two complex components rotating at synchronous frequency, one in the counter-clockwise direction (conventionally known as the positive sequence) and the other clockwise (the negative sequence). Even though Equation (4) is rigorously valid for steady-state conditions, i.e., with constant amplitudes { s a , s b , s c } and phases { φ a , φ b , φ c } , it does not describe exactly the sequence separation in transient conditions. When a causally changing event occurs in any of the variables (amplitudes { s a [ k ] , s b [ k ] , s c [ k ] } and/or of the phases { φ a [ k ] , φ b [ k ] , φ c [ k ] } ), it introduces additional frequency components. To account for this, it is assumed that there is uncertainty in the components of s α β [ k ] . Furthermore, it is considered that this uncertainty can be grouped in error signal ε α β with known stochastic properties. Therefore, Equation (4) can be expressed as
s α β [ k ] = s α β + [ k ] + s α β [ k ] + ε α β [ k ] ,
where s α β + , s α β C . In addition, the simplifying assumption that ε α β C is a circularly symmetric complex-valued Gaussian random variable is made, such that ε α β CN 0 , R α β , with R α β = σ 2 . For details on complex-valued Gaussian random variables, see Appendix B.
Given that the asymmetrical signal (1) can now be expressed in the α β frame as (5), and that the statistical properties of ε α β are defined, the estimation of s α β + and s α β could be solved in this reference frame. Nevertheless, it may be convenient to express the variables on a synchronous reference frame.

2.2. An Asymmetrical Three-Phase Signal Expressed on a Synchronous d q Reference Frame

The original Park transformation [28] expresses the electrical variables measured in their natural a b c per-phase coordinates into a d q reference frame that rotates synchronously with the positive sequence of the electrical variables. The same result is obtained by applying the previously discussed Clarke transformation and a coordinate rotation [13], and this procedure is employed hereinafter. As the frequency is known to be ω s , and the orientation angle can be arbitrarily chosen, without loss of generality, the orientation angle can be assumed to be θ s [ k ] . To rotate the signal (5) to the d q frame, rotation s d q [ k ] = s α β [ k ] e j θ s [ k ] is performed, leading to
s d q [ k ] = s d q + [ k ] + s d q [ k ] e j 2 θ s [ k ] + ε d q [ k ] ,
where the noise in d q is
ε d q [ k ] = ε α β [ k ] e j θ s [ k ] .
As stochastic variable ε α β was assumed to be circularly symmetric, the stochastic properties remain invariant under rotations, that is,
E { ε d q } = 0 , R d q = R α β .
It is worth noting that quantities s d q + and s d q from (4), in steady state, are constant complex numbers, akin to conventional phasors. With the signals expressed in the synchronous d q reference frame as given by (6), the estimation problem determines the positive ( s d q + [ k ] ) and negative ( s d q [ k ] ) complex-valued sequence components from observed variable s d q , even during transient conditions.

3. Modeling and Estimation of the Complex Positive and Negative Sequence Components

The asymmetrical three-phase signals have been expressed as a complex variable in a d q reference frame in (6). Here, s d q C is the observed or output variable, and s d q + , s d q C are its positive and negative sequence components to be estimated, i.e., the state of the system to be estimated. In other words, (6) can be thought of as the output equation of a dynamic system. Unfortunately, the term e j 2 θ s provides a time-varying characteristic to the dynamic model. Another difficulty to overcome is that the sequence components, i.e., the state of the system, depend on unknown conditions, like load imbalance, for example. Therefore, it may be concluded that an accurate dynamic model is not readily available for the system of interest. However, it can be safely assumed that x [ k ] = [ s d q + s d q ] T is a constant variable at steady state. Hence, its dynamic behavior may be modeled as an uncorrelated Gaussian random walk:
x [ k + 1 ] = x [ k ] + w [ k ] ,
with x [ k ] = s d q + [ k ] s d q [ k ] T C 2 , and w [ k ] C 2 a zero mean circularly symmetric (i.e., proper) complex Gaussian random variable with variance Q , w [ k ] CN { 0 , Q } .
In the following, estimation algorithms that consider both the simplified dynamic model (9) and its time-varying output Equation (6) are proposed. Since the original problem is formulated in the complex plane, the use of the complex-valued Kalman filter (CKF) [21,29] is also considered in this section as a more compact alternative. Finally, based on the representation of the system in complex form, a linear transformation is used, assigning the time-varying term to the actual signal to be estimated, resulting in a time-invariant model. By applying this transformation, the stationary complex-valued Kalman filter (SCKF) is deduced. This implementation greatly reduces the computational load of the sequence separation without loss of accuracy. These two algorithms are detailed next.

3.1. Complex-Valued Kalman Filter (CKF)

The dynamic model (9) and the output Equation (6) correspond to a complex-valued state-space formulation. This representation can be used, for instance, in the formulation of a time-varying linear quadratic estimator problem, with the well-known time-varying KF as the optimal solution [30]. For complex linear systems, the CKF can be formulated using the well-known structure of the real-valued KF [31] when the initial condition. The process noise and the measurement noise are all proper complex random variables. In this case, the transpose operator from the real-valued KF is simply replaced by the hermitian (conjugate transpose) operator; see e.g., [29]. More details about the derivation of the KF and the complex-valued KF are provided in Appendix A and Appendix B, respectively.
For implementation, the output Equation (6) can be written as
s d q [ k ] y [ k ] = 1 e j 2 θ s [ k ] C θ [ k ] s d q + [ k ] s d q [ k ] x [ k ] + ε d q [ k ] .
With the state and output equations in (9) and (10), respectively, the corresponding CKF is obtained:
K [ k ] = P [ k | k 1 ] C θ H [ k ] R + C θ [ k ] P [ k | k 1 ] C θ H [ k ] 1 , x [ k | k ] = x [ k | k 1 ] + K [ k ] y [ k ] C θ [ k ] x [ k | k 1 ] , P [ k | k ] = I K [ k ] C θ [ k ] P [ k | k 1 ] ,
In the algorithm, the time-variant part of C θ , e 2 j θ s [ k ] can be assumed to be known as the grid frequency is known by the local controllers, and the phase of the s d q frame is arbitrary.

3.2. Stationary Complex Kalman Filter (SCKF)

In this section, the main results of the article are presented. Here, a change in variables to the positive and negative sequence in state vector x [ k ] is introduced, given by (9) and (10), that yields a time-invariant model. For estimation purposes, this model simplifies the implementation and reduces the computational load of the associated Kalman filter. To that end, a new complex-valued random variable x ˜ [ k ] is estimated instead of x [ k ] . This new variable is defined as
x [ k ] = 1 0 0 e j 2 θ s [ k ] T x [ k ] x ˜ [ k ] .
By inserting (12) to output Equation (10), the new output Equation (13) is obtained:
y [ k ] = 1 1 C ˜ x ˜ [ k ] + ε d q [ k ] .
Similarly, transformation (12) can be applied to the time-evolution of the variables to be estimated in (9), yielding
T x [ k + 1 ] x ˜ [ k + 1 ] = T x [ k ] x ˜ [ k ] + w [ k ] .
As mentioned before, variable θ s [ k ] is known for each time instant k and its time domain model is given by θ s [ k + 1 ] = θ s [ k ] + ω s T s . Therefore, the time evolution of transformation T x [ k ] can be written as
T x [ k + 1 ] = 1 0 0 e j 2 ω s T s T x [ k ] ,
and the time evolution of x ˜ [ k ] is given by
x ˜ [ k + 1 ] = 1 0 0 e j 2 ω s T s A ˜ x ˜ [ k ] + w ˜ [ k ] ,
where w ˜ [ k ] = T x 1 [ k + 1 ] w [ k ] . Again, since w [ k ] is circularly symmetric and transformation T x [ k ] is a rotation in the complex plane, the vector of uncertainties preserves the original properties w ˜ [ k ] CN { 0 , Q } .
Finally, the CKF algorithm can be evaluated with state and output Equations (16) and (13), respectively, resulting in
x ˜ [ k | k 1 ] = A ˜ x ˜ [ k 1 | k 1 ] , P [ k | k 1 ] = A ˜ P [ k 1 | k 1 ] A ˜ H + Q , K [ k ] = P [ k | k 1 ] C ˜ H R + C ˜ P [ k | k 1 ] C ˜ H 1 , x ˜ [ k | k ] = x ˜ [ k | k 1 ] + K [ k ] y [ k ] C ˜ x ˜ [ k | k 1 ] , P [ k | k ] = I K [ k ] C ˜ P [ k | k 1 ] .
The matrices A ˜ and C ˜ are time-invariant and the pair { A ˜ , C ˜ } is detectable; therefore, the convergence of the complex Riccati equation associated to the estimation problem is ensured. Consequently, one can implement the stationary solution of the CKF (SCKF) without loss of estimation accuracy and at low computational complexity. Here, the time index “k” is replaced by the symbol “∞” to denote the quantities that converge (i.e., the filtered covariance and the Kalman gain) for the stationary filter. In order to obtain the corresponding SCKF algorithm, the following discrete-time complex algebraic Riccati equation should be solved:
P [ ] = Q + A ˜ P [ ] P [ ] C ˜ H R + C ˜ P [ ] C ˜ H 1 C ˜ P [ ] A ˜ H .
To solve the algebraic Riccati equation, numerical packages are widely available. One alternative that can handle complex entries is MATLAB R2023b (The MathWorks, Inc., Natick, MA, USA), using command idare(·). Then, given the numerical value of P [ ] , the stationary complex-valued Kalman gain can be found evaluating the following:
K [ ] = P [ ] C ˜ H R + C ˜ P [ ] C ˜ H 1 .
With the stationary complex-valued Kalman gain obtained, the implementation of the SCKF for x ˜ [ k | k ] is straightforward, and can be written as
x ˜ [ k | k ] = A ˜ K [ ] C ˜ A ˜ x ˜ [ k 1 | k 1 ] + K [ ] y [ k ] .
This is a recursive time-invariant algorithm with constant matrices { A ˜ , C ˜ , K [ ] } . Finally, solving (20) for each time instant k, the complex vector x ˜ [ k | k ] is found and the estimated positive and negative sequences are obtained by evaluating (12) for the estimated values. That is,
x [ k | k ] = T x [ k ] x ˜ [ k | k ] .
For the sequence estimation problem, transformation (12) is a simple and effective way to express the time-varying nature of the problem. As a consequence, the estimation problem results to be time-invariant in the new state space. Hence, the stationary solution of the complex-valued Kalman filter can be obtained, simplifying the implementation and significantly reducing computational cost, without loss of accuracy. The straightforward SCKF for the sequence separation problem is expressed in Algorithm 1.
Algorithm 1: Proposed SCKF Algorithm.
Mathematics 12 01899 i001

4. Simulation Results

To evaluate the performance of the proposed SCKF and to compare it to the performance obtained by the well-established DSOGI method [18,19,20], an open-loop sequence separation problem is simulated. A brief explanation of the DSOGI algorithm is included in Appendix C, and the interested reader can find further details in [20].
The simulated system for this test is depicted in Figure 1. It consists of a symmetrical three-phase voltage source of 111 V phase—neutral, an islanding transformer connected in Delta–Delta, with turn ratio 1 : 3 , and a three-phase resistive load with R = 47 Ω per phase. This load is intentionally unbalanced to produce asymmetrical three-phase current waveforms by disconnecting load phase b.
For the implementation of the SCKF estimator, the values of the state and measurement noise covariance matrices, Q and R are required. These serve as tuning parameters for the simulation. In the interest of fairness, the same values used for the experimental testing discussed in the next section are also used in the simulation. These values can be found in Table 1. Noise covariance matrices were selected by trial and error. On the other hand, the DSOGI algorithm only has one tuning parameter, and value gain k = 2 used in [18,19,20] is considered.
A thousand Monte Carlo simulations were carried out, which is equivalent to measuring the same event a thousand times. Figure 2 shows the mean of the Monte Carlo simulation results. To examine and compare the estimation performance of each method, the separated sequence currents are presented in positive and negative rotating d q frames, respectively. These results show that, although both algorithms are efective in achieving sequence separation, the SCKF has a faster response than DSOGI.

5. Experimental Validation

To confirm the aforementioned results, experimental tests are run in real time to evaluate the performance of the SCKF proposed in Section 3.2. Two different case studies are considered to validate the effectiveness of our proposal: an open-loop sequence separation problem and a closed-loop current control application. In the first case, a three-phase resistive load connected to the grid is severely unbalanced, resulting in a fast transition from symmetric to asymmetric currents replicating experimentally the simulation of the previous section using a balanced star-connected resistive load of 47 Ω , 1 kW per phase and a circuit breaker in phase b to produce the imbalance. A resistive load is chosen because it demands the fastest change in load current, making it the most stringent test for assessing the performance of sequence separation algorithms. In this case, the grid is physically emulated by a three-phase 6 kW Chroma 61704 AC power supply (Chroma ATE Inc., Taoyuan, Taiwan) that produces very clean sinusoidal signals and an isolation transformer connected in Delta–Delta with turn ratio 1 : 3 . The setup is instrumented with LEM current transducers, and the current measurement signals are sampled at T s = 200 μ s by a dSPACE 1103 (dSPACE GmbH, Paderborn, Germanny) that performs all the calculations in real time. A general-purpose I/O signal of the dSPACE is used to control the circuit breaker via a chain of relays. For this experimental case study, the two discussed complex versions of the recursive algorithm (CKF and SCKF) are used to separate the positive and negative sequences of the currents to contrast their estimation performance and also their computational burden. In addition, the equivalent real-valued KF is used for comparison purposes. The description of the real-valued KF can be found in Appendix A. In the second case, the estimation of the SCKF-based algorithm is used as feedback in a positive and negative sequence control scheme of an L C -filtered DER unit, and the control performance is compared with the direct feedback of the asymmetrical variables. The DER consists of a 6 kW Semikron laboratory 2-level voltage source inverter (2L-VSC) (Semikron GmbH, Nuremberg, Germany) properly interfaced to be modulated by external signals. The primary energy resource (ER) is emulated using a programmable DC power supply (model N8762A of Agilent Technologies, Inc., Santa Clara, CA, USA), set at v dc = 540 V . Finally, the same isolating transformer and three-phase load as in the previous case study are used. For this experimental case study, the estimation, the control and the space-vector PWM modulation are implemented in a dSPACE 1103 with a sampling time of T s = 200 μ s, which is also the period of the PWM carrier for close loop control. Figure 3 shows a picture of this experimental setup.

5.1. Case Study 1: Positive and Negative Sequence Estimation of an Asymmetrical Signal

This case study evaluates the estimation performance of the estimation algorithms described in Section 3. In particular, it is of interest to demonstrate that the proposed time-varying CKF exhibits performance similar to that of the conventional Kalman filter when the latter is implemented with an extended state vector of real variables (see Appendix A for details). These results help to validate the assumption of circular symmetric noises underlying the CKF formulation. Furthermore, it is of interest to show that the proposed SCKF exhibits almost identical estimates to the time-varying CKF after the initial transient of the Kalman gain matrix passes. As a result, the SCKF enables comparable performance with a significantly reduced computational load of the estimator. The experimental setup corresponds to the circuit depicted in Figure 1 and its parameters are the same as in the simulations of the previous section. In this experiment, the load is intentionally unbalanced to produce asymmetrical three-phase current waveforms by opening a single-phase breaker connected in phase b.
The implementation of CKF and SCKF estimators requires the knowledge of state and measurement noise covariance matrices, Q and R . Additionally, these algorithms require to be initialized with the expected value of the initial state and covariance matrices at time instant k = 0 . The values used in each algorithm are given in Table 1. Notice that for the stationary filter, i.e., SCKF, the stationary Kalman gain K [ ] can be directly computed from matrices Q , R and the matrices that define the dynamic system ( A ˜ and C ˜ , see (18) and (19)). Therefore, K [ ] does not depend on P [ 0 ] . To examine and compare the estimation performance of each method, the separated sequence currents are presented in positive and negative rotating d q frames, oriented with the supply voltage as ± v s , respectively.
The experimental results are shown in Figure 4. The three-phase load is balanced, with Br1 closed, hence demanding symmetric currents. The estimation is carried out using the three algorithms at t = 0 s with the same initial value (either in real or complex form). For KF and CKF algorithms, the estimated states are almost identical, validating the assumption of circular symmetric complex noises in the CKF formulation. On the other hand, the dynamic response of the proposed SCKF differs slightly for the first few samples due to the difference in the initial Kalman gain of the time-varying algorithms (KF and CKF) with respect to the steady state K [ ] used in the SCKF. The three algorithms converge to the same Kalman gains after t = 7 ms, making their time responses almost indistinguishable. At t = 0.04 s, the breaker Br1 is opened and the load in phase-b is disconnected, resulting in a considerable imbalance. As shown in Figure 4, the three implementations of the KF yield almost identical state estimates during this large transient, converging to the same steady-state values within (approximately) a third of the fundamental period. Therefore, the use of the proposed SCKF for sequence estimation can effectively replace the time-varying algorithms, KF and CKF. Consequently, positive and negative sequence estimation can be easily and efficiently implemented without loss of performance. In terms of computational complexity, first, the structure of the problem of interest is considered. That is, it is taking into account that some elements are equal to 1 when involved in multiplications, that some elements are real when involved in additions and multiplications, and that some matrices are symmetric or Hermitian when computed. In addition, it is considered that a real sum and a real multiplication are both equivalent to one floating point operation (FLOP), a complex sum equals 2 FLOPs and a complex multiplication equals 6 FLOPs. Then, the real-valued KF (see [21]) results in 213 FLOPs per iteration, the complex-valued KF in 74 FLOPs, whilst the proposed stationary CKF in only 50 FLOPs, which corresponds to a reduction of 76.5 % of the complexity with respect to the real-valued KF and a reduction of 32.4 % of the complexity with respect to the complex-valued KF.

5.2. Case Study 2: The Use of the Estimated Sequences on a Closed-Loop Strategy

This case study explores the application of the proposed SCKF in a closed-loop control strategy that uses the estimated positive and negative sequences as feedback variables. The system under study is shown in Figure 5, where the L C filtered stand-alone DER is subjected to an unbalanced load disturbance. The main goal of this case study is to confirm that the utilization of the state estimations (i.e., positive and negative sequences) that are obtained from the proposed SCKF in a real closed-loop application can yield good control performance in the presence of unbalanced loads. For comparison purposes, a closed-loop strategy based on the direct feedback of the asymmetrical measured variables, and otherwise similar control strategy, is used. The experimental set-up in Figure 5 has the following parameters: R f = 0.1 Ω , L f = 5 mH and C f = 12 μ F . A second output filter inductance is provided by the leakage inductance of the transformer, approximately 0.6 mH , but for control purposes, it can be considered part of the load of the system.
The two control strategies that are compared in this case study are based on state feedback. These are briefly described in the following paragraph.
The first control strategy uses the estimated positive and negative sequences from the proposed SCKF as feedback, and it can be summarized by the control diagram in Figure 6. In this scheme, the proposed SCKF algorithm follows the design presented in Table 1. In Figure 6, x + = i f d q + v s d q + T and x = i f d q v s d q T are the positive and negative sequence state variables, u + = v t d q + and u = v t d q are the positive and negative sequences of voltage v t modulated by the VSC. Currents d + = i o d q + and d = i o d q are demanded by the load and are considered as disturbances for the system. Finally, z + = v s d q + , z = v s d q are the voltages at the shunt capacitor which are the output variables to be controlled. On the other hand, a direct or naive control strategy, without the sequence separation, is illustrated in Figure 7. Here, the state is given by x = i f d q v s d q T , the control action is u = v t d q , the disturbance is given by load current d = i o d q and the output to be controlled is z = v s d q .
Both control strategies follow a scheme based on state feedback that includes the set point of the variable to be controlled ( v s ) and the compensation of the measured disturbance ( i o ). It is worth noting that in this case study, where the capacitor voltage is the controlled variable, orientation angle θ s [ k ] is directly obtained using the integration of frequency, and its phase is automatically adjusted by controlling the imaginary component v s q to a zero value. Feedback gains { K c , K c + , K c } are designed as a linear quadratic regulator, and the matrices that map the set point ( H r ) and disturbance ( H d ) to the input variable are obtained following the analytical results in [27,32]. For the separated sequence control, the gain matrices differ only in the signs of some of its entries as summarized in Table 2. For direct control, the gain matrices are given by K c = K c + , H r = H r + and H d = H d + . Note that this controller, shown in the scheme of Figure 7, is similar to the control of the positive sequence in the scheme of Figure 6, but the asymmetrical signal is used as feedback. Consequently, it is expected that the main difference between the closed-loop performances of both control methods would be manifested in the negative sequence of the variable to be controlled, v s d q .
The experimental response of the closed-loop current control in response to a step change from balanced to unbalanced load is shown in Figure 8, where the magnitude of the current and voltage vectors, i f d q and v s d q , and the actual currents and voltages in a b c coordinates are shown for both methods. The set-ups of Figure 6 and Figure 7 start with the balanced three-phase load connected, and the voltages references are z ref + = 160 + 0 j and z ref = 0 + 0 j . At t = 0.04 s, the phase b load is disconnected, resulting in an asymmetrical output current, i o d q . Consequently, the DER unit’s output filter is subject to asymmetrical disturbance i o that should be properly compensated at input u . As it can be seen in Figure 8, the effect of load imbalance appears as an oscillation at the double of the fundamental frequency in the d q frame for both methods, but the benefit of actively regulating both sequences is evident in the results shown in Figure 8f. The impact of the imbalance on the controlled variable, v s a b c , is significantly reduced in this case. This confirms that the proposed SCKF can be used for sequence separation in closed-loop control, reducing the impact of the load imbalance on control performance.
The second closed-loop experimental result shows that by using the feedback of both estimated sequences, as shown in Figure 6, the negative sequence of the voltage can be regulated with independent reference  z ref . This is of particular importance in applications where a DER unit is required to share the imbalance of the loads. The result is shown in Figure 9, where the initial condition corresponds to the same steady state as that at the end of the previous result, i.e., with z ref + = 160 + j 0 and z ref = 0 + j 0 and unbalanced load. At t = 0.04 s, the reference of the negative voltage sequence is changed to z ref = 20 + j 0 and an intentional imbalance at the voltage reference is introduced. As it can be seen in the measurement of v s d q in Figure 9d, both voltage sequences follow the change on demand with good dynamic response and high level of decoupling, showing that the proposed SCKF is useful for separate sequence control. It is important to note that the response exhibits a steady-state tracking error, which is an inherent characteristic of the proportional control utilized for testing and not a consequence of the proposed sequence separation algorithm.
In the above experimental results, the output filter parameters are assumed to be accurately known and the nonlinearities of the inverter are neglected. Those assumptions may be questionable for applications requiring high-performance closed-loop control. However, one significant advantage of the proposed SCKF is its predictable frequency response, which can be considered in the control design process. This allows for a systematic way of dealing with the above-mentioned modeling errors, for example, limiting the closed-loop bandwidth, performing sensitivity analysis or including integral action in the controller. Nevertheless, such control-tuning procedures are out of the scope of this paper.

6. Conclusions

In this paper, the positive and negative sequence estimation problem is formulated through a time-varying complex variable model with suitable stochastic properties. However, the estimation problem for a model with such characteristics can be solved by the time-varying complex Kalman filter. The implementation of such an algorithm is computationally demanding. Hence, a suitable transformation of the complex state vector is proposed to achieve an alternative time-invariant complex model. Consequently, the stationary solution of the complex Kalman filter is proposed to simplify the implementation and reduce its computational cost, without loss of accuracy. The effectiveness of the proposal is tested in a 5   kW experimental prototype. The dynamic performance of the proposal is compared with its time-varying counterparts, KF and CKF, showing estimations just as accurate and similar dynamics performance, except for the first few milliseconds. While this initial difference has no practical significance, the proposed technique, in contrast, achieves a five-fold improvement in computational efficiency. Lastly, as an illustrative example of its application, the proposed stationary complex Kalman filter for sequence separation is integrated into a positive and negative sequence voltage control strategy based on state feedback. The results demonstrate the effective independent control of each sequence.

Author Contributions

Conceptualization, R.P.-I., R.C., C.A.S. and J.C.A.; methodology, R.P.-I., R.C., C.A.S. and J.C.A.; software, R.P.-I. and R.H.-H.; validation, R.P.-I., R.C., R.H.-H., C.A.S. and J.C.A.; formal analysis, R.P.-I., R.C. and J.C.A.; investigation, R.P.-I., R.C., C.A.S. and J.C.A.; resources, R.P.-I., R.C., C.A.S. and J.C.A.; writing—original draft preparation, R.P.-I., R.C., C.A.S. and J.C.A.; writing—review and editing, R.C., R.H.-H. and C.A.S.; visualization, R.P.-I., R.C., R.H.-H. and C.A.S.; funding acquisition, C.A.S. and J.C.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Chilean National Agency for Research and Development (ANID) through grants ANID-Fondecyt 1211676, 1211630, ANID-Basal Project FB0008 (AC3E) and ANID-PIA/Apoyo AFB180002 (CCTVal).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Ricardo Pérez-Ibacache was employed by The Thinking Pod Innovation company. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The Thinking Pod Innovation company had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
DERDistributed energy resource
SRFSynchronous reference frame
DDSRFDecoupled double synchronous reference frame
SOGISecond-order generalized integrator
DSOGIDouble second-order generalized integrator
PLLPhase-locked loop
FLLFrequency-locked loop
KFKalman filter
EKFExtended Kalman filter
CKFComplex-valued Kalma filter
SCKFStationary complex-valued Kalman filter
FLOPFloating point operation

Appendix A. Kalman Filter

The expression in (6) is an algebraic time-variant equation that can be represented in real d and imaginary q components as
s d [ k ] s q [ k ] y ¯ [ k ] = 1 0 cos 2 θ s [ k ] sin 2 θ s [ k ] 0 1 sin 2 θ s [ k ] cos 2 θ s [ k ] C ¯ θ [ k ] s d + [ k ] s q + [ k ] s d [ k ] s q [ k ] x ¯ [ k ] + ε d [ k ] ε q [ k ] ε ¯ [ k ] ,
where the complex variables are expressed in terms of their real and imaginary parts, expanding the dimensions of measurement vector y ¯ , state vector x ¯ and noise vector ε ¯ [ k ] . Noise ε ¯ [ k ] is now assumed to be a real Gaussian random vector ε ¯ [ k ] N { 0 , R } . The signal estimation problem reduces to the estimation of vector x ¯ [ k ] given the measured variable y ¯ [ k ] . Unfortunately, x ¯ [ k ] depends mainly on load imbalance, and an accurate dynamic model is not readily available. However, it can be (safely) assumed that x ¯ [ k ] is a continuous variable at steady state. Hence, its dynamic behavior may be modeled as an uncorrelated Gaussian random walk:
x ¯ [ k + 1 ] = x ¯ [ k ] + w ¯ [ k ] ,
with w ¯ [ k ] R 4 being a column vector that is assumed to have zero mean and variance Q , w ¯ [ k ] N { 0 , Q } .
The dynamic model (A2) and output Equation (A1) represent a conventional state-space formulation. This representation can be used in the formulation of a time-varying linear quadratic estimator problem, with the well-known time-varying Kalman filter (KF) as a solution. The aforementioned model is shown in Kalman filter Algorithm A1.
Algorithm A1: KF Algorithm.
Mathematics 12 01899 i002
An alternative way to solve the estimation problem under study is to maintain the variable in the complex plane and use an extension of the Kalman filter formulation.

Appendix B. Rudiments of Stochastic Complex-Valued Signals and Systems

Appendix B.1. Stochastic Complex-Valued Signals

The study of complex-valued signal arises from the necessity of handling compact expressions in a two-dimensional signal space that provides insight into an underlying physical phenomenon. In fact, the study of complex-valued signals arises from phasors (e.g., magnitude and phase of voltages and currents) and complex communication signals (in-phase and quadrature channels) [25,33], which in turn yield complex-valued linear and nonlinear systems, particularly in (modern) communication systems; see, e.g., [34] and the references therein.
To understand complex-valued random variables, let us consider two real-valued and possibly correlated random variables, x and y. For this kind of bivariate signal, it is customary to define a real-valued vector that includes both real-valued signals as v = [ x y ] T . Hence, the joint probability density function (pdf) of x and y can be defined as p ( v ) = p ( x , y ) , which contains all the relevant information about x and y. On the other hand, all the relevant information of v = [ x y ] T could be included in a complex-valued random variable z = x + j y . This would imply that p ( z ) = p ( v ) = p ( x , y ) . However, as shown next, this is not always true.
When dealing with random variables, it is usual to characterize their second-order statistical properties. From this point of view, when considering p ( v ) , there are five quantities that describe those second-order characteristics, that is, E [ x ] = μ x , E [ y ] = μ y , E [ ( x μ x ) 2 ] = σ x 2 , E [ ( y μ y ) 2 ] = σ y 2 , E [ ( x μ x ) ( y μ y ) ] = σ x y . When considering p ( z ) , the definition of expected value applies directly since the real-part and imaginary-part operators, Re { · } and Im { · } , respectively, are linear. Hence, E [ z ] = μ z = μ x + j μ y .
However, the second-order moment of z cannot always be obtained straightforwardly. In general, with complex numbers, | z | 2 2 = z z * is utilized, where ( ) * represents the complex conjugate, instead of z 2 . If this definition is applied, E [ ( z μ z ) ( z μ z ) * ] = σ z 2 = σ x 2 + σ y 2 is obtained. Clearly, this definition yields one real-valued term that is composed of two terms. In addition, cross-correlation term σ x y is missing from this second-order statistic. On the other hand, if E [ ( z μ z ) 2 ] = σ ˜ z 2 = σ x 2 σ y 2 + j 2 σ x y is considered, a real and an imaginary term are obtained. However, not all the second-order statistics from v are contained in E [ z 2 ] , since the real term contains both E [ ( x μ x ) 2 ] and E [ ( y μ y ) 2 ] . Thus, the definition of the second-order statistics of complex-valued random variables comprises variance E [ ( z μ z ) ( z μ z ) * ] and complementary covariance E [ ( z μ z ) 2 ] [25,33,35]. To this end, augmented variable z ̲ = [ z z * ] T is defined, from which the augmented covariance matrix E [ ( z ̲ μ ̲ z ) ( z ̲ μ ̲ z ) H ] = σ z 2 σ ˜ z 2 ( σ ˜ z 2 ) * ( σ z 2 ) * is defined. Clearly, this representation does not provide a very compact and simple expression. However, there is a special case where it does.
In many applications, such as Wireless Communications (see, e.g., [34] and the references therein) and System Identification (see, e.g., [36] and the references therein), the real and imaginary parts of complex random variables are independent and identically distributed. That is, σ x 2 = σ y 2 = σ 2 and σ x y = 0 . In this particular case, the signals are considered proper, therefore, σ z 2 = 2 σ 2 and σ ˜ z 2 = 0 . Further, a special case of proper signals corresponds to circular symmetric signals, where random variables z and v = e j θ z have the same pdf for any given θ R . This implies that μ z = 0 . In particular, a complex-valued zero-mean Gaussian random variable is proper if and only if it is circular [25]. The case where σ x 2 σ y 2 or σ x y 0 corresponds to improper signals, and to fully describe its second-order moments, the augmented covariance matrix is needed [25,35].

Appendix B.2. Complex-Valued Kalman Filter for Proper Signals

Appendix B.2.1. Proper (Complex-Valued) Gaussian Distributions

In the previous section, it was shown that proper complex-valued random variable z = x + j y satisfies E [ ( x μ x ) 2 ] = E [ ( y μ y ) 2 ] = σ 2 and E [ ( x μ x ) ( y μ y ) ] = 0 . If z is a proper complex Gaussian random variable, it is denoted by z CN ( μ z , σ z 2 ) . Moreover, the pdf of z is given by
p ( z ) = 1 π σ z 2 e 1 σ z 2 ( z μ z ) H ( z μ z ) .
It can be shown that by replacing z = x + j y with x N ( Re { μ z } , σ z 2 / 2 ) and y N ( Im { μ z } , σ z 2 / 2 ) , p ( z ) = p ( x , y ) = p ( x ) p ( y ) can be obtained.
For multivariate proper (complex-valued) Gaussian distributions,
p ( z ) = 1 det ( π Σ z ) e ( z μ z ) H Σ z 1 ( z μ z ) ,
where Σ z is the covariance matrix and det ( · ) is the determinant. Notice that different elements of vector z can be correlated, but their real and imaginary parts cannot be, i.e., E [ Re { z l } Im { z m } ] = 0 l , m . This yields a real-valued, positive-definite covariance matrix that admits complex-valued eigenvectors.

Appendix B.2.2. Complex-Valued Kalman Filter for Proper Signals

One of the main consequences of properness is the fact that any expression that includes the transpose of a vector or a matrix from real-valued signals and systems can be directly replaced by a Hermitian (conjugate transpose).
Let us consider the following state-space system:
x [ k + 1 ] = A [ k ] x [ k ] + η [ k ]
y [ k ] = C [ k ] x [ k ] + e [ k ] ,
where η [ k ] CN ( 0 , Q [ k ] ) and e [ k ] CN ( 0 , R [ k ] ) . Thus, the complex-valued Kalman filter (CKF) for the linear system-defined proper signals is described in Algorithm A2 (see, e.g., [29]).
Algorithm A2: CKF Algorithm for Proper Signals.
Mathematics 12 01899 i003

Appendix C. DSOGI Sequence Separation Algorithm

The double second-order generalized integrator (DSOGI) extracts positive and negative sequences by means of a linear combination of direct v α β and quadrature q v α β components. The quadrature component is generated by the second-order generalized integrator quadrature signal generator (SOGI-QSG) filter applied to the α and β components of the signal, as shown in Figure A1. In essence, the SOGI is a band-pass filter tuned at a center frequency made to coincide with the fundamental frequency of the AC input signal ω 0 = ω s , quality factor k k and with two outputs: the direct and quadrature signals. The transfer function for the direct D ( s ) and quadrature Q ( s ) components of the DSOGI are given by Equation (A9). Consequently, the phase of the fundamental of the resulting quadrature signal lags the fundamental of the direct component by exactly 90°; therefore, q = e j π 2 . Finally, the positive and negative components are extracted by simple linear combinations of the direct and quadrature signals as (A10). To implement the DSOGI, a Bilinear discretization is used as in [18,20]:
D ( s ) = v v ( s ) = k k ω 0 s s 2 + k k ω 0 s + ω 0 2 , Q ( s ) = q v v ( s ) = k k ω 0 2 s 2 + k k ω 0 s + ω 0 2 .
v α β + = 1 2 1 q q 1 v α β v α β = 1 2 1 q q 1 v α β
Figure A1. Block diagram of DSOGI-QSG.
Figure A1. Block diagram of DSOGI-QSG.
Mathematics 12 01899 g0a1

References

  1. Hirsch, A.; Parag, Y.; Guerrero, J. Microgrids: A review of technologies, key drivers, and outstanding issues. Renew. Sustain. Energy Rev. 2018, 90, 402–411. [Google Scholar] [CrossRef]
  2. Kulmala, A.; Repo, S.; Järventausta, P. Coordinated Voltage Control in Distribution Networks Including Several Distributed Energy Resources. IEEE Trans. Smart Grid 2014, 5, 2010–2020. [Google Scholar] [CrossRef]
  3. IEEE 1547-2018; IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces. IEEE: Piscataway, NJ, USA, 2018.
  4. Revelo, S.; Silva, C.A. Current reference strategy with explicit negative sequence component for voltage equalization contribution during asymmetric fault ride through: Current Strategy with Negative Sequence Component. Int. Trans. Electr. Energy Syst. 2014, 25, 3449–3471. [Google Scholar] [CrossRef]
  5. Golsorkhi, M.S.; Lu, D.D. A Decentralized Control Method for Islanded Microgrids Under Unbalanced Conditions. IEEE Trans. Power Deliv. 2016, 31, 1112–1121. [Google Scholar] [CrossRef]
  6. Najafi, F.; Hamzeh, M.; Fripp, M. Unbalanced Current Sharing Control in Islanded Low Voltage Microgrids. Energies 2018, 11, 2776. [Google Scholar] [CrossRef]
  7. Zhou, J.; Kim, S.; Zhang, H.; Sun, Q.; Han, R. Consensus-Based Distributed Control for Accurate Reactive, Harmonic, and Imbalance Power Sharing in Microgrids. IEEE Trans. Smart Grid 2018, 9, 2453–2467. [Google Scholar] [CrossRef]
  8. Acharya, S.; El-Moursi, M.S.; Al-Hinai, A.; Al-Sumaiti, A.S.; Zeineldin, H.H. A Control Strategy for Voltage Unbalance Mitigation in an Islanded Microgrid Considering Demand Side Management Capability. IEEE Trans. Smart Grid 2019, 10, 2558–2568. [Google Scholar] [CrossRef]
  9. Fortescue, C.L. Method of Symmetrical Co-Ordinates Applied to the Solution of Polyphase Networks. Trans. Am. Inst. Electr. Eng. 1918, 37, 1027–1140. [Google Scholar] [CrossRef]
  10. Clarke, E. Circuit Analysis of A-C Power Systems; Number v. 1 in Circuit Analysis of A-C Power Systems; Wiley: Hoboken, NJ, USA, 1943. [Google Scholar]
  11. Paap, G.C. Symmetrical components in the time domain and their application to power network calculations. IEEE Trans. Power Syst. 2000, 15, 522–528. [Google Scholar] [CrossRef]
  12. Grandi, G.; Serra, G.; Tani, A. General Analysis of Multi-Phase Systems Based on Space Vector Approach. In Proceedings of the 2006 12th International Power Electronics and Motion Control Conference, Portoroz, Slovenia, 30 August–1 September 2006; pp. 834–840. [Google Scholar] [CrossRef]
  13. O’Rourke, C.J.; Qasim, M.M.; Overlin, M.R.; Kirtley, J.L. A Geometric Interpretation of Reference Frames and Transformations: dq0, Clarke, and Park. IEEE Trans. Energy Convers. 2019, 34, 2070–2083. [Google Scholar] [CrossRef]
  14. Svensson, J.; Bongiorno, M.; Sannino, A. Practical Implementation of Delayed Signal Cancellation Method for Phase-Sequence Separation. IEEE Trans. Power Deliv. 2007, 22, 18–26. [Google Scholar] [CrossRef]
  15. Kaura, V.; Blasko, V. Operation of a phase locked loop system under distorted utility conditions. IEEE Trans. Ind. Appl. 1997, 33, 58–63. [Google Scholar] [CrossRef]
  16. Rodriguez, P.; Pou, J.; Bergas, J.; Candela, J.I.; Burgos, R.P.; Boroyevich, D. Decoupled Double Synchronous Reference Frame PLL for Power Converters Control. IEEE Trans. Power Electron. 2007, 22, 584–592. [Google Scholar] [CrossRef]
  17. Ciobotaru, M.; Teodorescu, R.; Blaabjerg, F. A new single-phase PLL structure based on second order generalized integrator. In Proceedings of the 2006 37th IEEE Power Electronics Specialists Conference, Jeju, Republic of Korea, 18–22 June 2006; pp. 1–6. [Google Scholar] [CrossRef]
  18. Rodríguez, P.; Teodorescu, R.; Candela, I.; Timbus, A.V.; Liserre, M.; Blaabjerg, F. New positive-sequence voltage detector for grid synchronization of power converters under faulty grid conditions. In Proceedings of the 2006 37th IEEE Power Electronics Specialists Conference, Jeju, Republic of Korea, 18–22 June 2006; pp. 1–7. [Google Scholar] [CrossRef]
  19. Rodríguez, P.; Luna, A.; Muñoz-Aguilar, R.S.; Etxeberria-Otadui, I.; Teodorescu, R.; Blaabjerg, F. A Stationary Reference Frame Grid Synchronization System for Three-Phase Grid-Connected Power Converters Under Adverse Grid Conditions. IEEE Trans. Power Electron. 2012, 27, 99–112. [Google Scholar] [CrossRef]
  20. Pinto, J.; Carvalho, A.; Rocha, A.; Araújo, A. Comparison of DSOGI-Based PLL for Phase Estimation in Three-Phase Weak Grids. Electricity 2021, 2, 244–270. [Google Scholar] [CrossRef]
  21. Flores, R.; Gu, I.; Bollen, M. Positive and negative sequence estimation for unbalanced voltage dips. In Proceedings of the 2003 IEEE Power Engineering Society General Meeting (IEEE Cat. No.03CH37491), Toronto, ON, Canada, 13–17 July 2003; Volume 4, pp. 2498–2502. [Google Scholar] [CrossRef]
  22. Sun, M.; Sahinoglu, Z. Extended Kalman filter based grid synchronization in the presence of voltage unbalance for smart grid. In Proceedings of the Innovative Smart Grid Technologies (ISGT), 2011 IEEE PES, Anaheim, CA, USA, 17–19 January 2011; pp. 1–4. [Google Scholar] [CrossRef]
  23. Wang, X.; Yaz, E.E. Smart Power Grid Synchronization with Fault Tolerant Nonlinear Estimation. IEEE Trans. Power Syst. 2016, 31, 4806–4816. [Google Scholar] [CrossRef]
  24. Cui, B. Square-root-extended complex Kalman filter for estimation of symmetrical components in power system. J. Eng. 2019, 2019, 2197–2201. [Google Scholar] [CrossRef]
  25. Schreier, P.J.; Scharf, L.L. Statistical Signal Processing of Complex-Valued Data: The Theory of Improper and Noncircular Signals; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  26. Leonhard, W. Control of Electrical Drives, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2001. [Google Scholar]
  27. Söderström, T. Discrete-Time Stochastic Systems: Estimation and Control; Springer Inc.: Secaucus, NJ, USA, 2002; pp. 319–365. [Google Scholar]
  28. Park, R.H. Two-reaction theory of synchronous machines generalized method of analysis-part I. Trans. Am. Inst. Electr. Eng. 1929, 48, 716–727. [Google Scholar] [CrossRef]
  29. Wang, G.; Ge, S.S.; Xue, R.; Zhao, J.; Li, C. Complex-valued Kalman filters based on Gaussian entropy. Signal Process. 2019, 160, 178–189. [Google Scholar] [CrossRef]
  30. Jazwinski, A. Stochastic Processes and Filtering Theory; Mathematics in Science and Engineering; Elsevier Science: Amsterdam, The Netherlands, 1970. [Google Scholar]
  31. Haykin, S.S. Kalman Filtering and Neural Networks; Wiley: Hoboken, NJ, USA, 2001; p. 284. [Google Scholar]
  32. Kwakernaak, H. Linear Optimal Control Systems; John Wiley & Sons, Inc.: New York, NY, USA, 1972; pp. 377–441. [Google Scholar]
  33. Fuhrmann, D. Complex Random Variables and Stochastic Processes. In Digital Signal Processing Handbook; Madisetti, V.K., Williams, D.B., Eds.; CRC Press: Boca Raton, FL, USA, 1999; Chapter 60. [Google Scholar]
  34. Carvajal, R.; Agüero, J.C.; Godoy, B.I.; Goodwin, G.C. EM-Based Maximum-Likelihood Channel Estimation in Multicarrier Systems With Phase Distortion. IEEE Trans. Veh. Technol. 2013, 62, 152–160. [Google Scholar] [CrossRef]
  35. Miller, K. Complex Stochastic Processes: An Introduction to Theory and Application; Addison-Wesley: Boston, MA, USA, 1974. [Google Scholar]
  36. Agüero, J.C.; Yuz, J.I.; Goodwin, G.C.; Delgado, R.A. On the equivalence of time and frequency domain maximum likelihood estimation. Automatica 2010, 46, 260–270. [Google Scholar] [CrossRef]
Figure 1. Case study 1: experimental prototype to produce the asymmetrical currents to be separated into its constituting positive and negative sequences by the proposed KF, CKF and SCKF.
Figure 1. Case study 1: experimental prototype to produce the asymmetrical currents to be separated into its constituting positive and negative sequences by the proposed KF, CKF and SCKF.
Mathematics 12 01899 g001
Figure 2. Simulated dynamic response of the proposed SCKF and the well-established DSOGI method to an abrupt change in the sequence content of a three-phase current set.
Figure 2. Simulated dynamic response of the proposed SCKF and the well-established DSOGI method to an abrupt change in the sequence content of a three-phase current set.
Mathematics 12 01899 g002
Figure 3. Experimental Setup.
Figure 3. Experimental Setup.
Mathematics 12 01899 g003
Figure 4. Experimental dynamic response of the KF, CKF and the proposed SCKF to an abrupt change in the sequence content of a three-phase current set.
Figure 4. Experimental dynamic response of the KF, CKF and the proposed SCKF to an abrupt change in the sequence content of a three-phase current set.
Mathematics 12 01899 g004
Figure 5. Case study 2: experimental prototype.
Figure 5. Case study 2: experimental prototype.
Mathematics 12 01899 g005
Figure 6. Proposed control strategy for positive and negative sequence control.
Figure 6. Proposed control strategy for positive and negative sequence control.
Mathematics 12 01899 g006
Figure 7. Control scheme for a DER unit’s output filter that uses asymmetrical variables as feedback.
Figure 7. Control scheme for a DER unit’s output filter that uses asymmetrical variables as feedback.
Mathematics 12 01899 g007
Figure 8. Improvement of the control of an LC-filtered stand-alone DER by the feedback of separated sequences using the SCKF. (a) Magnitude of the filter current. (b) Magnitude of the filter output voltage. (c) Filter current in a b c with asymmetric feedback. (d) Filter output voltage in a b c with asymmetric feedback. (e) Filter current in a b c with sequence separation by SCKF. (f) Filter output voltage in a b c with sequence separation by SCKF.
Figure 8. Improvement of the control of an LC-filtered stand-alone DER by the feedback of separated sequences using the SCKF. (a) Magnitude of the filter current. (b) Magnitude of the filter output voltage. (c) Filter current in a b c with asymmetric feedback. (d) Filter output voltage in a b c with asymmetric feedback. (e) Filter current in a b c with sequence separation by SCKF. (f) Filter output voltage in a b c with sequence separation by SCKF.
Mathematics 12 01899 g008
Figure 9. Experimental response of the control of an LC-filtered stand-alone DER with feedback of separated sequences using the SCKF to change on the negative sequence reference. (a) Magnitude of the filter current. (b) Magnitude of filter voltage. (c) Magnitude of d q components of the filter current. (d) Magnitude of d q components of the filter voltage. (e) Filter current in a b c . (f) Filter voltage in a b c .
Figure 9. Experimental response of the control of an LC-filtered stand-alone DER with feedback of separated sequences using the SCKF to change on the negative sequence reference. (a) Magnitude of the filter current. (b) Magnitude of filter voltage. (c) Magnitude of d q components of the filter current. (d) Magnitude of d q components of the filter voltage. (e) Filter current in a b c . (f) Filter voltage in a b c .
Mathematics 12 01899 g009
Table 1. Estimation algorithm parameters; I n denotes the identity matrix and 0 m × n denotes the zero matrix of size m × n .
Table 1. Estimation algorithm parameters; I n denotes the identity matrix and 0 m × n denotes the zero matrix of size m × n .
x [ 0 ] P [ 0 ] QR K [ ]
KF 0 4 × 1 0.01 I 4 0.01 I 4 I 2 -
CKF 0 2 × 1 0.01 I 2 0.01 I 2 I 1 -
SCKF 0 2 × 1 - 0.01 I 2 I 1 0.085 e j 0.43 e j 0.43
Table 2. Implemented matrices in the strategies of Figure 6 and Figure 7.
Table 2. Implemented matrices in the strategies of Figure 6 and Figure 7.
K c ± 3.9 ± 0.12 0.06 0.0019 0.12 3.9 ± 0.0019 0.06
H r ± 0.93 0.017 ± 0.017 0.93
H d ± 4 1.45 ± 1.45 4
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

Pérez-Ibacache, R.; Carvajal, R.; Herrera-Hernández, R.; Agüero, J.C.; Silva, C.A. A Complex-Valued Stationary Kalman Filter for Positive and Negative Sequence Estimation in DER Systems. Mathematics 2024, 12, 1899. https://doi.org/10.3390/math12121899

AMA Style

Pérez-Ibacache R, Carvajal R, Herrera-Hernández R, Agüero JC, Silva CA. A Complex-Valued Stationary Kalman Filter for Positive and Negative Sequence Estimation in DER Systems. Mathematics. 2024; 12(12):1899. https://doi.org/10.3390/math12121899

Chicago/Turabian Style

Pérez-Ibacache, Ricardo, Rodrigo Carvajal, Ramón Herrera-Hernández, Juan C. Agüero, and César A. Silva. 2024. "A Complex-Valued Stationary Kalman Filter for Positive and Negative Sequence Estimation in DER Systems" Mathematics 12, no. 12: 1899. https://doi.org/10.3390/math12121899

APA Style

Pérez-Ibacache, R., Carvajal, R., Herrera-Hernández, R., Agüero, J. C., & Silva, C. A. (2024). A Complex-Valued Stationary Kalman Filter for Positive and Negative Sequence Estimation in DER Systems. Mathematics, 12(12), 1899. https://doi.org/10.3390/math12121899

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