Next Article in Journal
Sizing and Sitting of Static VAR Compensator (SVC) Using Hybrid Optimization of Combined Cuckoo Search (CS) and Antlion Optimization (ALO) Algorithms
Next Article in Special Issue
Full-Order Terminal Sliding-Mode Control for Soft Open Point
Previous Article in Journal
Optimal Design of a Dual-Pressure Steam Turbine for Rankine Cycle Based on Constructal Theory
Previous Article in Special Issue
An Evaluation Method of Renewable Energy Resources’ Penetration Capacity of an AC-DC Hybrid Grid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Sliding-Mode Control for Electric Spring in Microgrids with Distributed Renewable Energy

1
School of Information Engineering, Nanchang University, Nanchang 330031, China
2
School of Physical Science and Engineering Technology, Yichun University, Yichun 336000, China
3
State Grid Nanchang Power Supply Company, Nanchang 330096, China
*
Author to whom correspondence should be addressed.
Energies 2022, 15(13), 4842; https://doi.org/10.3390/en15134842
Submission received: 23 May 2022 / Revised: 23 June 2022 / Accepted: 28 June 2022 / Published: 1 July 2022

Abstract

:
Electric springs (ESs) are novel electric-power devices that alleviate power-quality problems such as voltage fluctuations induced by grid access to renewable energy resources. However, with the continuous increase of uncertain factors such as parameter perturbation and external disturbance, the environment becomes more complicated, so traditional linear controllers for ESs are finding it increasingly difficult to meet the control requirements due to narrow stability regions, low precision, and poor robustness. To overcome this problem, we propose herein a control method that combines adaptive control and sliding-mode control and apply it to ESs. First, an inexact model of the ES system was established and analyzed. Next, an ES control system was designed based on adaptive sliding-mode control, and then the asymptotic stability of the closed-loop system is proven. Finally, the proposed control system was verified through a MATLAB simulation. The results show that adaptive sliding-mode control not only ensures the voltage stability of critical loads in the microgrid but also resists the influence of parameter perturbation and external disturbances, leading to better steady-state and dynamic performance than a linear controller.

1. Introduction

In recent years, with the growing problem of global environmental pollution and energy shortages, renewable energy sources (RESs) represented by wind and solar energy have developed rapidly [1]. The continuous access of distributed RESs has led to the low-voltage network and microgrid developing toward a green and sustainable design [2,3]. However, the inherent intermittence and uncertainty of RESs make it difficult to accurately predict power generation [4], which increases the difficulty for utility companies to maintain the instantaneous power balance between supply and demand and exacerbates problems such as voltage fluctuations and voltage out-of-limit in the distribution network or microgrid. Moreover, the increasing permeability of RESs makes the problem of voltage fluctuation more and more prominent [5,6].
To deal with voltage fluctuations within distribution networks or microgrids, the demand side management method [7,8,9,10] is adopted to directly manage the load on the user side, allowing the load demand to be matched with the power generation and thereby alleviating voltage fluctuations. Although these methods have their own advantages for suppressing voltage fluctuation, they also come with inherent limitations. For example, real-time pricing [7] and day-ahead power-demand scheduling [8] cannot respond instantaneously to demand, direct load on/off control [9] sacrifices the comfort of power users, and energy storage systems [10] suffer from short lifespan, limited capacity, and large cost. Therefore, fast, convenient, and cost-effective demand response technology must be developed.
Inspired by mechanical springs, the Hui research group of the University of Hong Kong proposed the electric spring (ES) technology in 2012 [11], forming a new demand-side management method. ESs divide loads into critical loads (CLs) and noncritical loads (NCLs) according to the range of voltage fluctuations that they can withstand. CLs must be continuously supplied with a stable voltage. NCLs can withstand a wider range of voltage fluctuations, and their consumption can be modulated. For example, medical equipment that requires high-quality power should be considered a CL, whereas residential or shopping-mall heating and cooling loads can be considered an NCL. An ES and a NCL in series form a smart load. ESs adjust their own voltage output in real-time as a function of supply-side voltage fluctuations to control voltage variations in the NCL, so supply-side voltage fluctuations are transferred to the NCL, and the CL voltage remains stable.
Compared with traditional demand-side management methods, ESs have the advantages of smaller energy-storage requirements, lower cost (compared with energy-storage systems) [12], and better higher-quality power (compared with direct-load on-off control). After years of research, ESs are now available in several versions and are suitable for power-factor correction, harmonic suppression, frequency stabilization, and other tasks [13,14].
Several control schemes for ESs have been reported. Ref. [15] proposes radial chordal decomposition control to endow ESs with simultaneous power-factor correction and voltage regulation. The “δ control scheme” based on a proportional resonant (PR) controller was proposed in Ref. [16] and serves to simultaneously regulate voltage and suppress harmonics. This scheme is more accurate than radial chordal decomposition but requires a communication network to transmit supply-side voltage information. Ref. [17] proposed three interior angle control principles for the ES, which were then analyzed and compared until, finally, presenting a generalized control structure suitable for implementing all these three angle control methods. Ref. [18] proposed a new control strategy based on a direct current control mode to improve the performances of ESs based on current–source inverters. In the present work, the active power and reactive power of ESs are decoupled by dq0 transformation to simultaneously implement the functions of harmonic suppression, voltage regulation, and power-factor correction.
Although these controls have different structures because they were designed to deal with different problems, they all use linear controllers (proportional integral (PI) controllers or PR controllers). Linear controllers are easy to implement, but it has the disadvantages of narrow stability range, poor robustness, and control effects that are easily affected by parameter perturbation and external disturbances. In addition, the parameter debugging of linear controllers is time-consuming and laborious. Given the increasing number of nonlinear loads and uncertain disturbances, linear controllers of ES systems no longer satisfy the control requirements [19]. To improve the control effect, many researchers have optimized the parameters of traditional linear controllers or have combined linear control with other methods. Ref. [20] proposed a control method that combines quasi-proportional resonance control and repetitive control. Compared with the traditional PR control, this method improves the steady-state accuracy and reduces the system harmonic. Ref. [21] first applies an improved particle swarm algorithm to calculate the initial parameters of the PI controller, and then adjusts the parameters of the PI controller in real time by using a fuzzy algorithm. The results show that this strategy improves the control accuracy of ES. To minimizing the CL voltage error, Ref. [22] uses a genetic algorithm to optimize the PI controller parameters. The simulation shows that optimizing the parameters improves the adaptability and robustness of the PI controller. However, Refs. [20,21,22] did not study the influence of parameter perturbation and external disturbance. Considering the switching of NCL during operation, Refs. [23,24] proposed a self-adaptive voltage control strategy. Ref. [23] adjusts the gain of the PI controller in real time according to the output current of ES, and Ref. [24] adjusts the fuzzy universe according to the input errors, to improve the PI controller parameters. These two strategies ensure the stability of CL voltage when NCL changes, but the variations of other parameters such as filter inductance and DC side voltage are not considered. These researchers have made linear controllers that are more robust and adaptable, and the control effect has been improved. However, these control methods still do not suffice to deal with the multivariable and strongly coupled nonlinear characteristics of ESs and do not overcome the influence of uncertain disturbances such as variations in system parameters and external disturbances. In contrast with PI or PR control, sliding-mode control (SMC) is a special type of nonlinear control whose main characteristic is the discontinuity of the control structure. The control system switches between different structures as a function of the current state of the controlled object, forcing the controlled object to follow a predetermined state trajectory. The SMC responds rapidly and is not affected by system parameter perturbations, external disturbances, etc. [25,26,27]. Given that the variable structure characteristics of sliding-mode control are similar to the switching characteristics of ES converters, we apply it to the control of ESs.
This paper introduces adaptive sliding-mode control (ASMC) as an ES control system to make ESs more robust against interference and optimize their dynamic and static performance. We start by analyzing the working principle of ESs and derive an inexact state equation that considers parameter perturbation and external disturbances. Next, we use an adaptive prediction to estimate the total uncertainty of the system and obtain the minimum switching gain that satisfies the system-stability requirements. On this basis, the ASMC method is designed by combining adaptive control and sliding-mode control, following which the stability of the method is demonstrated. Finally, the advantages of the proposed control strategy are revealed by MATLAB simulations.

