Next Article in Journal
Research on the Oil Cooling Structure Design Method of Permanent Magnet Synchronous Motors for Electric Vehicles
Previous Article in Journal
Numerical Study on the Influence of Cooling-Fin Geometry on the Aero-Thermal Behavior of a Rotating Tire
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comprehensive Performance Assessment of Conventional and Sequential Predictive Control for Grid-Tied NPC Inverters: A Hardware-in-the-Loop Study

1
Department of Electrical Engineering, Federal University of Mato Grosso, Avenida Fernando Correa da Costa, 1367, Cuiaba 78060-900, Brazil
2
School of Electrical & Electronics Engineering, Nanyang Technological University (NTU), Singapore 637331, Singapore
3
Department of Electrical and Electronic Engineering, Faculty of Engineering, Power Electronics, Machines and Control (PEMC) Research Institute, University of Nottingham, 15 Triumph Rd, Lenton, Nottingham NG7 2GT, UK
4
Laboratorio de Conversión de Energías y Electrónica de Potencia (LCEEP), Vicerrectoría Académica, Universidad de Talca, 2 Norte # 685, Talca 3460000, Chile
*
Author to whom correspondence should be addressed.
Energies 2025, 18(12), 3132; https://doi.org/10.3390/en18123132
Submission received: 3 May 2025 / Revised: 2 June 2025 / Accepted: 12 June 2025 / Published: 14 June 2025

Abstract

Model Predictive Control (MPC) has become very attractive for the efficient control of power converters. This paper compares Classical MPC (C-MPC) and Sequential MPC (S-MPC) for a three-level NPC converter. Although C-MPC is simple to implement, it faces challenges such as switching frequency variations and complex weighting factor tuning. S-MPC addresses these issues by prioritizing control objectives sequentially, eliminating weighting factors, and simplifying controller design. Simulation results show that S-MPC improves the tracking of output currents, reduces harmonic distortion, and enhances the balancing of dc–link voltages under steady-state and transient conditions. These findings establish S-MPC as a robust alternative to C-MPC, improving power quality and system performance in multilevel converter applications.

1. Introduction

Over the years, the rapid development of the global economy has led to a continuous increase in energy consumption, bringing climate and environmental issues to the forefront. Carbon dioxide emissions from human activities significantly exacerbate the greenhouse effect, drawing increasing attention from society, the scientific community, and industrial and agricultural sectors. In response, these sectors have increasingly focused on developing and adopting new technologies based on renewable energy sources (RES), particularly solar and wind energy [1,2]. Consequently, modern power grids have become increasingly dependent on power electronics to efficiently integrate these energy sources and promote energy sustainability by reducing carbon dioxide emissions in electricity generation [3].
As the integration of distributed energy resources (DER) into power grids incessantly grows, it becomes crucial to understand the potential benefits of this paradigm for both electricity suppliers and end-users. The beneficial trend behind DERs is primarily driven by the versatile application of power electronic converters, which act as interfacing equipment capable of flexibly regulating power generation and consumption. Grid-connected inverters, in particular, enable DERs to seamlessly interact with the electric grid, facilitating active power dispatch to feed loads and achieve financial objectives while ensuring compliance with standards and grid codes [3,4,5,6,7].
Multilevel power converters can generate high-quality AC voltages and currents, making them suitable for high-voltage and high-power applications [8]. However, their increased number of power switches introduces control complexity [9]. Among these topologies, the neutral-point-clamped (NPC) converter, often referred to as the three-level diode-clamped converter, is extensively utilized in medium-voltage, high-power industrial applications as well as in photovoltaic (PV) generation systems [10,11]. These converters employ clamping diodes and cascaded dc–link capacitors to produce multiple voltage levels, effectively reducing common-mode voltages, total harmonic distortion (THD), and electromagnetic interference (EMI) [8,12]. Despite their advantages, the control of NPC converters remains challenging, necessitating advanced modulation and control strategies to ensure reliable operation in demanding environments.
In the past decades, Model Based Predictive Control (MPC) techniques began to be spread in academia and industry environments due to the advancements in semiconductors and computer systems. Among MPC methods, the Finite Control Set (FCS-MPC) approach stands out due to its simplicity of implementation, considering modern microprocessors [13]. The classic FCS-MPC control method (C-MPC) solves the inverter model for all the possible switching states. In the case of an NPC three-level inverter, twenty-seven states are evaluated in each sample time [13,14]. Several control objectives can be included in the MPC cost function [15]. For example, the cost function of MPC control can comprise different objectives, such as voltage, current, switching frequency, and so on [16,17].
Conventional MPC uses a single cost function with weighting factors to handle additional control objectives, i.e., the controlled variables. However, the selection of weighting factors regarding a specific control objective significantly affects the remaining controlled variables [18], since in many cases, the target objectives could require conflicting actions [19]. In other words, if a high weighting factor is applied to achieve a given objective, the other control variables may deviate from the target reference. The above discussion enforces that weighting factor values directly influence the system’s performance. Nevertheless, it is not simple to define suitable weighting factor values to achieve a desired system behavior. Usually, the procedure consists of a heuristic approach based on defining figures of merit depending on the application, followed by a large number of exhaustive simulations or experiments [17], which often relies on the experience of engineers and is a time-consuming process [16]. In [20,21], an approach and a set of guidelines are presented to reduce the uncertainty and the time consumed in the process of defining the weighting factors, relying on the classification of different types of cost functions and weighting factors. Despite this attempt to systematize the weighting factor designs, a high number of simulations is still required.
Sequential Model Predictive Control (S-MPC) was first proposed in [22] to avoid the design complexity associated with the weighting factors design required by C-MPC. This strategy uses a sequential structure with a single cost function for each control objective evaluated. In the case of a three-phase NPC, the primary cost function is evaluated considering all the possible switching vectors (twenty-seven). Then, a given number (N) of switching vectors that yield the best value for the main control cost function are ranked and used to evaluate the secondary cost function. In the end, a switching vector that complies with the restriction of both cost functions is selected and applied to the inverter. As highlighted in [19], the primary cost function has a higher priority over the secondary one. Despite its design simplicity, the aforementioned method requires a tuning process to define the optimum number of switching vectors selected to be evaluated in the secondary cost functions. However, this process is expected to be simpler than that required to tune the weighting factors of the C-MPC method.
On the other hand, due to the limited granularity resulting from the restricted number of evaluated voltage vectors, the S-MPC strategy does not achieve the same performance levels observed with the C-MPC approach. Moreover, S-MPC incurs a higher computational burden, as it requires sorting the voltage vectors based on the evaluation of the primary cost function.
Although previous studies have extensively explored C-MPC for multilevel converters, limited work has focused on systematically analyzing the performance trade-offs between C-MPC and S-MPC, particularly in the context of three-phase neutral-point-clamped (NPC) converters used for renewable energy integration into the grid. The most comprehensive comparison so far [23] investigates the performance of C-MPC versus S-MPC, although the evaluation focuses solely on disturbances on the ac side of the system, without considering variations in DC power, disturbances within the dc–link control system, or voltage fluctuations of individual capacitors in the dc–link. The behavior of the NPC converter is analyzed under variations in dc power in [24], yet no consideration is given to ac grid disturbances. The study only presents simulation results. Ref. [25] addresses an NPC converter supplying a nonlinear load. The system is implemented on a Hardware-In-the-Loop (HIL) platform, but only results for ac voltage step variations are reported, with no discussion on other types of disturbances or transient behavior. Ref. [26] presents simulation results, but the analysis is limited to step variations in ac output current and the dc–link capacitor voltage balance. No ac or dc side disturbances are introduced to examine the steady-state or transient response.
Therefore, this paper provides a comprehensive comparison of C-MPC and S-MPC strategies applied to a three-level NPC converter connected to the grid. By evaluating key performance metrics considering dc- and ac-side performance under steady-state and transient conditions, this study provides critical insight into the practical advantages and limitations of each approach. Furthermore, to ensure the reproducibility of the tests and provide a fair comparison between the two MPC techniques, the performance assessment is carried out using a real-time Hardware In the Loop (HIL) device.
The remainder of this paper is organized as follows. Section 2 outlines the system modelling and control of the three-phase grid-tied NPC using conventional and sequential FCS-MPC strategies. The impact of weighting factor selection and the quantity of voltage vectors used on both MPC strategies are discussed in Section 3. Section 4 details the deployment of the real-time simulations using the Opal-RT HIL system. The real-time HIL results are provided in Section 5, and a detailed comparison of the two approaches is presented. Finally, Section 6 concludes the paper with key findings.

