Next Article in Journal
In-Depth Review of Augmented Reality: Tracking Technologies, Development Tools, AR Displays, Collaborative AR, and Security Concerns
Previous Article in Journal
Highly Selective Gas Sensor Based on Litchi-like g-C3N4/In2O3 for Rapid Detection of H2
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Parameter Optimization Method of Sliding Mode Controller for the Grid-Connected Composite Device Based on IMFO Algorithm

School of Electrical Engineering, Xi’an University of Technology, Xi’an 710048, China
*
Authors to whom correspondence should be addressed.
Sensors 2023, 23(1), 149; https://doi.org/10.3390/s23010149
Submission received: 1 December 2022 / Revised: 19 December 2022 / Accepted: 21 December 2022 / Published: 23 December 2022
(This article belongs to the Topic Modern Power Systems and Units)

Abstract

:
In order to make the grid-connected composite device (GCCD) controller meet the requirements of different operating modes and complex working conditions of power grid, this paper proposes to introduce sliding mode control (SMC) into GCCD controller. Firstly, the mathematical model of MMC converter is established, and the sliding mode controller is designed based on the SMC principle. Then, aiming at the problems of complex controller structure and difficult parameter tuning in multiple modes of the GCCD, this paper proposes a controller parameter optimization method based on improved Month Flame optimization (IMFO) algorithm. This method improves the MFO algorithm by introducing good point set (GPS) initialization and Levy flight strategy, which accelerates the convergence speed of the algorithm while avoiding falling into local optimization, and realizes the optimization of converter controller parameters. Under a variety of standard test functions, the advantages of the proposed IMFO algorithm are verified by comparing it with the traditional algorithm. Finally, in order to realize the automatic tuning of control parameters, the Python–PSCAD joint simulation method is studied and implemented. Taking the comprehensive integral of time and absolute error (CITAE) index as the objective function, the parameters of the sliding mode controller are optimized. The simulation results show that the controller parameters optimized by the IMFO algorithm can make the GCCD have better dynamic performance.

1. Introduction

With the intelligent and automatic development of the interconnected power grid, the research on reliable and effective new grid connection mode is crucial [1]. Some scholars put forward a GCCD based on back-to-back VSC-HVDC. By transferring active and reactive power between systems on both sides to be paralleled, the frequency and voltage of both sides to be paralleled are adjusted to achieve synchronous paralleling between power grids. This method changes the current situation that the traditional synchronous paralleling method completely relies on manual operation, which involves a wide range of operations and is difficult, and the grid connection speed is slow, and the success rate is low [2,3].
In order to apply the GCCD to the actual project, the Ref. [4] puts forward the calculation method of the capacity of the device, as well as the selection principle and calculation method of parameters, which provides a basis for the actual project application, design and economic analysis of the device. In order to improve the utilization rate of the device, the team proposed to convert the device to the FACTS device in the subsequent study, and defined the conversion topology and control strategy of grid connection, tie line power flow control and splitting modes [5]. In order to adapt to the low inertia characteristics of the new power system, the Ref. [6] studied the control strategy of the device applied to the low inertia power system. The GCCD based on back-to-back MMC-HVDC has a complex topology and multi-link control strategy, so it is necessary to select a control strategy with good control performance. The advantages and disadvantages of current common control strategies are shown in Table 1.
During mode conversion, the dynamic performance of the GCCD is the most important indicator. Through analyzing the advantages and disadvantages of common control strategies, the SMC is selected as the control strategy of the GCCD. Due to the large number of the SMC parameters and the multiple modes of the GCCD, it will be more difficult to set the parameters during mode switching, and the conventional empirical trial and error method will gradually fail to meet the requirements [11,12]. In order to ensure the fast and smooth switching of device mode, the research on automatic tuning of converter control parameters is of great significance.
At present, most of the tuning methods of converter control parameters use intelligent algorithms to optimize, taking the output effect as the optimization objective and the converter control parameters as variables for multi-objective optimization. Common intelligent optimization algorithms include GA algorithm, PSO algorithm, etc. [13]. In order to improve the efficiency of multi-objective optimization, scholars at home and abroad are also constantly improving intelligent algorithms.
Mirjalili S team proposed the MFO algorithm, and compared it with other famous natural heuristic algorithms on 29 benchmarks and 7 practical engineering problems. The comparison results show that the algorithm is feasible and superior [14]. In view of the difficulty in tuning the PI control parameters of wind turbine generators, some scholars used the MFO algorithm to optimize the controller parameters, and the experiment proved that the control effect of the PI controller after parameter optimization was significantly improved [15]. In view of the difficulty of PSS parameter coordination in multiple operation modes, some scholars proposed to apply the MFO algorithm to PSS parameter coordination optimization. The simulation results show that the dynamic stability of the system is effectively improved after the application of this method [16]. For the optimal power flow problem of power system, some scholars have proposed an optimization solution scheme using MFO algorithm. The results of an example show that using MFO algorithm to solve the optimal power flow problem has the advantages of faster convergence speed, higher search accuracy, and strong robustness [17]. The above research shows that the MFO algorithm has been widely used in the optimal solution search of power system. However, the algorithm still has the problems of large global search complexity and local search easy to fall into local optimization in practical application.
In order to ensure the optimization effect of the algorithm on the controller parameters of the GCCD based on back-to-back MMC-HVDC, this paper improves the MFO algorithm from the perspective of both global search and local search, so that it can better optimize the sliding mode controller parameters of the GCCD. The controller can adaptively adjust parameters according to different working conditions to meet the requirements of different modes of the device and complex working conditions of the power grid.
The main contributions of this paper are as follows:
(1)
The mathematical model of MMC converter is established, and the controller of GCCD is designed according to the SMC principle, so that GCCD can meet the requirements of different operation modes and complex working conditions of the power grid.
(2)
By improving the MFO algorithm through GPS initialization and Levy flight strategy, this paper proposes an optimization method of converter control parameters based on IMFO algorithm. Through comparison and verification, the above improvements can effectively improve the convergence speed of the algorithm, avoid falling into local optimization, and significantly improve the optimization performance of the algorithm.
(3)
In order to optimize the control parameters of the converter accurately, this paper proposes a parameter optimization method of sliding mode controller based on IMFO algorithm. Through Automation Library as a link, automatic parameter tuning is realized in Python-PSCAD joint simulation. By comparing the step response performance of non-optimization, MFO and IMFO, it is verified that the proposed method can effectively improve the GCCD control performance.