2. Electric-Spring Structure and Model Analysis

Figure 1 shows a simplified diagram of a microgrid with distributed generation, ESs, and renewable energy generators (RGs). Renewable sources can be wind energy, solar energy, tidal energy, etc. An electrical generator (EG) is a micro gas turbine or a diesel generator that offers adjustable power generation. EGs implement the power-generation plan made by microgrid operators based on the predictions of the power that can be generated by renewable sources. Accurate forecasting helps operators reduce the impact of the variability of renewable-source power on the microgrid, thereby improving the reliability of the microgrid. However, such power predictions are easily influenced by factors such as weather, temperature, and dust. Therefore, the intermittent uncertainty of renewable power sources inevitably leads to discrepancies between the predicted power and actual power, resulting in branch–voltage deviation from the target value. Therefore, ESs are required to allow active control and keep the CL voltage stable.
Figure 2 shows a typical circuit with a single ES, where u g is the supply-side voltage, u S is the CL voltage, Z1 is the transmission-line impedance, and Zcl and Zncl are the impedances of the CL and NCL, respectively. The ES is contained within the green dashed rectangle and is composed of a voltage–source inverter, a filter inductor, a filter capacitor, and an access switch SW. When SW is open, the ES has no effect and acts only as a capacitor. Smart loads and Zcl are connected in parallel, and the assembly is connected to a point of common coupling. When u g fluctuates, the ES adjusts its own output voltage, thereby adjusting the voltage across Zncl to make the NCL consume power adaptively. In addition, it also acts as a reactive power generator to regulate the reactive power of the system. These two aspects allow ESs to stabilize u S .
The blue dotted frame contains the ES control system, in which the module for calculating the reference voltage calculates the CL reference voltage uS_ref from u g and the system parameters. According to u S and u S _ ref , the voltage control module generates a pulse–width modulation wave to control the on-off inverter switch tube, thereby adjusting the output voltage of the ES to stabilize the root-mean-square (RMS) voltage of u S at a preset value. According to u g , the ES works in one of three modes: inductive, resistive, and capacitive. When u es = 0 , ES works in resistive mode and does not exchange reactive power with the grid. The RMS of u g at this point is denoted U g _ ref . When the RMS of u g exceeds U g _ ref , the ES absorbs reactive power and works in inductive mode. If the RMS of u g is less than U g _ ref , the ES releases reactive power and works in capacitive mode.
By applying Kirchhoff’s law in Figure 2, we obtain
i C f = i n c l + i L , u e s = u i n u L .
Taking u es and its derivative as the state variables,
x 1 = u es , x 2 = u ˙ es ,
allows the system state equations to be derived from Figure 2:
x ˙ 1 = x 2 = u ˙ es , x ˙ 2 = u ¨ es = u in L C f u es L C f + i ˙ ncl C f .
Considering the perturbation of a system parameter and an external disturbance, Equation (3) can be rewritten as
x ˙ 1 = u ˙ es , x ˙ 2 = u ¨ es = ( 1 L C f + Δ a ) ( u in u es ) + ( 1 C f + Δ b ) i ˙ ncl + Δ d ,
where Δ a and Δ b are the perturbations of L C f and C f , respectively, and Δ d is an external disturbance such as the DC side voltage U DC of the inverter fluctuations.
The total uncertainty of the system can be expressed as
ω ( t ) = Δ a ( u in u es ) + Δ b i ˙ ncl + Δ d .
Equation (4) can be simplified as
x ˙ 1 = u ˙ es , x ˙ 2 = K PWM u inm L C f u es L C f + i ˙ ncl C f + ω ( t ) ,
where K PWM = U DC / U tri is the inverter gain, U tri is the amplitude of the triangular carrier wave, and u inm is the PWM modulation signal. Since the total uncertainty of the system is bounded, we assume ρ > 0 is the (constant) upper bound, so | ω ( t ) | ρ .

