Next Article in Journal
Closing the Loop between Waste-to-Energy Technologies: A Holistic Assessment Based on Multiple Criteria
Previous Article in Journal
Photovoltaic Power Prediction Based on Irradiation Interval Distribution and Transformer-LSTM
Previous Article in Special Issue
Non-Weighted Two-Stage Model Predictive Control Strategy Based on Three-Level NPC Inverter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SMC Algorithms in T-Type Bidirectional Power Grid Converter

Institute of Automatic Control, Faculty of Electrical, Electronic, Computer and Control Engineering, Lodz University of Technology, 90-924 Łódź, Poland
*
Author to whom correspondence should be addressed.
Energies 2024, 17(12), 2970; https://doi.org/10.3390/en17122970
Submission received: 10 May 2024 / Revised: 13 June 2024 / Accepted: 14 June 2024 / Published: 17 June 2024

Abstract

:
In this paper, the implementation of sliding mode control algorithms for the case of power grid current regulation in a T-type bidirectional inverter system connected via an LCL filter to the power grid is proposed and presented. A mathematical model of such a system has been proposed, which was then implemented in a simulation environment. The method of designing sliding controllers using the Lyapunov method to conduct a stability proof is presented. The article includes a comparative analysis of two sliding mode control algorithms: the classic one, which includes equivalent control, discontinuous part, and proportional reaching law, and the hybrid one, in which the discontinuous part and reaching law were modified.

1. Introduction

The requirements for the quality of control systems of devices cooperating with the electrical grid are constantly increasing. This is due, among other things, to the constant growth in popularity of renewable energy sources [1]. The increasing number of different devices connected to the power grid means that the variability of power grid load is increasing. The number of so-called microgrids, i.e., local electrical grids, often equipped with energy storage and renewable energy sources such as photovoltaic panels [1,2,3,4,5,6,7], is growing. These structures mainly cooperate with the power grid, but they can also work in an island mode, i.e., disconnected from the main power grid [1,2,3,4,8,9,10,11].
The inverter, being an active intermediary between the local and main power grid, should perform its work while ensuring the appropriate quality of the current received and delivered to the grid. Classic and known methods of inverter system regulation are based on linear PID (Proportional–Integral–Derivative) controllers [1,2,8,9,10]. These are simple systems and are characterized by low resistance to disturbances and load variability.
An interesting and developing issue is the field of sliding mode control (SMC). Sliding controllers belong to the category of nonlinear and robust control systems [12,13]. The algorithms of the aforementioned control methods allow the use of knowledge of the dynamics of the object to design the control law, but the most important role is played by the discontinuous part of the control, which is responsible for switching in the sliding motion, guaranteeing resistance to disturbances [12,13]. An additional signal, the so-called reaching law [13,14,15,16], may be responsible for efficiently bringing the system’s operating point to the sliding phase. The problem of sliding controllers may turn out to be so-called chattering, i.e., the phenomenon of oscillations of small amplitude and high frequency [12,13].
In this work, a model of a structure, which includes a T-type three-level inverter connected to the power grid through an LCL filter [4,5,6,7,17,18,19,20], was proposed. In the literature, it is possible to find several examples of implementation of various three-phase inverter control algorithms that ensure improvement of the quality of transmitted energy. A few can be mentioned, among others: a method based on a Fractional-Order Synergetic Controller using a shunt active power filter to reduce reactive power and the impact of harmonics [21], a method using classic SMC controllers containing a discontinuous part based on a hyperbolic tangent function for the NPP (Neutral Point Piloted) topology [22], as well as algorithms based on the Predictive Control Model using a Luenberger observer [23].
In the case of sliding mode control, it should be mentioned that many different methods of developing classical SMC algorithms have been proposed in the literature on the subject. These include, among others, Fractional-Order SMC with Synergetic Controllers, which allows us to increase the efficiency of the control system and reduce the settling time [24], the SMC algorithm with adaptation based on the Neural Network, which allows for estimating and reacting to uncertain system parameters and external disturbances [25], a method using TSMC (Terminal Sliding Mode Control) that allows for convergence with finite-time [26], Fuzzy SMC increasing the robustness of the system [27], SMC-ANFIS (Artificial Neuro Fuzzy System) algorithm offering a combination of Fuzzy SMC control features with Neural Networks [28] and Super Twisting SMC improving the quality of control and reducing the impact of chattering phenomena [29]. However, in this work, it was decided to use easily applicable methods, which would be based on analytical methods.
It is therefore necessary to look for solutions enabling the achievement of suitable control quality parameters while maintaining limited numerical possibilities. Therefore, the authors attempted to implement sliding control algorithms for current regulation in a three-level grid inverter. Sliding mode controllers were designed in a classic form (SMC) and a modified one (HSMC—hybrid sliding mode control), in which changes were made in the discontinuous control by introducing a variable amplitude and also adding a hybrid reaching law, which contains switching proportional and exponential parts [30,31,32,33]. The proposed modified mechanism of the sliding mode controller’s operation reduces the impact of the chattering phenomenon and improves the quality of control, thus allowing for better properties than classic regulators [31,32,33].

2. Methodology

