1. Introduction
The modular multilevel converter (MMC) has gained popularity due to it is in a wide range of applications, e.g., renewable energy integration with the grid, high voltage direct current (HVDC), and drive application. The domain of MMC is broadened due to its modular structure, use of low rating devices, low harmonic distortion, high efficiency, and energy storage system [
1,
2,
3,
4,
5,
6]. The structure of a three-phase grid-connected MMC is depicted in
Figure 1.
However, the control of MMC is a challenging task due to many output variables and fewer input variables. The control of MMC is categorized into two types, i.e., output current control and internal dynamics control. The control of output current is an easy task as compared to internal control of MMC. In case of output current control, a variable is available for manipulation. With the control of output current, the power flow to the grid is controlled. However, the internal dynamics includes three state variables, i.e., circulating current, upper arm capacitor voltage, and lower arm capacitor voltage. These state variables make control of MMC more complicated. The main challenges in internal control are to minimize the magnitude of the second harmonic in the circulating current, balancing the capacitor voltage and internal energy of MMC. Although the circulating current has a second order negative sequence harmonic content, it has no impact on the grid-side AC current. However, if it is not controlled to a desired value, it will cause high power losses due to its high root mean square (RMS) value [
7]. A specific arm inductor can be used to minimize the amplitude of circulating current but active control strategy is also needed to vanquish all unnecessary components. Researchers have proposed many control strategies for output current control and suppression of the second harmonic in the circulating current. In [
8], the proportional resonant controller was proposed for the MMC. The controller is tuned at the fundamental frequency for the output current while for the circulating current, it is tuned at the frequency of the second harmonic. A proportional integral (PI) controller was proposed in [
9]. The circulating current control is carried out in
with double frequency rotating reference frame. Although these controllers have a simplified structure, the nonlinearity and coupling between the state variable of the MMC urges the development of new and more effective control structures. In [
10], the researcher proposed a cascaded control structure along with phase shifted pulse width modulated (PS-PWM) scheme for controlling the internal and output parameters of the MMC. The proposed method lags when it comes to the effective suppression of the circulating current. Different feedback control schemes in the
frame are also proposed for suppression of circulating current [
11,
12,
13].
In [
14], multiple resonant controllers were developed for harmonic mitigation during load perturbation. The plug-in repetitive controller was also proposed to vanquish the harmonic contents in the circulating current [
15,
16,
17]. All these control strategies are based on a cascaded control structure. The design and tuning of these control structures may be a difficult task while considering the performance and stability of the system. In addition to these control strategies, various nonlinear control methods are also developed to cope with the control problems in MMC. The model-based input-output linearization method [
18], direct and indirect model-based predictive control [
19,
20,
21,
22], feedback linearization control [
23,
24], and langrange multiplier-based optimized control [
25] are used for the control of the dynamics of the MMC. The computational burden of the model predictive control limits the real-time implementation of the control scheme. However, the rest of the control schemes need a fully developed mathematical model to effectively implement the control strategies.
In this paper, we have proposed a novel backstepping algorithm for the control of internal dynamics, i.e., circulating current and submodule capacitor voltage, and energy sum and energy difference of the MMC. The proposed control algorithm is designed based on the Lyapunov stability function. The Lyapunov based design of the proposed controller guarantees the convergence of error to zero. That regulates the circulating current and submodule capacitor voltage. The integral backstepping algorithm is developed for the control of the dynamics of the MMC. The integral action of the control algorithm will effectively eliminate the steady-state error produced due to the inaccuracy in the modeling of the system. The designed controller has robust behavior to the parameter variations, model uncertainties, and external perturbation in the system. The algorithm uses a Lyapunov function to converge the dynamics of the system. The performance of the controller in the results reflects our claim. Furthermore, the results of the proposed controller are compared with a proportional resonant controller for justification.
The structure of the rest of the paper is organized as follows: In
Section 2, the modeling of the MMC is presented. The control design of a backstepping algorithm for our problem is formulated in
Section 3.
Section 4 is focused on results and discussion of the implemented control algorithm, and finally, the paper is concluded in
Section 5.
2. Modeling of the MMC
The equivalent single-phase circuit of MMC is depicted in
Figure 2 and
represent the arm resistance and inductance respectively.
is the arm generated voltages by sub module (SMs). The subscript ‘
’ and
denote the upper and lower arm, respectively, while
is used for phases
.
and
denote DC current and DC bus voltage.
is used to represent the AC bus voltage.
The differential current of the MMC is defined as [
26]:
By applying Kirchhoff’s voltage law on the circuit
Figure 2, we get the following voltage equations:
Adding and subtracting Equations (5) and (6) along with substitution of Equations (3) and (4) will result in the following set of equations:
Equations (7) and (8) characterize the dynamics of the MMC.
is the output voltage of the converter respective phase “
” and
is internal voltage. By analyzing Equation (7), it is concluded that
is the AC bus voltage, hence, only
can be manipulated to control the output current
. Similarly, Equation (8) is used to control the circulating current dynamics of the MMC. Likewise, in Equation (8)
can be controlled by the manipulation of internal voltage
. Moreover, the internal dynamics of the SM capacitor is represented in term of arm voltages and arm currents as:
is the capacitance of the SM capacitor,
represents the number of SM in arms while
and
are the sum capacitor voltage of the upper arm and lower arm, respectively.
and
represents insertion indices of the upper and lower arms, respectively.
,
means that the capacitor is inserted while
,
means that the capacitor is bypassed in respective arms. Equations (8), (9), and (10) in combination represents the internal dynamic of the MMC. Equations (1) and (2) are substituted into Equations (9) and (10) to represents Equations (9) and (10) in terms of output current, circulating current, and insertion indices (
,
).
While in the variables and and are the controlled inputs to the plant. The internal dynamics of the MMC is controlled through the convergence of to a DC component . is an active power, represents the number of phases. In internal dynamics control, and are available for manipulation. As well, and are forced to converge to for controlling the internal dynamics of MMC.
Equations (8), (11), and (12) represents the internal dynamics of MMC. With the state variables
,
, and
, the mathematical model of the MMC is represented in state space form as:
This model is computationally efficient for the internal dynamics of the MMC [
27]. The output current of the MMC, insertion indices, and DC voltage is applied as input to the model. The model shows the inter relation of the output current, circulating current, insertion indices, DC bus voltage, and capacitor sum voltages of lower and upper arms. In this model the state of the MMC is described in terms of capacitor sum voltages. The states are being continuously updated on the insertion indices and arm current. The block representation of the MMC model is depicted in
Figure 3. This representation makes the model simple to implement it in block-oriented form in MATLAB/Simulink, PSIM, PLECS, PSCAD, and other simulation software.
4. Results and Discussion
In this section, the performance of the proposed backstepping controller is analyzed and compared with the commonly used proportional resonant (PR) controller. The backstepping controller has the ability to overcome parameter uncertainty. To include the result related to parameter variation, the value of arm inductance is changed, and simulation is run for three value of inductor (L = 25 mH, 50 mH, 100 mH). The response of the controller is satisfactory and is also compared with the result obtained from the PR controller. Moreover, load variation is also introduced in the form of a step change in reference value of the circulating current. When compared with PR, the response of the proposed controller is far better in the case of load variation as well as parameter variation. Additionally, the effectiveness of the proposed control scheme is shown by performing two types of test. The circulating current was kept at a value of 250 A in the first case while in the second case, the value of reference circulating current is stepped up to 400 A at t = 0.3 s, to check the effectiveness of the proposed controller. The performance of the proposed controller in comparison with the PR is presented in
Figure 5,
Figure 6,
Figure 7,
Figure 8,
Figure 9,
Figure 10 and
Figure 11. The figures are divided into sub figures with the same scaling to compare the results of both controllers critically. In
Figure 5a, the reference of the circulating current is set at 250 A on th basis of active power demand, i.e.,
. The proposed controller has the ability to converge the circulating current on the reference value within no time. However, the PR controller has a slow response toward the convergence of circulating current.
It is clearly depicted in
Figure 5b that the system dynamics approach to steady state almost at t = 0.2 s. That shows the slow performance of the PR controller. Moreover, the proposed controller has the ability to suppress the circulating current. The mean value for the circulating current in all three legs of the MMC is equal to one-third of DC current, i.e.,
as shown in
Figure 5a while
Figure 5b shows that the circulating currents are not converging to reference value. To verify the effectiveness of the proposed controller, the output power has been increased to shift the reference of the circulating current to 400 A at t = 0.3 s as shown in
Figure 5c,d. The performance of the proposed controller is consistently better as compare to the PR. From
Figure 5c, it is concluded that the PR controller has a slow response in achieving the desired performance. After the step increase at t = 0.3 s, the PR controller is again subjected to oscillations. As the increase in reference circulating current occurs, the measure current value increases to 700 A and then exponentially converges to reference value. The controller reaches to its steading state almost at t = 0.5 s as clearly depicted in
Figure 5d. Moreover, the current is not fully following the reference value and the magnitude of oscillation is increased in the case of the PR due to the imbalance occurring in the stored energy of the converter. However, in case of an integral backstepping controller, the integral action has the ability to compensate the load disturbances occurring at t = 0.3 s. The presence of integral action makes the controller efficient and effective as depicted from the given results.
Figure 6 shows the energy difference occurs between the upper arm and lower arm of the converter. By examining the figures, the response of proposed controller has a large energy difference at the start of the simulation, but it quickly reduces, and its mean value converges to zero at t = 0.05 s. However, the PR controller shows a slow response as in the case of circulating current. The large peak in current is approaching to zero at t = 0.2 s. This comparison concludes that the response of the PR is four times slower than the proposed controller.
Figure 6c,d shows the second case of results. As the step change in the circulating current occurs, the proposed controller has compensated the change in 0.04 s as depicted in
Figure 6c. Unlike the integral backstepping controller, the PR takes 0.15 s to tackle the disturbance and approach to its nominal value. Although at the start the energy difference was high due to its initial configuration, the proposed controller can easily and quickly tackle the load disturbances due to its miraculous features.
Figure 7 shows the sum of energy stored in the upper arm and lower arm of each leg. The response of the proposed controller is fast. It achieves its steady state at t = 0.05 s. However, PR is far lagging the proposed controller. As it is clear from
Figure 7b, the value of stored energy reaches the desired value at t = 0.6 s. Similarly,
Figure 7c,d shows that after the step increase in circulating current, the PR controller is not able to raise the arm energy sum to the reference value.
Figure 8 shows the capacitor voltage of the upper arm of each phase. The upper arm and lower arm capacitor voltage have the same response.
Figure 8a shows the response of the proposed controller is smooth and keeps the capacitor voltage at the same peak value. However, the response of the PR has variations in its peak value of all three phases. Hence, the proposed controller is effectively regulating the mean value capacitor voltage to DC link voltage. That is necessary for the smooth operation of the MMC. Moreover, the rise time of the capacitor voltage is high in the PR controller as is clearly depicted in
Figure 8b. However,
Figure 9a,b shows the output voltage for the MMC. In the case of output voltage, of both the proposed and PR controller show almost the same response. But whenever the internal dynamics, i.e., circulating current, submodule capacitor voltage, and energy of the converter, are considered, then the backstepping controller has a good response to the system dynamics. The axis of the figure is reduced to 0.3 s to have a zoomed and clear visual of output voltage.
To check the effect of uncertainties on the control algorithm, the controller is subjected to parameter variation. The performance of the controller is checked for different values of the inductor, i.e., at half (L = 25 mH) and double (L = 100 mH) of the designed value. The response of the circulating current is given in
Figure 10a–f. These figures are scaled to t = 0.5 s to show the transient response of the controlled variable. However, these figures are zoomed from t = 0.3 s to t = 0.4 s to show the steady-state response of the controlled variable as shown in
Figure 11.
Figure 10a–c show the response of the circulating current in case of the proposed controller. While
Figure 10d–f show the response for the PR controller.
Figure 10a,d show the response of the circulating current at nominal value (L = 50 mH). The response of the proposed controller shows that the circulating current is converging quickly as compared to the PR. The circulating current has the highest peak of 275 A as shown in
Figure 10a while in the case of the PR, the current spike reaches to 400 A as shown in
Figure 10d.
Figure 10b,e show the response of the circulating current for L = 25 mH.
Figure 10e shows a large variation of the circulating current as compare to
Figure 10c. Similarly,
Figure 10c has a better response than
Figure 10d. The value of current increase beyond 400 A in case of PR controller. While the robust property of backstepping controller is converging the current to its reference value.
Moreover, by comparing the result of the same controller for different values of the inductor. The result is also satisfactory as shown in
Figure 10a–c. Although the low value of the inductor (L = 25 mH) has some variation, its response is better than the PR controller. Similarly, by increasing the value of the inductor (L = 100 mH), the response of the circulating current becomes smooth, having a low amplitude of oscillation. But due to the large value of the inductor, the mean value of the current is shifted to 255 A instead of 250 A.
Similarly, by analyzing the zoomed response of both controller for different values of the inductor (L = 50 mH, L = 25 mH, L = 100 mH), it is concluded that backstepping controller has a better response to tackle parameter variation problems.
Figure 11a–c shows that the amplitude of the circulating current changes from 260 A to 270 A in case of reducing the value of the inductor form L = 50 mH to 25 mH. However, the response of the circulating current is further smoothed by increasing the value of the inductor to 100 mH. While comparing backstepping to the PR, the amplitude of oscillation is lower in case of backstepping. The backstepping controller limits the amplitude of the circulating current to 270 A, while its peak touches the value of 350 A in case of the PR controller for 25 mH of the inductor value. Hence, by closely analyzing
Figure 10 and
Figure 11, it is concluded that the recursive Lyapunov-based backstepping controller has the ability to tackle the effect of parameter variations.
5. Conclusions and Future Work
This article presented control design architecture for controlling the internal dynamics of MMC. A backstepping controller was designed to control the internal dynamics, i.e., circulating current, capacitor voltage, and energy sum and energy difference. The design of the controller was based on Lyapunov stability function which ensured the asymptotic convergence of a closed-loop system. Moreover, the proposed control architecture enabled proper reference tracking, suppressed circulating current, and proper distribution of capacitor sum voltages in the desired SM. To validate the designed control architecture, the proposed backstepping controller was compared with a PR controller for results verification.
MATLAB/Simulink results of both the backstepping and PR controller shows that the backstepping controller exhibits better behavior than the PR controller. The backstepping controller converges the circulating current to the required value and the response time is improved in terms of its rise time and harmonic suppression. Moreover, the designed controller exhibited proper reference tracking of the circulating current, energy sum, and energy difference during transient and steady-state assuring a stable three-phase output voltage, while in the case of the PR controller, circulating current, energy sum, and energy difference were not converged properly to the required value. The proposed controller well-regulated the capacitor voltage in the desired SM without any fluctuation as compared to PR controller. Furthermore, the MMC parameters using backstepping controller are shown in
Table A1 of
Appendix A.
Moreover, in the near future, the proposed control structure for internal dynamics results will be validated using FPGA, DSPACE or DSP TMS320F28335 board (Delfino Texas Instrument, TX, USA). Additionally, new control schemes, i.e., exact feedback linearization and h-infinity, will be designed and compared with the proposed backstepping control scheme.