3. Electric Spring Adaptive Sliding-Mode Control

3.1. Design Principles of Adaptive Sliding-Mode Controller

Taking the deviation of u S from u S _ ref and its time derivative as the new state variables,
x 1 = u S u S ref , x 2 = u ˙ S u ˙ S ref ,
gives a new state equation for the ES of Figure 2 when combined with Equation (6):
x ˙ 1 = e ˙ = u ˙ S u ˙ S ref = u ˙ es + u ˙ ncl u ˙ S ref , x ˙ 2 = e ¨ = u ¨ S u ¨ S ref = 1 L C f ( K PWM u inm u es ) + i ˙ ncl C f         + ω ( t ) + u ¨ ncl u ¨ S ref .
If L and C f are not perturbed and the external disturbance is also zero, we have ω ( t ) = 0 , and the control law takes the form
u inm = K PWM 1 ( L C f u ¨ S ref + u es L i ˙ ncl L C f u ¨ ncl K 1 e ˙ K 2 e ) .
The kinetic equation for the ES is then
L C f e ¨ + K 1 e ˙ + K 2 e = 0 ,
where K 1 and K 2 are control parameters. According to Equation (10), the use of appropriate K 1 and K 2 can ensure the stability of the system and lead to satisfactory dynamic performance.
In actual operation, the inverter system is susceptible to the perturbation of filter parameters and to sudden changes in DC side voltage. If Equation (9) is applied at this time, it will be difficult to eliminate the influence of disturbances and achieve satisfactory control. Therefore, we combine adaptive control with sliding-mode control to design an adaptive sliding-mode controller, so that the ES can still stabilize the CL voltage and produce good dynamic and static performance even for cases of parameter perturbation or external disturbance.
Figure 3 shows the ASMC strategy proposed herein. The red dotted frame shows the voltage controller, which is composed of the calculation module for the sliding surface, the prediction module for uncertainty, the control–voltage tracking item, and the control–voltage switching item. The voltage u S _ ref can be obtained from the calculation of the previous-level reference voltage, e = u S u S _ ref is the voltage tracking error, and the pulse–width modulation wave u inm is the sum of the control-voltage tracking item u inm _ tr and the control–voltage switching item u inm _ sw . S is the sliding surface function designed in this work, and ρ ¯ ( t ) is the variable part of the switching gain, which is related to the upper bound of the uncertainty of ES system. The sliding-surface calculation module computes in real-time S according to the voltage error e . Provided the prediction module obtains the value of S , it can predict ρ ¯ ( t ) . By using to u es , u ncl , i ncl , e , u S _ ref , and S , the u inm _ tr can be computed by Equation (14) in real time. The u inm _ sw can be computed in real-time by Equation (19) according to ρ ¯ ( t ) .

3.2. Design of the Adaptive Sliding-Mode Controller