This work focuses on the simulation studies of proposed sliding mode control systems, which perform the task of controlling the main grid current in the structure of an inverter connected via an LCL filter to the power grid. The sinusoidal signals present in the three-phase system have been subjected to dq0 transformations, which allow for the simplification of the control system and maintain frequency synchronization with the power grid [7,34,35,36]. The control algorithms presented in the further part of the work allow for full-range regulation of the d and q components of the grid current vector.
The converter used in the work is a bidirectional inverter in the T topology, which allows for obtaining three levels of output voltages [17,18,37]. Such a solution allows for reducing the impact of current ripples, which makes it possible to use higher switching frequencies than in two-level inverters. For this reason, the frequency in the implemented system is 50 kHz.
Figure 1 presents a simplified diagram of a bidirectional inverter in T topology, which cooperates with a DC voltage source through a capacitive filter. This source can, for example, constitute energy storage in a so-called microgrid with renewable energy devices [1,2,3,4,5,6,7].
There are many problems with this type of inverter application. One of them is that LCL filters tend to oscillate due to their lossless nature. This problem can be avoided by properly selecting the values of the filter elements in such a way that the resonant frequency ranges do not coincide with the scope of the adjustable harmonics and the switching frequency [38,39]. The real parameters of passive elements, such as filter and capacitance losses and their other parasitic parameters, are also of great importance for the scale of occurrence of undesirable phenomena. In grid inverter control systems, the role of one of the inductive elements is partially or completely played by the inductance of the power grid, which unfortunately makes filter design difficult because the nature of the grid depends on the power of the distribution transformers, the distance from them and the connected loads. The authors assumed that at the stage of simulation work, tests would be carried out for the widest possible range of changes in network parameters. The second way to achieve stability is to take this phenomenon into account in the control algorithm [40,41]. In the examined case, where the measured and regulated values are the currents of both coils and the capacitor voltage, there is a strong mechanism that dampens possible oscillations.
The main dynamic problem in the described system is the small short-circuit impedances of the power grid, which cause high current values to appear even with small voltage changes [19]. The state of the power grid largely depends on the loads connected to it, which is particularly evident when cooperating with highly variable renewable energy sources over time. Therefore, the control systems of inverters connected to the power grid are burdened with high requirements regarding control quality. Figure 2 shows a block diagram of the investigated system.
The power system consists of a power grid, an LCL filter, and a three-phase T-type inverter. The control system includes dq0 transformations and inverse dq0 transformations of measured currents and voltages and a sliding mode controller.
The dynamics of each of the three phases of the system shown in Figure 2 is described by a system of equations:
L d i k d t = d U d c u c k   L g d i g k d t = u c k U g k   C f d u C k d t = i k i g k
where
L —inductance of the filter on the output side of the inverter;
i k —output current of a given inverter phase;
d —duty cycle of the voltage modulator;
U d c —voltage on the capacitive filter on the energy storage side;
u c k —voltage of a given phase on the capacitive filter on the power grid side;
L g —power grid inductance;
i g k —power grid current of a given phase;
U g k —power grid voltage of a given phase;
C f —capacity of the filter on the power grid side;
k —designation of one of the three phases a, b, and c.
According to the description in the introduction of this work, the system was transformed from three-phase to vector [20,34,35]:
L d d t i d i q = U d c d d d q u c d u c q L ω i q i d   L g d d t i g d i g q = u c d u c q U g d U g q L g ω i g q i g d   C f d d t u c d u c q = i d i q i g d i g q C f ω u c q u c d
where
i d , i q —components of the output current vector of the inverter;
d d , d q —components of the duty cycle of the voltage modulator;
u c d , u c q —components of the voltage vector on the capacitive filter on the power grid side;
i g d , i g q —components of the power grid current vector;
U g d , U g q —components of the power grid voltage vector;
ω —pulsation.
For the simplification of further equations, the following was also assumed:
v d v q = U d c d d d q
where
v d , v q —components of the output voltage vector of the inverter.
The following state variables were adopted for the implementation of sliding control algorithms [20]:
x 1 d x 1 q = i d i d S P i q i q S P x 2 d x 2 q = u c d u c d S P u c q u c q S P x 3 d x 3 q = i g d i g d S P i g q i g q S P

2.1. Standard Sliding Mode Control Concept

The basis for designing a sliding mode controller is the adoption of a certain sliding variable [12,20]. In the case where we represent three-phase inverter quantities in vector form, we define a sliding variable for both the d and q components:
s d = α 1 x 1 d + α 2 x 2 d + α 3 x 3 d
s q = α 1 x 1 q + α 2 x 2 q + α 3 x 3 q
where
s d , s q —sliding variables;
α 1 , α 2 , α 3 —coefficients of the sliding variable.
The control law used in this work is based on sliding mode control and consists of two major components [20]:
  • Continuous part: equivalent control and reaching law;
  • Discontinuous control.