2. System Modelling

The three-phase NPC converter topology is shown in Figure 1. Each phase consists of four switching devices and two clamp diodes. The switching states and the corresponding voltage magnitudes are organized in Table 1, where x { a , b , c } represents each one of the three phases of the converter. The switching states of the power transistors are indicated by S x { 1 , 0 , 1 } , respectively. Three voltage levels are generated between each of the inverter legs and the point n depending on the switching state, i.e., v x n { v d c 2 , 0 , v d c 2 } . If converted, to α β frame, the output voltage can be represented as 27 voltage vectors generated by the 27 possible switching states. A full list of the switching states and resulting phase voltages is presented in Table 2.
Based on their length, vectors can be categorized into four groups: zero, small, medium, and large vectors. In terms of capacitor voltage balancing, only the small- and medium-sized vectors have an impact [27]. Therefore, the application of such vectors must be determined by some strategy focusing on maintaining the balance between the voltages of both capacitors.
At this point, it is important to note that voltage imbalance in the capacitors of NPC inverters can be caused by several factors. Asymmetric load currents can result in an unequal current distribution between the three inverter points, leading to a voltage imbalance [28]. Imperfections in switching devices, such as transistors or IGBTs, can affect the load distribution and, consequently, disturb the voltage balance [29]. Errors in system modellng or incorrect inverter parameters can also affect the precision of voltage control and the balance [30]. Improper pulse width modulation (PWM) may lead to imbalances in energy distribution, causing voltage discrepancies between capacitors [31]. Furthermore, variations in the load conditions or operating conditions of the inverter can facilitate voltage imbalance [32]. Failures in inverter components, such as diodes or transistors, can contribute to voltage imbalances due to the improper or defective behavior of one of the branches [33]. Lastly, overloading or an imbalance in the energy supplied between voltage levels increases the risk of a capacitor voltage imbalance [34]. These factors require careful control and monitoring to ensure the safe and efficient operation of the NPC inverter.
In a three-level NPC converter, the voltage ( v x n ) between each phase output and the n-point can be represented by the relationship between the switching state and the voltage of the dc–link split capacitors:
v x N = v c 1 S 1 x + v c 2 S 2 x , x { a , b , c }
The dynamic relationship between the current ( i C n ) throughout the dc–link capacitors and the respective dc–link capacitor voltage ( v C n ) is expressed according to
d v c n d t = i C n C n , n { 1 , 2 }
Moreover, the current ( i C n ) flowing through the dc–link capacitors can be derived using Kirchhoff’s current law (KCL) for the intersection of the dc–link capacitor and the upper bridge arm. Therefore, the dc currents can be expressed as the relationship among the grid currents, switching states, and the overall dc–link current i d c , as depicted below:
i C 1 = i d c S 1 a i a S 1 b i b S 1 c i c
i C 2 = i d c + S 2 a i a + S 2 b i b + S 2 c i c
where S 2 a x represent the complementary gating signals S 2 a x .
Equations (3) and (4) can be used to calculate the current through the dc–link capacitors, avoiding the need for external current measurements.
The ac output of the NPC inverter can be modeled by applying Kirchhoff’s Voltage Law (KVL), considering the voltage output of the inverter ( v i x ), the grid voltage ( v g x ), and the grid current ( i x ). where x stands for each of the three phases, that is, x { a , b , c } , resulting in
d i g x d t = ( v i x v g x ) L R L i g x
Parameters L and R represent the inductance and parasitic resistance of the inverter’s output filter summed to the intrinsic grid inductance and resistance.
For simplicity and ease of implementation, Equation (5) is transformed to the stationary reference frame using the Clarke transformation shown in (6), resulting in (7), where both the coordinates α and β are presented in separate equations.
f α f β = 2 3 1 1 2 1 2 0 3 2 3 2 f a f b f c
d i g α d t = 1 L ( v i α v g α ) R L i g α d i g β d t = 1 L ( v i β v g β ) R L i g β
In order to achieve the application of conventional and sequential MPC controllers and due to the inherently discrete nature of such control methods, Equation (1), describing the current and voltage dynamic in the dc–link capacitors, and Equation (2), governing the three-phase grid-tied NPC inverter output current, are converted to discrete time using the forward Euler approximation. Assuming that the control variable remains constant during the sampling time T s [35], the discrete-time model, which can be used for voltage and current predictions required by MPC methods, is given by:
i g α ( k + 1 ) = ( 1 R T s L ) i g α ( k ) + T s L ( v i α ( k ) v g α ( k ) ) ,
i g α ( k + 1 ) = ( 1 R T s L ) i g α ( k ) + T s L ( v i α ( k ) v g α ( k ) ) ,
v c 1 ( k + 1 ) = v c 1 ( k ) + T s C 1 i c 1 ( k + 1 ) ,
and
v c 2 ( k + 1 ) = v c 2 ( k ) + T s C 2 i c 2 ( k + 1 ) .

2.1. Conventional Model Predictive Control (C-MPC)

In the three-level NPC converter, the switching states ( S x ) that compose each of the three phases of the power converter can assume three distinctive states: −1, 0, and 1, as presented in Table 1, producing 27 voltage vectors, which are detailed in Table 2, considering the frame α β . The vector space can be divided into six sectors, subdivided into four groups based on the difference in vector lengths: zero, small, medium, and large vectors. In terms of maintaining the voltage balance of the capacitor, only the medium and small vectors have an effect, while the large and zero vectors are not directly related to this objective [27,35].
Output current and grid voltage measurements are used to predict the output current and dc–link voltage one step ahead and calculate the value of the cost function for each of the 27 switching states. The switching state that yields the minimum-cost function value is then applied to the NPC converter. In this work, the control objectives consist of tracking the inverter’s output current reference and maintaining the voltages balanced in the dc–link capacitors. Consequently, the cost function in (12) is defined to incorporate the quadratic current error (13) and the voltage difference between the dc–link capacitors (14) [36].
g = g i + λ g v
g i = [ i α * i α ( k + 1 ) ] 2 + [ i β * i β ( k + 1 ) ] 2
g v = [ v c 1 ( k + 1 ) v c 2 ( k + 1 ) ] 2
where λ is a weighting factor that can be used to enhance or attenuate the effect of the dc–link capacitor voltage balancing control and weighting the relationship between the control objectives [35]; i x * denotes the grid current reference; i x ( k + 1 ) denotes the predicted grid currents, and v c x ( k + 1 ) denotes the predicted voltage across the dc–link capacitors.
The flowchart of the C-MPC controller is shown in Figure 2. The input of the C-MPC controller is the three-phase grid current frame ( i g a b c ), the grid voltage ( v g a b c ), and the dc–link voltages ( v c 1 ) and ( v c 2 ). Then, all the switching states of Table 2 are swept, and for each of the switching states, the currents of the dc–link capacitors ( i c 1 ) and ( i c 2 ) are calculated according to (3) and (4) to predict the voltages of the dc–link capacitors one sample ahead using (10) and (11). The prediction of the grid current is performed using (8) and (9) for each of the voltage vectors v g α and v g β of Table 2, which are related to the switching states. With the predicted values of the grid current and the voltages of the dc–link capacitors, the cost function (12) is calculated for each of the 27 switching states. Note that the index j is used to interactively evaluate the cost function (g) for all available switching vectors. Finally, the switching state associated with the minimal cost function value is selected and applied to the NPC converter.

