Next Article in Journal
Topology, Control, and Applications of MMC with Embedded Energy Storage: A Brief Review
Next Article in Special Issue
Hybrid Control Strategy for DC Microgrid Against False Data Injection Attacks and Sensor Faults Based on Lagrange Extrapolation and Voltage Observer
Previous Article in Journal
Small-Target Detection Based on Improved YOLOv8 for Infrared Imagery
Previous Article in Special Issue
Explainable Intelligent Inspection of Solar Photovoltaic Systems with Deep Transfer Learning: Considering Warmer Weather Effects Using Aerial Radiometric Infrared Thermography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Approach to Control Multilevel Flying-Capacitor Converters Using Optimal Dynamic Programming Benchmark

by
Davide Tebaldi
Department of Engineering Enzo Ferrari, University of Modena and Reggio Emilia, Via Pietro Vivarelli 10, 41125 Modena, Italy
Electronics 2025, 14(5), 948; https://doi.org/10.3390/electronics14050948
Submission received: 23 January 2025 / Revised: 15 February 2025 / Accepted: 24 February 2025 / Published: 27 February 2025
(This article belongs to the Special Issue Power Electronics and Renewable Energy System)

Abstract

:
The problem of balancing capacitor voltages is of utmost importance in multilevel converter topologies involving flying capacitors. In this study, a new minimum angular distance (MAD) algorithm is proposed to control the turning on and off of the switches, ensuring fast convergence of the capacitor voltages balancing problem in multilevel flying-capacitor converters. This algorithm was developed based on a preliminary analytical analysis of the capacitor voltage trajectories using the power-oriented model of the converter. Compared to other approaches, the proposed algorithm involves only simple and well-defined calculations, requires no training, and does not require any prediction of future values that the output current assumes. The proposed algorithm, implemented in the MATLAB/Simulink environment, is proven to give very good performance, verified against an optimal benchmark given by dynamic programming, in terms of capacitor voltages convergence time, efficiency, power loss, and total harmonic distortion.

1. Introduction

Electrical power conversions find several applications, including power grids [1], the control [2] of electric machines [3], electric vehicles [4], and many others. Power converters can be mainly classified into DC/DC [4,5,6], AC/DC [7], DC/AC [8], and AC/AC converters [9,10,11]. Strong research interest resides in multilevel converters thanks to the many advantages they offer over two-level converters  [12,13]. The multilevel converter topologies available in the literature include modular converters [14], H-bridge converters [15], and flying-capacitor converters [8].
In order to study the considered converter topology, the modeling step is the first to be addressed, as shown in [16] for switched systems. The modeling of cascaded H-bridge multilevel inverters is addressed in [15] using Kirchhoff’s laws, whereas the modeling of modular multilevel converters is addressed in [17] using a state-space approach. In [18], the authors address the modeling of the considered DC microgrid by providing the differential equations describing it, whereas an effective approach for modeling multilevel flying-capacitor converters is proposed in [8] using the Power-Oriented Graphs modeling technique [19,20]. The next important step to be addressed is converter control [21], both for DC/DC and for AC/DC–DC/AC converters. The optimal control of buck converters is addressed in [22] with the objective of keeping the output voltage as close to the desired setpoint as possible. Weighted model predictive control is applied to modular multilevel converters in [23], whereas an approach for controlling multilevel flying-capacitor converters with varying numbers of output voltage levels is proposed in [8]. When working with converter topologies involving floating capacitors, a particularly delicate aspect is the capacitor voltages balancing issue [24,25] in order to have a proper output voltage waveform. Different approaches are available in the literature to guarantee the balancing of capacitor voltages, which can vary from different modulation techniques [25,26,27] to the use of closed-loop techniques [28,29,30,31]. A new pulse width modulation (PWM) method was proposed in [25], while Phase Disposition PWM (PDPWM) is proposed in [26]. A modified version of Carrier-Redistribution PWM (CRPWM) was employed in [27] instead, allowing low voltage ripple and low harmonic content in the output voltage. On the other hand, closed-loop methods have the advantage of being more robust against undesired situations such as faults [8], for example. A closed-loop approach for capacitor voltages balancing is proposed in [28], introducing a dedicated control signal that modifies the duty cycle generated through modulation, while a deadband-based method is proposed in [29]. Other available closed-loop approaches can foresee the use of a proportional-integral controller [30] to achieve capacitor voltage balancing or a cost function to be minimized [31]. A common closed-loop approach for controlling power converters is model predictive control (MPC) [32]. As an example, in [33] the authors use an MPC variant to minimize a cost function using several criteria, including output voltage tracking and capacitor voltages balancing. However, this approach requires the prediction of the future values that the output current assumes. Furthermore, whenever a cost function needs to be minimized, the choice of weighting factors comes into play, which is generally not trivial. MPC is also used in [34] to minimize a cost function, involving output current tracking and capacitor voltages. Even in this case, however, output current prediction is required, and the weighting factors tuning problem was addressed by finding the proper weighting factors experimentally to minimize the total harmonic distortion. A switching control law is proposed in [35] instead, in order to achieve output voltage control and flying-capacitor voltages balancing in a four-level flying-capacitor converter. In [36], an artificial neural network was used to control a multilevel flying-capacitor inverter instead. The neural network was trained using data from the inverter controlled by MPC to achieve capacitor voltages balancing and output current tracking. However, the neural network training process is no easy task, as the input features need to be chosen. The use of neural networks is indeed becoming popular in several engineering applications, including power electronics [37] for applications such as capacitor voltages estimation [38] and converter control [36,39]. As an example, an artificial neural network is employed in [38] for capacitor voltages estimation, and a deep neural network is used in [39] to control multilevel flying-capacitor converters after a training phase from converter operations controlled using MPC. However, the difficulty in these approaches is represented by the training phase, where the right number of samples must be chosen in order to avoid, for example, underfitting or overfitting problems.
In the present paper, multilevel flying-capacitor converters (MFCCs) are the subject of study. A new control algorithm is proposed, handling the turning on and off of the switches to ensure fast convergence regarding the capacitor voltages balancing problem. The proposed control algorithm has the beneficial properties of being effective and simple to implement, as it is based on the calculation of the angular distance between vectors. Specifically, the work in [8] is extended with the following contributions with respect to the literature:
(1) A detailed analysis of the converter dynamics, with specific emphasis on the IGBT (Insulated Gate Bipolar Transistor) signals’ impact on the evolution of the capacitor voltage trajectories, with the objective of proposing the new algorithm at the next point; (2) a new minimum angular distance (MAD) control algorithm is proposed. The algorithm handles the turning on and off of the switches to ensure the fast balancing of capacitor voltages in multilevel flying-capacitor converters with a generic number n of capacitors. The proposed MAD algorithm exhibits the following features: it involves very simple and well-defined calculations and does not require any training or prediction regarding future values that the output current assumes. The proposed algorithm is causal and implementable in real time. Furthermore, it can be applied to multilevel flying capacitor converters with a generic number n of capacitors, and it is proven to exhibit convergence times and performance in terms of efficiency, power loss, and total harmonic distortion (THD) which are very close to those provided by the considered optimal benchmark; (3) the statement and the description of the optimal control problem aiming at achieving balanced capacitor voltages condition. The optimal control sequence of the IGBTs states allowing the obtainment of such conditions, while generating the desired output voltage, is found using dynamic programming (DP) [40,41]. The latter approach requires a priori knowledge of the converter cycle, which makes it noncausal and not implementable in real time. However, DP represents an optimal benchmark candidate for evaluating the performance of the proposed MAD algorithm. Dynamic programming is used to generate the optimal benchmark because it is a well-established method to achieve the optimal solution given by Bellman’s Principle of Optimality [40]; (4) the evaluation of the good performance of the MAD algorithm by comparing the obtained results with those given by the DP optimal benchmark in terms of capacitors voltages convergence time, efficiency, power loss, and output voltage total harmonic distortion (THD).
The remainder of this paper is organized as follows. The converter modeling, voltage trajectories dynamic analysis, and converter control using the MAD algorithm are addressed in Section 2, Section 3, and Section 3.1, respectively. The optimal control problem is stated in Section 3.2, whereas a comparison of the results between the MAD algorithm and DP is addressed in Section 4. Finally, the conclusions are reported in Section 5.

