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%).
Keywords:
distribution power network; complex-valued Kalman filter; imbalanced loads; positive and negative sequence MSC:
37M10; 93C55; 93C57; 60G35
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., and 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, , or in complex representation . 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 with a version of itself delayed by a quarter of its fundamental period (). 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 (real) representation. This approach disregards the compactness and analytical advantages of dealing directly with complex-valued variables. The processing of complex signals () 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
where amplitudes and phases , 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 () is nearly constant and known by the local controllers. Therefore, considering sampling time , the phase of the corresponding sinusoidal waves at time instant k can be estimated as .
The Clarke transformation maps the three-phase asymmetrical signals into a complex variable , plus a real common mode or a zero-sequence component. The trajectory of complex variable 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 to can be expressed as
with . 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, . Thus,
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 and phases , it does not describe exactly the sequence separation in transient conditions. When a causally changing event occurs in any of the variables (amplitudes and/or of the phases ), it introduces additional frequency components. To account for this, it is assumed that there is uncertainty in the components of . Furthermore, it is considered that this uncertainty can be grouped in error signal with known stochastic properties. Therefore, Equation (4) can be expressed as
where . In addition, the simplifying assumption that is a circularly symmetric complex-valued Gaussian random variable is made, such that , with . For details on complex-valued Gaussian random variables, see Appendix B.
2.2. An Asymmetrical Three-Phase Signal Expressed on a Synchronous Reference Frame
The original Park transformation [28] expresses the electrical variables measured in their natural per-phase coordinates into a 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 , and the orientation angle can be arbitrarily chosen, without loss of generality, the orientation angle can be assumed to be . To rotate the signal (5) to the frame, rotation is performed, leading to
where the noise in is
As stochastic variable was assumed to be circularly symmetric, the stochastic properties remain invariant under rotations, that is,
It is worth noting that quantities and from (4), in steady state, are constant complex numbers, akin to conventional phasors. With the signals expressed in the synchronous reference frame as given by (6), the estimation problem determines the positive () and negative () complex-valued sequence components from observed variable , 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 reference frame in (6). Here, is the observed or output variable, and , 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 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 is a constant variable at steady state. Hence, its dynamic behavior may be modeled as an uncorrelated Gaussian random walk:
with , and a zero mean circularly symmetric (i.e., proper) complex Gaussian random variable with variance , .
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
With the state and output equations in (9) and (10), respectively, the corresponding CKF is obtained:
In the algorithm, the time-variant part of , can be assumed to be known as the grid frequency is known by the local controllers, and the phase of the 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 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 is estimated instead of . This new variable is defined as
Similarly, transformation (12) can be applied to the time-evolution of the variables to be estimated in (9), yielding
As mentioned before, variable is known for each time instant k and its time domain model is given by . Therefore, the time evolution of transformation can be written as
and the time evolution of is given by
where . Again, since is circularly symmetric and transformation is a rotation in the complex plane, the vector of uncertainties preserves the original properties .
Finally, the CKF algorithm can be evaluated with state and output Equations (16) and (13), respectively, resulting in
The matrices and are time-invariant and the pair 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:
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 , the stationary complex-valued Kalman gain can be found evaluating the following:
With the stationary complex-valued Kalman gain obtained, the implementation of the SCKF for is straightforward, and can be written as
This is a recursive time-invariant algorithm with constant matrices . Finally, solving (20) for each time instant k, the complex vector is found and the estimated positive and negative sequences are obtained by evaluating (12) for the estimated values. That is,
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. |
![]() |
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 , and a three-phase resistive load with per phase. This load is intentionally unbalanced to produce asymmetrical three-phase current waveforms by disconnecting load phase b.
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.
For the implementation of the SCKF estimator, the values of the state and measurement noise covariance matrices, and 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 used in [18,19,20] is considered.
Table 1.
Estimation algorithm parameters; denotes the identity matrix and denotes the zero matrix of size .
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 frames, respectively. These results show that, although both algorithms are efective in achieving sequence separation, the SCKF has a faster response than DSOGI.
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.
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 , 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 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 . The setup is instrumented with LEM current transducers, and the current measurement signals are sampled at 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 -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 . 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 s, which is also the period of the PWM carrier for close loop control. Figure 3 shows a picture of this experimental setup.
Figure 3.
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, and . Additionally, these algorithms require to be initialized with the expected value of the initial state and covariance matrices at time instant . The values used in each algorithm are given in Table 1. Notice that for the stationary filter, i.e., SCKF, the stationary Kalman gain can be directly computed from matrices , and the matrices that define the dynamic system ( and , see (18) and (19)). Therefore, does not depend on . To examine and compare the estimation performance of each method, the separated sequence currents are presented in positive and negative rotating frames, oriented with the supply voltage as , 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 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 used in the SCKF. The three algorithms converge to the same Kalman gains after ms, making their time responses almost indistinguishable. At 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 of the complexity with respect to the real-valued KF and a reduction of of the complexity with respect to the complex-valued KF.
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.
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 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: , and . A second output filter inductance is provided by the leakage inductance of the transformer, approximately , but for control purposes, it can be considered part of the load of the system.
Figure 5.
Case study 2: experimental prototype.
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, and are the positive and negative sequence state variables, and are the positive and negative sequences of voltage modulated by the VSC. Currents and are demanded by the load and are considered as disturbances for the system. Finally, , 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 , the control action is , the disturbance is given by load current and the output to be controlled is .
Figure 6.
Proposed control strategy for positive and negative sequence control.
Figure 7.
Control scheme for a DER unit’s output filter that uses asymmetrical variables as feedback.
Both control strategies follow a scheme based on state feedback that includes the set point of the variable to be controlled () and the compensation of the measured disturbance (). It is worth noting that in this case study, where the capacitor voltage is the controlled variable, orientation angle is directly obtained using the integration of frequency, and its phase is automatically adjusted by controlling the imaginary component to a zero value. Feedback gains are designed as a linear quadratic regulator, and the matrices that map the set point () and disturbance () 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 , and . 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, .
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, and , and the actual currents and voltages in 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 and . At s, the phase b load is disconnected, resulting in an asymmetrical output current, . Consequently, the DER unit’s output filter is subject to asymmetrical disturbance that should be properly compensated at input . 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 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, , 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.
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 with asymmetric feedback. (d) Filter output voltage in with asymmetric feedback. (e) Filter current in with sequence separation by SCKF. (f) Filter output voltage in with sequence separation by SCKF.
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 . 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 and and unbalanced load. At s, the reference of the negative voltage sequence is changed to and an intentional imbalance at the voltage reference is introduced. As it can be seen in the measurement of 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.
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 components of the filter current. (d) Magnitude of components of the filter voltage. (e) Filter current in . (f) Filter voltage in .
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 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:
| DER | Distributed energy resource |
| SRF | Synchronous reference frame |
| DDSRF | Decoupled double synchronous reference frame |
| SOGI | Second-order generalized integrator |
| DSOGI | Double second-order generalized integrator |
| PLL | Phase-locked loop |
| FLL | Frequency-locked loop |
| KF | Kalman filter |
| EKF | Extended Kalman filter |
| CKF | Complex-valued Kalma filter |
| SCKF | Stationary complex-valued Kalman filter |
| FLOP | Floating 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
where the complex variables are expressed in terms of their real and imaginary parts, expanding the dimensions of measurement vector , state vector and noise vector . Noise is now assumed to be a real Gaussian random vector . The signal estimation problem reduces to the estimation of vector given the measured variable . Unfortunately, depends mainly on load imbalance, and an accurate dynamic model is not readily available. However, it can be (safely) assumed that is a continuous variable at steady state. Hence, its dynamic behavior may be modeled as an uncorrelated Gaussian random walk:
with being a column vector that is assumed to have zero mean and variance , .
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. |
![]() |
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 . Hence, the joint probability density function (pdf) of x and y can be defined as , which contains all the relevant information about x and y. On the other hand, all the relevant information of could be included in a complex-valued random variable . This would imply that . 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 , there are five quantities that describe those second-order characteristics, that is, . When considering , the definition of expected value applies directly since the real-part and imaginary-part operators, and , respectively, are linear. Hence, .
However, the second-order moment of z cannot always be obtained straightforwardly. In general, with complex numbers, is utilized, where represents the complex conjugate, instead of . If this definition is applied, is obtained. Clearly, this definition yields one real-valued term that is composed of two terms. In addition, cross-correlation term is missing from this second-order statistic. On the other hand, if is considered, a real and an imaginary term are obtained. However, not all the second-order statistics from are contained in , since the real term contains both and . Thus, the definition of the second-order statistics of complex-valued random variables comprises variance and complementary covariance [25,33,35]. To this end, augmented variable is defined, from which the augmented covariance matrix 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, and . In this particular case, the signals are considered proper, therefore, and . Further, a special case of proper signals corresponds to circular symmetric signals, where random variables z and have the same pdf for any given . This implies that . In particular, a complex-valued zero-mean Gaussian random variable is proper if and only if it is circular [25]. The case where or 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 satisfies and . If z is a proper complex Gaussian random variable, it is denoted by . Moreover, the pdf of z is given by
It can be shown that by replacing with and , can be obtained.
For multivariate proper (complex-valued) Gaussian distributions,
where is the covariance matrix and is the determinant. Notice that different elements of vector can be correlated, but their real and imaginary parts cannot be, i.e., . 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:
where and . 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. |
![]() |
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 and quadrature 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 , quality factor and with two outputs: the direct and quadrature signals. The transfer function for the direct and quadrature 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, . 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]:
Figure A1.
Block diagram of DSOGI-QSG.
References
- 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] [Scilit]
- 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] [Scilit]
- IEEE 1547-2018; IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces. IEEE: Piscataway, NJ, USA, 2018.
- 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] [Scilit]
- 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] [Scilit]
- Najafi, F.; Hamzeh, M.; Fripp, M. Unbalanced Current Sharing Control in Islanded Low Voltage Microgrids. Energies 2018, 11, 2776. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit]
- 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]
- Leonhard, W. Control of Electrical Drives, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2001. [Google Scholar]
- Söderström, T. Discrete-Time Stochastic Systems: Estimation and Control; Springer Inc.: Secaucus, NJ, USA, 2002; pp. 319–365. [Google Scholar]
- 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] [Scilit]
- 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] [Scilit]
- Jazwinski, A. Stochastic Processes and Filtering Theory; Mathematics in Science and Engineering; Elsevier Science: Amsterdam, The Netherlands, 1970. [Google Scholar]
- Haykin, S.S. Kalman Filtering and Neural Networks; Wiley: Hoboken, NJ, USA, 2001; p. 284. [Google Scholar]
- Kwakernaak, H. Linear Optimal Control Systems; John Wiley & Sons, Inc.: New York, NY, USA, 1972; pp. 377–441. [Google Scholar]
- 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]
- 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] [Scilit]
- Miller, K. Complex Stochastic Processes: An Introduction to Theory and Application; Addison-Wesley: Boston, MA, USA, 1974. [Google Scholar]
- 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] [Scilit]
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).












