Depósito de investigación de la Universidad de Sevilla https://idus.us.es/ This is an Accepted Manuscript of an article published IEEE Transactions on Industrial Electronics available at: 10.1109/TIE.2022.3194587 “© 2022 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other Works”
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS Hybrid Sphere Decoder for Long Prediction Horizon FCS-MPC Eduardo Zafra, Student Member, IEEE, Sergio Vazquez, Fellow, IEEE, Abraham M. Alcaide, Member, IEEE, Emilia Perez Martin, Leopoldo G. Franquelo, Life Fellow, IEEE, and Jose I. Leon, Fellow, IEEE Abstract—In finite control set model predictive control (FCS-MPC) strategies, extending the prediction horizon length provides important closed-loop performance improvements. However, the computational costs are increased in exponential fashion. Transforming the problem to an equivalent box-constrained integer least-squares (ILS) formulation enables the usage of sphere decoding algorithms (SDA) that can efficiently solve this problem. Recently, a K-best sphere decoder was proposed and designed for hardware platforms. This algorithm follows a breadth-first strategy different to the conventional SDA. In this work, a hybrid SDA that combines the merits of both the K-best SDA and the conventional SDA is proposed with the objective of increasing optimality likelihood and improve control performance. In particular, it is proposed that a K-best sphere decoder delivers a preliminary optimal solution. Then, a conventional SDA uses the available calculation time to search for a better solution. Simulation and experimental results confirm the validity of the proposal in terms of performance and computational efficiency. Index Terms—Predictive control, DC-AC power conversion, digital control. I. INTRODUCTION MODEL predictive control (MPC) strategies are emerging in recent years as interesting tools to protagonize the control of power converters [1], [2]. Among model predictive controllers, finite control set - MPC (FCS-MPC) strategies hold special relevancy in the literature thanks to its intuitive formulation [3]. In FCS-MPC, the control problem is defined as an integer optimization problem where the control inputs are the switching positions of the power converter. The set of admissible inputs is the finite control set. A discrete prediction model of the electric circuit is used to predict the The authors gratefully acknowledge the financial support provided by the project PID2020-115561RB-C31 funded by MCIN/AEI/10.13039/501100011033 and the Consejeria de Economia, Conocimiento, Empresas, y Universidad, Secretaria General de Universidades, Investigacion y Tecnologia, under project P18-RT-1340. Eduardo Zafra gratefully acknowledges the financial support provided by the Spanish Ministry of Universities under grant FPU18/02704. Abraham M. Alcaide’s work is supported by Junta de Andalucia under grant P18-RT-1340, and Contrataci´ on de Personal Investigador Doctor. (Convocatoria 2019) 43 Contratos Capital Humano L´ ınea 2. Paidi 2020, supported by the European Social Fund and Junta de Andaluc´ ıa. E. Zafra, A. M. Alcaide and E. P. Martin are with the Electronics Department, Universidad de Sevilla, Sevilla, C.P. 41092 Spain (e-mail:
[email protected]; [email protected]). S. Vazquez, L. G. Franquelo and J.I. Leon are with the Laboratory of Engineering for Energy and Environmental Sustainability, Universidad de Sevilla, Sevilla, C.P. 41092 Spain (e-mail: [email protected]; lgfran- [email protected];
[email protected]). evolution of the system state variables in future sampling instants in function of the control inputs. This leads to a finite amount of possible trajectories for the system. Among these, an optimization algorithm is in charge of selecting the optimal trajectory depending on the criteria selected for the control problem. These criteria are represented in a cost function that is computed alongside the model predictions and provides a numeric cost for each trajectory. The number of sampling instants considered in these predictions is known as the prediction horizon length (Np). There is solid research implying important performance benefits when extending the prediction horizon length [2], [4]–[8]. In particular, it is possible to operate the power converter at a lower switching frequency in order to reduce power losses but maintain or improve the harmonic performance. However, extending the prediction horizon comes at a steep price from the computational point of view. This is because the number of combinations grows exponentially with Np. In the conventional FCS-MPC formulation, an exhaustive search algorithm (ESA) is used to solve the optimization problem. The ESA enumerates every possible candidate in the FCS, predicts the future states for each control input and evaluates the cost function to select the optimal. However, this strategy becomes intractable beyond short horizon steps (Np={1,2}) [3]. To overcome this obstacle, the control formulation can be expressed as an equivalent integer least-squares (ILS) problem, as proposed in [9]. Through this transformation, the optimization problem can be solved by means of a branch-and- bound algorithm like the sphere decoding algorithm (SDA). Through this algorithm, it is possible to unequivocally find the optimal solution without exploring every candidate in the search space. This property has enabled practical application of these techniques and the study of long prediction horizon FCSMPC (LPH-FCS-MPC) in recent research works [6]–[12]. Despite this progress, LPH-FCS-MPC is still a challenging problem. Most works in the literature generally achieve Np≤5in real-time implementations. A well-known drawback of the conventional SDA is its inherently high computational variability. Due to this, it is frequent that the algorithm operates as what is known as constrained SDA. This implies that the maximum amount of explored nodes (one dimensional candidates of the finite control set) is a fixed quantity that depends on the computational availability and the required execution time [8], [13], [14]. The constrained SDA can render a solution in time for the next sampling instant, so that the next switching state can be imposed in the power converter, albeit This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS suboptimal. However, suboptimal solutions can potentially degrade the control performance. It is assumed that a constrained SDA cannot guarantee 100 %optimality. Nonetheless, due to the algorithm formulation it can be ensured that as the search process continues, the cost of incumbent solutions selected by the algorithm can only converge to the optimal solution, as any candidate with larger cost is discarded. Thus, suboptimality can be acceptable up to a certain point where control performance is noticeably degraded. In practice, this is the trade-off that limits the achievable Np. Larger Np provides better prediction model information and improves control performance. However, the computational burden is larger and the constrained SDA may provide solutions that impact performance negatively in comparison with a shorter Npformulation that the algorithm is capable of solving with sufficient optimality. In [7], a K-best sphere decoder was designed for a hardware implementation and verified with comparisons with the conventional SDA. The K-best SDA presents a different search strategy known as breadth-first where a fixed number of candidates are explored in each step with only the best Kbsurviving and being further explored [15]. This search pattern is more predictable than the conventional SDA which presents several backtracking movements and an inherently high computational variability. Also, in K-best SDA, it is not necessary to calculate an initial candidate. Computationally, the K-best SDA allows easier pipelining and parallelization of tasks, which is ideal for hardware implementation [7], [15], [16]. One of the main drawbacks of this algorithm is that optimality is not ensured as some nodes are discarded early without the guarantee that they will not render a better overall solution if the complete candidate sequence of nodes is considered. However, previous studies of the K-best Sphere decoder demonstrate that solutions converge to the optimal with increasing values of Kb. Practical analysis highlights that moderate values of Kbprovide better results than the conventional SDA under constrained operation to similar time requirements [7]. In the K-best design proposed in [7], the parameter Kbis a limiting factor as the required FPGA resources are increased almost linearly with Kb. However, thanks to the usage of bitonic networks to solve the necessary sorting operations, calculation times are increased in logarithmic fashion. Thus, FPGA resources are more often the critical resource in this design. For this reason, it is frequent that after the K-best SDA ends, there is still some calculation time available that could be used to further improve optimality. The main contribution of this paper is the proposal of a hybrid SDA that combines the benefits of both the K-best SDA and the conventional SDA. The idea is that the K- best SDA calculates a preliminary solution that acts as the conventional SDA initial solution. The constrained SDA uses the remaining execution time to find a better solution. The selection of the initial solution is a key factor in the SDA optimization performance [6], [14], [17]. Thus, it is expected that providing the constrained SDA with better initial solutions can facilitate the search process even if part of the allowed calculation time is invested on the K-best SDA. The rest of this paper is organized as follows: In sec- LC Filter f; f; f; f f f ff f o; o; o; o c; c; c; Load Fig. 1. Three-phase VSI with output LC filter circuit. TABLE I SYSTEM VARIABLES AND PARAMETERS Variable Description Lf,CfOutput filter inductor and capacitor if,abc = [if,a if,b if,c]TOutput filter inductor current vo,abc = [vo,a vo,b vo,c]TOutput filter capacitor voltage vi,abc = [vi,a vi,b vi,c]TVSI output voltage vdc DC-link voltage Sabc = [SaSbSc]TVSI switching state io,abc = [io,a io,b io,c]TOutput load current v∗ o,abc = [v⋆ o,a v⋆ o,b v⋆ o,c]TOutput filter capacitor reference voltage foFundamental frequency fs,TsSampling frequency and sampling period tion II, the selected system model and the control problem are described. In particular, the case study consists in an uninterruptible power supply system (UPS). Section III is dedicated to illustrate the proposed optimization algorithm. Finally, experimental validation is provided in Section IV. II. SYSTEM MODEL AND LPH-FCS-MPC FORMULATION The system under study is a two-level three-phase voltage source inverter (VSI) and an output LC filter that represent the UPS system depicted in Fig. 1. System variables and parameters are shown in Table I. The system supplies an electric load, which is assumed as linear for simplicity and keep the focus of the study in the new algorithm proposal and computational concerns. Variables in the abc natural reference frame are transformed to the stationary αβ-frame with the power-invariant Clarke transformation: χαβ,k =Tαβ abcχabc,k, where kdenotes the discrete time step and Tαβ abc is the transformation matrix. The presented system can be characterized by the prediction model expressed in state-space form in Table II1. The augmented prediction model in [18] is the prediction model in this application. This enables the usage of a steady-state Kalman filter to estimate the output current value without direct measurement. In this formulation, the filter inductor current, capacitor output voltage and the output load current are state variables. The control input ukis the switching state of the inverter, Sabc,k with Sx|x=a,b,c ∈ {umin..umax}, where umin and umax are the lower and upper integer input constraints. Thus, 1Inand Onare the identity and zero matrices of dimension n×n, respectively. The matrix Jis: J=0−1 1 0 . This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS TABLE II DISCRETE PREDICTION MODEL αβ frame UPS system equations State-space model xk+1 =Axk+Buk yk=Cxk State variables xk= [(if,k)T(vo,k)T(io,k)T]T Input uk=Sabc,k Output and reference yk=vo,k ,y⋆ k=v⋆ o,k Matrices A=eAcTs;B=ZTs 0 eAc(Ts−τ)Bcdτ Ac= O2−1 LfI2O2 1 CfI2O2−1 CfI2 O2O2Jω Bc= 1 LfI2 O2 O2 Tαβ abcvdc, C = O2 I2 O2 T uk∈V, where V={umin..umax}3is the FCS which defines the admissible switching positions. In the case of the considered topology umin = 0 and umax = 1. The system output ykis defined by the state variables whose evolution will be directly regulated by the controller. In the particular case of the UPS, this is the output voltage vo,k that must follow a sinusoidal reference v⋆ o,k. For the LPH-FCS-MPC formulation, it is convenient to define the so-called switching or input sequence and output sequences. These arrays are the result of appending the individual inputs and outputs within the prediction horizon. The switching sequence Uk, output sequence Ykand output reference sequence Y∗ kare defined as: Uk=(uk)T(uk+1)T... (uk+Np−1)TT(1) Yk= [(yk+1)T(yk+2)T...(yk+Np)T]T(2) Y∗ k= [(y⋆ k+1)T(y⋆ k+2)T...(y⋆ k+Np)T]T(3) In FCS-MPC, the desired behavior is imposed by means of a cost function. This function assigns a cost to each possible control action. This cost depends on the state variables predictions and the application control targets. For this work, the same cost function defined in [7] is used: Jk= k+Np−1 X ℓ=k ∥yℓ+1 −y⋆ ℓ+1∥2 2+λ∥uℓ−uℓ−1∥2 2,(4) This expression is conventional in LPH-FCS-MPC problems. The first term addresses the UPS output voltage regulation to the desired reference. Switching states that minimize the tracking error will deliver lower costs and increase the probability of being selected by the optimization algorithm. The second term penalizes the control effort, limiting the average switching frequency, ¯ Fsw of the power converter. Weighting factor λ≥0adjusts the trade-off between the switching effort penalization and output tracking error. Higher values provide lower average switching frequency as states that imply changing a switching position are deemed less preferable. The selection and evaluation of candidates is performed by the optimization algorithm. It seeks the minimization of the cost function, i.e., solves the optimization problem defined as: Uopt k=arg min Uk Jk(5a) subj. to Uk∈ {0,1}3Np(5b) where (5b) are constraints imposing that members of Uk belong to the FCS extended for Np. Only the first member of Uopt kis applied to the power converter. To solve this problem more efficiently, it is convenient to reformulate it as an equivalent ILS-problem. The necessary operations for this particular case are described in [7]. The final result is the equivalent box constrained ILS-problem: Uopt k=arg min Uk Jk=arg min Uk ∥HUk−¯ Uunc k∥2 2(6a) subj. to Uk∈ {0,1}3Np(6b) where ¯ Uunc k=HUunc kis the unconstrained solution to (6a). Matrix His a lattice generator which forms a 3Np- dimensional discrete space wherein the solution lies. The set of points HUk:Uk∈ {0,1}3Npis the lattice generated by H. The optimization problem is now equivalent to finding the optimal Ukwithin the lattice with the shortest Euclidean distance Jkto ¯ Uunc kin the transformed space. III. HYBRID SPHERE DECODING ALGORITHM A. Conventional SDA The conventional SDA for LPH-FCS-MPC applications, as proposed in [9], later adapted to a non-recursive formulation in [19], is a branch-and-bound method that can solve the LPH-FCS-MPC optimization problem if expressed as an ILS- problem. Two elements are needed to start the SDA search process. One of them is the unconstrained solution to the ILS optimization problem. The unconstrained solution Uunc k depends on the prediction model and the system state. Then, it must be transformed to the Hlattice space to obtain ¯ Uunc k[7]. Also, an initial solution, belonging to the FCS, Uini kmust be selected. This initial solution is the incumbent until a candidate with lower cost is found during the search process. The initial candidate must meet the following inequality: ∥HUopt k−¯ Uunc k∥2 2≤ ∥HUini k−¯ Uunc k∥2 2=dini (7) which defines an ellipsoid in terms of Uk, but a hyper-sphere in terms lattice points HUk[20]. This property is the base of the SDA search strategy, as hyperspheres centered around target pointggare sequentially evaluated and compared to the incumbent in order to find the smallest one. The squared radius of these hyperspheres is the cost function expression in (6). Thus, the smallest hypersphere represents the optimal Uk. By virtue of using the squared radius as a metric of merit, the process of evaluating different hyperspheres can be performed in unidimensional fashion. Each component This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS U(2)= 0U(2)= 1 = 0 = 1 i=2 i=1 i=0 U(1) = 1 U(1) = 0 U(1) = 1 U(1) U(0) = 0 U(0) = 1 U(0) = 0 U(0) = 1 U(0) = 0 U(0) = 1 U(0) = 0 U(0) i=3 U(2)= 0U(2)= 1 = 0 = 1 i=2 i=1 i=0 U(1) = 1 U(1) = 0 U(1) = 1 U(1) U(0) = 0 U(0) = 1 U(0) = 0 U(0) = 1 U(0) = 0 U(0) = 1 U(0) = 0 U(0) i=3 Fig. 2. Three-layer search tree for conventional SDA (left) and K-best SDA (right) for Np= 1 and Kb= 1. of Ukadds a partial cost that is sequentially calculated and accumulated in order to compute the cost of a complete switching sequence Uk. This process is frequently illustrated as a tree diagram with 3Nplevels as shown in Fig. 2. Each level contains a fixed number of nodes that represent possible individual switching positions from the top level of the tree to level i. These nodes are partial candidates Uk(i: 3Np−1) = Uk(i)Uk(i+ 1) ... Uk(3Np−1)T. The branching process in SDA follows a depth-first strategy. Vertical progression to next layer i−1is prioritized. If the current candidate reaches a layer for which the partial cost exceeds that of the incumbent candidate, the SDA performs a sidetracking movement, for which, a different switching position Uk(i)is explore for the same layer i, or a backtracking movement, where the next layer corresponds to the parent node (i+ 1). In this case, the subsequent part of the tree is pruned from the search space. The accumulated cost is stored for each level in a 3Np+ 1 dimensional array, d. This allows the algorithm to retrieve the costs of previous levels if backtracking is necessary. The accumulated cost for level ican be computed sequentially in each node following the equation: d(i) = ∥H(i, :)Uk−¯ Uunc k(i)∥2 2+d(i+ 1) (8) where H(i, :) denotes row iof matrix Hand d(3Np) = 0. B. K-best SDA The K-best SDA proposes a different breadth-first strategy. For layer i, a maximum number of 2Kbnodes are evaluated. Out of the 2Kbexplored nodes in each layer, a maximum of Kbnodes survive. Their branch is expanded and further explored in layer i−1when the nodes of current layer iare evaluated. Therefore, this strategy completely eliminates the possibility of backtracking movements. Also, the number of visited nodes and the execution time is fixed. Interestingly, the K-best SDA performs a rejection of nodes based on early comparisons between partial candidates. This is different to the conventional SDA, where an incumbent is firstly selected and its total cost acts as a baseline for the rest of the candidates. In consequence, only the conventional SDA ensures that pruned candidates are not optimal and that the selected solution is unequivocally the optimal. Nonetheless, this case is not fully representative of a practical application, as the high computational variability inherent to the SDA strategy causes a necessity to impose computational upper bounds that guarantee the availability of a solution before the next sampling instant [13]. This represents a modification of the algorithm which is known as constrained SDA. In a constrained SDA, it is possible that the search process must be completed prematurely. Thus, a portion of the search space is left unexplored, with no information about its cost. This can be problematic if the optimal solution is placed in that portion of the search space. As can be expected, tighter computational constraints mean that the explored portion of the search space is smaller and the probability of reaching a suboptimal solution is increased. In view of this fact, the K-best SDA allows one to focus the available computational capacity in exploring regions of the search space that are revealed to be the most interesting when considering the preliminary costs of the first partial candidates. Computationally, this algorithm has good parallelization properties that were exploited in the design proposed in [7]. In this implementation, 2Kbnodes are evaluated in parallel. The information of the partial switching sequence and its corresponding partial cost are stored in a matrix Uext cand that requires sorting operations before advancing to the next layer. This task is solved in [7] by using bitonic networks that achieve an efficient time and hardware resources trade-off. Expectedly, parameter Kbis essential to define the performance of the K-best SDA as it defines the amount of nodes that can be visited in each layer. Understandably, a larger amount lowers the probability of discarding candidates that can potentially become better solutions in terms of cost during the last stages of the algorithm. Conversely, it increases the computational burden of the algorithm. In [7], 2Kbparallel partial radius computation structures where needed in the hardware design. This translated to a close to linear dependency of hardware resources in function of Kb. However, the usage of bitonic networks ensured a logarithmic time complexity. In practical terms, the area consumption of the hardware design became a limiting factor for most cases, rather than the calculation time. Simulation and experimental tests in [7] demonstrated that the K-best SDA was more efficient than the constrained SDA in a per-node basis, achieving better optimality and providing solutions with smaller costs in average. In practical tests, the K-best SDA achieved better control performance even when not taking full advantage of the available calculation time, in This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS comparison with the constrained SDA. For prediction horizon lengths Np={4,5}, the portion of the search space explored by the constrained SDA was generally insufficient to provide good enough control performance. C. Hybrid SDA The main contribution of this paper is the proposal of a hybrid SDA that combines both a K-best SDA and a constrained SDA strategy. The main objective of the hybrid SDA is that the cooperation of both search algorithms can correct their individual shortcomings and provide a superior search capability. For simplicity, both algorithms operate in a sequential manner. Firstly, the K-best SDA finds a preliminary solution in a short time frame. Then, the constrained SDA can utilize this solution as a baseline and search for a better solution during the rest of the sampling interval, with the added benefit of a potentially very tight hypersphere provided by the K-best SDA. Thus, the constrained SDA can prune candidates faster and focus in promising branches that were not fully explored by the K-best SDA. The hybrid SDA search tree consists of both search trees in Fig. 2 connected sequentially. In the proposed design, the K-best SDA acts as an SDA initialization method. With the purpose of covering all the possible cases during the power converter operation, the standard educated guess initial solution, Ueg kis also computed due to its simplicity [9]. It consists on shifting the previous optimal solution one time step. It relies on the principle that the system should not drastically change from one sampling instant to the other. Thus, the current optimal solution should be similar to the prediction in the past sampling instant. This is however, not necessarily true, specially during transients. For this reason, it is expected that the K-best SDA can provide a better initial solution for the constrained SDA. The proposed Hybrid SDA is described in pseudo-algorithm form in Algorithm 1. As can be seen the algorithm selects the initial solution with inferior cost out of the educated guess and the K-best SDA. Also, if the constrained SDA is unable to find a solution that improves the K-best SDA solution, it will remain as the overall optimal. Thus, the hybrid SDA solution can only converge to the optimal during the search process. The implementation of Algorithm 1 is carried out following the design guidelines in [7]. The rest of this paper is dedicated to extensively test the performance of the proposed hybrid SDA, both with simulation and experimental results. IV. PERFORMANCE EVALUATION A. Simulation Results This section evaluates the performance of the proposed hybrid SDA and different optimization algorithms shown in Table IV. Note that the ESA is only feasible in simulation tests and is considered in the study only as a reference. The analysis is performed in a simulation model akin to the real UPS prototype where experiments are carried out. The MATLAB / Simulink software is used to design the model and perform the simulations. The UPS system parameters are as shown in Table IV unless otherwise specified. Algorithm 1 Hybrid SDA pseudo-algorithm. Input: H,¯ Uunc k,Ueg k,deg,Nmax iter ,umin,umax Output: Uopt k Initialize K-best SDA : i= 3Np−1;Uext cand = []3Np×2Kb 2: while i > 0do Fill Uext cand(i, :) with FCS symbols; 4: Calculate d(i)for each column in Uext cand as in eq. (8); Store the 2Kbd(i)values in Uext cand(3Np,:); 6: Sort Uext cand and select Kbsurvivors according to [7]; i=i−1; 8: end while Ukb k=Uext cand(0 : 3Np−1,0);dkb =Uext cand(3Np,0); Initialize Constrained SDA : 10: if deg < dkb then Incumbent = deg;Uopt k=Ueg k; 12: else Incumbent = dkb;Uopt k=Ukb k; 14: end if i= 3Np−1;j=umin;Niter = 0 16: while i < 3NpAND Niter < Nmax iter do if j≤umax then 18: Uk(i) = j; Calculate d(i)as in (8); Niter+ = 1; if d(i)≥Incumbent then 20: j=j+ 1; else {Partial solution inside incumbent sphere} 22: if k= 0 then Incumbent = d(i);Uopt k=Uk;j=j+ 1; 24: else i=i−1;j=umin; 26: end if end if 28: else {jis not in the FCS} i=i+ 1;j=Uk(i)+1; 30: end if end while TABLE III TESTED OPTIMIZATION ALGORITHMS Algorithm Notation in figures Conventional constrained SDA SDA1 K-best SDA with Kb= x Kbx Exhaustive Search Algorithm ESA Hybrid SDA with Kb= x SDAhyb Kbx The study focuses on the optimization process performance and how this translates to the control outcome. Long prediction horizon renders important steady-state improvements [4-12]. However, suboptimality issues arise due to the highly variable computational costs of the optimization problem. The selected solutions tend to be suboptimal as the computational limit is tighter or the optimization problem is more complex. This effect opposes the LPH-FCS-MPC benefits. For this reason, control performance can be degraded when extending the prediction horizon. Thus, it is relevant to assess which strategy This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS TABLE IV UPS PARAMETERS Parameter Value Output filter inductor, Lf2 mH Output filter capacitance, Cf50 µF Load resistance 30 Ω Load inductor 20 mH DC-link voltage, vdc 700 V Voltage reference (phase to ground) 230 V Fundamental frequency 50 Hz Sampling frequency, fs20 kHz 2468 70 80 90 100 2 4 6 8 0 10 20 a) c) 2468 70 80 90 100 2 4 6 8 0 10 20 d) f) 2468 1.5 2 2.5 3 3.5 b) 2468 2.5 3 3.5 4 b) ESA Fig. 3. Performance of several optimization algorithms in function of the prediction horizon length: a), b), c) ¯ Fsw = 2 kHz. d), e), f) ¯ Fsw = 1.5. a-d) Optimality (Op(%)). b-e) THD (%). c-f) Closed gap (%). 123 70 80 90 100 2 3 5 10 15 20 25 2 3 1 2 3 4 5 1.6 1.8 2 2.2 1.5 2 2.5 ESA Fig. 4. Performance study of several optimization algorithms in function of the average switching frequency. Prediction horizon length is set as Np= 6. a) Optimality (Op(%)) and b) THD (%). A focused zoom of only four optimization algorithms is provided in plot b). c) Closed gap (%). is most efficient to find the best possible solution in a computationally limited scenario. The K-best SDA is set at different Kb values and the SDA is constrained with a maximum number of visited nodes equal to what can be achieved in the practical tests for the considered design. Three metrics of merit are computed in each simulation with the sufficient amount of fundamental cycles to obtain representative data. One of them is the optimality metric Op(%). This is defined as the percentage of successfully found optimal so- 2468 0 5 10 2468 0 5 10 2 4 6 8 0 5 10 a) b) c) 2468 70 80 90 100 2468 70 80 90 100 2 4 6 8 70 80 90 100 d) e) f) Fig. 5. Simulation Results: a), b), c) Initial hypersphere squared radius with different initialization methods and ¯ Fsw= 2 kHz. d), e), f) Kb selection rate for different ¯ Fsw. a-d) Hybrid SDA Kb=8 b-e) Hybrid SDA Kb=6. c-f) Hybrid SDA Kb=4. lutions in the total amount of optimization problems computed in the considered time frame. In simulation, it is possible to compute the exact optimal solution to compare the evaluated constrained algorithm’s suboptimal solutions. In a similar fashion, the closed gap metric (%) can be computed following the expression: C. gap(%) = (1 −dop dsub )×100, where dop is the cost of the optimal solution and dsub is the solution found by the constrained algorithm. To cover the control performance, the output voltage total harmonic distortion (THD) is also calculated in each case. Results for a sweep of the prediction horizon lengths are shown in Fig. 3. As can be seen, longer Nprepresent larger computational costs and optimality tends to decrease. Similarly, the closed gap metric tends to be higher as suboptimal solutions are further from the optimal. In particular, it is shown how the constrained SDA maintains a high optimality up to Np= 4. However, it suffers a steep decline for Np>4. For the K-best SDA, this decline starts in Np= 3. However, the optimality reduction is more even, achieving better optimality than the constrained SDA for long prediction horizons. The proposed hybrid SDA is capable of combining the characteristics of both algorithms by providing an improved optimality curve that declines at around the same point to the constrained SDA but with the K-best SDA reduced slope. Thus, it generally renders better optimality and closed gap results. Thanks to this, the control performance in terms of harmonic distortion provided by the hybrid SDA is also generally better. For the second comparison, the prediction horizon length is set as 6. In these simulations, a sweep of the parameter lambda is performed in order to achieve several different average switching frequencies, ¯ Fsw. This magnitude is selected as the horizontal axis of the analysis due to its large influence on performance and computational costs [7]. The results are depicted in Fig. 4. Similar conclusions can be extracted from this figure. As can be seen, the constrained SDA tends to provide inferior performance in the 1 to 2 kHz range. However, it achieves a noticeable improvement from 2 to 3 kHz in comparison to the K-best SDA. Similarly, the hybrid SDA is This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS a) c) b) Fig. 6. Laboratory setup. a) VSI, LC filter and DC supply, b) LC filter with sensors and switchgear, c) control board and graphical user interface. 1.4 1.6 1.8 2 1 2 3 4 1.4 1.6 1.8 2 1 2 3 4 a) b) Fig. 7. Steady-state performance as a measure of the output voltage THD. a) Np= 6. b) Np= 7. capable of combining both characteristics and provides superior optimality in the entire considered range. The optimality curves have a direct translation to the control performance as measured by the output voltage THD. As can be seen, a similar phenomena is observed and the hybrid SDA renders overall better performance. Finally, the initial solution provided to the SDA in the hybrid SDA strategy is compared to that of other initialization methods in the literature. Particularly, the Babai and Educated Guess methods will be used in this comparison [13]. In Fig. 5, two metrics of merit are represented. In plots a), b) and c), the squared radius of the initial solution dini is represented. In plots d), e) and f), the selection rate of the K-best initial solution in the hybrid SDA is shown. As can be seen, the hybrid SDA provides the smallest initial hypersphere on average. Also, the selection rate is greater than 70 % in all the tested cases, improving for lower switching frequency and larger Kb. B. Experimental Results Experimental tests are performed in an UPS laboratory prototype in order to assess the control performance. The experimental setup is shown in Fig. 6. Parameters are the same as in the simulation study unless otherwise specified. The digital control is implemented in a low-cost PYNQ-Z1 development board from Digilent Inc. The board is based on TABLE V SYNTHESIS AREA CONSUMPTION Look-Up Tables Flip Flops DSP Cells Constrained SDA 5120 1565 2 K-best Kb=4 13038 4317 16 K-best Kb=6 18152 6360 24 K-best Kb=8 22542 8429 32 Hybrid Kb=4 18569 5968 18 FPGA Resources 53200 1 ·105220 a Xilinx Zynq-7000 device that includes an Artix-7 XC7Z020 FPGA and a dual-core ARM Cortex-A9 processor. The design methodology in [7], [12] is followed, with the SDA algorithm implemented in the FPGA. For this experimental section, several optimization strategies are assessed. The hybrid SDA is configured with Kb= 4 to aim for hardware resource efficiency. For comparison purposes, the constrained SDA and the K-best SDA with values Kb= 4, 6, and 8 are also tested. The main objective of this section is to evaluate a practical case with limited computational resources. Particularly, to check if it is convenient to invest these resources in a hybrid SDA structure, a K-best SDA or constrained SDA. The FPGA resource consumption of the selected strategies is summarized in Table V. As can be expected, the addition of a constrained SDA and a K-best SDA results in a hybrid SDA FPGA design that is equivalent to their sum in terms of FPGA resources. Interestingly, a hybrid SDA with Kb=4 presents similar consumption metrics to a K- best SDA with Kb=6. Thus, both can be compared in terms of performance for equal resources. For the K-best SDA with Kb=8, consumption metrics clearly exceed that of the hybrid SDA with Kb=4. Thus, this is also an interesting comparison in order to evaluate if the same or better performance can be achieved with less resource consumption. Firstly, the output voltage total harmonic distortion is measured and represented for different switching frequency values. This experiment is depicted in Fig. 7. As can be seen, the hybrid SDA with Kb= 4 generally achieves better harmonic performance in the experiments in comparison with the conventional constrained SDA and the K-best SDA, including the Kb= 8 case that requires a larger amount of resources. Transient-state experimental results are illustrated in Fig. 8. In these experiments, parameter λis chosen heuristically in each case to achieve the desired average switching frequency ¯ Fsw = 1.5 kHz. As can be seen, harmonic distortion is reduced thanks to the hybrid SDA search strategy. The voltage regulation is also more closely achieved during transients. Thus, the proposed strategy is revealed as an interesting tool to improve the optimization search and control performances. V. CONCLUSION In this paper, a hybrid SDA optimization algorithm is proposed to solve the LPH-FCS-MPC problem. In the proposed design, the K-best SDA generates a preliminary solution that a constrained conventional SDA attempts to improve during the available calculation time. This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.
IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS 0 10 20 30 40 -400 -200 0 200 400 0 10 20 30 40 Time [ms] -10 -5 0 5 10 a) THD = 2.7% 0 10 20 30 40 -400 -200 0 200 400 0 10 20 30 40 Time [ms] -10 -5 0 5 10 c) THD = 1.8% 0 10 20 30 40 -400 -200 0 200 400 0 10 20 30 40 Time [ms] -10 -5 0 5 10 b) THD = 2.0% 0 10 20 30 40 -50 -25 0 25 50 0 10 20 30 40 -50 -25 0 25 50 0 10 20 30 40 -50 -25 0 25 50 |ev|max = 35.2 V|ev|max = 50.1 V |ev|max = 30.9 V Fig. 8. Experimental results for Np= 7 and fs= 20 kHz. Parameter λis selected in each case to fix ¯ Fsw = 1.5 kHz. Three phase magnitudes are represented. Top figures show the output voltage and reference. Middle figures show the voltage tracking error ev,abc =vo,abc −v⋆ o,abc. Bottom figures show the output current. a) Conventional SDA. b) K-best SDA with Kb=6. c) Hybrid SDA with Kb= 4. Simulation results confirm the performance benefits of the proposed strategy for several operation points. It is shown that optimality is enhanced with the hybrid SDA. These improvements in the search process translate to better control performance as it is demonstrated by measuring the harmonic distortion of the UPS output voltage. For practical tests, the design is implemented in an FPGA. Thus, resource consumption is also a key metric that is considered in the study to assess the different optimization strategies. Experimental tests confirm that the hybrid SDA achieves noticeably better performance than the conventional SDA. In comparison with the K-best SDA, the hybrid SDA is a more efficient strategy as it is capable of delivering better results for similar resource consumption. REFERENCES [1] P. Karamanakos and T. Geyer, “Guidelines for the design of finite control set model predictive controllers,” IEEE Transactions on Power Electronics, vol. 35, DOI 10.1109/TPEL.2019.2954357, no. 7, pp. 7434– 7450, 2020. [2] P. Karamanakos, E. Liegmann, T. Geyer, and R. Kennel, “Model predictive control of power electronic systems: Methods, results, and challenges,” IEEE Open Journal of Industry Applications, vol. 1, DOI 10.1109/OJIA.2020.3020184, pp. 95–114, 2020. [3] S. Vazquez, J. Rodriguez, M. Rivera, L. G. Franquelo, and M. Norambuena, “Model predictive control for power converters and drives: Advances and trends,” IEEE Transactions on Industrial Electronics, vol. 64, DOI 10.1109/TIE.2016.2625238, no. 2, pp. 935–947, Feb. 2017. [4] T. Geyer and D. E. Quevedo, “Performance of multistep finite control set model predictive control for power electronics,” IEEE Transactions on Power Electronics, vol. 30, no. 3, pp. 1633–1644, 2015. [5] C. Bordons and C. Montero, “Basic principles of mpc for power converters: Bridging the gap between theory and practice,” IEEE Industrial Electronics Magazine, vol. 9, DOI 10.1109/MIE.2014.2356600, no. 3, pp. 31–43, Sep. 2015. [6] P. Acuna, C. A. Rojas, R. Baidya, R. P. Aguilera, and J. E. Fletcher, “On the impact of transients on multistep model predictive control for medium-voltage drives,” IEEE Transactions on Power Electronics, vol. 34, no. 9, pp. 8342–8355, 2019. [7] E. Zafra, S. Vazquez, A. M. Alcaide, L. G. Franquelo, J. I. Leon, and E. P. Martin, “K-best sphere decoding algorithm for long prediction horizon fcs-mpc,” IEEE Transactions on Industrial Electronics, vol. 69, DOI 10.1109/TIE.2021.3104600, no. 8, pp. 7571–7581, 2022. [8] E. Liegmann, P. Karamanakos, and R. Kennel, “Real-time implementation of long-horizon direct model predictive control on an embedded system,” IEEE Open Journal of Industry Applications, vol. 3, DOI 10.1109/OJIA.2021.3133477, pp. 1–12, 2022. [9] T. Geyer and D. E. Quevedo, “Multistep finite control set model predictive control for power electronics,” IEEE Transactions on Power Electronics, vol. 29, no. 12, pp. 6836–6846, 2014. [10] R. Baidya, R. P. Aguilera, P. Acuna, S. Vazquez, and H. d. T. Mouton, “Multistep model predictive control for cascaded h-bridge inverters: Formulation and analysis,” IEEE Transactions on Power Electronics, vol. 33, no. 1, pp. 876–886, 2018. [11] T. Dorfling, H. du Toit Mouton, T. Geyer, and P. Karamanakos, “Longhorizon finite-control-set model predictive control with nonrecursive sphere decoding on an fpga,” IEEE Transactions on Power Electronics, vol. 35, no. 7, pp. 7520–7531, 2020 . [12] E. Zafra, S. Vazquez, C. Regalo, V. B. Lecuyer, A. M. Alcaide, J. I. Leon, and L. G. Franquelo, “Parallel sphere decoding algorithm for longprediction-horizon fcs-mpc,” IEEE Transactions on Power Electronics, vol. 37, DOI 10.1109/TPEL.2022.3150433, no. 7, pp. 7896–7906, 2022. [13] P. Karamanakos, T. Geyer, and R. Kennel, “Suboptimal search strategies with bounded computational complexity to solve long-horizon direct model predictive control problems,” in 2015 IEEE Energy Conversion Congress and Exposition (ECCE), pp. 334–341, 2015. [14] R. Baidya, R. P. Aguilera, P. Karamanakos, P. Acuna, C. Rojas, T. Geyer, and D. D. . Lu, “Dealing with suboptimality in multistep model predictive control for transient operations,” in 2019 IEEE Energy Conversion Congress and Exposition (ECCE), pp. 3780–3785, 2019. [15] Zhan Guo and P. Nilsson, “Algorithm and implementation of the k-best sphere decoding for mimo detection,” IEEE Journal on Selected Areas in Communications, vol. 24, no. 3, pp. 491–503, 2006. This article has been accepted for publication in IEEE Transactions on Industrial Electronics. This is the author's version which has not been fully edited and content may change prior to final publication. Citation information: DOI 10.1109/TIE.2022.3194587 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.