2.2. Sequential Model Predictive Control (S-MPC)

The discrete equations that model the NPC in the C-MPC are the same as used to implement the S-MPC. However, the S-MPC divides the control objectives into two separate cost functions in order to avoid designing the weighting factor λ .
In S-MPC, the primary control objective is achieved by evaluating the cost function g i given by (13) for the 27 VSI voltage vectors in Table 2, according to the flow chart shown in Figure 3. Hence, the 27 values of g i are sorted in ascending order, and an array with the indices of the switching states of Table 2 is created. Then, in the second stage of the S-MPC algorithm, the switching states corresponding to the first N positions of the sorted array are used to evaluate the currents of the dc–link capacitor, i c 1 and i c 2 , according to (3) and (4). Subsequently, the voltages of the dc–link capacitors are predicted in a sampling period using (10) and (11). Taking into account the predicted voltages of the dc–link capacitor, the cost function g v , defined in (14), is evaluated for each of the preselected N switching states. Finally, the switching state corresponding to the minimum-cost function value is selected and applied to the NPC converter.
It is important to highlight that the S-MPC approach evaluates only the grid current equations for all 27 switching states, while capacitor current estimation and dc–link capacitor voltage prediction are performed exclusively for the N preselected states.

2.3. Current Reference Generation (PLL Design)

To ensure unity power factor operation, the injected current must be synchronized with the positive-sequence component of the grid voltage. This synchronization is achieved using a Phase-Locked Loop (PLL) based on the synchronous reference frame (SRF-PLL) shown in Figure 4, which extracts the fundamental phase angle ( θ ) of the grid voltage. The SRF-PLL output is used to generate a unit-amplitude sinusoidal waveform, which is then scaled by the desired current magnitude to form the complete current reference, as further discussed in Section 4.
The phase detection is performed through the Park transformation, and the resulting error is regulated by a PI controller to drive the phase error to zero. The closed-loop transfer function of the system is derived in (15), enabling the design of the proportional ( k p ) and integral ( k i ) gains by comparing it with the standard second-order system model. The equations to set the proportional and integral gains are given by (16) and (17), respectively. In this work, the PLL parameters are selected to yield a damping ratio of ζ = 0.707 , and the bandwidth is set one decade below the grid fundamental frequency ( ω n = 31.42 rad/s) to ensure adequate filtering and dynamic response.
H PLL ( s ) = k p s + k i s 2 + k p s + k i
k p = 2 ζ ω n
k i = ω n 2
The PLL plays a critical role in maintaining a stable and accurate current reference under adverse grid conditions, including voltage unbalance, harmonic distortion, and voltage sags or swells.

3. Determination of MPC Parameters

In this section, the effect of the weighting factor ( λ ) on the performance of the C-MPC, as well as the impact of the number of voltage vectors evaluated in the secondary objective (N) of the S-MPC, are investigated. These parameters are defined through extensive simulations to determine their influence on current quality and voltage balancing performance, thereby supporting the optimal tuning of the proposed predictive control strategies.

3.1. Optimal λ for C-MPC Strategy

The optimal value of the weighting factor used in the cost function g leads to the lowest total harmonic distortion (THD) of the phase currents and the fastest convergence of the dc–link capacitor voltage balance. The optimum weighting factor was determined through exhaustive simulations using the C-MPC strategy, varying its value from 0 to 0.5 in increments of 0.01. The simulations start with an unbalanced dc–link voltage condition, where v c 1 = 500 V and v c 2 = 300 V. The convergence time of the voltage balance and the steady-state current THD were recorded, yielding Figure 5. The weighting factor was selected based on the proximity to the origin in the Cartesian plot shown in Figure 6, which represents the trade-off between THD and convergence time. This approach yields the optimal weighting factor value λ = 0.4, resulting in a THD of 3.32% and a voltage balance convergence time of 29 ms. However, as observed in Figure 5, the THD and convergence time remain similar across all evaluated weighting factors since the difference between the highest convergence time and the lowest is only 7 ms, and the deviation in the THD values is only 0.4%. Similarly, Figure 5 shows that the variation in distance to origin is small, indicating that, for practical purposes, any weighting factor greater than zero is sufficient.

3.2. Optimum Number of Candidates Voltage Vectors for S-MPC Strategy

The optimal value for the number of sorted voltage vectors (N) that minimizes the control objectives was determined through exhaustive simulations using the S-MPC strategy, where all 27 voltage vectors were evaluated. The results are presented in Figure 7. The simulations indicate that when more than 10 vectors are used to evaluate the secondary objective of maintaining the dc–link capacitor voltage balance, the current THD increases significantly. Therefore, only the results for N 10 are shown in Figure 7.
As in the C-MPC case, the proximity to the origin in the Cartesian plot was adopted as the selection criterion (see Figure 8). This approach yields the optimal value N = 2, resulting in a current THD of 3.6% and a voltage balance convergence time of 48 ms.
As the number of evaluated vectors in the secondary objective increases, the convergence time of the dc–link voltage is reduced. However, unlike the C-MPC strategy, the THD of the current increases and may exceed the limits established by grid codes. Therefore, higher values of N are not practically acceptable due to the resulting deterioration in current quality.

4. Hardware in the Loop (HIL) Implementation

The effectiveness of the FCS-MPC approaches applied to the control of the NPC grid-tied converter presented in the previous sections is validated through real-time simulation, considering the system shown in Figure 1. The system parameters are listed in Table 3. The weighting factor ( λ ) in C-MPC and the number of switching vectors (N) evaluated in the secondary objective cost function of S-MPC were optimized through extensive simulations to achieve the best trade-off between the THD of the grid current and dc–link voltage balance. Real-time simulations were performed using the Opal-RT OP5600 Hardware-in-the-Loop (HIL) platform, following a predefined sequence of programmed events designed to highlight the key characteristics of C-MPC and S-MPC and provide a comprehensive performance assessment between both control approaches.

4.1. Design of NPC Inverter Parameters