2. Converter Modeling

The circuital representation of the n-dimensional multilevel flying-capacitor converter used for the proposed analysis is shown in Figure 1. This converter can be modeled as [8]:
C V ˙ c = A V c + B S j T u , y = B T S j V c + D u , C = C 1 0 0 0 C 2 0 0 0 C n , A = 1 R i n 0 0 0 0 0 0 0 0 , V c = V 1 V 2 V n , S j T = s 1 s 2 s n , B = 1 R i n 0 , D = 1 R i n 0 0 0 , y = I i n V o u t , u = V i n I o u t ,
where C and A are the system energy matrix and the system power matrix, respectively, V c , u , and  y are the system state, input and output vectors, respectively, and n is the number of capacitors in the converter. Vector S j R ( 1 × n ) in (1) is called configuration vector. The state-space model (1) of the considered flying-capacitor multilevel converter can be equivalently represented using the Power-Oriented Graphs (POG) block scheme in Figure 2 [8]. The vertical dashed lines in the figure are named power sections and describe the power flows within the considered flying-capacitor multilevel converter. The first elaboration block in Figure 2 describes the input resistance, while the second elaboration block describes the capacitor dynamics. The first connection block in Figure 2 describes the interaction between the resistive and capacitive parts of the converter, while the second connection block describes the interaction of the converter with the external world, that is, with the load. The horizontal arrows located at the top of each power section describe the positive direction of the power flows exchanged from one section to the next. When used as a DC/AC converter, P i n > 0 , P = P > 0 and P = P o u t > 0 hold. Either the condition P = P > P = P o u t or the condition P = P < P = P o u t can be verified depending on the configuration vector S j , which will act to either recharge or discharge the capacitors C 1 , , C n , as is further discussed in Section 3. Figure 2 shows that the power dissipation in the considered system takes place because of the input resistance R i n . Therefore, the system’s average efficiency E ¯ and average power loss P ¯ l can be defined as:
E ¯ = P ¯ P ¯ i n a n d P ¯ l = P ¯ i n P ¯
when the converter performs a DC/AC conversion, where P ¯ i n = m e a n ( P i n ) and P ¯ = m e a n ( P ) .
Vector S j in (1) is in one-to-one correspondence with the IGBT signal vector T j through the following property [8]:
Property 1.
The components s i { 1 , 0 , 1 } of the configuration vector S j = s 1 s 2 s n can be obtained from the components T i { 0 , 1 } of the IGBT signal vector T j = T 1 T 2 T n as follows:
s i = T 1 i f i = 1 , T ¯ i 1 T i T i 1 T ¯ i i f i 2 , , n .
The index j { 0 , 1 , , 2 n 1 } identifies all the different 2 n combinations that the IGBT signals can assume. The study reported in [8] indicates that a different number m = n + 1 2 n of output voltage levels can be obtained by properly choosing the desired reference values for the capacitor voltages. In the case of n = 3 , the converter operates in the so-called basic mode, generating m = 4 output voltage levels if the capacitors’ voltages are controlled to the following desired reference values:
V c d = V 1 d V 2 d V 3 d T = V i n 2 V i n 3 V i n 3 T ,
where V i n is the DC input voltage, as shown in Figure 1. The resulting output voltage levels are shown in Table 1.