The first component of the control law is equivalent control, which assures the system with stability in the sense of Lyapunov. Below are the Lyapunov functions for the d and q components, starting from the first component of the current vector:
V d = 1 2 s d 2
where
V d —Lyapunov function for the d component of the current vector.
The form of the derivative of this function is as follows:
V d ˙ = s d s d ˙
For the system described by Equation (2) to be characterized by stability in the sense of Lyapunov, the derivative presented in Equation (8) must be less than or equal to 0, so in the next step, we equate the derivative of the sliding variable s d ˙ to zero:
s d ˙ = α 1 x 1 d ˙ + α 2 x 2 d ˙ + α 3 x 3 d ˙ = 0
Substituting the derivatives of state variables from Equation (4), we obtain the following form:
α 1 ( i d ˙ i d S P ˙ ) + α 2 ( u c d ˙ u c d S P ˙ ) + α 3 ( i g d ˙ i g d S P ˙ ) = 0
Next, using the state Equation (2), we obtain the following:
α 1 d d U d c u c d + L ω i q L i d S P ˙ + α 2 i d i g d + C f ω u c q C f u c d S P ˙ + α 3 u c d U g d + L g ω i g q L g i g d S P ˙ = 0
Further transformation of Equation (11) leads to the definition of the output voltage signal of inverter v d , ensuring the stability in the sense of Lyapunov:
α 1 d d U d c L + α 1 u c d + L ω i q L i d S P ˙ + α 2 i d i g d + C f ω u c q C f u c d S P ˙ + α 3 u c d U g d + L g ω i g q L g i g d S P ˙ = 0
Taking into account Equation (3), the v d signal can be rewritten as follows:
v d = L α 1 α 1 u c d + L ω i q L i d S P ˙ + α 2 i d i g d + C f ω u c q C f u c d S P ˙ + α 3 u c d U g d + L g ω i g q L g i g d S P ˙
The control signal in our situation is the component of the duty cycle vector d d , which, in the case of equivalent control, was marked d d e q . Assuming the following:
i g d S P = I g
i g q S P = 0
u c d S P = U g d
u c q S P = U g q + ω L g I g
i d S P = C f U g d ˙ + I g ω C f U g q ω 2 C f L g I g
i q S P = C f U g q ˙ + ω C f U g d
I g = c o n s t = > i g d S P ˙ = I g ˙ = 0
where
I g —the set value of the d component of the network current vector. We can determine the duty cycle signal for equivalent control of the d component:
d d e q = 1 U d c u c d L ω i q + L i d S P ˙ α 2 L α 1 C f x 1 d x 3 d + C f ω x 2 q α 3 L α 1 L g x 2 d + L g ω x 3 q
Similarly, the control signal d q e q for the q component was determined. The Lyapunov function for the second component of the current vector was adopted:
V q = 1 2 s q 2
where
V q —Lyapunov function for the q component of the current vector.
The derivative of this function is as follows:
V q ˙ = 1 2 s q s q ˙
We then compare the derivative of the sliding variable to zero:
s q ˙ = α 1 x 1 q ˙ + α 2 x 2 q ˙ + α 3 x 3 q ˙ = 0
Analogously to Equations (10)–(13),we make a transformation:
α 1 ( i q ˙ i q S P ˙ ) + α 2 ( u c q ˙ u c q S P ˙ ) + α 3 ( i g q ˙ i g q S P ˙ ) = 0
α 1 ( d q U d c u c q L ω i d L i q S P ˙ ) + α 2 ( i q i g q C f ω u c d C f u c q S P ˙ ) + α 3 ( u c q U g q L g ω i g d L g i g q S P ˙ ) = 0
α 1 d q U d c L + α 1 ( u c q L ω i d L i q S P ˙ ) + α 2 ( i q i g q C f ω u c d C f u c q S P ˙ ) + α 3 ( u c q U g q L g ω i g d L g i g q S P ˙ ) = 0
v q = L α 1 α 1 u c q L ω i d L i q S P ˙ + α 2 i q i g q C f ω u c d C f u c q S P ˙ + α 3 u c q U g q L g ω i g d L g i g q S P ˙
Finally, assuming that
ω = c o n s t ω ˙ = 0
we obtain the final form of the q component of the duty cycle vector for equivalent control:
d q e q = 1 U d c u c q + L ω i d + L i q S P ˙ + α 2 L α 1 C f x 1 d x 3 d + C f ω x 2 q + α 3 L α 1 L g x 2 d + L g ω x 3 q
The second component of the continuous part of the control signal is the so-called reaching law, which ensures that the system reaches the sliding phase faster through the operating point than it would without this element. This part of the control also allows for limiting the amplitude of discontinuous control, thereby reducing the impact of so-called chattering on the system.
In this work, a proportional reaching law [30] was used. The control signals for the d and q components were named d R L d and d R L q , respectively:
d R L d = k R L s d
d R L q = k R L s q
where
k R L —reaching law control gain, k R L > 0 .
The basis of sliding mode control is the discontinuous part, which is responsible for the presence of sliding motion and causes the system to belong to the category of robust control systems [12]. This part is based on the use of the signum function:
d D d = k D s g n s d
d D q = k D s g n s q
where
d D d , d D q —components of the discontinuous control signal;
k D —gain of discontinuous control, k D > 0 .
The final control law for the d and q components of the network current vector is obtained by summing the previously mentioned individual control signals:
d d = d d e q + d R L d + d D d
d q = d q e q + d R L q + d D q
Using Equations (21) and (30), we obtain the following dependencies:
V d ˙ 0
V q ˙ 0
Therefore, the Lyapunov stability of the system has been proven. Taking into account the total control signals from (35) and (36), apart from the stability point, we obtain the following inequalities for s d 0 and s q 0 :
V d ˙ = s d k D s g n s d k R L s d < 0
V q ˙ = s q ( k D s g n s q k R L s q ) < 0
Using inequalities (39) and (40), asymptotic Lyapunov stability for both components of the power grid current vector has been proven.
In both cases presented using inequalities (39) and (40), the derivative of the given Lyapunov function will be negative for the positive value of the sliding variable, as well as for its negative value.
Unfortunately, this control is characterized by oscillations, etc., which is why the authors propose a modified version of the control.

2.2. Modified Sliding Mode Control Concept

The solution proposed in this work is the application of the so-called hybrid reaching law and linking this part of the control with discontinuous control by using a common parameter [21].
The hybrid reaching law includes two switching control laws:
  • Proportional reaching law [14,15];
  • Exponential reaching law [14,15,16,33].
The switching of these two signals depends on the current value of the sliding variable. The aim is to shorten the reaching phase time and then enable better cooperation of discontinuous control with reaching law. The first goal will be achieved by the exponential part, while the second will be by the proportional part.
The applied reaching law is described by the following equations:
d R L H d = k R L H s d , β
d R L H q = k R L H s q , β
where
d R L H d , d R L H q —modified reaching law controls;
H ( s d , β ) , H ( s q , β ) —functions implementing hybrid reaching law control;
β —a parameter that is the exponent of power affecting the control gain, β [ 0 , 1 ] .
The function H ( s , β ) for both components of the vector (d and q) takes the following form depending on the values of sliding variables:
  • For s > 1 :
H s , β = s 1 + β s g n s
  • For s < 1 :