The parameters of the proposed system, shown in Table 3, were designed according to the methodology presented in [37]. A dc–link voltage of V d c = 800 V was adopted, incorporating a 50% design margin to ensure safe operation according to (18). As a result, each semiconductor device is subjected to only half of the dc–link voltage, i.e., 400 V. The dc–link capacitance was selected to limit the voltage ripple to Δ u = 1 % (0.01 in per unit), based on an average switching frequency of F s w = 4 kHz and a rated power of 15 kW, calculated according to (19).
V dc = 2 V L L
C 1 = C 2 = P F s w V d c 2 Δ u
The methodology proposed in [38] was applied to calculate the value of the AC output filter inductor using (20), considering an average switching frequency of F sw = 4 kHz and a maximum allowable current ripple of 10%.
L = V d c 12 F s w Δ i m a x

4.2. Real-Time HIL Overview

An overview of the real-time implementation is illustrated in Figure 9. The parameters of the proposed system are shown in Table 3.
The real-time simulation approach employed in this study is based on the Software-in-the-Loop (SIL) concept, enabling rapid prototyping of the controllers. Both FCS-MPC control algorithms were implemented in the C programming language using MATLAB/Simulink s-function blocks.
The power stage, consisting of the NPC power converter, the inductive output filter, the dc source, and the main grid, was modeled within the power block, as shown in Figure 9. To accurately replicate the behavior of a DSP-based control implementation, all measurements transferred from the power block to the control block are delayed by one sampling step. Similarly, a one-step delay is introduced in the control signals transmitted from the control block to the power block. Although this delay mimics the real-world conditions of experimental implementations, it is also a fundamental requirement to ensure proper data exchange between the power and control blocks. This is necessary since each block is executed on a separate microprocessor within the Opal-RT OP5600 HIL, effectively decoupling the power and control sections, similar to conventional experimental setups.
The voltage measurements, namely, the dc–link capacitor voltages v c 1 and v c 2 and the three-phase grid voltages v g a b c , are scaled down by the voltage gain g v , while the three-phase grid currents ( i g a b c ) are scaled down by the current gain g i , as illustrated in the control block diagram of Figure 9. To reconstruct the original signals within the control system and ensure unitary feedback, these signals are subsequently scaled up using the same gain factors g v and g i , respectively. In this way, the behavior of the HIL implementation replicates the signal processing that would occur in a real-world system, thereby ensuring that the control algorithm operates under conditions representative of practical applications.

4.3. Working Flow

In the present work, all models, i.e., control and power converter, are deployed directly into two distinct x64 Intel Xeon processors without using the high-resolution FPGA capability. This approach allows for full exploitation of hardware resources on the target real-time simulator available, minimising the costs with additional hardware and lisences required to execute models with refined time granularity.
Before deployment, both the control and power models were tested offline by simulations using MATLAB/Simulink version 2024a. Subsequently, they were compiled using the RT-Lab software provided by Opal-RT, generating two distinct real-time execution codes, one for the control block and another for the power block. These codes were then uploaded to separate microprocessors within the OP5600 hardware to ensure independent execution. Finally, the output waveforms generated by the HIL platform were acquired using an oscilloscope. The results obtained for each test scenario are presented and analyzed in detail in the following subsections, providing a comprehensive evaluation and comparison of the performance of the proposed control strategy.

5. Results Analysis

The real-time simulation results are structured to highlight the key characteristics of the proposed control approach under steady-state and transient conditions. The analysis focuses on critical performance indicators, considering ac-side parameters such as total harmonic distortion of current (THDi), settling time ( t s ), and current ripple ( Δ i ). Furthermore, dc-side parameters are evaluated, including dc–link voltage ripple, settling time, and voltage balance between the two input ports ( v c 1 and v c 2 ).

5.1. Steady-State Response

Considering steady-state operation, both controllers achieved good grid current tracking, as shown in Figure 10, with THD yielding 4.7% and 5.0% for C-MPC and S-MPC, respectively. C-MPC produces a slightly improved current waveform compared with S-MPC, with a maximum peak-to-peak ripple of approximately 2.0 A, while S-MPC inhibits a ripple of 2.5 A.
The grid current spectrum for phase a is shown in Figure 11, which exhibits a similar harmonic profile in the low-frequency range for both approaches. The small amplitude of the low-frequency harmonics is remarkable for both control approaches as well as the usual spread spectrum expected from MPC controllers.
Figure 12 exhibits the phase-a inverter voltage waveform superimposed on the grid current. The characteristic multilevel voltage waveform can be noticed, along with a slight phase shift between the inverter voltage and the grid current. Given that the grid current is maintained in phase with the grid voltage, which is consistent with the unity power factor control strategy employed, the observed phase shift between the inverter voltage and grid current is due to the coupling inductor filter, setting the power flow from the inverter to the grid side.

5.2. Current Tracking Transient Response

The transient behavior for an increase in current reference step increase of 10 A is shown in Figure 13a,b. Figure 13c,d show a detailed view of the current in phase a during the reference step, highlighting the fast transient response of the MPC controllers. Both MPC control approaches performed similarly without overshoot, with settling times of about 0.25 ms and 0.2 ms for C-MPC and S-MPC, respectively.

5.3. Influence of λ and N on Predictive Control Performance

To investigate the ability of both control approaches to balance the voltage of the dc–link capacitors, it was considered that the initial condition of the dc–link capacitor was v c 1 = 500 V and v c 2 = 300 V. Figure 14a shows the waveforms for the voltage across v c 1 and v c 2 and the grid currents in phases a and b for both C-MPC and, in Figure 14b, for S-MPC. C-MPC took approximately 27 ms to balance the dc–link voltage, while S-MPC took 48 ms. The higher settling time required to balance the dc–link capacitor’s voltage exposed to the S-MPC is due to the selection of only two switching states to evaluate the secondary cost function ( g 2 ).
It is important to note that evaluating more switching vectors in the secondary cost function would reduce the settling time, potentially matching that of the C-MPC approach. This behavior is observed, for example, by evaluating seven (N = 7) switching states, as shown in Figure 14d. However, such a configuration leads to a significant increase in current distortion in steady-state conditions, with T H D i rising to approximately 8%. Therefore, to ensure comparable T H D i performance between both control strategies, only two switching vectors are considered in the secondary cost function. This condition is considered when the minimum distance to the origin criteria is used to design the parameters of the MPC strategies, as shown in Section 3.
However, the fast transient response of C-MPC comes at the cost of a higher distorted and rippled current, as seen in the first cycles of Figure 14a, resulting in a current DHT in the first transient cycles of approximately 10.2% and 5.2% for C-MPC and S-MPC, respectively. In addition, both control techniques achieve the secondary objective of balancing the dc link capacitors in a steady state with negligible voltage difference, as shown in the right corner of Figure 14a,b. C-MPC yields a slightly higher low-frequency oscillation at 100 Hz (double the grid frequency) of approximately 0.4 V peak-to-peak. However, the S-MPC approach is free from low-frequency oscillations.
Figure 14a,c show the dc–link voltage convergence time for the C-MPC strategy considering different values of weighting factors, λ = 0.4 and λ = 0.02 , respectively. One can note that the difference in the convergence time of dc–link voltages is smaller (27 ms for λ = 0.4 and 32 ms for λ = 0.02 ) than the difference caused by variations in the number of voltage vectors for the S-MPC. This behavior is supported by Figure 5, where the THD and convergence time remain similar across all evaluated weighting factors since the difference among the convergence time is negligible for all factors evaluated throughout extensive simulations.

5.4. Voltage Harmonics