Discrete-Time Model

The set of state transition equations in (1) can be rewritten as
V ˙ c = C 1 A A ¯ V c + C 1 B S j T B ¯ u ,
where vectors V c , B , S j , u and matrices A , C are defined in (1).
In the case of n = 3 , matrices A ¯ and B ¯ in (5) assume the following form:
A ¯ = 1 C 1 R i n 0 0 0 0 0 0 0 0 , B ¯ = 1 C 1 R i n s 1 C 1 0 s 2 C 2 0 s 3 C 3 ,
and Equations (5) and (6) can be discretized into the following matrix difference equation:
V c ( k + 1 ) = F V c ( k ) + G u ( k ) , F = e A ¯ T s , G = 0 T s e A ¯ σ B ¯ d σ , F = e T s C 1 R i n 0 0 0 1 0 0 0 1 , G = 1 e T s C 1 R i n s 1 R i n 1 e T s C 1 R i n 0 T s s 2 C 2 0 T s s 3 C 3 ,
where T s is the sampling time.

3. Converter Control

The set of state transition equations in (1) can be rewritten as [8]:
V ˙ c = C 1 A V c C 1 S j T S ˜ j T I o u t + C 1 B V i n ,
where S ˜ j represents a new version of the configuration vector S j , in which the i-th component of S j has been normalized with respect to the i-th capacitance C i . Since the value of the input resistance R i n is typically very low [8], from the first equation in (8) it can be evinced that V 1 V i n , meaning that the number of capacitor voltages to be controlled changes from n to n 1 . Therefore, a reduced version s ˜ j of the configuration vector S ˜ j can be introduced:
s ˜ j = s 2 / C 2 s n / C n .
From the reduced vector s ˜ j , the reduced configuration versor s j can be defined as follows:
s j = s ˜ j / s ˜ j ,
which will be called control versor s j hereafter. For the case of n = 3 , all the possible control versors s j that can be obtained from all the possible IGBT signal vectors T j in Table 1 can be found using (3), (9), and (10) as follows:
T 0 T 1 T 2 T 3 T 4 T 5 T 6 T 7 = 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 s 0 s 1 s 2 s 3 s 4 s 5 s 6 s 7 = 0 0 0 1 1 C 2 s ˜ 2 1 C 3 s ˜ 2 1 0 1 0 1 C 2 s ˜ 5 1 C 3 s ˜ 5 0 1 0 0 .
Remark 1.
From (8)–(10), and recalling that V 1 V i n , it can be observed that
V ˙ i = s j s ˜ j I o u t , f o r i = 2 , , n ,
meaning that the trajectory of the reduced voltage vector v c = V 2 V n T moves in the n 1 dimensional state-space ( V 2 , , V n ) in the direction specified by the control versor s j when I o u t < 0 , and it moves in the opposite direction when I o u t > 0 . The distance covered by the reduced voltage vector v c = V 2 V n T is given by s ˜ j | I o u t | .
A graphical representation of the direction imposed on the trajectory of the reduced voltage vector v c = V 2 V 3 T by the control versors s 0 , s 1 , s 2 , s 3 , s 4 , s 5 , s 6 , and s 7 in the state-space ( V 2 , V 3 ) for n = 3 is shown in Figure 3, assuming the following ratios between the capacitors values [8]:
C 1 = C 3 3 , C 2 = C 3 2 , C 3 .
From (11), (12), Table 1, and Figure 3, it can be observed that: (1) when the levels L 0 or L 3 need to be generated, the trajectory of the reduced voltage vector v c does not move since the control versors s 0 or s 7 are null; (2) when the levels L 1 or L 2 need to be generated, the direction of (and the distance covered by) the trajectory of the reduced voltage vector v c depend on the control versor that is used: s 1 , s 2 , or s 4 for level L 1 , and s 3 , s 5 , or s 6 for level L 2 .

3.1. Proposed Minimum Angular Distance (MAD) Control

Let V o u t d be the desired sinusoidal profile for the output voltage V o u t indicated in Figure 1, let T P W M be the pulse width modulation period, let δ be the duty cycle, and let t k be the current time instant. Let V and V + be the two voltage values associated with the lower and upper levels L and L + , between which voltage V o u t d falls within the T P W M period. The desired output voltage level L within each T P W M period is given by:
L = L for [ t k , t k + δ T P W M ) L + for [ t k + δ T P W M , t k + T P W M ) .
Let v c d = V 2 d V n d T be the desired reference for the reduced voltage vector v c introduced in Remark 1, and let Δ v c = v c v c d be the reduced voltage error vector, which will be called the error vector hereafter. The proposed MAD algorithm, reported in Algorithm 1 in a Matlab-like form, aims to select the best control versor s j to: (1) generate the desired output voltage level L given by (14); (2) keep the error vector Δ v c as close as possible to zero:
s e l e c t s j s u c h t h a t L s j = L , Δ v c i s m i n i m i z e d ,
where L s j is the output voltage level generated by using the control versor s j . The MAD algorithm is executed every switching period T s , where T s is a proper fraction of T P W M and where f s = 1 / T s is the IGBT switching frequency. The MAD algorithm proposed in Algorithm 1 works for a generic n-dimensional multilevel flying-capacitor converter. The block diagram of the control architecture is shown in Figure 4.
Every switching period T s , the function s j o u t = MAD ( Δ v c , I o u t , L ) in Algorithm 1 is called. The latter takes (as input) the current values of the error vector Δ v c , the load current I o u t , and the desired output voltage level L. The control function produces (as output) the control versor s j o u t to be engaged over the next switching period t k , t k + T s . The control versor s j o u t directly determines the IGBTs turn-on/off control signals through Property 1, (9), and (10); therefore, the MAD algorithm directly handles the turning on and off of the switches.
Algorithm 1 Matlab-like form of the minimum angular distance algorithm.
  • function  s j o u t = MAD ( Δ v c , I o u t , L )
  • 1. if  Δ v c > 0
  • 2.      δ v c = Δ v c / Δ v c ;
  • 3. else
  • 4.      δ v c = Δ v c ;
  • 5. end
  • 6. if  I o u t < 0
  • 7.      δ v c = δ v c ;
  • 8. end
  • 9. φ = ;
  • 10. for  j = 0 : 2 n 1
  • 11.      Determine the voltage level L s j generated
  • 12.      by s j using (12) and Table 1;
  • 13.      if  L s j = = L
  • 14.          φ j = arccos ( s j · δ v c ) ;
  • 15.          if  φ j < φ
  • 16.               φ = φ j ;
  • 17.               s j o = s j ;
  • 18.          end
  • 19.      end
  • 20. end