H s , β = s
Equation (44) presents the classical, proportional implementation of reaching law control, while Equation (43) includes exponential control dependent on the current value of the sliding variable and the parameter, which is the exponent.
The next step is the previously mentioned change in discontinuous control, which will be linked with the hybrid reaching law by the parameter β . This link allows for an analytical selection of gains of individual components of the control law. The higher the value of the β parameter, the smaller the gain of the discontinuous control part and the greater the gain of the reaching law. Appropriate tuning of this value allows for maintaining the system robustness guaranteed by this part of the control while reducing the impact of chattering. In the case of reaching law, the β parameter makes it possible to shorten the reaching phase by applying greater gain until the point that describes the current state of the system approaches the sliding hyperplane. Therefore, the modified discontinuous control takes the following form:
d D H d = k D s 1 β s g n s d
d D H q = k D s 1 β s g n s q
where
d D H d , d D H q —modified discontinuous controls.
The above-proposed modified forms of discontinuous controls are characterized by a variable amplitude, which depends on the signal of sliding variables. This modification should eliminate the impact of chattering on the system, which will result in an improvement in the quality of regulation.
The complete control law is presented in the following form:
d d = d d e q + d R L H d + d D H d
d q = d q e q + d R L H q + d D H q
The two parts of the control, which have been modified, still provide negative definiteness of the derivatives of both Lyapunov functions (39) and (40), so the system remains asymptotically stable in the sense of Lyapunov for s d 0 and s q 0 :
V d ˙ = s d k D s 1 β s g n ( s d ) k R L H ( s d , β ) < 0
V q ˙ = s q k D s 1 β s g n s q k R L H s q , β < 0
The sign dependence of the given derivatives of the Lyapunov function presented using inequalities (49) and (50) is the same as in the case described in Equations (39) and (40).
The modified control laws have been implemented in a simulation environment to re-examine the system. The results are presented and described in Section 3.

2.3. Simulation Model of T-Type Bidirectional Power Grid Converter

The discussed model of a bidirectional T-type inverter with an LCL filter and the proposed control system has been implemented in the MATLAB (version R2021a) Simulink environment for the purpose of conducting a simulation examination. The simulation model is presented in Figure 3.
The most important submodules of this model include a signal generator for the set values, a grid current control system, dq0 transforms for voltages and currents, an inverse dq0 transform for the set voltages for the modulator, a modulator, an inverter with an LCL filter, a power grid, and a phase synchronization module. Table 1 presents the parameters describing the components used throughout the system.

3. Results

The aim was to examine the system of network current vector control in the discussed structure of the inverter with a filter connected to the power grid. Five cases were tested for classic SMC and its modified version: one static case and four dynamic cases, including step changes of grid current vector d and q components. In order to evaluate the results, the following measures of control performance were collected: integral squared error (ISE), integral absolute error (IAE), overshoot value, settling time, and maximum and minimum values. The time duration of each test is equal to 0.08 s.

3.1. Simulation Results of SMC and Modified SMC—Static Case

The first simulation test pertains to a case in which the set signal for the d component of the grid current vector is constant and is equal to 10 A. The initial value is the same. For the q component, these values are zero. The waveforms of current grid vector component signals were collected and are presented in Figure 4.
One can see that in the case of the classic sliding mode control algorithm (a), the system is stable but, at the same time, characterized by the presence of regular low-amplitude oscillations and noises. This is due to the constant amplitude of discontinuous control. The gain of this part of the control law should be greater than the total gain of all disturbances acting on the system so that the system is robust and remains in sliding motion [42]. Reducing the constant amplitude can cause the system to lose total robustness and cause the operating point to not move in a sliding motion at all times. However, the variable amplitude of discontinuous control gain can be used when implementing hybrid reaching law. The use of the proposed modified sliding mode control method allows for a significant reduction in the impact of the above-mentioned oscillations for both the d and q components of the grid current vector. This is shown in Figure 4b. Additionally, the impact of current ripples caused by voltage drops on transistors when phase currents pass through 0 has been reduced.
Figure 5 presents the control measures collected for the static case. Part (a) of this graphic contains the integral squared error and integral absolute error values for both components of the grid current vector. The presented numerical values were extracted based on Figure 4.
The use of a modified algorithm (HSMC) allows us to obtain approximately twice better results (52% reduction) of the IAE value of the d component than in the case of the classical algorithm (SMC). The control measure values for the q component are significantly lower for the hybrid version of sliding mode control, so the use of this algorithm allows us to effectively limit the reactive power of the system (92% reduction in IAE and 99% reduction in ISE). The additional measures presented in Figure 5b allow us to conclude that the use of the classic version of sliding mode control in the discussed problem is subject to a much greater spread of values caused by oscillations and noise than in the case of the proposed algorithm (for d component: 73% reduction in maximum and 79% reduction in minimum; for q component: 94% reduction in maximum and 95% reduction in minimum).

3.2. Simulation Results of SMC and Modified SMC—Dynamic Cases

The next test case concerns dynamic scenarios, i.e., those characterized by a change in the set signal during the operation of the system. The following situations were tested:
  • Change in i d from 0 to 10 A, i q equal to 0 A;
  • Change in i d from 10 to −10 A, i q equal to 10 A;
  • i d equal to 0 A, i q change from 0 to 10 A;
  • i d equal to 10 A, i q change from 10 to −10 A.