Grid-tied inverters are widely used in environments with non-linear loads, such as residential and commercial buildings, where harmonic currents interact with the impedance of the grid, causing voltage distortion. In addition, high-power inverters are often exposed to non-sinusoidal voltages in renewable energy parks based on solar or wind sources. Therefore, it is important to ensure that the NPC grid-tied converter with the FCS-MPC controller is capable of handling distorted voltage.
A representative test case is implemented considering 10% of the fifth harmonic component superimposed on the voltage of the grid, as shown in Figure 8. The inverter output current exhibits low sensitivity to the voltage of the grid, as a positive sequence PLL is used to extract the fundamental component of the grid voltage, which is used to generate the current reference.
As expected, since the NPC converter is fed on the dc side with a pure dc voltage source, the practical effect of grid voltage harmonics on the grid current waveform is negligible, as shown in Figure 15 and in the spectra shown in Figure 16. The amplitude of the fundamental current component is 30 A, while the amplitude of the fifth harmonic is less than 0.1, representing 0.4% distortion for this specific harmonic. The overall THDi is 3.7% for the C-MPC and 4.0% for the S-MPC.

5.5. Voltage Sag and Swell

The voltage sags and swells are characterized by sudden variations in grid voltage, resulting in voltages lower than the nominal value for sag events and overvoltage for swell events. The voltage sags and swells could be caused by grid faults, sudden changes in load, or generated power flowing through the main grid. The first scenario analyzed consists of a voltage sag of 40%, i.e., the phase-to-neutral grid voltage experiences a sudden drop from 220 V rms to 132 V rms. The grid currents and voltages during voltage sag and swell are shown in Figure 17 for phases a and b.
During the voltage swell (right side of the subfigures), the current waveforms promptly return to a steady state following the voltage disturbance. In the center of the figures, a particularly challenging scenario is depicted, corresponding to a 40% voltage swell. In this case, the grid voltage was deliberately increased to an abnormally high level—twice the standard tolerance for swells—to evaluate the performance of the FCS-MPC current controller. According to IEEE Std. 1547-2018 [5], grid-tied inverters must withstand overvoltages of up to 20% of the nominal grid voltage. For larger deviations, the inverter is required to disconnect from the grid. Despite this extreme condition, the proposed controller maintains high-quality current waveforms while the current amplitude is kept constant because of the chosen power injection strategy. It is worth emphasizing that the focus of this work is on the controller’s performance evaluation. In practice, such elevated grid voltages could hypothetically cause permanent damage to the inverter hardware. Furthermore, the current waveform and the T H D i indicator do not exhibit significant deviations compared with normal voltage conditions.

5.6. Sensitivity to Parameter Variations

This work evaluates the parameter sensitivity attributes of C-MPC and S-MPC by analyzing variations in the output filter inductance, which may occur due to aging, heating, or imprecise manufacturing processes. Additionally, since the inductance of the grid is typically unknown, it effectively adds to the total inductance of the filter. Figure 18a,b exhibit the grid current waveforms when the filter inductance is reduced to half of its nominal value, decreasing from 5 mH to 2.5 mH. As expected, this reduction increases the current ripple and degrades T H D i , which increases from 3.4% to 9.2% when the C-MPC strategy is used to control the NPC converter and from 3.4% to 10.8% for S-MPC. On the other hand, when the nominal output filter inductance is increased twice, from 5 mH to 10 mH, see Figure 18c,d, the current waveform improves, reflecting a reduced ripple and lower T H D i to 2.1% for C-MPC and to 2.0% for S-MPC.
The results show that both FCS-MPC control approaches exhibit increased sensitivity to reduced inductance values. If a conventional linear controller was used instead of FCS-MPC, the current THD would be expected to double when the inductance is reduced to half its nominal value. However, it is well known that MPC controllers are inherently more affected by inductance variations, as the reduction not only increases current ripple but also amplifies prediction errors. However, the test case was intentionally designed to be severe, aiming to demonstrate that both C-MPC and S-MPC approaches can still deliver acceptable current quality, even under such extreme conditions.

5.7. Performance Summary

The performance indicators discussed in the previous subsections are summarized in Table 4, considering the THD of the grid current ( T H D i ), the current ripple ( Δ i ), and the settling times of the grid currents ( t s i ) and dc–link capacitor voltage balancing ( t s b ). The transient performance was similar for both approaches, with C-MPC achieving dc–link voltage balancing faster than that of S-MPC. Steady-state indicators also presented comparable values, highlighting that S-MPC can deliver consistent performance relative to the conventional FCS-MPC method while avoiding the need for exhaustive weighting factor tuning.

6. Conclusions

This paper presents a detailed comparative analysis of classical MPC and sequential MPC strategies applied to a three-level NPC inverter connected to the grid based on HIL real-time simulation. The S-MPC strategy prioritized control objectives sequentially, eliminating the need for weighting factors and simplifying the controller design process. The real-time results demonstrated that both approaches effectively achieve the control objectives of current tracking and voltage balancing of the dc–link capacitors. In a steady state, both approaches yield an acceptable current THD of 3.4%. Furthermore, the S-MPC maintained the voltage balance between the dc–link capacitors, even under transient conditions, yielding a higher quality output current with half the THD of C-MPC during the first transient cycles.
The viability of sequential predictive controllers, particularly for current control applications, is consolidated through the presented results. The study demonstrates that complex converter topologies can be effectively simulated and validated using cost-effective HIL hardware, thereby promoting the adoption of this technology and maximizing its practical impact.
In addition, this work contributes to the dissemination of practical knowledge regarding the deployment of real-time power electronics simulations on HIL systems with limited computational resources. The test scenarios involve a switching power converter with 24 switching elements, implemented on a conventional HIL simulator without relying on the reduced time-step granularity typically available only in high-end, modern HIL platforms. This shows that complex converter topologies can be effectively simulated and validated using cost-effective hardware, thereby contributing to the dissemination of this technology and maximizing the benefits of its adoption.
Future research can explore the use of intelligent algorithms, such as bio-inspired and heuristic algorithms, to support and refine predictive control strategies. These tools could help fine-tune parameters like the weighting factor in C-MPC or improve how voltage vectors are selected in S-MPC schemes. More broadly, adaptive control methods that learn and adjust to changes in real time could offer better performance, especially when dealing with disturbances or variations in grid and inverter characteristics.

Author Contributions

Conceptualization, J.B., B.D., M.R. and K.V.L.; methodology, J.B., B.D. and M.R.; software, J.B., B.D. and M.R.; validation, J.B., B.D. and M.R.; formal analysis, J.B., B.D., M.R. and K.V.L.; investigation, J.B., B.D. and M.R.; resources, M.R. and P.W.; data curation, J.B., B.D. and M.R.; writing—original draft preparation, J.B., B.D. and M.R.; writing—review and editing, J.B., B.D., M.R., K.V.L., C.F. and P.W.; visualization, J.B., B.D., C.F. and M.R.; supervision, J.B., M.R. and K.V.L.; project administration, M.R. and P.W.; funding acquisition, M.R. and P.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partly funded by the National Council for Scientific and Technological Development (CNPq), Brazil Grant 441715/2023-0, Mato Grosso Research Foundation Grant FAPEMAT.01047/2022, National Research and Development Agency (ANID) through the FONDECYT Regular grant number 1220556, and SERC Chile FONDAP 1523A0006. Additional funding was provided by the research project PINV01-743 of the National Council of Science and Technology (CONACYT). Furthermore, the authors acknowledge the International Research Collaboration Fund 2024–2025 from the University of Nottingham A7C200.

Data Availability Statement