The MAD algorithm in Algorithm 1 works as described in the following. From line 1 to line 5, the error vector Δ v c is normalized into δ v c , which is called the error versor since it represents a versor in the state-space ( V 2 , , V n ) . From line 6 to line 8, the sign of current I o u t is checked. If I o u t < 0 , the sign of the error versor δ v c is changed because the direction imposed by the control versor s j is reversed in this case, as shown in Remark 1. A cycle over all the control versors s j is then performed from line 10 to line 20. Out of all the control versors s j such that L s j = L , the one exhibiting the minimum angular distance φ j from the error versor δ v c is picked, where the angular distance φ j can be computed by recalling the definition of the scalar product between two versors s j and δ v c : s j · δ v c = cos ( φ j ) . The reason for this choice can be understood by referring to the scenario depicted in Figure 5 in the case of n = 3 , as an example. In this scenario, the trajectory of the reduced voltage vector v c = V 2 V 3 T moves in the state-space ( V 2 , V 3 ) . The desired output voltage level L from (14) is supposed to be level L 1 : the available control versors s j that can be picked are, therefore, s 1 , s 2 , and s 4 ; see Figure 3. In the example of Figure 5, the current value of the error vector Δ v c ( t k ) is supposed to be the one depicted by the black dashed line, whereas the corresponding current value of the error versor δ v c ( t k ) is the one depicted by the yellow line. In this situation, it can be observed that the control versor s j having the minimum angular distance φ j from the error versor δ v c ( t k ) is s 1 , exhibiting the angular distance φ 1 encircled in black in the figure, from the error versor δ v c ( t k ) . The reason why s 1 is the right choice can be understood from Remark 1. In fact, since I o u t > 0 in this example, the trajectory of the reduced voltage vector v c moves in a direction that is opposite to the one given by s j . The same direction of movement holds as far as the error vector Δ v c is concerned. Assuming s ˜ 1 = s ˜ 2 = s ˜ 4 = 1 only for the purpose of this explanation, the new position of the error vector Δ v c ( t k + T s ) after applying the control action can either be Δ v c 1 ( t k + T s ) (using the control versor s 1 ), Δ v c 2 ( t k + T s ) (using the control versor s 2 ), or Δ v c 4 ( t k + T s ) (using the control versor s 4 ) per unit of current I o u t . From Figure 5, it can be observed that Δ v c 1 ( t k + T s ) is the closest one to the origin; therefore, s 1 is the right control versor to apply in order to minimize the norm of the error vector Δ v c ( t k + T s ) .
The only mathematical calculations performed by the MAD algorithm in Algorithm 1 that require attention are: (1) the normalization at line 2 and (2) the calculation of the angular distance φ j between the two versors s j and δ v c at line 14. The aforementioned operation (1) is always well-defined, thanks to the check at line 1 on the norm Δ v c of vector Δ v c . The aforementioned operation (2) is always well-defined since:
0 φ j a r c c o s ( s p s p + 1 ) = 2 π n f o r p 1 , , n 1 .
From the latter, it follows that the angular distance φ j is always lower than the angular distance 2 π n between two consecutive control versors s p and s p + 1 . Note that 2 π n π since n 2 must hold in order to have a number of output voltage levels m 3 , namely in order to have a multilevel converter. Therefore, the arccos characterizing the aforementioned operation (2) is always well-defined.

3.2. Optimal Solution Using Dynamic Programming

From Table 1 and from (11), in the case of n = 3 , it can be noticed that some degrees of freedom are available when the desired output voltage level L from (14) is either equal to L 1 or L 2 :
T j = T 1 T 2 T 4 s j = s 1 s 2 s 4 if L = L 1 , T j = T 3 T 5 T 6 s j = s 3 s 5 s 6 if L = L 2 .
Let us consider a time interval t = [ t i , t i + T s , , t f T s , t f ] such that
( L ( t k ) = L 1 ) ( L ( t k ) = L 2 ) , f o r a n y t k t .
Based on (16), a discrete-time optimal control problem that is able to guarantee that the control objectives (15) are satisfied can be written:
  • For all t k t in (17),
    min s j J ( s j ) s . t . a ) V ˙ c ( t k + T s ) = F V c ( t k ) + G u ( t k ) , b ) V c ( t i ) = V c 0 , c ) T j ( t k ) , s j ( t k ) f r o m L ( t k ) a s i n ( 16 ) , d ) S j ( t k ) f r o m T j ( t k ) a s i n ( 3 ) ,
    where the objective function J ( s j ) is
    J ( s j ) = 0 N V 2 ( t k ) V 2 d 2 + V 3 ( t k ) V 3 d 2 ,