Figure 6 shows the waveforms of the current vector components. Part (a) presents the classic control method and (b) the modified one.
Again, there is less oscillation and noise present in the signals for modified solution.
Figure 7 shows the control measures for the test performed—(a) includes IAE and ISE for two current components, while (b) concerns the adjustment time. The presented numerical values were extracted from Figure 6.
For the hybrid algorithm, this indicator is slightly larger, which may be at the expense of reducing oscillations to a great extent (13% higher value of settling time). The indicators presented in (a) indicate that better quality regulation is provided by HSMC (IAE: for d component reduced by 23% and for q component reduced by 76%).
In the second dynamic test, the case was examined when the set signal of the grid current vector component passed through the value 0. The obtained waveforms are presented in Figure 8.
This test was performed to check whether such action does not cause additional negative consequences. Figure 8a,b show that such an influence cannot be observed.
Figure 9 shows the control measures for the test performed—(a) includes IAE and ISE for two current components, while (b) concerns the adjustment time. The presented numerical values were extracted based on Figure 8.
The results are similar to the previous test, but this time, the settling time is shorter for the results of the modified algorithm (10% reduction). As in the previous test cases, control measures for the q component of the current vector are lower for the hybrid sliding mode control version (IAE: for d component reduced by 42% and for q component reduced by 79%).
The third dynamic case is analogous to the first one, but the change concerns i q . The obtained waveforms are presented in Figure 10.
In this scenario, we do not observe overshoot, and its absence is visible in the shown graphics.
Figure 11 shows the control measures for the test performed—(a) includes IAE and ISE for two current components, while (b) concerns the adjustment time. The presented numerical values were extracted from Figure 10.
Based on the results shown in Figure 11, we can once again confirm the improvement in the quality of regulation thanks to the hybrid algorithm (IAE: for d component reduced by 59% and for q component reduced by 51%), this time at a visible cost in the form of settling time (50% higher settling time value).
The case of changing the set signal of the q component of the network current vector is different from changing the d component. There is no overshoot, and the difference in control measure values for both algorithms is not multiple for the changed component, as was the case with changing the previous component. Still, the results using the modified algorithm are much better than those of the classic solution, but at the visible cost of settling time.
Figure 12a,b show the waveforms for the case of a dynamic change in i q with the signal value crossing 0.
Figure 13 shows the control measures for the test performed—(a) includes IAE and ISE for two current components, while (b) concerns the adjustment time. The presented numerical values were based on data from Figure 12.
The results visible in Figure 13, as in the previous test scenario, indicate lower values of control measures for HSMC (IAE: for d component reduced by 53% and for q component reduced by 40%) at the expense of settling time (43% higher settling time value).
For convenience of simulation data analysis of experiments presented in Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13, we also present these data of investigated parameters in Table 2, Table 3, Table 4 and Table 5.
Table 2 contains control measures for the static case: integral squared error and integral absolute error values for the two components of the network current vector.
Table 3 contains the maximum and minimum values of the mentioned components.
Table 4 contains control measures for dynamic cases: integral squared error and integral absolute error values for the two components of the network current vector.
Table 5 refers to the settlement time values for dynamic cases.

4. Conclusions

This paper discusses the issue of controlling the current of a three-phase power grid to which an inverter with an LCL filter is connected. The inverter, implemented in T topology, allows for achieving three voltage levels, which enables the use of a higher switching frequency by reducing the influence of current ripple. The control of the inverter’s gates is carried out by duty cycle signals that go to the modulator. To simplify the implementation of the discussed control task, a dq0 transformation was used, which utilizes Clarke’s and Park’s transformations. As a result, instead of three sinusoidal signals, the system operates on two constant components of the current vector.
The first proposed control system was a system based on sliding mode control. The stability of the system was examined using the Lyapunov function, and asymptotic stability in the sense of Lyapunov was obtained. The proposed control system was tested in the MATLAB Simulink environment. The control algorithm fulfilled its task, the system was stable, and the set values were achieved quickly; however, the current waveforms were characterized by non-decaying oscillations of high frequency and low amplitude.
The second control system was based on the previously discussed structure. Two parts of the control law were modified: reaching law and discontinuous control. A so-called hybrid reaching law was introduced. Both changed parts were linked by one parameter, which allows for the analytical selection of parameters for reaching law. The results obtained by introducing these changes into the simulation environment showed that the measured quality of regulation was significantly improved, and the presence of oscillations in current signals was greatly reduced.
It is worth mentioning once again the exemplary results obtained using HSMC: for the static case, IAE was reduced by 52% for the d and 92% for the q component, which means a significant reduction in reactive power in the system. For one of the cases of a step change in the d component, it was possible to reduce the IAE by 23% for the d and 76% for the q component. For the scenario in which the step change concerns the q component, the results were 53% and 40% better, respectively. These data confirm that the modified SMC algorithm allows us to obtain better results than classical SMC controllers in the case of the discussed system. The proposed method is feasible to implement in typical microcontroller-based devices used in power electronics, especially in PV inverters, EV chargers, and energy storage devices connected to the grid.
The final noteworthy aspect pertains to comparing our results with other published works. In the study presented in [19], the authors investigated a control system for a three-phase inverter with an LCL filter, employing a PI controller. In this case, low-amplitude oscillations and regular current overshoots can be observed in network current waveforms. Both of these problems were successfully mitigated using our HSMC approach. Another work, ref. [20], faced challenges related to oscillations in the errors of both components of the current vector, likely due to chattering phenomena. Our hybrid approach effectively reduced these oscillations. In another study involving a T-type inverter, in [21], researchers implemented a PI (Proportional–Integral) controller combined with the FOSC (Fractional-Order Synergetic Controller) method. This approach effectively reduced unwanted current pulsations. However, it did not fully account for system dynamics or ensure robustness. Furthermore, ref. [5] demonstrated an NPC (Neutral Point Clamped) inverter with an LCL filter. The results indicated positive network current control quality, stability, and high-quality signal reception. Notably, the authors employed a QPR (quasi-proportional resonant) controller with a hybrid active damping control strategy mechanism, so the structure of the inverter system and the control algorithms are much more complicated than those used in our research. Although the presented method enhanced robustness to some extent, it did not guarantee robustness in the meaning of nonlinear robust control systems that can be provided by SMC or other VSC (Variable Structure Controller) or even by adaptation mechanism in some cases.

Author Contributions