The data supporting this study will be made available upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, G.; Li, X.; Zhang, H. Research on Microgrid Emission Reduction Mechanism and Emission Reduction Calculation Method. In Proceedings of the 2022 International Conference on Artificial Intelligence in Everything (AIE), Lefkosa, Cyprus, 2–4 August 2022; pp. 243–247. [Google Scholar] [CrossRef]
  2. Wang, Z.; Yang, B.; Wei, W.; Zhu, S.; Guan, X.; Sun, D. Multi-Energy Microgrids: Designing, Operation under New Business Models, and Engineering Practices in China. IEEE Electrif. Mag. 2021, 9, 75–82. [Google Scholar] [CrossRef]
  3. Liu, Q.; Caldognetto, T.; Buso, S. Review and Comparison of Grid-Tied Inverter Controllers in Microgrids. IEEE Trans. Power Electron. 2020, 35, 7624–7639. [Google Scholar] [CrossRef]
  4. Roselund, C.; Bernhardt, J. Lessons Learned Along Europe’s Road to Renewables. IEEE Spectrum. 2015. Available online: https://spectrum.ieee.org/lessons-learned-along-europes-road-to-renewables (accessed on 11 June 2025).
  5. IEEE Std 1547-2018; IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces. IEEE: Piscataway, NJ, USA, 2018.
  6. IEEE Std 519-2014; IEEE Recommended Practice and Requirements for Harmonic Control in Electric Power Systems. IEEE: Piscataway, NJ, USA, 2014. [CrossRef]
  7. IEC 61000-2-2:2002; Electromagnetic Compatibility (EMC)—Part 2-2: Environment–Compatibility Levels for Low-Frequency Conducted Disturbances and Signaling in Public Low-Voltage Power Supply Systems. IEC: Geneva, Switzerland, 2002.
  8. Kouro, S.; Malinowski, M.; Gopakumar, K.; Pou, J.; Franquelo, L.; Wu, B.; Rodriguez, J.; Perez, M.; Leon, J. Recent advances and industrial applications of multilevel converters. IEEE Trans. Ind. Electron. 2010, 57, 2553–2580. [Google Scholar] [CrossRef]
  9. Liu, J.; Shen, X.; Alcaide, A.M.; Yin, Y.; Leon, J.I.; Vazquez, S.; Wu, L.; Franquelo, L.G. Sliding Mode Control of Grid-Connected Neutral-Point-Clamped Converters via High-Gain Observer. IEEE Trans. Ind. Electron. 2022, 69, 4010–4021. [Google Scholar] [CrossRef]
  10. Yu, T.; Wan, W.; Duan, S. A Modulation Method to Eliminate Leakage Current and Balance Neutral-Point Voltage for Three-Level Inverters in Photovoltaic Systems. IEEE Trans. Ind. Electron. 2023, 70, 1635–1645. [Google Scholar] [CrossRef]
  11. Sanchez-Ruiz, A.; Mazuela, M.; Fernandez-Rebolleda, H.; Ceballos, S.; Perez-Basante, A.; Ibanez-Hidalgo, I.; Zubiaga, M.; Pou, J.; Beniwal, N.; Konstantinou, G. DC-Link Neutral Point Control for 3LNPC Converters Utilizing Selective Harmonic Elimination-PWM. IEEE Trans. Ind. Electron. 2022, 69, 8633–8644. [Google Scholar] [CrossRef]
  12. Wu, B. High-Power Converters and AC Drives, 1st ed.; Wiley-IEEE Press: Hoboken, NJ, USA, 2006. [Google Scholar]
  13. Vazquez, S.; Rodriguez, J.; Rivera, M.; Franquelo, L.G.; Norambuena, M. Model Predictive Control: A Review of Its Applications in Power Electronics. IEEE Ind. Electron. Mag. 2014, 8, 16–31. [Google Scholar] [CrossRef]
  14. Song, Y.; Liu, J.; Zhang, X. Research on Control Strategy of Three-level PV Grid-Connected Inverter Based on FCS-MPC. In Proceedings of the 2023 4th International Conference on Advanced Electrical and Energy Systems (AEES), Shanghai, China, 1–3 December 2023; pp. 39–44. [Google Scholar] [CrossRef]
  15. Karamanakos, P.; Liegmann, E.; Geyer, T.; Kennel, R. Model Predictive Control of Power Electronic Systems: Methods, Results, and Challenges. IEEE Open J. Ind. Appl. 2020, 1, 95–114. [Google Scholar] [CrossRef]
  16. Wang, X.; Hu, J.; Garcia, C.; Rodriguez, J.; Long, B. Robust Sequential Model-Free Predictive Control of a Three-Level T-Type Shunt Active Power Filter. IEEE Trans. Power Electron. 2024, 39, 9505–9517. [Google Scholar] [CrossRef]
  17. Vazquez, S.; Rodriguez, J.; Rivera, M.; Franquelo, L.G.; Norambuena, M. Model Predictive Control for Power Converters and Drives: Advances and Trends. IEEE Trans. Ind. Electron. 2017, 64, 935–947. [Google Scholar] [CrossRef]
  18. Novak, M.; Xie, H.; Dragicevic, T.; Wang, F.; Rodriguez, J.; Blaabjerg, F. Optimal Cost Function Parameter Design in Predictive Torque Control (PTC) Using Artificial Neural Networks (ANN). IEEE Trans. Ind. Electron. 2021, 68, 7309–7319. [Google Scholar] [CrossRef]
  19. Prajapati, D.; Dekka, A.; Ronanki, D.; Rodriguez, J. High-Performance Sequential Model Predictive Control of a Four-Level Inverter for Electric Transportation Applications. IEEE J. Emerg. Sel. Top. Ind. Electron. 2024, 5, 253–262. [Google Scholar] [CrossRef]
  20. Cortes, P.; Rivera, M.; Norambuena, M.; Rodriguez, J. Guidelines for weighting factors design in Model Predictive Control of power converters and drives. In Proceedings of the 2009 IEEE International Conference on Industrial Technology, Churchill, VIC, Australia, 10–13 February 2009; pp. 1–7. [Google Scholar] [CrossRef]
  21. Karamanakos, P.; Geyer, T. Guidelines for the Design of Finite Control Set Model Predictive Controllers. IEEE Trans. Power Electron. 2020, 35, 7434–7450. [Google Scholar] [CrossRef]
  22. Norambuena, M.; Rodriguez, J.; Zhang, Z.; Wang, F.; Garcia, C.; Kennel, R. A Very Simple Strategy for High-Quality Performance of AC Machines Using Model Predictive Control. IEEE Trans. Power Electron. 2019, 34, 794–800. [Google Scholar] [CrossRef]
  23. Zhang, H.; Tao, R.; Li, Z.; Zhang, X.; Ma, Z. Multivariable Sequential Model Predictive Control of LCL-Type Grid Connected Inverter. IET Power Electron. 2023, 16, 558–574. [Google Scholar] [CrossRef]
  24. Albalawi, H.; Zaid, S.A. Performance Improvement of a Grid-Tied Neutral-Point-Clamped 3-φ Transformerless Inverter Using Model Predictive Control. Processes 2019, 7, 856. [Google Scholar] [CrossRef]
  25. Herrera, F.; Mora, A.; Cárdenas, R.; Díaz, M.; Rodríguez, J.; Rivera, M. An Optimal Switching Sequence Model Predictive Control Scheme for the 3L-NPC Converter with Output LC Filter. Processes 2024, 12, 348. [Google Scholar] [CrossRef]
  26. Liu, X.; Zhang, Z.; Gao, F.; Norambuena, M.; Rodríguez, J.; Yavas, O.; Kennel, R. Sequential Direct Model Predictive Control for Grid-Tied Three-Level NPC Power Converters. In Proceedings of the 2018 IEEE International Power Electronics and Application Conference and Exposition (PEAC), Shenzhen, China, 4–7 November 2018; pp. 1–5. [Google Scholar] [CrossRef]
  27. Donoso, F.; Mora, A.; Cárdenas, R.; Angulo, A.; Sáez, D.; Rivera, M. Finite-Set Model-Predictive Control Strategies for a 3L-NPC Inverter Operating With Fixed Switching Frequency. IEEE Trans. Ind. Electron. 2018, 65, 3954–3965. [Google Scholar] [CrossRef]
  28. Baker, R.J. Power Electronics Handbook, 3rd ed.; Elsevier: Amsterdam, The Netherlands, 2011; pp. 247–248. [Google Scholar]
  29. Rodriguez, J.; Bernet, S.; Blaabjerg, F. Power Electronics for Renewable Energy Systems. IEEE Trans. Ind. Electron. 2008, 55, 2654–2671. [Google Scholar]
  30. Martins, D.C.; Júnior, R.M.A.; da Silva, J.L. Analysis of Capacitor Voltage Balancing Control in NPC Inverters. IEEE Trans. Power Electron. 2013, 28, 1911–1920. [Google Scholar]
  31. Wang, J.; Yang, Z.; He, X.; Zhang, H. A New Modulation Method for NPC Inverters with Capacitor Voltage Balancing. IEEE Trans. Ind. Electron. 2011, 58, 4135–4143. [Google Scholar]
  32. Wang, Y.; Xu, Y.; Xu, L. Voltage Balancing Control of Neutral-Point-Clamped Inverters with Unbalanced Loads. IEEE Trans. Power Electron. 2014, 29, 2254–2265. [Google Scholar]
  33. Blaabjerg, F.; Chen, Z. Power Electronics for Industrial Applications. IEEE Trans. Ind. Appl. 2006, 42, 937–945. [Google Scholar]
  34. Cortes, P.; Rivera, M.; Rodriguez, J. Neutral Point Voltage Balancing Control for NPC Inverters with Unequal Switching Frequencies. IEEE Trans. Power Electron. 2004, 19, 1164–1172. [Google Scholar]
  35. Doi, M.V.; Nguyen, B.X.; Nguyen, N.V. A Finite Set Model Predictive Current Control for Three-Level NPC Inverter with Reducing Switching State Combination. In Proceedings of the 2019 IEEE 4th International Future Energy Electronics Conference (IFEEC), Singapore, 25–28 November 2019; pp. 1–9. [Google Scholar]
  36. Rivera, M.; Pérez, M.; Baier, C.; Muñoz, J.; Yaramasu, V.; Wu, B.; Tarisciotti, L.; Zanchetta, P.; Wheeler, P. Predictive Current Control with Fixed Switching Frequency for an NPC Converter. In Proceedings of the 2015 IEEE 24th International Symposium on Industrial Electronics (ISIE), Buzios, Brazil, 3–5 June 2015; pp. 1034–1039. [Google Scholar]
  37. Vedreño-Santos, F.; Odavic, M.; Guan, Y.; Azar, Z.; Thomas, A.S.; Li, G.J.; Zhu, Z.Q. Design considerations for high-power converters interfacing 10 MW superconducting wind power generators. IET Power Electron. 2017, 10, 1389–1396. [Google Scholar] [CrossRef]
  38. Jin, J.; Zhang, Z.; Liu, Y. A Comprehensive Analysis of Inductor Current Ripple and Filter Design for Three-phase Three-Level Grid-Tie Inverter. In Proceedings of the 2024 IEEE 10th International Power Electronics and Motion Control Conference, Chengdu, China, 17–20 May 2024; pp. 4736–4742. [Google Scholar] [CrossRef]