and N is the length of the horizon, meaning the number of time samples t k t in (17). Points (a) and (b) in (18) describe the evolution of the capacitor voltage trajectories using the discrete-time system (7), starting from the given initial condition V c 0 at t = t i . Points (c) and (d) in (18) describe the calculation of the components of the control versor s j and of the configuration vector S j , affecting the capacitor voltage trajectories through the matrix G in system (7). The optimal control problem (18) is subject to the constraints in (16) since the desired output voltage level L needs to be generated. The objective function J ( s j ) in (18) to be minimized over the considered horizon N is composed of two criteria, which are the square distances of the two capacitor voltages V 2 and V 3 from the reference values V 2 d and V 3 d in (4). The k-th term of the objective function J ( s j ) in (18) is the cost of applying the control versor s j ( t k ) at t k = k T s . When solving optimal control problems, an established way to find the optimal control sequence that minimizes an objective function is to use dynamic programming (DP), allowing to achieve the optimal solution given by Bellman’s Principle of Optimality [40]. The principle of dynamic programming is to find the optimal control sequence by proceeding backward, therefore making the whole process much more memory efficient since it is sufficient to evaluate the arc costs at each transition occurring from the final state all the way up to the initial state. This makes this approach noncausal and not implementable in real time since it requires a priori knowledge of the converter cycle. However, DP represents the optimal benchmark that can be used as a term of comparison to evaluate the performances of the proposed MAD algorithm described in Section 3.1. An effective way of solving discrete-time constrained optimal control problems using DP is to use the dpm Matlab function [41].

4. Results

This section deals with the simulation of the MFCC in the case of n = 3 , in order to compare the results of the MAD algorithm with those of the DP optimal benchmark obtained by solving the optimal control problem in (16)–(18) using the dpm Matlab function [41]. The converter parameters used for the results of this section are shown in Table 2, together with the output load current that the converter is subject to and the desired output voltage waveform V o u t d , from which the desired output voltage levels L in (14) (to be provided to the MAD algorithm of Algorithm 1) can be obtained. The initial conditions of the capacitor voltages are assumed to be V c 0 = 100 70 40 T V, where the initial values V 2 0 and V 3 0 of the capacitor voltages V 2 and V 3 have been intentionally chosen to be different from the desired values ( V 2 d and V 3 d ) given in (4); this is in order to verify the capability of the MAD control algorithm to take the reduced voltage vector v c = V 2 V 3 T back to the desired reference v c d = V 2 d V 3 d T as quickly as possible, as required in (15). The results are shown in Figure 6, Figure 7, and Table 3.
Figure 6a shows the desired output voltage profile V o u t d (cyan), the output voltage values generated by the converter when controlled using DP (blue), and the MAD algorithm (red dashed). Figure 6b zooms in on the time frame [ 9.6 10 ] · 10 5 s. Figure 6c,d show the capacitor voltages V 2 and V 3 when the converter is controlled using DP (blue) and the MAD algorithm (red dashed). Regarding voltage V 2 , it can be observed that the red dashed plot reaches the reference value (black dashed) at t = t 2 , that is only 0.0165 ms after the time instant t = t 1 , at which the blue plot reaches the reference value. As for voltage V 3 , both plots reach the desired value at the same time: t = t 3 . This proves the effectiveness of the proposed MAD algorithm, which gives convergence times that are very close or equal to those of the optimal benchmark solution while having the advantage of being implementable in real time and being comprised of very standard mathematical calculations. The colored lines in Figure 7a,b show the directions imposed on the trajectory of the reduced voltage vector v c = V 2 V 3 T by the control versors reported in Figure 3, using the same color notation, when I o u t < 0 , as described in Remark 1. The dotted characteristics in Figure 7 show the evolution of the trajectory of the reduced voltage vector v c = V 2 V 3 T when the converter is controlled using the MAD algorithm (Figure 7a) and the DP optimal benchmark (Figure 7b). The color associated with each dot denotes the control versor s j applied at the considered time instant t k , in order to take the trajectory of the reduced voltage vector v c = V 2 V 3 T closer and closer to the desired reference v c d . The control versors s j used in the different parts of the piecewise linear voltage trajectories in Figure 7 are also denoted by the colored labels “ s j ” reported in each part of the voltage trajectories. The grey dots describing the use of control versor s 0 are not visible in Figure 7 because level L 0 is only required when the voltages V 2 and V 3 reach the reference values of V 2 d and V 3 d ; see Figure 6. The grey dots, therefore, accumulate around the desired reference point v c d . Figure 7 highlights that the MAD algorithm and DP impose different paths on the trajectory of the reduced voltage vector v c , which, however, allow very similar and fast voltage convergence times, as shown in Figure 6c,d. Finally, Table 3 shows the very similar performances of the MAD algorithm and DP in terms of average efficiency E ¯ and average power loss P ¯ l , computed as in (2), as well as their coincident performances in terms of total harmonic distortion (THD) in the generated output voltage V o u t .
In order to test the effectiveness of the MAD algorithm compared to DP in terms of capacitor voltages fast convergence, a new simulation starting from different initial capacitor voltages, lower than the desired value in this case, was performed. The results are shown in Figure 8, from which it can be seen that the convergence time t 4 is the same for voltages V 2 and V 3 , both when using the MAD algorithm and when using the DP optimal benchmark.

5. Conclusions