Conceptualization, A.S. and P.C.; methodology, A.S. and P.C.; software, A.S.; validation, A.S., P.C. and K.T.; formal analysis, P.C. and K.T.; investigation, A.S.; resources, K.T. and A.S.; data curation, P.C. and K.T.; writing—original draft preparation, A.S.; writing—review and editing, K.T. and A.S.; visualization, A.S. and K.T.; supervision, P.C.; project administration, K.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bouzid, A.M.; Guerrero, J.M.; Cheriti, A.; Bouhamida, M.; Sicard, P.; Benghanem, M. A survey on control of electric power distributed generation systems for microgrid applications. Renew. Sustain. Energy Rev. 2015, 44, 751–766. [Google Scholar] [CrossRef]
  2. Rocabert, J.; Luna, A.; Blaabjerg, F.; Rodríguez, P. Control of Power Converters in AC Microgrids. IEEE Trans. Power Electron. 2012, 27, 4734–4749. [Google Scholar] [CrossRef]
  3. Nepal, S.; Shakya, A.; Fourney, R.; Sternhagen, J.; Tonkoski, R. Development of Real-time Control of Commercial Off-The-Shelf Inverter/Charger for Energy Management of Microgrids. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–4. [Google Scholar]
  4. Li, S.; Zhou, S.; Li, H. Harmonic Suppression Strategy of LCL Grid-Connected PV Inverter Based on Adaptive QPR_PC Control. Electronics 2023, 12, 2282. [Google Scholar] [CrossRef]
  5. Huang, J.; Zhao, Y.; Wang, J.; Zhang, P. A Hybrid Active Damping Strategy for Improving the Adaptability of LCL Converter in Weak Grid. Electronics 2023, 13, 144. [Google Scholar] [CrossRef]
  6. Pannawan, A.; Kaewchum, T.; Saeseiw, C.; Pachanapan, P.; Hinkkanen, M.; Somkun, S. Design and Implementation of Single-Phase Grid-Connected Low-Voltage Battery Inverter for Residential Applications. Electronics 2024, 13, 1014. [Google Scholar] [CrossRef]
  7. Hasan, M.M.; Chowdhury, A.H. Performance Analysis of a DQ0 Controlled Grid Forming Inverter for Grid Connected Photovoltaic System: A Case Study. In Proceedings of the 2022 4th International Conference on Sustainable Technologies for Industry 4.0 (STI), Dhaka, Bangladesh, 17–18 December 2022. [Google Scholar] [CrossRef]
  8. Guo, W.; Mu, L. Control principles of micro-source inverters used in microgrid. Prot. Control. Mod. Power Syst. 2016, 1, 5. [Google Scholar] [CrossRef]
  9. Monica, P.; Kowsalya, M.; Subramanian, K. Droop Reference Based Decoupling Coupling Control of NPC Inverter for Islanded Microgrid. In Proceedings of the International Conference on Innovations in Power and Advanced Computing Technologies, Vellore, India, 21–22 April 2017; pp. 1–3. [Google Scholar]
  10. Heo, S.; Han, J.; Park, W. Energy Storage System with Dual Power Inverters for Islanding Operation of Microgrid. In Proceedings of the 2020 IEEE International Symposium on Circuits and Systems (ISCAS), Seville, Spain, 10–21 October 2020; pp. 1–3. [Google Scholar]
  11. Blackstone, B.; Hicks, C.; Gonzales, O.; Baghzouz, Y. Improved islanded operation of a diesel generator–PV microgrid with advanced inverter. In Proceedings of the 2017 IEEE 26th International Symposium on Industrial Electronics (ISIE), Edinburgh, UK, 19–21 June 2017; pp. 123–126. [Google Scholar]
  12. Bartoszewicz, A. Conventional Sliding Modes in Continuous and Discrete Time Domains. In Proceedings of the 2017 18th International Carpathian Control Conference (ICCC), Sinaia, Romania, 28–31 May 2017; pp. 588–590. [Google Scholar]
  13. Zenteno-Torres, J.; Cieslak, J.; Dávila, J.; Henry, D. Sliding Mode Control with Application to Fault-Tolerant Control: Assessment and Open Problems. Automation 2021, 2, 1–30. [Google Scholar] [CrossRef]
  14. Bartoszewicz, A. A new reaching law for sliding mode control of continuous time systems with constraints. Trans. Inst. Meas. Control 2014, 37, 515–521. [Google Scholar] [CrossRef]
  15. Volosencu, C.; Saghafinia, A. Control Theory in Engineering; IntechOpen: London, UK, 2020; pp. 101–116. [Google Scholar]
  16. Rajanna, G.S.; Nagaraj, H.N. Comparison between sigmoid variable reaching law and exponential reaching law for sliding mode controlled DC-DC Buck converter. In Proceedings of the 2013 International Conference on Power, Energy and Control (ICPEC), Dindigul, India, 6–8 February 2013. [Google Scholar] [CrossRef]
  17. Rąbkowski, J.; Kopacz, R. Extended T-type Inverter. Power Electron. Drives 2018, 3, 55–57. [Google Scholar] [CrossRef]
  18. Meenakshi, V.; Kavitha, M.; Santhi Mary Antony, A.; Vijeye Kaveri, V.; Radhika, S.; Godwin Immanuel, D. T-type Three Phase Inverter with Grid Connected System used in Renewable Energy Resources. In Proceedings of the International Conference on Sustainable Computing and Data Communication Systems (ICSCDS-2023), Erode, India, 23–25 March 2023; pp. 929–932. [Google Scholar]
  19. Choi, W.; Lee, W.; Sarlioglu, B. Effect of grid inductance on grid current quality of parallel grid-connected inverter system with output LCL filter and closed-loop control. In Proceedings of the 2016 IEEE Applied Power Electronics Conference and Exposition (APEC), Long Beach, CA, USA, 20–24 March 2016; pp. 2679–2682. [Google Scholar]
  20. Hao, X.; Yang, X.; Xie, R.; Huang, L.; Liu, T.; Li, Y. A fixed switching frequency integral resonant sliding mode controller for three-phase grid-connected photovoltaic inverter with LCL-filter. In Proceedings of the 2013 IEEE ECCE Asia Downunder, Melbourne, VIC, Australia, 3–6 June 2013; pp. 793–796. [Google Scholar]
  21. Deffaf, B.; Debdouche, N.; Benbouhenni, H.; Hamoudi, F.; Bizon, N. A New Control for Improving the Power Quality Generated by a Three-Level T-Type Inverter. Electronics 2023, 12, 2117. [Google Scholar] [CrossRef]
  22. Swetha, K.; Sivachidambaranathan, V. A Nonlinear Controller for Neutral Point Piloted (T-Type) Multilevel Inverter-Based Three-Phase Four-Wire DSTATCOM. Int. Trans. Electr. Energy Syst. 2022, 2022, 7899765. [Google Scholar] [CrossRef]
  23. Panda, S.K.; Ghosh, A. A Computational Analysis of Interfacing Converters with Advanced Control Methodologies for Microgrid Application. Technol. Econ. Smart Grids Sustain. Energy 2020, 5, 7. [Google Scholar] [CrossRef]
  24. Nicola, M.; Nicola, C.-I. Improved Performance in the Control of DC-DC Three-Phase Power Electronic Converter Using Fractional-Order SMC and Synergetic Controllers and RL-TD3 Agent. Fractal Fract. 2022, 6, 729. [Google Scholar] [CrossRef]
  25. Zhu, A.; Yu, H.; Meng, X.; Xu, T. Cooperative control of NNMPL-SMC and integral EPH methods for a class of overdamping uncertain nonlinear system. Res. Sq. 2024, 1, 2–15. [Google Scholar] [CrossRef]
  26. Mughees, A.; Ahmad, I. Multi-Optimization of Novel Conditioned Adaptive Barrier Function Integral Terminal SMC for Trajectory Tracking of a Quadcopter System. IEEE Access 2023, 11, 88359–88377. [Google Scholar] [CrossRef]
  27. Bouguerra, Z. Comparative study between PI, FLC, SMC and Fuzzy sliding mode controllers of DFIG wind turbine. J. Renew. Energies 2023, 26, 209–223. [Google Scholar] [CrossRef]
  28. Kalvinathan, V.; Chitra, S. Power Optimization in Hybrid Renewable Energy Standalone System using SMC-ANFIS. Adv. Electr. Comput. Eng. 2022, 22, 69–78. [Google Scholar] [CrossRef]
  29. Liu, S.; Liu, X.; Jiang, S.; Zhao, Z.; Wang, N.; Liang, X.; Zhang, M.; Wang, L. Application of an Improved STSMC Method to the Bidirectional DC–DC Converter in Photovoltaic DC Microgrid. Energies 2022, 15, 1636. [Google Scholar] [CrossRef]
  30. Leng, J.; Ma, C. Sliding Mode Control for PMSM Based on A Novel Hybrid Reaching Law. In Proceedings of the 37th Chinese Control Conference, Wuhan, China, 25–27 July 2018; pp. 3006–3009. [Google Scholar]
  31. Xi, L.; Dong, H.; Yang, S.; Qi, X. Terminal Sliding Mode Control for Robotic Manipulator Based on Combined Reaching Law. In Proceedings of the 2019 International Conference on Computer Network, Electronic and Automation (ICCNEA), Xi’an, China, 27–29 September 2019; pp. 436–439. [Google Scholar]
  32. Li, Y.; Liu, L. The research of the sliding mode control method based on improved double reaching law. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 9–11 June 2018; pp. 672–674. [Google Scholar]
  33. Mozayan, S.M.; Saad, M.; Vahedi, H.; Fortin-Blanchette, H.; Soltani, M. Sliding Mode Control of PMSG Wind Turbine Based on Enhanced Exponential Reaching Law. IEEE Trans. Ind. Electron. 2016, 63, 6148–6159. [Google Scholar] [CrossRef]
  34. Schonardie, M.F.; Coelho, R.F.; Schweitzer, R.; Martins, D.C. Control of the Active and Reactive Power Using dq0 Transformation in Three-Phase Grid-Connected PV System. In Proceedings of the 2012 IEEE International Symposium on Industrial Electronics, Hangzhou, China, 28–31 May 2012; pp. 264–266. [Google Scholar]
  35. Vinoliney, A.; Lydia, M.; Levron, Y. Optimal grid integration of renewable energy sources with energy storage using dq0 based inverter controller. In Proceedings of the 2020 International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 26–28 February 2020; pp. 966–968. [Google Scholar]
  36. Zargari, N.; Ofir, R.; Levron, Y.; Belikov, J. Using DQ0 Signals based on the Central Angle Reference Frame to Model the Dynamics of Large-scale Power Systems. In Proceedings of the 2020 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), The Hague, The Netherlands, 26–28 October 2020. [Google Scholar] [CrossRef]
  37. Xu, S.; Zhang, J.; Hang, J. Investigation of a fault-tolerant three-level T-type inverter system. In Proceedings of the 2015 IEEE Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24 September 2015. [Google Scholar] [CrossRef]
  38. Han, Y.; Yang, M.; Li, H.; Yang, P.; Xu, L.; Coelho, E.A.A.; Guerrero, J.M. Modeling and Stability Analysis of LCL-Type Grid-Connected Inverters: A Comprehensive Overview. IEEE Access 2019, 7, 114975–115001. [Google Scholar] [CrossRef]
  39. Zheng, C.; Liu, Y.; Liu, S.; Li, Q.; Dai, S.; Tang, Y.; Zhang, B.; Mao, M. An Integrated Design Approach for LCL-Type Inverter to Improve Its Adaptation in Weak Grid. Energies 2019, 12, 2637. [Google Scholar] [CrossRef]
  40. Wang, X.; Wang, D.; Zhou, S. A Control Strategy of LCL-Type Grid-Connected Inverters for Improving the Stability and Harmonic Suppression Capability. Machines 2022, 10, 1027. [Google Scholar] [CrossRef]
  41. Aapro, A.; Messo, T.; Suntio, T. Effect of active damping on the output impedance of PV inverter. In Proceedings of the 2015 IEEE 16th Workshop on Control and Modeling for Power Electronics (COMPEL), Vancouver, BC, Canada, 12–15 July 2015. [Google Scholar] [CrossRef]
  42. Utkin, V.; Shi, J. Integral Sliding Mode in Systems Operating under Uncertainty Conditions. In Proceedings of the 35th IEEE Conference on Decision and Control, Kobe, Japan, 13 December 1996; pp. 4591–4593. [Google Scholar]