The sliding-surface function is
S = e ˙ + c e
where c > 0 is a coefficient. Combining Equations (8) and (11) gives
S ˙ = e ¨ + c e ˙ = 1 L C f ( K PWM u inm u es ) + i ˙ ncl C f + ω ( t ) + u ¨ ncl u ¨ S ref + C ( ( u ˙ es + u ˙ ncl u ˙ S ref ) .
Assume that the reaching law of sliding-mode control is
S ˙ = τ S ε sgn ( S ) ,
where τ and ε are positive constants. τ determines the rate at which the system state approaches the sliding surface (the smaller τ is, the lower the rate is). ε is the fixed part of the switching gain and correlates positively with the system-chattering amplitude.
Combining Equations (12) and (13), the controller can be designed as
u inm = u inm _ sw + u inm _ tr , u inm _ sw = K PWM 1 L C f ( r + ε ) sgn ( S ) , u inm _ tr = K PWM 1 ( L C f c e ˙ L C f u ¨ S ref + L C f u ¨ ncl + L i ˙ ncl u es + L C f τ S ) ,
where r > 0 is a constant. Substituting Equation (14) into Equation (12) gives
S S ˙ = S ( e ¨ + c e ˙ ) = S [ ( r + ε ) sgn ( S ) τ S + ω ( t ) ] .
Take the Lyapunov function as
V 1 = 1 2 S 2
and take the derivative of V 1 to obtain
V ˙ 1 = S S ˙ = τ S 2 S ( r + ε ) sgn ( S ) + ω ( t ) S = τ S 2 ( r + ε ) | S | + ω ( t ) S τ S 2 ( r + ε ) | S | + | ω ( t ) S | = τ S 2 ( r + ε ) | S | + | ω ( t ) | | S | = τ S 2 ε | S | [ r | ω ( t ) | ] | S | [ r | ω ( t ) | ] | S | .
According to the Lyapunov stability theory, stabilizing the system requires V ˙ 1 < 0 . In other words, if the controller of Equation (14) is adopted, r should be greater than the upper bound of the total uncertainty when considering the most severe disturbance of the ES system (i.e., r > ρ ). However, in practice, the upper bound is difficult to determine in real-time, so only if r is sufficiently large is it possible to ensure system stability. However, since the variable structure of sliding-mode control is mainly reflected in the chattering caused by the switching items, excessive switching gain ( r + ε ) will lead to serious system chattering, which makes the motion of the system deviate significantly from the sliding surface and reduces the controller’s robustness.
In terms of system stability, the switching gain must be greater than the upper bound of the total uncertainty of the ES system to satisfy the condition for sliding-mode movement. In terms of control, the switching gain must be reduced to weaken chattering. The adaptive algorithm used herein can track disturbances in real-time and estimate the upper bound of the total uncertainty of the ES system. Taking this estimation as the variable part of the switching gain (replacing r ) minimizes the switching gain, reduces chattering, and satisfies the condition for sliding-mode motion.
The adaptive law for estimating the upper bound of the total uncertainty is
ρ ¯ ˙ ( t ) = b | S | ,
where ρ ¯ ( t ) is the estimated value of ρ , and b > 0 is an adjustable coefficient. The rate of change of the estimated value can be changed by adjusting the value of b . Since ρ ¯ ˙ ( t ) is related to the switching gain of the sliding-mode controller and directly affects the chattering of the system, an increasing b is not better but should be considered comprehensively. Replacing r in Equation (14) with ρ ¯ ( t ) allows the controller to be expressed as
u inm = u inm _ sw + u inm _ tr , u inm _ sw = K PWM - 1 L C f [ ρ ¯ ( t ) + ε ] sgn ( S ) , u inm _ tr = K PWM - 1 ( L C f c e ˙ L C f u ¨ S ref + L C f u ¨ ncl + L i ˙ ncl u es + L C f τ S ) .

3.3. Stability Analysis

To prove the stability of the proposed control strategy, we use the following Lyapunov function:
V 2 = 1 2 S 2 + b 1 2 ρ ˜ 2 ,
where ρ ˜ is the estimation error of the upper bound and is expressed as
ρ ˜ ( t ) = ρ ¯ ( t ) ρ .
Differentiating Equation (21) gives
ρ ˜ ˙ ( t ) = ρ ¯ ˙ ( t ) = b | S | .
Differentiating the function V 2 gives
V ˙ 2 = S S ˙ + b 1 ρ ˜ ρ ˜ ˙ = S [ ( ρ ¯ + ε ) sgn ( S ) + ω ( t ) τ S ] + b 1 ρ ˜ ρ ˜ ˙ = S ( ρ ¯ + ε ) sgn ( S ) + ω ( t ) S τ S 2 + b 1 ρ ˜ ρ ˜ ˙ = | S | ( ρ ¯ + ε ) + ω ( t ) S τ S 2 + b 1 ρ ˜ ρ ˜ ˙ = | S | ρ ¯ | S | ε + ω ( t ) S τ S 2 + b 1 ρ ˜ ρ ˜ ˙ | S | ρ ¯ | S | ε + | ω ( t ) | | S | τ S 2 + b 1 ρ ˜ ρ ˜ ˙ | S | ρ ¯ | S | ε + ρ | S | τ S 2 + b 1 ρ ˜ ρ ˜ ˙ = ( ρ ρ ¯ ) | S | ε | S | + b 1 ρ ˜ ρ ˜ ˙ .
Substituting Equations (21) and (22) into Equation (23) gives
V ˙ 2 ρ ˜ ( b 1 ρ ˜ ˙ | S | ) ε | S | = ε | S | 0 .
Equations (20) and (24) show that V 2 is positive definite and V ˙ 2 is negative semi-definite. When | S | 0 , V 2 > 0 and V ˙ 2 < 0 , the ES system is thus asymptotically stable.
When the system state reaches the sliding mode area and remains on the sliding surface, we have S = S ˙ = 0 , and the equivalent control of ES can be computed by applying Equation (12):
u inm - eq = L C f K PWM [ u ¨ S ref + u es L C f i ˙ ncl C f u ¨ ncl C e ˙ ω ( t ) ] .
Substituting Equation (25) into Equation (8) gives
e ¨ = c e ˙ .
Equation (26) shows that, provided the coefficient c is properly designed, the system is in a sliding-mode state and the CL voltage can be adjusted. In summary, the adaptive sliding-mode controller designed herein ensures the asymptotic stability of the ES system.

4. Simulations

To verify the effectiveness and anti-interference ability of the proposed ASMC strategy, we use a simulation model (see Figure 2) parametrized as shown in Table 1.
When the RMS of u S _ ref is set to 220 V, the given model parameters produce U g _ ref = 235.7 V . Therefore, the supply-side voltage is chosen as 214.5 V ( 0.91 U g _ ref ) and 240.4 V ( 1.02 U g _ ref ) to simulate the situation for lower or higher U g _ ref .

4.1. Verification of Performance of Voltage Stabilization

The first simulation verifies the voltage stabilizing performance of the ASMC strategy and compares the results with the linear controller (PR and PI). In this part, the switch SW is disconnected before 0.3 s, and the ES is only connected in series into the system in the form of capacitor C f . At 0.3 s, SW is connected and u S is controlled.
Figure 4 shows the voltage stabilization due to the two control strategies when the ES operates in capacitive mode. Since the ES does not control u S before 0.3 s, u S follows u g and is not stabilized at 220 V. The RMS of u g is 214.5 V after 0.1 s, lower than U g _ ref , so the ES works in capacitive mode after being connected. Figure 4 shows that both control strategies effectively control u S after the ES is connected. The instantaneous value waveform remains sinusoidal, and the RMS is stable at about 220 V. Comparatively, the ASMC strategy (the red line) makes u S more rapidly reach the steady state; the transition time is only about 0.02 s, and the RMS overshoot for u S is almost zero. However, the transient period of the system under PR control (see blue line) is longer by about 0.1 s, and the overshoot is significantly larger. These results indicate that the ASMC strategy produces better dynamic performance. Expanding the steady-state part of Figure 4b shows that, under the ASMC strategy, the RMS of u S is a straight line very close to 220 V, and the steady-state error is smaller. Under PR control, the RMS waveform oscillates in the range of 0.3 V, which shows that the ASMC strategy produces a better static performance than PR control.
Figure 5 shows the voltage stabilization due to the two control strategies when the ES operates in resistive mode. During the time interval 0–0.3 s, u S changes with u g . When the ES is connected at 0.3 s, the RMS of u g is 235.7 V, so the ES works in resistive mode. During the time interval 0.1–0.3 s, although the RMS of u g equals U g _ ref , the ES is not connected and is only embedded in the system as a capacitor, so uS is not 220 but 236.2 V. Figure 5 shows that, in resistive mode, the ES under PR control and the proposed ASMC strategy still stabilizes the CL voltage, and the instantaneous waveform remains sinusoidal. At the same time, compared with PR control, the ASMC strategy also greatly shortens the transition period (PR control takes 0.18 s, whereas ASMC control takes 0.02 s), and the overshoot is also significantly reduced. This situation is like the ES working in capacitive mode.
Expanding the relevant part of Figure 5 shows that, under the proposed ASMC strategy, the instantaneous waveform remains sinusoidal during the transition period, and the RMS of u S stabilizes at 220 V after the system is stabilized. However, under PR control, the instantaneous waveform is significantly distorted during the transition period, and the RMS of u S oscillates within the range of 220 ± 0.2 V in the steady state. This analysis shows that, when the ES works in resistive mode, the ASMC strategy can effectively stabilize the CL voltage and the dynamic and static performances are better than PR control.
Figure 6 shows that the RMS of u S is 236.2 V in the time interval 0–0.1 s. After 0.1 s, the RMS of u g is set to 240.4 V, so the RMS of u S rises to 241 V, and the ES works in inductive mode after being connected at 0.3 s. As shown in Figure 6, both control strategies stabilize the CL voltage when the ES works in inductive mode, just like the capacitive and resistive modes. Comparatively, the ASMC strategy in this mode still produces better dynamic and static performance. For example, the transition period of uS takes 0.25 s under PR control. During this period, not only is the voltage waveform severely distorted, but the RMS drops to 185 V. However, under the ASMC strategy, the voltage waveform is always sinusoidal, the transition period only takes 0.02 s, and the minimum RMS is 219.2 V. Expanding the steady-state part in Figure 6 shows that, under the ASMC strategy, the RMS of u S is stable at 220 V. However, under PR control, the situation is like the case when the ES works in capacitive mode, and the RMS oscillates in a range of ±0.2 V around 220 V.
Figure 7 shows the voltage stabilization of ES when using a saturation function for u inm _ sw . As shown in Figure 7, when operating in any of the three modes, ES quickly stabilizes the RMS of u S at about 220 V. The smooth curves and tiny chattering reflect the superior performance. The steady-state error in capacitive mode is slightly larger than in the other two modes.
Figure 8a–c show the u S waveform and its RMS curve when the ES uses the PI controller to work in the capacitive mode, resistive mode, and inductive mode, respectively. Consistent with PR control and ASMC, SW is also closed at 0.3 s. Figure 8 shows that the ES uses the PI controller to keep the waveform of u S sinusoidal and the RMS stable at 220 V in the different modes. However, the adjustment time in all three modes exceeds 1.5 s, and the maximum deviation of the RMS is 17 V. These two pieces of data are much greater than the corresponding values for the ASMC.
The analysis of Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8 shows that the proposed ASMC strategy stabilizes the CL voltage and produces a faster response speed and smaller steady-state error than PR or PI control.

4.2. Verification of Anti-Interference Performance

This section verifies the anti-interference ability of the ASMC strategy and then compares the results with PR and PI control. In this part, the ES is always connected. When the ES adopts PR control or ASMC, during the time interval 0–0.1 s, the supply-side voltage is set to U g _ ref , which is 235.7 V. After 0.1 s, the RMS of u g drops to 214.5 V, and the disturbance is added to the system at 0.3 s. Since the PI control has a longer adjustment time, when the ES adopts the PI control, the above two action times are set at 2 and 4.5 s, respectively, with the other parameters remain unchanged.
Figure 9 shows that both the ASMC and PR control can keep the RMS of CL voltage at about 220 V before 0.3 s, but the waveform amplitude of the latter more clearly exceeds 311 V. At 0.3 s, the inductor L changes from 3 to 6 mH. Under the ASMC strategy, u S is hardly affected, its waveform is a smooth sine wave, and its RMS can be stabilized quickly. Comparatively, the ability of PR control to resist parameter perturbation is weaker. The RMS waveform has been oscillating, and the time to reach the steady state is slightly longer. The overshoot of the RMS is larger, and the steady-state error is also larger.
In Figure 10, the DC side voltage suddenly drops from 350 to 320 V at 0.3 s. Like Figure 9, before 0.3 s, the CL voltage is maintained at about 220 V under the two control strategies. After U DC changes suddenly, both control strategies maintain the u S waveform sinusoidal. Expanding this figure further shows that, under the ASMC strategy, u S is almost unaffected by variations in U DC ; it stabilizes within 20 ms, and the RMS of u S is only 0.03 V lower than before U DC drops. However, under PR control, the transition period is slightly longer, and the RMS of uS oscillates between 219.7 and 220 V.
Figure 11 shows the anti-interference ability of the ASMC strategy when the control–voltage switching item uses a saturation function. As shown in this figure, L or U DC suddenly changes at 0.3 s, and the CL voltage stabilizes at about 220 V within a very short time. When ES reaches the steady state, almost no chattering occurs. This result indicates that the ASMC strategy also performs well when u inm _ sw uses a saturation function.
Figure 12 shows the anti-interference ability of the ES using the PI controller. Like ASMC or PR control, PI control stabilizes u S at 220 V before interference is added to the system. Figure 12a shows that it takes about 2 s to stabilize u S after L changes, whereas this time interval is only 2 ms under the ASMC strategy. Enlarging the relevant part of Figure 12a reveals that a steady-state error oscillates in the range of 0.5 V. Figure 12b shows that the RMS of u S drops to 217.2 V when U DC suddenly decreases, and stabilizes at about 220 V after 1 s. Like when L changes, the steady-state error oscillates in the range of 0.2 V.
The analyses of Figure 9, Figure 10, Figure 11 and Figure 12 show that the proposed ASMC strategy is more resistant to parameter perturbation and external disturbance, and its robustness is better than linear control.

5. Conclusions

In an ES control system, the conventional linear controller has poor robustness against uncertain disturbances of the system. To solve this problem, we design herein an adaptive sliding-mode control system based on predicting the total uncertainty disturbance of the ES system. The results of Matlab simulations lead to the following conclusions:
(1)
The ES operates in three modes when using the proposed ASMC strategy to stabilize the critical load voltage at the target value. When the system has uncertain disturbances, such as parameter perturbations or external disturbances, this strategy is more robust and ensures that the critical load voltage retains a good waveform and that the RMS is stable.
(2)
Comparing the simulation results of the PR and PI controls and of the ASMC shows that, with or without considering the system uncertainty disturbances, the latter strategy shortens the adjustment time, reduces the overshoot and the steady-state error, and produces better dynamic and static performance.

Author Contributions

Conceptualization, F.Y. and C.W.; methodology, F.Y.; software, F.Y. and W.W.; validation, F.Y. and C.W.; investigation, C.W. and W.W.; data curation, F.Y. and W.W.; writing—original draft preparation, F.Y., C.W., and W.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Science and Technology Research Project of the Education Department of Jiangxi Province, China (GJJ211608).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data are reported in this manuscript, and supporting data have been reported in previous studies contained within the reference section.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhao, H.; Zhao, J.H.; Zheng, Y.; Qiu, J.; Wen, F.H. A hybrid method for electric spring control based on data and knowledge integration. IEEE Trans. Smart Grid 2019, 11, 2303–2312. [Google Scholar] [CrossRef]
  2. Liu, H.; Ng, W.M.; Lee, C.K.; Hui, S.Y. Integration of flexible loads and electric spring using a three-phase inverter. IEEE Trans. Power Electron. 2020, 35, 8013–8024. [Google Scholar] [CrossRef]
  3. Zhang, G.D.; Yuan, J.; Li, Z.; Yu, S.S.; Zhang, Y. Forming a reliable hybrid microgrid using electric spring coupled with non-sensitive loads and ESS. IEEE Trans. Smart Grid 2020, 11, 2867–2879. [Google Scholar] [CrossRef]
  4. Qiu, D.Y.; Yuan, C.H.; Zhang, B.; Ke, M.B.; Chen, Y.F.; Xie, F. An improved electric spring topology based on LCL filter. IEEE Trans. Power Electron. 2022, 37, 5984–5994. [Google Scholar] [CrossRef]
  5. Zhang, C.Y.; Dou, X.B.; Zhang, Z.; Xu, K.; Wu, Z.J. Robust adaptive dynamic voltage control for pv high-penetration distribution network based on unified structure model of convertors. Proc. CSEE 2020, 40, 7306–7316. [Google Scholar]
  6. Hu, X.; Zhou, H.; Liu, Z.W.; Yu, X.; Li, C. Hierarchical distributed scheme for demand estimation and power reallocation in a future power grid. IEEE Trans. Ind. Inform. 2017, 13, 2279–2290. [Google Scholar] [CrossRef]
  7. Moataz, S.H.; Kody, P. Using real-time electricity prices to leverage electrical energy storage and flexible loads in a smart grid environment utilizing machine learning techniques. Processes 2019, 7, 870. [Google Scholar]
  8. Logenthiran, T.; Srinivasan, D.; Tan, Z.S. Demand side management in smart grid using heuristic optimization. IEEE Trans. Smart Grid 2012, 3, 1244–1252. [Google Scholar] [CrossRef]
  9. Lee, S.H.; Kim, S.J.; Kim, S.H. Demand side management with air conditioner loads based on the queuing system model. IEEE Trans. Power Syst. 2011, 26, 661–668. [Google Scholar] [CrossRef]
  10. Gong, Q.W.; Fang, J.T.; Qiao, H.; Liu, D.; Tan, S.; Zhang, H.J.; He, H.T. Optimal allocation of energy storage system considering price-based demand response and dynamic characteristics of VRB in wind-PV-ES hybrid microgrid. Processes 2019, 7, 483. [Google Scholar] [CrossRef] [Green Version]
  11. Hui, S.Y.; Lee, C.K.; Wu, F.F. Electric springs-a new smart grid technology. IEEE Trans. Smart Grid 2012, 3, 1552–1561. [Google Scholar] [CrossRef] [Green Version]
  12. Lee, C.K.; Hui, S.Y. Reduction of energy storage requirements in future smart grid using electric springs. IEEE Trans. Smart Grid 2013, 4, 1282–1288. [Google Scholar] [CrossRef] [Green Version]
  13. Amirabbas, K.; Ambrish, C. Electric spring using MPUC5 inverter for mitigating harmonics and voltage fluctuations. IEEE J. Emerg. Sel. Top. Power Electron. 2021, 9, 7447–7458. [Google Scholar]
  14. Soni, J.; Panda, S.K. Electric spring for voltage and power stability and power factor correction. IEEE Trans. Ind. Appl. 2017, 53, 3871–3879. [Google Scholar] [CrossRef]
  15. Mok, K.T.; Tan, S.C.; Hui, S.Y. Decoupled power angle and voltage control of electric springs. IEEE Trans. Power Electron. 2016, 31, 1216–1229. [Google Scholar] [CrossRef]
  16. Wang, Q.S.; Cheng, M.; Chen, Z. Steady-state analysis of electric springs with a novel δ control. IEEE Trans. Power Electron. 2015, 30, 7159–7169. [Google Scholar] [CrossRef]
  17. Chen, T.; Liu, H.; Lee, C.K.; Hui, S.Y. A generalized controller for electric-spring-based smart load with both active and reactive power compensation. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 8, 1454–1465. [Google Scholar] [CrossRef]
  18. Qiu, P.C.; Qiu, D.Y.; Zhang, B.; Chen, Y.F. Multiple functions control strategy of electric spring based on current-source inverter. In Proceedings of the 2021 IEEE 1st International Power Electronics and Application Symposium (PEAS), Shanghai, China, 11–15 November 2021. [Google Scholar]
  19. Zhang, T.; Hao, Q.; Zheng, Z.; Lu, C. An electric spring control strategy based on finite control set-model predictive control. J. Eur. Des Systèmes Autom. 2020, 53, 461–468. [Google Scholar] [CrossRef]
  20. Zhang, X.; Zheng, Z. Application of repetitive control in electric spring. IEEE Access 2020, 8, 216607–216616. [Google Scholar] [CrossRef]
  21. Ma, G.; Xu, G.C.; Chen, Y.X.; Ju, R. Voltage stability control method of electric springs based on adaptive PI controller. Int. J. Electr. Power Energy Syst. 2018, 95, 202–212. [Google Scholar] [CrossRef]
  22. Areed, E.F.; Abido, M.A. Design and dynamic analysis of electric spring for voltage regulation in smart grid. In Proceedings of the 2015 18th International Conference on Intelligent System Application to Power Systems (ISAP), IEEE, Porto, Portugal, 11–16 September 2015. [Google Scholar]
  23. Chen, Y.X.; Ma, G.; Wang, Y.; Xu, G.C. An adaptive voltage-regulation control strategy of an electric spring based on output current feedback. IEEJ Trans. Electr. Electron. Eng. 2019, 14, 394–402. [Google Scholar] [CrossRef]
  24. Lv, G.Q.; Xu, W.M.; Wang, P.Y. Control strategy for electric spring based on fuzzy proportional-integral self-adaptive control in variable universe. Autom. Electr. Power Syst. 2020, 44, 172–178. [Google Scholar]
  25. Gursoy, M.; Zhuo, G.P.; Lozowski, A.G.; Wang, X. Photovoltaic energy conversion systems with sliding mode control. Energies 2021, 14, 6071. [Google Scholar] [CrossRef]
  26. Guo, J.P. Application of a novel adaptive sliding mode control method to the load frequency control. Eur. J. Control. 2021, 57, 172–178. [Google Scholar] [CrossRef]
  27. Jiang, H.; Wei, M.F.; Zhao, Y.; Han, J. Design of decentralized adaptive sliding mode controller for the islanded AC microgrid with ring topology. Front. Energy Res. 2021, 9, 732997. [Google Scholar] [CrossRef]
Figure 1. Microgrid with renewable-energy generators, electrical generators, and electric springs.
Figure 1. Microgrid with renewable-energy generators, electrical generators, and electric springs.
Energies 15 04842 g001
Figure 2. Typical circuit with ES and control block diagram.
Figure 2. Typical circuit with ES and control block diagram.
Energies 15 04842 g002
Figure 3. Block diagram of adaptive sliding-mode control applied in this work.
Figure 3. Block diagram of adaptive sliding-mode control applied in this work.
Energies 15 04842 g003
Figure 4. Comparison of uS under ASMC and PR control when the ES works in capacitive mode: (a) waveform comparison, (b) RMS comparison.
Figure 4. Comparison of uS under ASMC and PR control when the ES works in capacitive mode: (a) waveform comparison, (b) RMS comparison.
Energies 15 04842 g004
Figure 5. Comparison of u S under ASMC and PR control when ES works in resistive mode: (a) waveform comparison, (b) RMS comparison.
Figure 5. Comparison of u S under ASMC and PR control when ES works in resistive mode: (a) waveform comparison, (b) RMS comparison.
Energies 15 04842 g005
Figure 6. Comparison of u S under ASMC and PR control when ES works in inductive mode: (a) waveform comparison, (b) RMS comparison.
Figure 6. Comparison of u S under ASMC and PR control when ES works in inductive mode: (a) waveform comparison, (b) RMS comparison.
Energies 15 04842 g006
Figure 7. RMS of u S when the control-voltage switching item u inm _ sw uses a saturation function.
Figure 7. RMS of u S when the control-voltage switching item u inm _ sw uses a saturation function.
Energies 15 04842 g007
Figure 8. Waveform and RMS of u S when the ES uses the PI controller: (a) capacitive mode, (b) resistive mode, (c) inductive mode.
Figure 8. Waveform and RMS of u S when the ES uses the PI controller: (a) capacitive mode, (b) resistive mode, (c) inductive mode.
Energies 15 04842 g008
Figure 9. Voltage-stabilizing capacity of ASMC and PR control when L changes: (a) waveform comparison, (b) RMS comparison.
Figure 9. Voltage-stabilizing capacity of ASMC and PR control when L changes: (a) waveform comparison, (b) RMS comparison.
Energies 15 04842 g009
Figure 10. Voltage-stabilizing capacity of ASMC and PR control when U DC changes: (a) waveform comparison, (b) RMS comparison.
Figure 10. Voltage-stabilizing capacity of ASMC and PR control when U DC changes: (a) waveform comparison, (b) RMS comparison.
Energies 15 04842 g010
Figure 11. Anti-interference ability of the ASMC strategy when u inm _ sw uses a saturation function.
Figure 11. Anti-interference ability of the ASMC strategy when u inm _ sw uses a saturation function.
Energies 15 04842 g011
Figure 12. Anti-interference ability of the ES using PI controller: (a) L changes, (b) U DC changes.
Figure 12. Anti-interference ability of the ES using PI controller: (a) L changes, (b) U DC changes.
Energies 15 04842 g012
Table 1. Simulation parameters for the electrical and control systems of the ES.
Table 1. Simulation parameters for the electrical and control systems of the ES.
ParameterValue
RMS of us_ref/V220
R1/Ω0.179
L1/mH1.2
Zcl/Ω50
Zncl/Ω3
L /mH3
Cf /uF50
UDC/V350
fs/kHz20
τ /103120
ε 350
b2
C/103100
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yin, F.; Wang, C.; Wang, W. Adaptive Sliding-Mode Control for Electric Spring in Microgrids with Distributed Renewable Energy. Energies 2022, 15, 4842. https://doi.org/10.3390/en15134842

AMA Style

Yin F, Wang C, Wang W. Adaptive Sliding-Mode Control for Electric Spring in Microgrids with Distributed Renewable Energy. Energies. 2022; 15(13):4842. https://doi.org/10.3390/en15134842

Chicago/Turabian Style

Yin, Fagen, Chun Wang, and Weizhang Wang. 2022. "Adaptive Sliding-Mode Control for Electric Spring in Microgrids with Distributed Renewable Energy" Energies 15, no. 13: 4842. https://doi.org/10.3390/en15134842

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