In this paper, a detailed analysis of the evolution of the capacitor voltage trajectories as a function of the IGBT signals in multilevel flying-capacitor converters has led to the proposal of a new minimum angular distance algorithm. The proposed algorithm handles the turning on and off of the switches in order to achieve effective capacitor voltages balancing action while generating the desired output voltage. The proposed control algorithm is composed of very simple calculations and does not require any output current prediction. At the same time, the performance of the proposed algorithm has proven to be very good when compared with the optimal benchmark provided by dynamic programming. The future direction of this work should investigate the possible extension of the proposed algorithm to other multilevel converter topologies.

Funding

This work was partly supported by the University of Modena and Reggio Emilia through the action FARD (Finanziamento Ateneo Ricerca Dipartimentale) 2023–2024, and funded under the National Recovery and Resilience Plan (NRRP), Mission 04 Component 2 Investment 1.5-NextGenerationEU, Call for tender n. 3277 dated 30/12/2021 Award Number: 0001052 dated 23/06/2022.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Chang, H.; Vanfretti, L. Power Hardware-in-the-Loop Smart Inverter Testing with Distributed Energy Resource Management Systems. Electronics 2024, 13, 1866. [Google Scholar] [CrossRef]
  2. Cai, J.; Zhang, X.; Zhang, W.; Zeng, Y. An Integrated Power Converter-Based Brushless DC Motor Drive System. IEEE Trans. Power Electron. 2022, 37, 8322–8332. [Google Scholar] [CrossRef]
  3. Zanasi, R.; Tebaldi, D. Study of the Bidirectional Efficiency of Linear and Nonlinear Physical Systems. In Proceedings of the Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 14–17 October 2019; pp. 545–552. [Google Scholar]
  4. Muniandi, B.; Wan, S.; El-Yabroudi, M. Bi-Directional Charging with V2L Integration for Optimal Energy Management in Electric Vehicles. Electronics 2024, 13, 4221. [Google Scholar] [CrossRef]
  5. Gómez-Ruiz, G.; Sánchez-Herrera, R.; Clavijo-Camacho, J.; Cano, J.M.; Ruiz-Rodríguez, F.J.; Andújar, J.M. A Versatile Platform for PV System Integration into Microgrids. Electronics 2024, 13, 3995. [Google Scholar] [CrossRef]
  6. Alaql, F.; Alfraidi, W.; Alhatlani, A.; Al-Shamma’a, A.A.; Farh, H.M.H.; Allehyani, A. A Detailed Analysis and Gain Derivation of Reconfigurable Voltage Rectifier-Based LLC Converter. Electronics 2024, 13, 3788. [Google Scholar] [CrossRef]
  7. Alouache, H.E.; Sayah, S.; Bosisio, A.; Hamouda, A.; Kouadri, R.; Shirvani, R. Optimal Placement of HVDC-VSC in AC System Using Self-Adaptive Bonobo Optimizer to Solve Optimal Power Flows: A Case Study of the Algerian Electrical Network. Electronics 2024, 13, 3848. [Google Scholar] [CrossRef]
  8. Zanasi, R.; Tebaldi, D. Modeling control and robustness assessment of multilevel flying-capacitor converters. Energies 2021, 14, 1903. [Google Scholar] [CrossRef]
  9. Agheb, E.; Holtsmark, N.; Høidalen, H.K.; Molinas, M. High frequency wind energy conversion system for offshore DC collection grid—Part I: Comparative loss evaluation. Sustain. Energy Grids Netw. 2016, 5, 167–176. [Google Scholar] [CrossRef]
  10. Holtsmark, N.; Agheb, E.; Molinas, M.; Høidalen, H.K. High frequency wind energy conversion system for offshore DC collection grid—Part II: Efficiency improvements. Sustain. Energy Grids Netw. 2016, 5, 177–185. [Google Scholar] [CrossRef]
  11. Nguyen, T.D.; Lee, H.-H. Development of a three-to-five-phase indirect matrix converter with carrier-based PWM based on space-vector modulation analysis. IEEE Trans. Ind. Electron. 2016, 63, 13–24. [Google Scholar] [CrossRef]
  12. Rodrìguez, J.; Lai, J.-S.; Peng, F.Z. Multilevel inverters: A survey of topologies, controls, and applications. IEEE Trans. Ind. Electron. 2002, 49, 724–738. [Google Scholar] [CrossRef]
  13. Rodrìguez, J.; Bernet, S.; Wu, B.; Pontt, J.O.; Kouro, S. Multilevel voltage-source-converter topologies for industrial medium-voltage drives. IEEE Trans. Ind. Electron. 2007, 54, 2930–2945. [Google Scholar] [CrossRef]
  14. Yang, X.; Zhang, Y.; Liu, Y.; Jiang, S. Model Assisted Extended State Observer-Based Deadbeat Predictive Current Control for Modular Multilevel Converter. Electronics 2024, 13, 3789. [Google Scholar] [CrossRef]
  15. Katir, H.; Abouloifa, A.; Noussi, K.; Lachkar, I.; Aroudi, A.E.; Aourir, M.; Otmani, F.E.; Giri, F. Fault tolerant backstepping control for double-stage grid-connected photovoltaic systems using cascaded H-Bridge multilevel inverters. IEEE Control Syst. Lett. 2021, 6, 1406–1411. [Google Scholar] [CrossRef]
  16. Lopez, A.; Patino, D.; Diez, R.; Perilla, G. An equivalent continuous model for switched systems. Syst. Control Lett. 2013, 62, 124–131. [Google Scholar] [CrossRef]
  17. Liu, M.; Li, Z.; Yang, X. A universal mathematical model of modular multilevel converter with half-bridge. Energies 2020, 13, 4464. [Google Scholar] [CrossRef]
  18. Trip, S.; Cucuzzella, M.; Cheng, X.; Scherpen, J. Distributed averaging control for voltage regulation and current sharing in DC microgrids. IEEE Control Syst. Lett. 2019, 3, 174–179. [Google Scholar] [CrossRef]
  19. Tebaldi, D.; Zanasi, R. Modeling Control and Simulation of a Series Hybrid Propulsion System. In Proceedings of the IEEE Vehicle Power and Propulsion Conference (VPPC), Gijon, Spain, 18 November–16 December 2020; pp. 1–7. [Google Scholar]
  20. Tebaldi, D.; Zanasi, R. Systematic modeling of complex time-variant gear systems using a Power-Oriented approach. Control Eng. Pract. 2023, 132, 105420. [Google Scholar] [CrossRef]
  21. Michos, G.; Baldivieso-Monasterios, P.R.; Konstantopoulos, G.C. Distributed economic nonlinear MPC for DC Micro-Grids with inherent bounded dynamics and coupled constraints. Syst. Control Lett. 2022, 167, 105327. [Google Scholar] [CrossRef]
  22. Komaee, A. Optimal control with maximum cost performance measure. IEEE Control Syst. Lett. 2021, 6, 127–132. [Google Scholar] [CrossRef]
  23. Ben-Brahim, L.; Gastli, A.; Trabelsi, M.; Ghazi, K.A.; Houchati, M.; Abu-Rub, H. Modular multilevel converter circulating current reduction using model predictive control. IEEE Trans. Ind. Electron. 2016, 63, 3857–3866. [Google Scholar] [CrossRef]
  24. Wang, Z.; Gao, C.; Chen, C.; Xiong, J.; Zhang, K. Ripple analysis and capacitor voltage balancing of five-level hybrid clamped inverter (5L-HC) for medium-voltage applications. IEEE Access 2019, 7, 86077–86089. [Google Scholar] [CrossRef]
  25. Tian, H.; Li, Y.W. Carrier-based stair edge PWM (SEPWM) for capacitor balancing in multilevel converters with floating capacitors. IEEE Trans. Ind. Appl. 2018, 54, 3440–3452. [Google Scholar] [CrossRef]
  26. McGrath, B.P.; Holmes, D.G. Enhanced voltage balancing of a flying capacitor multilevel converter using phase disposition (PD) modulation. IEEE Trans. Power Electron. 2011, 26, 1933–1942. [Google Scholar] [CrossRef]
  27. Kang, D.-W.; Lee, B.-K.; Jeon, J.-H.; Kim, T.-J.; Hyun, D.-S. A symmetric carrier technique of CRPWM for voltage balance method of flying-capacitor multilevel inverter. IEEE Trans. Ind. Electron. 2005, 52, 879–888. [Google Scholar] [CrossRef]
  28. Moritz, R.M.B.; Batschauer, A.L. Capacitor voltage balancing in a 5-L full-bridge flying capacitor inverter. In Proceedings of the Brazilian Power Electronics Conference (COBEP), Juiz de Fora, Brazil, 19–22 November 2017. [Google Scholar]
  29. Amini, J.; Abedini, A. A straightforward close-loop control strategy for a single-phase asymmetrical flying capacitor multilevel inverter. In Proceedings of the Annual International Power Electronics, Drive Systems and Technologies Conference, Tehran, Iran, 13–14 February 2013. [Google Scholar]
  30. Saleh, S.A. Maximum resolution based method for balancing capacitor voltages in 7-level single phase flying-capacitor wavelet modulated inverters. IEEE Trans. Ind. Appl. 2023, 59, 5019–5031. [Google Scholar] [CrossRef]
  31. Choi, S.; Saeedifard, M. Capacitor voltage balancing of flying capacitor multilevel converters by space vector PWM. IEEE Trans. Power Deliv. 2012, 27, 1154–1161. [Google Scholar] [CrossRef]
  32. Borrelli, F.; Bemporad, A.; Morari, M. Predictive Control for Linear and Hybrid Systems; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar] [CrossRef]
  33. Ebrahimian, A.; Khan, W.A.; Weise, N. Enhanced Model Predictive Nearest Level Control for 5-Level Flying Capacitor Multilevel Converter, Hardware Implementation and Comparison. In Proceedings of the 2023 IEEE Applied Power Electronics Conference and Exposition (APEC), Orlando, FL, USA, 19–23 March 2023; pp. 2728–2734. [Google Scholar]
  34. Garcia, C.; Mohammadinodoushan, M.; Yaramasu, V.; Norambuena, M.; Davari, S.A.; Zhang, Z.; Khaburi, D.A.; Rodriguez, J. FCS-MPC Based Pre-Filtering Stage for Computational Efficiency in a Flying Capacitor Converter. IEEE Access 2021, 9, 111039–111049. [Google Scholar] [CrossRef]
  35. Ma, W.; Zhang, B.; Qiu, D. Robust Single-Loop Control Strategy for Four-Level Flying-Capacitor Converter Based on Switched System Theory. IEEE Trans. Ind. Electron. 2023, 70, 7832–7844. [Google Scholar] [CrossRef]
  36. Bakeer, A.; Mohamed, I.S.; Malidarreh, P.B.; Hattabi, I.; Liu, L. An Artificial Neural Network-Based Model Predictive Control for Three-Phase Flying Capacitor Multilevel Inverter. IEEE Access 2022, 10, 70305–70316. [Google Scholar] [CrossRef]
  37. Wang, D.; Shen, Z.J.; Yin, X.; Tang, S.; Liu, X.; Zhang, C.; Wang, J.; Rodriguez, J.; Norambuena, M. Model Predictive Control Using Artificial Neural Network for Power Converters. IEEE Trans. Ind. Electron. 2022, 69, 3689–3699. [Google Scholar] [CrossRef]
  38. Ren, K.; Wang, J.; Wang, D.; He, M. Sensorless Model Predictive Control Using Artificial Neural Network for Multilevel Flying Capacitor Boost Converters. In Proceedings of the 2022 IEEE International Power Electronics and Application Conference and Exposition (PEAC), Guangzhou, China, 4–7 November 2022; pp. 1093–1097. [Google Scholar]
  39. Wang, D.; Yin, X.; Tang, S.; Zhang, C.; Shen, Z.J.; Wang, J.; Shuai, Z. A Deep Neural Network Based Predictive Control Strategy for High Frequency Multilevel Converters. In Proceedings of the 2018 IEEE Energy Conversion Congress and Exposition (ECCE), Portland, OR, USA, 23–27 September 2018; pp. 2988–2992. [Google Scholar]
  40. Bellman, R.E. The Theory of Dynamic Programming; The RAND Corporation: Santa Monica, CA, USA, 1954. [Google Scholar]
  41. Sundstrom, O.; Guzzella, L. A generic dynamic programming Matlab function. In Proceedings of the 2009 IEEE Control Applications, (CCA) & Intelligent Control, (ISIC), St. Petersburg, Russia, 8–10 July 2009. [Google Scholar]