Figure 1. Simplified diagram of a T-type inverter.
Figure 1. Simplified diagram of a T-type inverter.
Energies 17 02970 g001
Figure 2. Simplified control diagram of a T-type bidirectional inverter.
Figure 2. Simplified control diagram of a T-type bidirectional inverter.
Energies 17 02970 g002
Figure 3. Simulation model of the system in MATLAB Simulink.
Figure 3. Simulation model of the system in MATLAB Simulink.
Energies 17 02970 g003
Figure 4. Vector current component waveforms for static case. (a)—results for classic SMC; (b)—results for modified SMC.
Figure 4. Vector current component waveforms for static case. (a)—results for classic SMC; (b)—results for modified SMC.
Energies 17 02970 g004
Figure 5. Bar charts of collected control measures for the static test case. (a)—control measures of both control methods; (b)—maximum and minimum values measured.
Figure 5. Bar charts of collected control measures for the static test case. (a)—control measures of both control methods; (b)—maximum and minimum values measured.
Energies 17 02970 g005
Figure 6. Bar charts of collected control measures for the first dynamic case—change in i d from 0 to 10 A, i q equal to 0 A. (a)—results for classic SMC; (b)—results for modified SMC.
Figure 6. Bar charts of collected control measures for the first dynamic case—change in i d from 0 to 10 A, i q equal to 0 A. (a)—results for classic SMC; (b)—results for modified SMC.
Energies 17 02970 g006
Figure 7. Bar charts of collected control measures for the first dynamic case—change in i d from 0 to 10 A, i q equal to 0 A. (a) control measures of both control methods; (b) settling time of both control methods.
Figure 7. Bar charts of collected control measures for the first dynamic case—change in i d from 0 to 10 A, i q equal to 0 A. (a) control measures of both control methods; (b) settling time of both control methods.
Energies 17 02970 g007
Figure 8. Vector current component waveforms for the second dynamic case—change in i d from 10 to −10 A, i q equal to 10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Figure 8. Vector current component waveforms for the second dynamic case—change in i d from 10 to −10 A, i q equal to 10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Energies 17 02970 g008
Figure 9. Bar charts of collected control measures for the second dynamic case—change in i d from 10 to −10 A, i q equal to 10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Figure 9. Bar charts of collected control measures for the second dynamic case—change in i d from 10 to −10 A, i q equal to 10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Energies 17 02970 g009
Figure 10. Vector current component waveforms for the third dynamic case— i d equal to 0 A, i q change from 0 to 10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Figure 10. Vector current component waveforms for the third dynamic case— i d equal to 0 A, i q change from 0 to 10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Energies 17 02970 g010
Figure 11. Bar charts of collected control measures for the third dynamic case— i d equal to 0 A, i q change from 0 to 10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Figure 11. Bar charts of collected control measures for the third dynamic case— i d equal to 0 A, i q change from 0 to 10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Energies 17 02970 g011
Figure 12. Vector current component waveforms for the fourth dynamic case— i d equal to 10 A, i q change from 10 to −10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Figure 12. Vector current component waveforms for the fourth dynamic case— i d equal to 10 A, i q change from 10 to −10 A. (a)—results for classic SMC; (b)—results for modified SMC.
Energies 17 02970 g012
Figure 13. Bar charts of collected control measures for the fourth dynamic case— i d equal to 10 A, i q change from 10 to −10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Figure 13. Bar charts of collected control measures for the fourth dynamic case— i d equal to 10 A, i q change from 10 to −10 A. (a) control measures of both control methods; (b) settling time of both control methods.
Energies 17 02970 g013
Table 1. System parameters used for simulation.
Table 1. System parameters used for simulation.
Name of the ParameterValue
Simulation time step100 ns
Modulator frequency50 kHz
DC source voltage350 V
Filter inductance (inverter output side)1.4 mH
Filter capacitance0.2 mF
Filter inductance (load side)0.127 mH
Table 2. Control measures for static simulation case.
Table 2. Control measures for static simulation case.
CasesIAE_dIAE_qISE_dISE_q
Static case (SMC)0.00420.00720.00040.0011
Static case (HSMC)0.00210.00050.00010.000005
Table 3. Maximum and minimum values of grid current component values for static simulation case.
Table 3. Maximum and minimum values of grid current component values for static simulation case.
Cases i d Maximum [A] i d Minimum [A] i q Maximum [A] i q Minimum [A]
Static case (SMC)0.2247−0.20390.3326−0.4055
Static case (HSMC)0.0599−0.04110.0199−0.0184
Table 4. Control measures for dynamic simulation cases.
Table 4. Control measures for dynamic simulation cases.
CasesIAE_dIAE_qISE_dISE_q
i d : from 0 to 10 A (SMC)0.00660.00790.00790.0015
i d : from 0 to 10 A (HSMC)0.00510.00190.01120.0006
i d : from 10 to −10 A (SMC)0.01180.01560.01990.0069
i d : from 10 to −10 A (HSMC)0.00680.00320.01770.0026
i q : from 0 to 10 A (SMC)0.00590.01650.00070.0263
i q : from 0 to 10 A (HSMC)0.00240.00810.00020.0225
i q : from 10 to −10 A (SMC)0.00680.02590.00100.0956
i q : from 10 to −10 A (HSMC)0.00320.01530.00040.0824
Table 5. Settling time values for dynamic simulation cases.
Table 5. Settling time values for dynamic simulation cases.
Cases i d Settling Time [s] i q Settling Time [s]
i d : from 0 to 10 A (SMC)0.0042-
i d : from 0 to 10 A (HSMC)0.0047-
i d : from 10 to −10 A (SMC)0.0067-
i d : from 10 to −10 A (HSMC)0.0060-
i q : from 0 to 10 A (SMC)-0.0046
i q : from 0 to 10 A (HSMC)-0.0069
i q : from 10 to −10 A (SMC)-0.0057
i q : from 10 to −10 A (HSMC)-0.0081
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sawiński, A.; Chudzik, P.; Tatar, K. SMC Algorithms in T-Type Bidirectional Power Grid Converter. Energies 2024, 17, 2970. https://doi.org/10.3390/en17122970

AMA Style

Sawiński A, Chudzik P, Tatar K. SMC Algorithms in T-Type Bidirectional Power Grid Converter. Energies. 2024; 17(12):2970. https://doi.org/10.3390/en17122970

Chicago/Turabian Style

Sawiński, Albert, Piotr Chudzik, and Karol Tatar. 2024. "SMC Algorithms in T-Type Bidirectional Power Grid Converter" Energies 17, no. 12: 2970. https://doi.org/10.3390/en17122970

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