2. Sliding Mode Controller of the GCCD Based on Back-to-Back MMC-HVDC

2.1. The GCCD Based on Back-to-Back MMC-HVDC

Jiajun Liu’s team proposed the basic principle and control strategy of the GCCD, which can work in the grid-connected mode and the tie line power flow control mode. Its topology and mode switching process are shown in Figure 1 [5,6].
When the device is working in the grid connection mode, it will be put between the two systems to be paralleled. At this time, the device will quickly transfer the active power of the high-frequency side system to the low-frequency side system through the control strategy, so as to reduce the frequency difference on both sides. At the same time, the device injects capacitive reactive power to the parallel points with lower voltage and absorbs reactive power from the parallel points with higher voltage to adjust the voltage amplitude and phase angle of the parallel points. Meet grid connection conditions through power transmission to achieve rapid grid connection. After the device exits the grid connection mode, in order to improve the device utilization, the device can be switched to the tie line power flow control mode. At this time, the structure is the same as UPFC, which can adjust the tie line power flow and improve the power supply capacity.
With the development of power electronics technology and the continuous improvement of the voltage level in the use scenario, the converter has also been upgraded from the original VSC type to the MMC type. The MMC three-phase topology and sub-module structure are shown in Figure 2. The converter sub-module of the GCCD in this paper adopts a half bridge sub-module topology, which is simple in topology, requires less devices and has low overall loss. For MMC with level above 21, the nearest level modulation method(NLM) is often used. The principle of this modulation method is simple, and the switching frequency is low. Therefore, the converter in this paper uses the NLM [5,6].

2.2. Design of Sliding Mode Controller

2.2.1. Design of Current Inner Loop Sliding Mode Variable Structure Controller