Figure 1. Circuital representation of the considered n-dimensional MFCC.
Figure 1. Circuital representation of the considered n-dimensional MFCC.
Electronics 14 00948 g001
Figure 2. Power-Oriented Graphs block scheme of system (1).
Figure 2. Power-Oriented Graphs block scheme of system (1).
Electronics 14 00948 g002
Figure 3. Control versors s j for j { 0 , 1 , , 2 n 1 } on the plane ( V 2 , V 3 ) in the case of n = 3 .
Figure 3. Control versors s j for j { 0 , 1 , , 2 n 1 } on the plane ( V 2 , V 3 ) in the case of n = 3 .
Electronics 14 00948 g003
Figure 4. Block diagram of the control architecture.
Figure 4. Block diagram of the control architecture.
Electronics 14 00948 g004
Figure 5. Example of the operation of the MAD algorithm in selecting s j when the desired output voltage level L is equal to L 1 and I o u t > 0 .
Figure 5. Example of the operation of the MAD algorithm in selecting s j when the desired output voltage level L is equal to L 1 and I o u t > 0 .
Electronics 14 00948 g005
Figure 6. Comparison between the results given by the MAD algorithm and dynamic programming: (a,b) output voltage and (c,d) capacitor voltages.
Figure 6. Comparison between the results given by the MAD algorithm and dynamic programming: (a,b) output voltage and (c,d) capacitor voltages.
Electronics 14 00948 g006
Figure 7. Comparison between the results given by the MAD algorithm (a) and dynamic programming (b): capacitor voltage trajectories.
Figure 7. Comparison between the results given by the MAD algorithm (a) and dynamic programming (b): capacitor voltage trajectories.
Electronics 14 00948 g007
Figure 8. Comparison between the results given by the MAD algorithm and dynamic programming: (a,b) capacitor voltages.
Figure 8. Comparison between the results given by the MAD algorithm and dynamic programming: (a,b) capacitor voltages.
Electronics 14 00948 g008
Table 1. Switching table relating the IGBT signals to the values of the output voltage V o u t when n = 3 .
Table 1. Switching table relating the IGBT signals to the values of the output voltage V o u t when n = 3 .
T j T 1 T 2 T 3 V o u t (if (4) holds)Level
T 0 0000 L 0
T 1 001 V 3 = V i n 3 L 1
T 2 010 V 2 V 3 = V i n 3 L 1
T 3 011 V 2 = 2 V i n 3 L 2
T 4 100 V 1 V 2 = V i n 3 L 1
T 5 101 V 1 V 2 + V 3 = 2 V i n 3 L 2
T 6 110 V 1 V 3 = 2 V i n 3 L 2
T 7 111 V 1 = V i n L 3
Table 2. MFCC parameters and desired output voltage V o u t d .
Table 2. MFCC parameters and desired output voltage V o u t d .
V i n = 100 V, R i n = 0.1 Ω, C 3 = 5 μF, C 2 = C 3 2 , I o u t = 1 A
T s = 50 ns, T P W M = 0.6 μs, V o u t d = V i n 2 + V i n 2 sin ( 2 π 5 · 10 3 t )
Table 3. Average efficiency, power loss, and output voltage THD.
Table 3. Average efficiency, power loss, and output voltage THD.
Average Efficiency E ¯ Average Power Loss P ¯ l THD
MAD 99.845 %0.164 [W] 5.903 [dBc]
DP 99.850 %0.159 [W] 5.903 [dBc]
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

Tebaldi, D. An Approach to Control Multilevel Flying-Capacitor Converters Using Optimal Dynamic Programming Benchmark. Electronics 2025, 14, 948. https://doi.org/10.3390/electronics14050948

AMA Style

Tebaldi D. An Approach to Control Multilevel Flying-Capacitor Converters Using Optimal Dynamic Programming Benchmark. Electronics. 2025; 14(5):948. https://doi.org/10.3390/electronics14050948

Chicago/Turabian Style

Tebaldi, Davide. 2025. "An Approach to Control Multilevel Flying-Capacitor Converters Using Optimal Dynamic Programming Benchmark" Electronics 14, no. 5: 948. https://doi.org/10.3390/electronics14050948

APA Style

Tebaldi, D. (2025). An Approach to Control Multilevel Flying-Capacitor Converters Using Optimal Dynamic Programming Benchmark. Electronics, 14(5), 948. https://doi.org/10.3390/electronics14050948

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