Figure 1. Three-level neutral-point-clamped (NPC) topology.
Figure 1. Three-level neutral-point-clamped (NPC) topology.
Energies 18 03132 g001
Figure 2. Flowchart of the C-MPC algorithm.
Figure 2. Flowchart of the C-MPC algorithm.
Energies 18 03132 g002
Figure 3. Flowchart of S-MPC algorithm.
Figure 3. Flowchart of S-MPC algorithm.
Energies 18 03132 g003
Figure 4. Block diagram of the SRF-PLL.
Figure 4. Block diagram of the SRF-PLL.
Energies 18 03132 g004
Figure 5. THD and dc–link capacitor convergence time as a function of weighting factors (C-MPC).
Figure 5. THD and dc–link capacitor convergence time as a function of weighting factors (C-MPC).
Energies 18 03132 g005
Figure 6. Optimum weighting factor considering the proximity to the origin criteria.
Figure 6. Optimum weighting factor considering the proximity to the origin criteria.
Energies 18 03132 g006
Figure 7. THD and dc–link capacitor voltage convergence time as a function of the number of voltage vectors (N) evaluated in the secondary objective of S-MPC.
Figure 7. THD and dc–link capacitor voltage convergence time as a function of the number of voltage vectors (N) evaluated in the secondary objective of S-MPC.
Energies 18 03132 g007
Figure 8. Optimum number of voltage vectors (N) evaluated in the secondary objective of S-MPC considering the proximity to the origin criteria.
Figure 8. Optimum number of voltage vectors (N) evaluated in the secondary objective of S-MPC considering the proximity to the origin criteria.
Energies 18 03132 g008
Figure 9. Structure of the HIL implementation.
Figure 9. Structure of the HIL implementation.
Energies 18 03132 g009
Figure 10. Grid current in steady-state: (a) C-MPC; (b) S-MPC.
Figure 10. Grid current in steady-state: (a) C-MPC; (b) S-MPC.
Energies 18 03132 g010
Figure 11. Spectrum of grid current (phase a) for C-MPC and S-MPC control approaches. The amplitude of the fundamental current component is 20 A.
Figure 11. Spectrum of grid current (phase a) for C-MPC and S-MPC control approaches. The amplitude of the fundamental current component is 20 A.
Energies 18 03132 g011
Figure 12. Inverter voltage and grid current in phase a: (a) C-MPC; (b) S-MPC.
Figure 12. Inverter voltage and grid current in phase a: (a) C-MPC; (b) S-MPC.
Energies 18 03132 g012
Figure 13. Amplitude step change in reference current from 20 A to 30 A: (a) C-MPC; (b) S-MPC; (c) detail of C-MPC waveforms. (d) detail of S-MPC waveforms.
Figure 13. Amplitude step change in reference current from 20 A to 30 A: (a) C-MPC; (b) S-MPC; (c) detail of C-MPC waveforms. (d) detail of S-MPC waveforms.
Energies 18 03132 g013
Figure 14. Dc–link voltage and grid currents for different values of λ and N: (a) λ = 0.4 (C-MPC); (b) N = 2 (S-MPC); (c) λ = 0.4 (C-MPC); (d) N = 2 (S-MPC).
Figure 14. Dc–link voltage and grid currents for different values of λ and N: (a) λ = 0.4 (C-MPC); (b) N = 2 (S-MPC); (c) λ = 0.4 (C-MPC); (d) N = 2 (S-MPC).
Energies 18 03132 g014
Figure 15. Grid voltage distortion (10% at fifth harmonic: (a) C-MPC; (b) S-MPC.
Figure 15. Grid voltage distortion (10% at fifth harmonic: (a) C-MPC; (b) S-MPC.
Energies 18 03132 g015
Figure 16. Spectra of grid current (phase a) for C-MPC and S-MPC considering grid voltage is distorted with 10% of fifth harmonic. The amplitude of the fundamental current component is 30 A. T H D i of 3.7% and 4.0% for C-MPC and S-MPC, respectively.
Figure 16. Spectra of grid current (phase a) for C-MPC and S-MPC considering grid voltage is distorted with 10% of fifth harmonic. The amplitude of the fundamental current component is 30 A. T H D i of 3.7% and 4.0% for C-MPC and S-MPC, respectively.
Energies 18 03132 g016
Figure 17. Grid variations starting at nominal voltage, voltage sag (40%), voltage swell (40%), and returning to nominal voltage: (a) C-MPC; (b) S-MPC.
Figure 17. Grid variations starting at nominal voltage, voltage sag (40%), voltage swell (40%), and returning to nominal voltage: (a) C-MPC; (b) S-MPC.
Energies 18 03132 g017
Figure 18. Effect of parameter variation in the MPC approaches: (a) Decrease of inductance C-MPC; (b) Decrease of inductance S-MPC; (c) Increase in inductance C-MPC; (d) Increase in inductance S-MPC.
Figure 18. Effect of parameter variation in the MPC approaches: (a) Decrease of inductance C-MPC; (b) Decrease of inductance S-MPC; (c) Increase in inductance C-MPC; (d) Increase in inductance S-MPC.
Energies 18 03132 g018
Table 1. Three-level NPC switch state.
Table 1. Three-level NPC switch state.
Switching State
( S x )
Switch Signals
( S 1 x , S 2 x )
Output Voltage
( v xN )
−1(0, 0) v d c 2
0(0, 1)0
1(1, 1) v d c 2
Table 2. Three-level NPC switch state.
Table 2. Three-level NPC switch state.
State S 1 a S 2 a S 1 b S 2 b S 1 c S 2 c v an v bn v cn v α v β
1111111 + v d c 2 + v d c 2 + v d c 2 00
2111101 + v d c 2 + v d c 2 0 + v d c 3 + v d c 3
3111100 + v d c 2 + v d c 2 v d c 2 + 2 v d c 3 0
4110111 + v d c 2 0 + v d c 2 0 + v d c 3
5110101 + v d c 2 00 + v d c 3 + v d c 3 3
6110100 + v d c 2 0 v d c 2 + 2 v d c 3 v d c 3
7110011 + v d c 2 v d c 2 + v d c 2 00
8110001 + v d c 2 v d c 2 0 + v d c 3 v d c 3
9110000 + v d c 2 v d c 2 v d c 2 + 2 v d c 3 2 v d c 3
100111110 + v d c 2 + v d c 2 v d c 3 + v d c 3
110111010 + v d c 2 00 + v d c 3
120111000 + v d c 2 v d c 2 + v d c 3 0
1301011100 + v d c 2 v d c 3 + v d c 3 3
1401010100000
1501010000 v d c 2 + v d c 3 v d c 3 3
160100110 v d c 2 + v d c 2 v d c 3 v d c 3
170100010 v d c 2 00 v d c 3
180100000 v d c 2 v d c 2 + v d c 3 2 v d c 3
19001111 v d c 2 + v d c 2 + v d c 2 2 v d c 3 0
20001101 v d c 2 + v d c 2 0 v d c 3 + v d c 3
21001100 v d c 2 + v d c 2 v d c 2 00
22000111 v d c 2 0 + v d c 2 2 v d c 3 + v d c 3
23000101 v d c 2 00 v d c 3 0
24000100 v d c 2 0 v d c 2 0 v d c 3
25000011 v d c 2 v d c 2 + v d c 2 2 v d c 3 v d c 3
26000001 v d c 2 v d c 2 0 v d c 3 v d c 3
27000000 v d c 2 v d c 2 v d c 2 00
Table 3. System parameters.
Table 3. System parameters.
Description and SymbolValue
Grid voltage ( v g / ω f )380 V/50 Hz
Dc–link voltage ( v d c )800 V
Filter inductance per phase (L)5 mH
Resistance of filter inductor (R)0.8 Ω
Dc–link capacitance ( C 1 and C 2 )3.3 mF
C-MPC controller—Weighting Factor ( λ )0.4
S-MPC controller—secondary evaluation (N)2
Sampling Time ( T s )50 μs
SRF-PLL proportional gain ( k p )45
SRF-PLL integral gain ( k i )970
Voltage scaling factor ( g v )100
Current scaling factor ( g i )10
Table 4. Performance summary.
Table 4. Performance summary.
Test CasePerformance IndexC-MPCS-MPC
Current reference step reference (20 to 30 A) (Figure 13) t s i 0.25 μs0.20 μs
Time required to balance dc–link capacitor’s voltage (Figure 14) t s b 27 ms48 ms
Current distortion during balancing (Figure 14) T H D i 10.2%5.2%
Steady-state current ripple (reference of 20 A) (Figure 10) Δ i 2.0 A2.5 A
Steady-state current distortion (reference of 20 A) (Figure 10) T H D i 4.7%5.0%
Steady-state current ripple (reference of 30 A) (Figure 18) Δ i 3.0 A4.0 A
Steady-state current distortion (reference of 30 A) (Figure 18) T H D i 3.4%3.4%
Current ripple for 0.5 L (reference of 30 A) (Figure 18) Δ i 9.0 A9.0 A
Current distortion for 0.5 L (reference of 30 A) (Figure 18) T H D i 9.2%10.8%
Current ripple for 2 L (reference of 30 A) (Figure 18) Δ i 9.0 A1.0 A
Current distortion for 2 L (reference of 30 A) (Figure 18) T H D i 2.1%2.0%
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

Bonaldo, J.; Duan, B.; Rivera, M.; Ling, K.V.; Fantin, C.; Wheeler, P. Comprehensive Performance Assessment of Conventional and Sequential Predictive Control for Grid-Tied NPC Inverters: A Hardware-in-the-Loop Study. Energies 2025, 18, 3132. https://doi.org/10.3390/en18123132

AMA Style

Bonaldo J, Duan B, Rivera M, Ling KV, Fantin C, Wheeler P. Comprehensive Performance Assessment of Conventional and Sequential Predictive Control for Grid-Tied NPC Inverters: A Hardware-in-the-Loop Study. Energies. 2025; 18(12):3132. https://doi.org/10.3390/en18123132

Chicago/Turabian Style

Bonaldo, Jakson, Beichen Duan, Marco Rivera, K. V. Ling, Camila Fantin, and Patrick Wheeler. 2025. "Comprehensive Performance Assessment of Conventional and Sequential Predictive Control for Grid-Tied NPC Inverters: A Hardware-in-the-Loop Study" Energies 18, no. 12: 3132. https://doi.org/10.3390/en18123132

APA Style

Bonaldo, J., Duan, B., Rivera, M., Ling, K. V., Fantin, C., & Wheeler, P. (2025). Comprehensive Performance Assessment of Conventional and Sequential Predictive Control for Grid-Tied NPC Inverters: A Hardware-in-the-Loop Study. Energies, 18(12), 3132. https://doi.org/10.3390/en18123132

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