The dynamic equation of MMC under dq coordinate axis is:
{ L d i d d t + R i d = u d v d + ω L i q L d i q d t + R i q = u q v q ω L i d
where i d and i q are the components of the current at the AC side of MMC on d-axis and q-axis. u d and u q are the components of the access terminal voltage on the AC side of MMC on d-axis and q-axis. v d and v q are the components of the fundamental wave voltage at the midpoint of the MMC bridge arm on d axis and q axis.
Equation (1) can be converted into:
{ i ˙ q = R L i d + ω i q + 1 L u d 1 L v d i ˙ q = R L i q + ω i d + 1 L u q 1 L v q
The choice of sliding mode surface and reaching law is the most important part in the design of sliding mode variable controller, which directly affects the control performance of sliding mode variable controller. Considering that integration can eliminate the static error of the system, the integral sliding surface is selected in this paper, as shown in Equation (3) [18,19].
{ s 1 = e 1 + k s 1 0 t e 1 d t s 2 = e 2 + k s 2 0 t e 2 d t
where e 1 and e 2 are control errors, e 1 = i d i d r e f , e 2 = i q i q r e f . i d r e f and i q r e f are the reference values of the current on d-axis and q-axis, respectively, s 1 and s 2 denote sliding surface, k s 1 and k s 2 are sliding surface control parameters, and better steady-state performance can be obtained by adjusting these parameters.
When the system is in steady state, the system status is running on the sliding surface. However, before the system enters the steady state, a control action must be applied to make the system approach the sliding surface.
Select the exponential approach law, as shown in Formula (4):
s ˙ = ε sgn ( s ) k s       ε > 0 , k > 0
s is the switching function, s ˙ = k s is the exponential approach term, and its solution is s = s ( 0 ) e k t , k is the approaching speed, s ˙ = ε sgn ( s ) is the constant velocity approach term, ε is the arrival speed, sgn ( s ) is a symbolic function, as shown in Formula (5):
sgn ( s ) = { 1 , s > 0 0 , s = 0 1 , s < 0
Exponential approach law contains both exponential approach term and constant velocity approach term, which enables the system to quickly approach the switching surface.
Introduce | x | 2 into the constant velocity reaching term of Equation (4) and obtain Equation (6) simultaneously with Equation (3).
{ s ˙ 1 = i ˙ d i ˙ d r e f + k s 1 ( i d i d r e f ) = ε 1 | x 1 | 2 sgn ( s 1 ) k 1 s 1 s ˙ 2 = i ˙ q i ˙ q r e f + k s 2 ( i q i q r e f ) = ε 2 | x 2 | 2 sgn ( s 2 ) k 2 s 2
where x is the state variable of the system, and the control error is selected in this paper.
At the beginning of control, ε | x | 2 sgn ( s ) and k s worked together, and the approaching speed was fast. As the distance between the state variable x and the sliding surface gradually decreases, both ε | x | 2 sgn ( s ) and k s tend to zero and finally stabilize on the sliding surface. The approach law can adjust the approach speed according to the distance between the state variable and the sliding surface and achieve stable operation while reducing chattering.
According to formula (1), the AC side current i d and i q of MMC converter is affected by control quantity u d and u q , grid electromotive force v d and v q , and cross coupling term ω L i d and ω L i q , so feedforward decoupling control is required. By introducing Equation (6) into Equation (2), the sliding mode variable structure control law of the current inner loop of the grid-connected composite device can be obtained, as shown in Equation (7). Figure 3 is the sliding mode variable structure control block diagram of the current inner loop of the GCCD.
{ v d = u d + ω L i q L [ k 1 s 1 + ε 1 | x 1 | 2 sgn ( s 1 ) + k s 1 e 1 ] v q = u q ω L i d L [ k 2 s 2 + ε 2 | x 2 | 2 sgn ( s 2 ) + k s 2 e 2 ]

2.2.2. Design of Voltage Outer Loop Sliding Mode Variable Structure Controller

Each bridge arm of MMC is composed of multiple submodules in cascade, and its DC side capacitor voltage is supported by the submodule capacitor voltage. Equation (8) can be obtained from the law of energy conservation [20].
3 2 ( u d i d + u q i q ) = u d c i d c = C e q u d c d u d c d t
where i d c is the current at the DC side of the inverter, and C e q is the equivalent capacitance value at the DC side.
For three-phase balanced power grid, there is u q = 0 , so the DC side dynamic equation of MMC is:
d u d c d t = 3 u d i d 2 C e q u d c
The error between the DC side voltage command value u d c r e f and the actual voltage u d c is e 3 , e 3 = u d c r e f u d c . Considering that the control objective of the voltage outer loop controller is to maintain the stability of the DC side voltage, the design requirements of the controller are to ensure that the DC side voltage control has a strong anti-interference ability, and the differential action can eliminate the influence of disturbance on the system and can better eliminate chattering. Therefore, the first order sliding mode is selected as shown in Formula (10):
s 3 = e 3 + β d e 3 d t
where β is the coefficient of differential term.
Substitute Equation (9) into Equation (10) to get Equation (11).
s 3 = ( u d c r e f u d c ) + β ( u ˙ d c r e f d u d c d t ) = ( u d c r e f u d c ) + β ( u ˙ d c r e f 3 u d i d 2 C e q u d c ) = ( u d c r e f u d c ) 3 β u d i d 2 C e q u d c
Let s 3 = 0 get:
i d r e f = 2 C e q u d c 3 β u d ( u d c r e f u d c )
The reference active current i d r e f of the inner loop controller can be obtained from Equation (12). Figure 4 is the voltage outer loop sliding mode variable structure control block diagram.

2.3. Necessity of Parameter Optimization

The most outstanding advantage of the SMC control is that the operation of the system is only affected by the sliding mode surface parameters and is not affected by the original parameters of the system, so that the system has more excellent full adaptability than robustness under certain conditions [18,19].
When the state trajectory of the system reaches the sliding mode surface, it is difficult to slide completely along the preset sliding mode towards the balance point because the actual switching device will have more or less time delay, but it follows the principle of repeated switching on both sides of the switching surface. This is the chattering phenomenon of the system. Chattering affects the control accuracy of the system as well as the service life of devices. However, since chattering is inherent in sliding mode variable control, it cannot be completely eliminated and can only be reduced as much as possible [20]. The magnitude of chattering is directly affected by the parameters of the sliding mode variable controller, so finding the optimal parameters of the sliding mode variable controller can effectively improve the control performance of the system.

3. The Moth-Flame Optimization

3.1. Algorithm Principle

The MFO algorithm is derived from the phenomenon that natural moths approach the light source in a spiral way. The moths are individuals who constantly search for the optimal value, and the flame is the optimal position obtained by the moths in the process of optimization. Each moth seeks optimization around the corresponding flame and updates the flame position when a better solution is found, so as to ensure that the optimal solution is retained during the optimization process [21].
The MFO algorithm can be expressed as a triplet optimization problem:
{ M F O = ( I , P , T ) I : f { M , O M } P : M M T : M { t r u e , f a l s e }
where M is the position of the moth, i.e., the variable to be optimized, O M is the fitness value corresponding to the moth in M , f is the fitness function, P is the spiral position updating mechanism of the moth around the flame, M is the updated position of the moth, T is an iterative judgment function. If it is true, stop the iteration, otherwise continue the iterative optimization.
The P function formula is:
M i = S ( M i , F j )
S ( M i , F j ) = D i e b t cos ( 2 π t ) + F
D i = | F j M i |
where t is the displacement variable, which is generated randomly in the interval [−1, 1], b is the shape constant of the helix function, D i is the distance of the i th moth to the flame.
Figure 5 shows the model of moth updating its position around the flame using logarithmic spiral function. For the convenience of analysis, this diagram only shows the model of one moth in one dimension, which can be compared with that of multiple moths and multiple dimensions. M i in the figure is the initial position of the moth, which may fly to the position M 1 , M 2 , M 3 , M 4 , M 5 when it flies.
If there are n moths in each iteration, the moths will focus on global optimization and affect the accuracy of local optimization, and the value of ranking in the final flame optimization is low. The researchers propose a self-extinguishing mechanism of flame. With the increase in the iteration times of the algorithm, the flame with poor fitness is gradually discarded. Equation (17) is the flame extinguishing formula:
F min = r o u n d ( N k × N 1 T )
where N is the number of species, k is the number of current iterations, T is the total number of iterations.

3.2. Improved MFO Algorithm

According to the existing research results, the traditional MFO algorithm has the following problems:
(1)
The convergence speed of the algorithm is slow in the later period. Considering that the spiral flight search and position update mechanism of the traditional MFO algorithm has a certain balance between the global search ability and the local search ability. In the early stage of optimization, the algorithm can quickly approach the relative optimal solution, but after a certain number of iterations, the spiral flight search will limit the moth to a small area. This search method will only make some minor updates to the current position, which will cause the convergence speed of the algorithm to slow down in the later stage.
(2)
Premature convergence. The MFO algorithm does not have a mechanism to jump out of the local optimum. Once it falls into the local optimum, it is difficult to jump out, leading to premature convergence. At the same time, the adaptive flame extinction mechanism of MFO algorithm has enhanced the ability of local optimization, but to a certain extent, it reduces the diversity of the population, and will also lead to premature convergence.
In view of the shortcomings of MFO algorithm, this paper adopts the following improvement methods.
(1)
Good point set initialization [22,23]
The traditional MFO algorithm uses random values to set the initial position of the moth, but this method cannot make the initial position of the moth uniformly distributed within the allowable range. The initial position of the moth population can be distributed more uniformly by using the initialization of the GPS initialization instead of the generation mode of the initial position of the moth with random sliding mode and variable parameters.
The construction of the good point is not affected by the space dimension, which can better solve the problem of solving high-dimensional space. Therefore, a relatively good initial population of the moth can be obtained by setting the initial position of the moth with the GPS initialization method. The specific expression of the GPS initialization is shown in Formula (18):
P n ( k ) = { ( { r 1 k } , , { r i k } , , { r t k } ) , k = 1 , 2 , , n }
where r i = { 2 cos ( 2 π i / p ) } , 1 i t , P is the minimum prime number satisfying p 2 t + 3 .
(2)
Path optimization of moth based on the Levy flight strategy [24,25]
This paper combines the Levy flight strategy with the classical MFO algorithm. Even if the algorithm is temporarily trapped in the local optimum, it can also jump out of the local optimum through the Levy flight strategy. The probability density function of Levy flight distribution is:
Levy ~ u = t λ , 1 < λ < 3
where λ is the power coefficient.
Equation (20) is the Levy flight jump path update mechanism:
{ s = μ | v | 1 β μ ~ N ( 0 , σ μ 2 ) v ~ N ( 0 , σ v 2 ) σ μ = [ Γ ( 1 + β ) sin ( β π 2 ) Γ ( 1 + β 2 ) 2 β π 2 β ] 1 β σ v = 1
where s is the random step size, β = λ 1 , μ , v follows normal distribution.

3.3. Performance Test of the IMFO Algorithm

To make the test results more comprehensive and objective, six different test functions are selected for performance test.
In Table 2, f 1 ~ f 3 is a single peak test function, and f 4 ~ f 6 is a multi-peak test function. The IMFO algorithm, the traditional MFO algorithm, and the Particle Swarm Optimization algorithm (PSO) three species optimization algorithms are compared for test function simulation to verify the performance of the proposed IMFO. Set all algorithm populations to 30, the maximum number of iterations to 1000, and the dimension to 10.
From the test results in Table 3, it can be clearly seen that the optimization ability of IMFO is significantly better than MFO and PSO.

3.4. Application of IMFO Algorithm in Parameter Optimization of Sliding Mode Controller

In this paper, the SMC parameters k 1 , ε 1 , k s 1 , k 2 , ε 2 , k s 2 , k 3 , ε 3 , k s 3 , k 4 , ε 4 , k s 4 of current inner loop of MMC1 and MMC2 and the SMC parameters β of voltage outer loop of MMC2 are optimized, and the other parameters are set as fixed values. Taking the above parameters as the object of IMFO optimization, Figure 6 shows the flow chart of IMFO algorithm for optimizing the parameters of sliding mode controller of the GCCD.

4. Parameter Optimization of Sliding Mode Variable Controller

4.1. Objective Function

The ITAE is widely used in the research of controller parameter optimization. This index can better measure the control performance of the controller in complex environments. In the dynamic process, the smaller the ITAE value, the better the control performance of the controller. Considering that taking only the error integral as the objective function may attach too much importance to the integral value and neglect the overshoot, this paper combines the ITAE index with the overshoot, and adds the corresponding weight coefficient as the evaluation index of the sliding mode controller control performance. The modified CITAE index is described as:
J C I T A E = t T t | e ( t ) | d t + ω σ p % × 100
where t is the time when power transfer occurs, | e ( t ) | is the absolute value of control error, σ p % is the overshoot, ω is the weight coefficient.
Considering the dynamic characteristics of the GCCD during power transmission, the objective function is set as:
Q = ω D C ( t T t | e D C ( t ) | d t + ω 1 σ D C % × 100 ) + ω P ( t T t | e P ( t ) | d t + ω 2 σ P % × 100 ) + ω Q 1 ( t T t | e Q 1 ( t ) | d t + ω 3 σ Q 1 % × 100 ) + ω Q 2 ( t T t | e Q 2 ( t ) | d t + ω 4 σ Q 2 % × 100 )

4.2. Python-PSCAD Joint Simulation

The modeling and simulation of the GCCD based on the SMC in this paper is carried out in PSCAD, but the debugging of IMFO algorithm in PSCAD is inefficient and difficult. In order to realize the optimization of sliding mode variable controller parameters by using IMFO algorithm, this paper uses Python-PSCAD joint simulation. Figure 7 is the joint simulation structure diagram.
As shown in Figure 7, the implementation of Python-PSCAD joint simulation should first use Python to achieve IMFO optimization, so as to achieve iterative updating of controller parameters, and assign the updated parameters to the PSCAD simulation model. Then, use Automation Library to control the PSCAD simulation model for simulation operation, and call the MATLAB engine through Python to calculate the fitness value. Finally, the fitness value calculated by the MATLAB engine is read through Python language for the next iteration.
The specific process of parameter optimization of sliding mode variable structure controller is as follows:
Step 1: Import Automation Library controller, open PSCAD, and call MATLAB engine.
Step 2: Positioning and setting the parameter setting device of sliding mode variable structure controller.
Step 3: Use IMFO to optimize the parameters of sliding mode variable structure controller.
Step 4: Simulate the sliding mode variable structure controller parameters obtained in the optimization process on the PSCAD platform to obtain the state information.
Step 5: MATLAB reads the status information and calculates the fitness value.
Step 6: judge whether the iteration stop conditions are met. If they are met, execute Step 7. If not, execute Step 3.
Step 7: Output the minimum fitness value and corresponding control parameters.

5. Simulation Verification

5.1. Simulation Model Parameters

The simulation model of 41 level the GCCD based on back-to-back MMC-HVDC is built in PSCAD/EMTDC simulation software to verify and analyze the effectiveness of the MFO algorithm in the SMC parameter optimization process. The system to be paralleled on both sides is set as the hydraulic turbine model, with the rated capacity of 120 MVA, the generator outlet voltage of 13.8 kV, and the transformer transformation ratio of 13.8/230 kV, the loads of systems on both sides are S1 = 70 + j62 MVA and S2 = 10 + j20 MVA, respectively. The other simulation parameters are shown in Table 4.
This paper takes the comprehensive ITAE value of active power, reactive power and DC side voltage as the evaluation index, and focuses on optimizing the current inner loop sliding mode variable control parameters of MMC1 and MMC2, and the voltage outer loop sliding mode variable control parameters of MMC2. The other parameters are set as fixed values.
The IMFO algorithm proposed in this paper is applied to optimize the control parameters of grid-connected composite devices. Joint operation between Python and PSCAD is realized on a computer with 8 G memory and 2.4 GHz main frequency. The number of algorithm population is set to 30, and the maximum number of iterations is set to 100.

5.2. Performance Analysis of Optimization Algorithm

The sliding mode controller parameters of the GCCD are optimized with the traditional MFO and the IMFO algorithm and compared with the control performance before optimization. Table 5 shows the evaluation indicators before and after optimization.
It can be seen from the comprehensive ITAE value in Table 5 that MFO algorithm and IMFO algorithm can optimize the control parameters to improve the control performance. Moreover, by comparing the optimized comprehensive ITAE values, it can be seen that the optimization effect of the IMFO algorithm is 11.25% higher than that of the MFO algorithm. It can be seen that the IMFO algorithm proposed in this paper can better optimize the SMC parameters of the GCCD than that of the MFO algorithm.

5.3. Parameter Control Effect Comparison after Optimization

It is one-sided to simply verify the control effect with the comprehensive ITAE index. This section compares the parameter control effect before and after optimization with the waveform diagram of the DC side voltage, the active power, the reactive power on the MMC1 side and the reactive power on the MMC2 side.
Figure 8 and Figure 9 show the DC side voltage waveform and its local amplified waveform (1 in the figure represents the local amplification area of t = 3.8~4.0 s). From Figure 8, it can be clearly seen that the DC side voltage fluctuation in the power transmission process without parameter optimization, after MFO parameter optimization and after IMFO parameter optimization. Without parameter optimization, the DC side voltage fluctuation under sliding mode control during power transmission is about 0.2 kV, while the DC side voltage fluctuation after MFO and IMFO optimization is about 0.04 kV, which shows that the DC side voltage fluctuation amplitude after controller parameter optimization is significantly reduced, and the system stability is improved. In terms of response speed, it takes 0.7 s for the DC side voltage without parameter optimization to return to steady state, while it takes about 0.6 s for the DC side voltage optimized by MFO algorithm to return to steady state, while it takes only 0.2 s for the DC side voltage optimized by IMFO algorithm to return to steady state. The above data can effectively show that the DC side voltage response speed after controller parameter optimization is significantly accelerated.
In order to further analyze the influence of parameter optimization on the steady-state performance of the system, the DC side voltage waveform between 3.8 s–4 s is selected as shown in Figure 9. It can be seen that the DC side voltage waveform without parameter optimization and the DC side voltage waveform optimized by MFO have a certain steady-state error in the steady-state, while the voltage waveform optimized by IMFO has good steady-state performance without obvious steady-state error. To sum up, the DC side voltage of the system optimized by MFO and IMFO parameters has less fluctuation, faster response speed and smaller steady-state error than the DC side voltage of the system not optimized by parameters, and the dynamic and static performance of the system optimized by IMFO parameters is better than that of MFO.
Figure 10 shows the active power waveform in the power transfer process. In order to better observe the waveform, it is partially amplified, as shown in Figure 11 (1 in the figure represents the local amplification area of t = 3.03~3.13 s, 2 in the figure represents the local amplification area of t = 3.4~3.5 s). From Figure 11a, it can be clearly seen that the response speed and overshoot of the active power in the power transfer process without parameter optimization, after MFO optimization and after IMFO optimization. Without parameter optimization, there is about 0.1 MW overshoot in the active power transfer process, and it takes about 0.14 s for the active power to return to steady state. Figure 11b can reflect the static characteristics of active power. It can be seen that there is no obvious difference in the static performance of active power under the three conditions. To sum up, the active power optimized by MFO and IMFO parameters has less overshoot and faster response speed than the active power without parameter optimization, and the dynamic performance optimized by IMFO parameters is better than MFO.
Figure 12 shows the reactive power waveform of MMC1 in the power transfer process. In order to better observe the waveform, it is partially amplified, as shown in Figure 13 (1 in the figure represents the local amplification area of t = 3.4~3.5 s, 2 in the figure represents the local amplification area of t = 3.04~3.20 s). From Figure 13a, it can be clearly seen that the response speed and overshoot of the reactive power rate of MMC1 in the power transfer process without parameter optimization, after MFO optimization and after IMFO optimization. There is no obvious overshoot in several cases, and it can be seen from Figure 13a that the response speed of reactive power without parameter optimization is about 0.08 s, while the response speed after MFO parameter optimization is about 0.13 s. However, according to Figure 13b, the static performance of reactive power without parameter optimization is poor. After the reactive power has returned to steady state, there is still a fluctuation of about 0.01 MVar, while the static performance of reactive power after MFO parameter optimization is good. The response speed after IMFO parameter optimization is about 0.07 s, and according to Figure 13b, the static performance of reactive power after IMFO parameter optimization is better than that after MFO parameter optimization. In conclusion, the reactive power of the system optimized by IMFO parameters has faster response speed and better static stability than the reactive power of the system not optimized by parameters.
Figure 14 shows the reactive power waveform of MMC2 in the power transfer process. In order to better observe the waveform, it is partially amplified, as shown in Figure 15 (1 in the figure represents the local amplification area of t = 3.04~3.20 s, 2 in the figure represents the local amplification area of t = 3.4~3.5 s). From Figure 15a, it can be clearly seen that the response speed and overshoot of MMC2’s reactive power rate in the power transfer process without parameter optimization, MFO optimization and IMFO optimization. Without parameter optimization, there is about 0.05 MVar overshoot in reactive power transfer, Moreover, it takes about 0.14 s for reactive power to return to steady state. However, the overshoot of reactive power optimized by parameters is not obvious, and the reactive power response speed is significantly improved. The reactive power response speed optimized by MFO parameters is about 0.13 s, and the reactive power response speed optimized by IMFO parameters is about 0.11 s. Figure 15b can reflect the static characteristics of reactive power. The static performance of reactive power without parameter optimization is poor. After the reactive power has returned to steady state, there is still a fluctuation of about 0.02 MVar. The static performance of reactive power after parameter optimization is good. According to the waveform, the static performance of reactive power after IMFO parameter optimization is better than that after MFO parameter optimization. To sum up, reactive power optimized by MFO and IMFO parameters has smaller overshoot and faster response speed than reactive power without parameter optimization, and dynamic and static performance optimized by IMFO parameters is better than MFO.
To sum up, it can be seen from Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15 that parameter optimization of SMC of the GCCD based on back-to-back MMC-HVDC can further restrain the fluctuation of DC side voltage during power transmission and improve the dynamic and static performance of the system. According to the comparison, compared with the traditional MFO algorithm to suppress the DC side voltage fluctuation of the grid-connected composite device and improve the dynamic and static performance of the system, the optimized parameters of the improved MFO algorithm have more advantages to suppress the DC side voltage fluctuation of the grid-connected composite device and improve the dynamic and static performance of the system.

6. Conclusions

In order to make GCCD controller meet the requirements of different equipment modes and complex working conditions of power grid, this paper proposes to introduce sliding mode control into GCCD controller. Aiming at the difficulty of sliding mode control parameter tuning, a parameter optimization method of GCCD sliding mode controller based on IMFO algorithm is proposed.
(1)
This paper establishes the mathematical model of MMC converter, and designs GCCD controller according to SMC principle, so that the GCCD can meet the requirements of different operation modes and complex working conditions of power grid.
(2)
In this paper, the MFO algorithm is improved by using the GPS initialization and the Levy flight strategy, and the IMFO algorithm is proposed. By comparing the data performance of different algorithms under single peak and multi peak standard test functions, it can be seen that the proposed IMFO algorithm can effectively improve the performance of parameter optimization.
(3)
This paper proposes a sliding mode controller parameter optimization method based on the IMFO algorithm. The CITAE index is used as the standard to measure the control performance of sliding mode controller, and the IMFO algorithm is used to optimize the sliding mode controller parameters. Through Automation Library as a link, automatic parameter tuning is realized in Python-PSCAD joint simulation. By comparing the step response performance of non-optimization, MFO and IMFO, it can be seen that, compared with the traditional MFO algorithm, the IMFO algorithm can effectively reduce the DC side voltage fluctuation of the GCCD, improve the dynamic and static performance of the system, and further improve its control performance.
(4)
The controller constructed in this paper can effectively improve the dynamic and static performance of the GCCD, but the research background of this paper is the traditional power grid, and the applicability of this controller to the new power system with large-scale new energy access has not been verified. Later, we will continue to study the control strategy of the GCCD for this problem, so that the GCCD can be applied to different scenarios.

Author Contributions

Conceptualization, J.S. and J.L.; methodology, M.M., H.L. and J.L.; software, PSCAD, MATLAB, Python; validation, J.S., M.M. and J.L.; formal analysis, J.S. and H.L.; data curation, J.S., H.L. and M.M.; writing—original draft preparation, J.S., M.M. and J.L.; writing—review and editing, J.S. and J.L.; project administration, J.L.; funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the National Natural Science Foundation of China (NSFC) with the support number of 52077176. The sponsor is Jiajun Liu.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the need to use some of the data in this paper in subsequent research.

Acknowledgments

At the point of finishing this paper, I would like to express my sincere thanks to all those who have lent me hands in the course of my writing this paper. First and foremost, I would like to thank my mentor Liu for his careful guidance at every stage of thesis writing. Secondly, I would like to thank my research group, which not only gives me economic support, but also gives me a perfect simulation platform. Last but not the least, I would like to thank those leaders, teachers and working staff especially those in the Xi’an University of Technology. Without their help, it would be much harder for me to finish my study and this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ersan, K. Review on novel single-phase grid-connected solar inverters: Circuits and control methods. Sol. Energy 2020, 198, 247–274. [Google Scholar]
  2. Liu, J.J. Principle and Technology of Synchronization and Paralleling between Power Grids Based on Power Transfer; Science Press: Beijing, China, 2018. [Google Scholar]
  3. Liu, J.J.; Yan, B.; Yao, L.X.; Liu, B.; Liu, D.; Xue, M.J. Research on tie-line power fluctuation based on power transmission parallel. Power Syst. Prot. Control 2012, 40, 125–128+144. [Google Scholar]
  4. Liu, J.J.; Liu, C.B. Calculation Method of the Parallel Device Capacity Based on the Power Transfer. Power Electron. 2014, 48, 57–60. [Google Scholar]
  5. Liu, J.J.; Yang, J. Research on Power Oscillation Suppression Strategy of Grid-connected Composite System Based on Impedance Optimization. In Proceedings of the 2021 4th International Conference on Energy, Electrical and Power Engineering (CEEPE), Chongqing, China, 23–25 April 2021; pp. 535–541. [Google Scholar]
  6. Ji, S.; Jiajun, L.; Yue, L.; Haokun, L.; Miao, M.; Chaolong, G. A New Grid Connection Mode of Low Inertia Power System. In Proceedings of the 2022 International Conference on Power Energy Systems and Applications (ICoPESA), Singapore, 25–27 February 2022; pp. 237–246. [Google Scholar]
  7. Althobaiti, A.; Ullah, N.; Belkhier, Y.; Jamal Babqi, A.; Alkhammash, H.I.; Ibeas, A. Expert knowledge based proportional resonant controller for three phase inverter under abnormal grid conditions. Int. J. Green Energy 2022, 1–17. [Google Scholar] [CrossRef]
  8. Kurian, G.M.; Jeyanthy, P.A.; Devaraj, D. FPGA Implementation of FLC-MPPT for Harmonics Reduction in Sustainable Photovoltaic System. Sustain. Energy Technol. Assess. 2022, 52, 102192. [Google Scholar]
  9. Forestieri, J.N.; Farasat, M.; Mitra, J. Hybrid Data-Model Predictive Control for Enabling Participation of Renewables in Regulating Reserves Service. IEEE Trans. Ind. Electron. 2022, 69, 11262–11271. [Google Scholar] [CrossRef]
  10. Guo, J.; Li, K.; Fan, J.; Luo, Y.; Wang, J. Neural-Fuzzy-Based Adaptive Sliding Mode Automatic Steering Control of Vision-based Unmanned Electric Vehicles. Chin. J. Mech. Eng. 2021, 34, 88. [Google Scholar] [CrossRef]
  11. Makhamreh, H.; Trabelsi, M.; Kükrer, O.; Abu-Rub, H. An Effective Sliding Mode Control Design for a Grid-Connected PUC7 Multilevel Inverter. IEEE Trans. Ind. Electron. 2020, 67, 3717–3725. [Google Scholar] [CrossRef]
  12. Belkhier, Y.; Shaw, R.N.; Bures, M.; Islam, M.R.; Bajaj, M.; Albalawi, F.; Alqurashi, A.; Ghoneim, S.S. Robust interconnection and damping assignment energy-based control for a permanent magnet synchronous motor using high order sliding mode approach and nonlinear observer. Energy Rep. 2022, 8, 1731–1740. [Google Scholar] [CrossRef]
  13. Memon, M.A.; Mekhilef, S.; Mubin, M.; Aamir, M. Selective Harmonic Elimination in Inverters using Bio-inspired Intelligent Algorithms for Renewable Energy Conversion Applications: A review. Renew. Sustain. Energy Rev. 2018, 82, 2235–2253. [Google Scholar] [CrossRef]
  14. Mirjalili, S. Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigm. Knowl.-Based Syst. 2015, 89, 228–249. [Google Scholar] [CrossRef]
  15. Huang, L.N.; Yang, B.; Zhang, X.S.; Yin, L.F.; Yu, T.; Fang, Z.H. Optimal power tracking of doubly fed induction generator-based wind turbine using swarm moth–flame optimizer. Trans. Inst. Meas. Control 2019, 41, 1491–1503. [Google Scholar] [CrossRef]
  16. Pan, X.J.; Zhang, L.W.; Zhang, W.C.; Xu, Y.P.; Bian, H.Y.; Wang, X.J. Multi-operation Mode PSS Parameter Coordination Optimization Method Based on Moth-flame Optimization Algorithm. Power Syst. Technol. 2020, 44, 3038–3046. [Google Scholar]
  17. Wang, Z.Q.; Chen, J.F.; Zhang, G.F.; Yang, Q.; Dai, Y.H. Optimal Power Flow Calculation with Moth-Flame Optimization Algorithm. Power Syst. Technol. 2017, 44, 3642–3647. [Google Scholar]
  18. Alali, M.A.E.; Shtessel, Y.B.; Barbot, J.-P.; Di Gennaro, S. Sensor Effects in LCL-Type Grid-Connected Shunt Active Filters Control Using Higher-Order Sliding Mode Control Techniques. Sensors 2022, 22, 7516. [Google Scholar] [CrossRef]
  19. Cao, Y.L.; Cao, J.A.; Song, X.; Liu, Y.J. Research on vector control of PMSM based on an improved sliding mode observer. Power Syst. Prot. Control 2021, 49, 104–111. [Google Scholar]
  20. Xia, X.; Zhang, B.; Li, X. High Precision Low-Speed Control for Permanent Magnet Synchronous Motor. Sensors 2020, 20, 1526. [Google Scholar] [CrossRef] [Green Version]
  21. Singh, T.; Saxena, N.; Khurana, M.; Singh, D.; Abdalla, M.; Alshazly, H. Data Clustering Using Moth-Flame Optimization Algorithm. Sensors 2021, 21, 4086. [Google Scholar] [CrossRef]
  22. He, S.M.; Yuan, Z.Y.; Lei, J.Y.; Xu, Q.; Lin, Y.H.; Liu, Y.L.; Lin, X.H. Optimal setting method of inverse time over-current protection for a distribution network based on the improved grey wolf optimization. Power Syst. Prot. Control. 2021, 49, 173–181. [Google Scholar]
  23. Li, W.; Lu, Y.Q.; Fan, C.L. Target threat estimation based on lasso algorithm and improved sine cosine optimized support vector regression. Control. Decis. 2022, 1–9. [Google Scholar] [CrossRef]
  24. Bo, L.; Li, Z.; Liu, Y.; Yue, Y.; Zhang, Z.; Wang, Y. Research on Multi-Level Scheduling of Mine Water Reuse Based on Improved Whale Optimization Algorithm. Sensors 2022, 22, 5164. [Google Scholar] [CrossRef] [PubMed]
  25. Tang, A.D.; Han, T.; Zhou, H.; Xie, L. An Improved Equilibrium Optimizer with Application in Unmanned Aerial Vehicle Path Planning. Sensors 2021, 21, 1814. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The topology of the GCCD.
Figure 1. The topology of the GCCD.
Sensors 23 00149 g001
Figure 2. The MMC three-phase topology and sub-module structure.
Figure 2. The MMC three-phase topology and sub-module structure.
Sensors 23 00149 g002
Figure 3. Structural block diagram of current inner loop sliding mode variable control strategy.
Figure 3. Structural block diagram of current inner loop sliding mode variable control strategy.
Sensors 23 00149 g003
Figure 4. Structural block diagram of current outer loop sliding mode variable control strategy.
Figure 4. Structural block diagram of current outer loop sliding mode variable control strategy.
Sensors 23 00149 g004
Figure 5. Position updating mechanism of moth.
Figure 5. Position updating mechanism of moth.
Sensors 23 00149 g005
Figure 6. IMFO optimization flow chart.
Figure 6. IMFO optimization flow chart.
Sensors 23 00149 g006
Figure 7. Joint Simulation Structure Diagram.
Figure 7. Joint Simulation Structure Diagram.
Sensors 23 00149 g007
Figure 8. DC side voltage waveform.
Figure 8. DC side voltage waveform.
Sensors 23 00149 g008
Figure 9. Local amplified waveform of DC side voltage.
Figure 9. Local amplified waveform of DC side voltage.
Sensors 23 00149 g009
Figure 10. Active power waveform.
Figure 10. Active power waveform.
Sensors 23 00149 g010
Figure 11. Active power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Figure 11. Active power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Sensors 23 00149 g011
Figure 12. MMC1 reactive power waveform.
Figure 12. MMC1 reactive power waveform.
Sensors 23 00149 g012
Figure 13. MMC1 reactive power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Figure 13. MMC1 reactive power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Sensors 23 00149 g013
Figure 14. MMC2 reactive power waveform.
Figure 14. MMC2 reactive power waveform.
Sensors 23 00149 g014
Figure 15. MMC2 reactive power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Figure 15. MMC2 reactive power local amplification waveform. (a) Locally amplified waveform 1. (b) Locally amplified waveform 2.
Sensors 23 00149 g015
Table 1. Test function.
Table 1. Test function.
Control StrategyAdvantageDisadvantage
PID Control [7]Simple structure, strong robustnessProportional control will affect the dynamic performance of the system
Fuzzy control [8]Strong applicability, strong robustnessThe control scheme depends on human experience
Hysteresis Control [9]Simple parameters, fast responseFrequent switch changes
Sliding mode control [10]Dynamic performance enhancementsComplex parameters, difficult to set manually
Table 2. Test function.
Table 2. Test function.
Test FunctionExpression f min ( x )
f 1 f 1 ( x ) = i = 1 n x i 2 0
f 2 f 2 ( x ) = i = 1 n | x i | + i = 1 n | x i | 0
f 3 f 3 ( x ) = i = 1 n ( j = 1 i x j ) 2 0
f 4 f 4 ( x ) = i = 1 n x i sin ( x i ) + 0.1 x i 0
f 5 f 5 ( x ) = i = 1 n [ x i 2 10 cos ( 2 π x i ) + 10 ] 0
f 6 f 6 ( x ) = 1 4000 i = 1 n ( x i 2 ) i = 1 n cos ( x i i ) + 1 0
Table 3. Test results of function.
Table 3. Test results of function.
Test FunctionAlgorithmAverage ValueVariance
f 1 PSO2.6422450.144362
MFO7.92 × 10−301.49 × 10−59
IMFO1.10 × 10−1890
f 2 PSO1.098570.028251
MFO1.3333333.8 × 10−38
IMFO4.5 × 10−1031 × 10−208
f 3 PSO19.2123888.85796
MFO1.34 × 10−62.13 × 10−14
IMFO2.8 × 10−1510
f 4 PSO70.704180.876751
MFO12.259064.81 × 10−24
IMFO3.6 × 10−1019.5 × 10−212
f 5 PSO26.16555110.6147
MFO21.6260724.74814
IMFO00
f 6 PSO1.5654860.038066
MFO4.91 × 10−150
IMFO8.88 × 10−160
Table 4. Simulation parameters.
Table 4. Simulation parameters.
ParameterValue
system voltage220 kV
DC side voltage rating40 kV
MMC capacity40 MVA
number of bridge arm modules40
sub module capacitance value10 mF
inductance value of bridge arm reactor10 mH
Table 5. Comparison of evaluation indexes before and after optimization.
Table 5. Comparison of evaluation indexes before and after optimization.
AlgorithmCITAE Value
non-optimization0.442789
MFO0.366769
IMFO0.358213
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

Sun, J.; Liu, J.; Miao, M.; Lin, H. Research on Parameter Optimization Method of Sliding Mode Controller for the Grid-Connected Composite Device Based on IMFO Algorithm. Sensors 2023, 23, 149. https://doi.org/10.3390/s23010149

AMA Style

Sun J, Liu J, Miao M, Lin H. Research on Parameter Optimization Method of Sliding Mode Controller for the Grid-Connected Composite Device Based on IMFO Algorithm. Sensors. 2023; 23(1):149. https://doi.org/10.3390/s23010149

Chicago/Turabian Style

Sun, Ji, Jiajun Liu, Miao Miao, and Haokun Lin. 2023. "Research on Parameter Optimization Method of Sliding Mode Controller for the Grid-Connected Composite Device Based on IMFO Algorithm" Sensors 23, no. 1: 149. https://doi.org/10.3390/s23010149

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