Next Article in Journal
Comparison of Reactive Power Compensation Methods in an Industrial Electrical System with Power Quality Problems
Previous Article in Journal
Impact of Weather Conditions on Reliability Indicators of Low-Voltage Cable Lines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Harnessing Field-Programmable Gate Array-Based Simulation for Enhanced Predictive Control for Voltage Regulation in a DC-DC Boost Converter

by
Sara J. Ríos
*,
Elio Sánchez G.
,
Andrés Intriago
and
Síxifo Falcones
Faculty of Electrical and Computer Engineering, ESPOL Polytechnic University, Campus Gustavo Galindo, Guayaquil 09-01-5863, Ecuador
*
Author to whom correspondence should be addressed.
Electricity 2024, 5(3), 622-641; https://doi.org/10.3390/electricity5030031
Submission received: 1 July 2024 / Revised: 14 August 2024 / Accepted: 3 September 2024 / Published: 6 September 2024

Abstract

:
This paper presents the design of a predictive controller for a boost converter and validation through real-time simulation. First, the boost converter was mathematically modeled, and then the electronic components were designed to meet the operation requirements. Subsequently, a model-based predictive controller (MBPC) and a digital PI (Proportional–Integral) controller were designed, and their performance was compared using MATLAB/SIMULINK®. The controls were further verified by implementing test benches based on an FPGA (Field-Programmable Gate Array) with an OPAL-RT real-time simulator, which included the RT-LAB and RT-eFPGAsim simulation packages. These tests were successfully carried out, and the methodology used for this design was validated. The results showed a better response obtained with MBPC, both in terms of stabilization time and lower overvoltage.

1. Introduction

The sustained increase in global temperature is a significant concern globally. NASA (the National Aeronautics and Space Administration) reports that from 1880 to 2020, the global temperature increased by 1.02 °C [1]. Humans cause global warming by creating the greenhouse effect by burning fossil fuels, highlighting the importance of renewable energy in mitigating excessive temperatures and severe climatic variations [2,3].
According to IRENA (the International Renewable Energy Agency), from 2000 to 2015, photovoltaic (PV) energy experienced a growth of up to 18,461% in installed capacity [4]. With a growth rate of around 40%, PV panels and other derivatives have become cheaper, making them accessible for residential, commercial, and industrial applications. The electrical network uses the surplus of PV energy to distribute it to various places of consumption. In addition, PV panels have a life cycle of 25 to 30 years, making them profitable and efficient overall [5]. Irradiance, temperature, and the appropriate choice of semiconductors are some variables that can affect power quality in PV systems.
The power generated by the PV panels is injected into a DC bus using a DC-DC power converter for its consumption by DC loads or stored using a battery bank. Among the available DC-DC converters, the boost converter is one of the most common topologies for this task. A comparative study is required to select the best control method for a boost converter.
Regarding related works, various classical and advanced control methods have been employed for a boost converter. In [6], a PD (Proportional–Derivative) controller was designed based on fuzzy logic and tested in two different DC-DC converters. In [7], a feedback controller was developed, and its parameters were obtained with optimization techniques such as the Genetic Algorithm (GA) and Bacterial Foraging Optimization Algorithm (BFOA). Similarly, in [8], another optimization technique, Particle Swarm Optimization (PSO), was used. Additionally, in [9], a non-linear control technique, Sliding Mode Control (SMC), was employed. In [10], an SMC combined with a fuzzy logic controller was developed. Finally, in [11], two types of robust controllers were designed. The first was a PID (Proportional–Integral–Derivative) controller with hysteresis, while the second was combined with SMC. Table 1 summarizes the types of controllers mentioned and their respective parameters of interest, including efficiency, which is an important factor in DC-DC converters [12]. Thus, the PD-like Fuzzy Logic controller with an 8 V input voltage is the fastest.
A comprehensive review of the state of the art of MBPC was carried out in [13], and the use of some MBPC variants in PV-based DC microgrids was analyzed using, among other things, a boost converter. It was found that that the oscillations around the MPPT (Maximum Power Point Tracking) were significantly reduced depending on the predictive control method.
With some predictive methods with a discrete observer, a better response under rapidly changing weather conditions is obtained, and with others, MBPC generates optimal energy management and power-sharing applied to hybrid networks [14].
Based on a review of the state of the art of DC microgrids, a boost converter and an MBPC are proposed to study and reduce the stabilization features.
In addition, comparisons of our proposal with classic and mixed controllers will be developed. The proposal will also be tested in a real-time simulator with an FPGA-based library. Among its other characteristics, we intend to take advantage of its high operating frequencies to regulate the DC output voltage.

2. Proposed Topology and System Modeling

2.1. PV Modules and Arrays

Typically, PV panels comprise numerous interconnected PV cells, which are mechanically protected and suitable for sites with high solar radiation. Their principle of operation is based on the photoelectric effect, which explains that electrons are released when photons hit the PV panel.
Installing a single PV panel, such as for swimming pool heating, is sufficient in applications requiring only small amounts of energy. However, implementing PV arrays is necessary for more significant PV generation scenarios. In this case, PV panels are connected in series to achieve a greater voltage, in parallel to achieve a higher current, and in a mixed configuration to achieve higher power.
Figure 1 presents some connection topologies for a PV array, these being the Series–Parallel (SP), Bridge-linked (BL), Honeycomb (HC), and Total-Cross-Tied (TCT) [15]. This paper considers the SP array. Its size depends on the maximum operating conditions of each connected PV panel and the manufacturer’s data.
Conventionally, these are operated at the maximum power point (MPP) to extract the maximum available PV power. The MPP depends on several conditions, such as the PV panels’ properties, climatic changes like light intensity decreasing due to the appearance of clouds, or unforeseen weather changes [16]. MPP tracking can be implemented in the control circuit of the DC-DC converter to match the impedance of the PV array. This way, its operation can be stabilized at the maximum power point (MPP) or as close as possible to it. This power peak can be seen in Figure 2 in the current/power characteristic curves of PV panels as a function of the voltage at their terminals. These characteristic curves indicate the MPP values for the PV arrays’ sizing. Their parameters are the IMPP current and PMPP power at a VMPP voltage or remarkably close values [17]. Additionally, the ranges of these curves are limited by the short-circuit current ISC and the open-circuit voltage VOC.

2.2. Boost Converter Design and Modeling

Power electronics-based energy conversion systems are used to optimize and efficiently use energy from PV systems. Since their output voltage is DC, a DC-DC converter such as the boost converter can be employed. When larger DC voltages are needed with lower input voltages and high efficiency, these converters are used in battery power applications, automotive applications, industrial drives, and adaptive control applications [18].
Figure 3a shows the power circuit of a boost converter, which is characterized by two operating states: In the “On-state”, shown in Figure 3b, the Q semiconductor acts as a switch, and when it is closed, an increase in the level of the inductor current L is experienced. In contrast, the switch opens during the “Off-state” shown in Figure 3c. The only possibility for inductor current to flow is through diode D and the parallel configuration of output capacitor C and load resistor R. This leads to the capacitor transferring energy, which is acquired by it during the “On-state”. Additionally, the PV-generated power will oscillate due to a PV voltage ripple, resulting in a reduced average power output, and this is because of the installation of a CPV capacitor for smoothing voltage ripples [19].
Due to the operation of the semiconductor Q, the output load voltage is chopped according to an operating duty cycle D0 at a high switching frequency fSW and is calculated according to (1), where VG is the PV voltage, and V0 is the output voltage.
D 0 = 1 V G V 0
Continuous conduction mode (CCM) operation is desired in DC-DC switching converters. This means that the primary current, which is the inductor current in the converter, is not canceled out. The minimum values of its passive components R, L, and C together must be determined, along with its associated series resistances, considering primarily the power Pn of the converter. In (2), the minimum inductance for the CCM current is determined according to [20]. On the other hand, the minimum output capacitance can be determined by (3), according to [20], where the output voltage ripple specification is usually between 1% and 5%.
L m i n = D 0 1 D 0 2 V 0 2 2 f S W P n
C m i n = D 0 P n V 0 V 0 2 V 0 2 f S W
Using a Schottky diode as a natural switching device and an IGBT as a forced switching device was considered to reduce power losses due to its higher current rating compared to a MOSFET.
The principle of DC-DC converter control is PWM (Pulse Width Modulation), which is generated through the comparison of a constant modulating signal and a sawtooth carrier signal vst at a switching frequency of fSW [21], or at a switching period of TSW. Figure 4 shows these waveforms together with their comparative results. Depending on whether the nominal duty cycle D0 is increased or decreased, the resulting square signal pulse vQ will either be broader or narrower at a constant frequency comparable to fSW. It is important to note that the control signal D0 will come from the implemented digital or predictive controller, and in some cases, it may come directly from an MPPT controller.
This technique has variations, such as the control signal being compared against an unbiased triangle wave instead of a sawtooth wave. Another novel method is establishing boundary voltages for the control signal, thus achieving an improved dynamic response [22].
Once the parameters of the boost converter have been determined, the mathematical model of the system may be derived, with the averaged model state space matrixes Ap, Bp, Cp, and Dp, the state vector x = [iL vC]T, VG as an input, and V0 as an output. VG is considered only as an input because we aim to find the system dynamics only in the power stage. In this type of system, the input does not have a direct influence on the outputs, and for this reason, the Dp matrix is considered null.
Figure 3b shows the power circuit in the On-state [13], where Kirchhoff’s current/voltage laws are applied in the first instance together with the laws of each energy storage component, thus obtaining (4) and (5):
L d i L d t = V G r L i L
R i o = r c i c + v C
Considering the output mesh:
C d v C d t = i c = i o  
With these expressions, the system behavior is obtained:
d i L d t d v C d t = r L L 0 0 1 C ( R + r c ) i L v C + 1 L 0 V G
By applying a voltage divider on the output mesh, the output voltage in the On-state will be:
v o = 0 R R + r c i L v C
Similarly, the following expression in the first mesh for the boost converter in the Off-state [13] will be:
L d i L d t = V G r L i L v o
The second mesh is analyzed as follows:
v o = v c + r C C d v C d t
i o = i L C d v C d t = v o R
In this case, first, the output expression will be determined by replacing (11) in (10):
v o = v C + r C i L 1 + r C R
Considering (12) in the previous expressions, the following system behavior in a steady state is obtained:
d i L d t d v C d t = r L R r L r c   r c R   L R + r c R L ( R + r c ) R C ( R + r c ) 1 C ( R + r c ) i L v C + 1 L 0 V G
v o = R r c R + r c R R + r c i L v C
Representation of the average model in steady space is performed for both switching periods. For tON during a duty cycle d and tOFF during a complementary duty cycle 1 − d, the following average Ap, Bp, and Cp matrixes are obtained:
A p = A O N d + A O F F 1 d B p = B O N d + B O F F 1 d C p = C O N d + C O F F 1 d
With these matrixes, a system with two inputs, u = [d VG]T, two states, x = [iL vC]T, and one output, V0, for the voltage regulation of the converter, as a function of slight duty cycle changes, is obtained.
A p = r L R + r L r c + r c R 1 d L ( R + r c ) R 1 d L R +   r c R 1 d C R +   r c 1 C R +   r c B p = 1 L   0 T C p = R r c 1 d R + r c R R + r c

3. Digital and Predictive Control

The state matrixes referring to the system that describes the boost converter’s dynamics have non-linear components. For this reason, these matrixes must be linearized around an operating point whose parameters can be determined by solving x0’ = [iL0 vC0]T from the nominal data V0 and D0. With the linearized state matrixes Ap0, Bp0, and Cp0, two transfer functions, V0(s)/d(s) and V0(s)/VG(s) [23] can be determined, thus achieving direct voltage control (DVC) from d and VG variations.
However, the transfer function V0(s)/d(s) is in the non-minimum phase; therefore, even if a controller with good regulation performance is implemented, the voltage V0 will have a wide ripple voltage. Figure 5a shows a DVC scheme using a digital PI (Proportional–Integral) controller. These control diagrams show components whose functions will be explained below.
The cascade feedback control structure is reliable for controlling DC-DC and DC-AC power converters and electric drives. The inner control loop regulates the converter current. In contrast, in the external control loop, the primary desired variable is controlled—for example, voltage or active power in microgrids, such as the boost converter output voltage.
The key to the success of cascade control lies in the difference between the time constants of both loops so that the current response time will be much faster. Some cascade control topologies have been developed in this paper, such as the digital control loops shown in Figure 5b, and the combined control loops shown in Figure 5c, where the internal one is predictive, while the external one is digital, with both predictive control loops shown in Figure 5d.
To implement this control scheme, in the first instance, it is necessary to determine the transfer functions IL(s)/d(s) and IL(s)/VG(s) [23] for the internal loop control with the matrixes of linearized states Ap0 and Bp0 at the operating point, and since iL is intended to be the output variable, we consider Cp0 = [10].
After this, the transfer function V0(s)/IL(s) must be determined for the control of the outer loop [23]. This can be achieved by finding this transfer function averaged over the boost converter output loop for tON during a duty cycle d and for tOFF during the complementary duty cycle 1 − d. Around operating point p0, the averaged function described by (17) is obtained:
V 0 s I L s = R 1 D 0 r C C s + 1 R + r C C s + 1
Within the theory of predictive control, some variations have been developed, among which we have Dynamic Matrix Control (DMC), Generalized Predictive Control (GPC), Non-Linear Model Predictive Control (NMPC), Extended Prediction Self Adaptive Control (EPSAC), and Model Predictive Control with Autoregressive Disturbance (MPC-AR), among others [13]. There are differences between several types of controllers, which lie in how the model is approached, the kind of optimization applied, whether restrictions are considered when optimizing, and even whether disturbances are included or not [24].

3.1. Digital Control

Digital signal processors are widely used in power conversion systems since semiconductor pulse signals are transmitted at high speeds, either to IGBTs or MOSFETs. As previously mentioned, in addition to these external components, DC-DC converters have a PWM stage whose pulse generation can be implemented with digital electronic schemes such as a free-running counter, an up/down counter, and a hardware accumulator [25]. In microprocessor applications, the operating voltage drops from 5 V to 3.3 V or even lower, and the load current switches from sleep mode to high-speed computation mode faster.
For these reasons, solutions based on digital control are appropriate for DC-DC converters, with the implementation of analog and digital signal converters and vice versa for the execution of control actions. Signal scaling or conditioning blocks are often implemented for processing.
The conversion of signals referring to boost converter current/voltage measurements is usually carried out using zero-order hold circuits (ZOH) at a sampling time of Ts and, in some cases, digital low pass filters (DLPF) to mitigate stochastic noise. In addition to correctly sizing the inductor L, it must be ensured that the boost converter conduction mode has a direct current; it is for this reason that a digital controller is used to regulate the current iL, and an external control is used in cascade for the regulation of output voltage V0, this being the variable of interest, as shown in Figure 5b.
It is necessary to apply a Zeta transform to the transfer functions IL(s)/d(s) and IL(s)/VG(s) for the tuning of the digital controllers, where it is also considered that the variations in the voltage VPV due to climatic changes would be control system disturbances.
An essential point for tuning the voltage controller in the system’s external loop, whether using digital or predictive control, is that the transfer function of the current internal loop is considered to be approximately unitary; this is because the current of the inductor iL reaches its reference value iL* very quickly.

3.2. Predictive Control

The MBPC comprises a set of control methods with common characteristics, such as using the system model to calculate the output at future times and using an optimal control action calculated from a cost function [26]. This control technique slides the horizon toward the future at each instant, and a new optimized prediction is calculated in each iteration. Various constraints on the process variables of interest can also be implemented. Among its benefits, SISO (Single Input, Single Output) and MIMO (Multiple Input, Multiple Output) systems can be handled.
The steps in the hierarchical predictive structure are as follows: measurements are needed initially; then, model outputs are computed; and lastly, a control method resolves a quadratic programming or classical optimization issue. Figure 6a presents this prediction process, and Figure 6b displays a microgrid’s control sequence.
In this paper, the representation of the system is carried out through state spaces, with the state x(k) = [iL(k) vC(k)] and the input vector and u(k) = [d(k) Vi(k)]. Additionally, the operational outputs V0 e IL0 are considered. Based on the sliding horizon principle, it is assumed that u(k) does not affect y(k) simultaneously. Therefore, the discrete system with average matrixes will be represented by:
x k + 1 = A p x k + B p u k y k = C p x ( k )
As can be seen, the output predictions are made from the present state variables and the present and future control signal increments. For this, the vectors ∆U and Y are defined, where the dimensions of the vectors are N and P, respectively:
U = u ( k ) u ( k + 1 )   u ( k + N 1 ) T Y = y ( k + 1 ) y ( k + 2 )   y ( k + P ) T
The general equation represented in matrix format will be Y = Fx(k) + G∆U, where the respective matrixes are:
F = C p A p C p A p 2     C p A p P T G = C p B p C p A p B p C p A p 2 B p C p A p P 1 B p 0 C p B p C p A p B p C p A p P 2 B p 0 0 C p B p C p A p P 3 B p 0 0 0 0 0 0 C p B p
The cost function or objective function that weights the system error and the control actions of the MBPC [27] is given by (21), where N1 is when a sample occurs after the delay if the system has one. In addition, δ and λ are the weighting weights of the error and the control action, respectively.
J = j = N 1 P δ j [ y ^ ( k + j / k ) w k + j ] 2 + j = 1 N λ j Δ u ( k + j 1 ) 2
As can be seen, the control action acts at a lower instant and is used to calculate the new output, and is represented in matrix format as follows:
J = y ^ w T δ ( y ^ w ) + λ U T U
Finally, to find the cost function in vector format, we calculate:
J = G U + F x k w T δ ( G U + F x ( k ) w ) + λ U T U
In the case without restrictions, the minimum of J is analytically expressed in (24). It can be noticed that everything with WFx(k) is a matrix, called K for simplicity, whose values will be calculated only once and from which the first row will be used.
U = ( G T δ G + λ I ) 1 G T δ T ( W F x ( k ) )
The law control obtained without restrictions will be:
U = K ( W F x k )
The prediction stage can be summarized in the prediction process of the electrical variable of interest, where the objective is to reduce the errors of this variable between its reference value and the values measured in the converter, as later, a cost function from these measurements’ errors is minimized. In the case of iL and V0, the cost functions Ji and Jv, respectively, would be defined by (26):
J i = I L k + 1 = I L * k I L k + 1 J v = V o k + 1 = V o * k V o k + 1

4. System Loop Control Design

As a first step, a power value was chosen that would be supplied by the PV array for its sizing. The manufacturer of the selected PV panels was AE SOLAR, from Königsbrunn, Germany, with part number AE340SMM6-72. These PV panels have electrical characteristics that were obtained with tests under standard conditions, with 1 kW/m2 at 25 °C, shown in Table 2. Additionally, it should be noted that each PV panel comprises 72 cells, with VOC and ISC temperature coefficients of −0.29%/°C and 0.05%/°C, respectively. Choosing a PV array power of 15 kW, the same as the power in the MPP (Maximum Power Point), and a voltage in the MPP close to the reference value V0* = 370 V, a quantity of seven panels connected in series were obtained, and seven of these arrays were connected in parallel. With these values, the specifications of the PV array were found, which are also shown in Table 2.
Table 3 shows the components of the chosen boost converter. Initially, the converter load resistance was sized based on the required power/voltage parameters. Subsequently, the operating duty cycle was calculated according to (1) considering the input/output voltage requirements. In addition, fSW = 5 kHz was chosen for the minimum component sizing of the boost converter, the same ones found following (2) and (3). Commercial values above the minimum estimated values were considered when determining capacitances, and a value ten times higher than the minimal calculated inductance was considered when choosing an inductance. On the other hand, standard values were considered for the converter components’ series resistances.
With the considered values of the converter parameters, the obtained state matrixes are indicated in (27).
A p 0 = 0.001 568.8342 739.5405 109.569 B p 0 = 284,590 54,820 T
From these matrixes, transfer functions iL(s)/d(s) and V0(s)/iL(s) were obtained. Then, these transfer functions were discretized for tuning the digital controllers. When testing and adjusting several controllers using MATLAB/SIMULINK control tools during the manual tuning process, the best parameters for current/voltage regulation were those indicated in Table 4 considering a control sampling time equivalent to Ts = 100 µs.
On the other hand, these transfer functions will also be helpful for the design of MBPC controllers, both for current and voltage regulation. This could be achieved by considering both the prediction horizons P = 10 and control horizons N = 3, together with a control sampling time of Ts = 200 µs. In these controllers’ designs, the operating values of the boost converter were also considered.
Regardless of the applied type of control, be it digital PI or MBPC, it is worth mentioning that, in the design of the current controller, the restriction of a control action between 0 and 1 was considered, this being the value of the duty cycle sent to the PWM pulse generator. It should be noted that for the design of the voltage controller, the transfer function V0(s)/iL(s) was considered, and that the closed-loop transfer function iL(s)/iL*(s) was unitary since the reference current was quickly reached.

5. Real-Time Simulation for Boost Converter

Real-time (RT) simulation is necessary when a CPU requires a similar operation to a physical system. An RT simulator achieves deterministic responses by connecting real hardware or implementing a hardware-in-the-loop (HIL) scheme. It is crucial to indicate that the RT concept can be applied strictly according to the requirements of each system’s restrictions. This implies that the sampling would not be the same for an electronic system as for a thermal or mechanical system. This type of simulation is carried out according to a sampling time Ts_CPU that can be adjusted according to the implemented system.
ESPOL possesses the tools to conduct R&D projects in innovative academic and commercial solutions for power electronics and power systems industries. The RT-LAB development package includes a 32-core OPAL-RT RT simulator, a processor based on the Xilinx VC707 Virtex-7 FPGA (San José, CA, USA) architecture capable of exchanging voltage/current I/Os, and an OMICRON CMS 356 power amplifier to exchange voltage/current signals with protection relays. It is also completely integrated with MATLAB/Simulink®. Figure 7 shows part of the equipment in the RT simulation laboratory in ESPOL, with an AMETEK 90 kVA power amplifier for high AC and DC power systems applications.
In power electronics-based applications, RT simulation presents some challenges in HIL implementations, such as the ability to capture I/O as PWM pulse signals at high frequencies and the mathematical resolution of coupled semiconductors and switches [28].
OPAL-RT offers the eFPGAsim library, ensuring all FPGA-based models exhibit extremely low loop latency. This library uses an FPGA solver called the Electric Hardware Solver (eHS) to customize power electronics stages. The sampling time Ts_FPGA, which is a parameter dependent on the complexity of the circuit to be implemented [28], from ns to ms, is typically much smaller than Ts_CPU.
In offline simulations or simulations executed purely in software, the switches are typically calculated using conductance matrixes. Therefore, an optimal value of the switching conductance GS should be obtained since the switches are represented by the Pejovic method in the FPGA simulation [29]. This method replaces the switch with an inductor Ls when it conducts and a capacitor Cs when it does not conduct in the nodal matrix, resulting in GS not changing. This parameter is defined in (28).
G s = T S _ F P G A L s = C s T S _ F P G A
Another challenge in RT simulations is the control of the conduction and cut-out of the switches. Pulse generation using typical Simulink blocks causes the comparison result to be related to the Ts_CPU sampling time; the switching state will change only when a rising edge of Ts_CPU occurs, with the possible loss of states [29]. For this reason, it is recommended that PWM pulses be generated by configuring a digital output of the FPGA, specifying the switching frequency and operating duty cycle, and consequently connected to a digital input. This technique, called loopback, is a solution to generate high-frequency triggers between Ts_CPU transitions.
This RT simulation project consists of two subsystems. The first subsystem, called the master subsystem, has an eHS stage where the power circuit of the converter is implemented and a stage in the CPU where the cascade control is implemented along with blocks for the triggering of the PWM pulses. A second subsystem, called the console subsystem, displays the current/voltage measurements in the converter. An overall simulation scheme is shown in Figure 8, where all the CPU/FPGA boundaries are indicated. Additionally, an oscilloscope is used to more accurately monitor voltage/current signals.

6. Simulation and Results

6.1. Boost Converter Non-Linear Behavior

Power stage modeling aims to represent the system’s DC behavior around an operating point P0 (D0, V0). Figure 9 shows the non-linear behavior of the boost converter output voltage V0 as a function of its duty cycle d. A tangent line has been drawn around the calculated operating duty cycle D0, representing the linearization of the system. These graphs demonstrate that the duty cycle and voltage setpoint V0* variations should be kept small around the operating point. If the operation conditions were significantly displaced from P0, the variations in the non-linear model would seriously affect the converter’s response. On the other hand, for high-duty cycles greater than 0.9, the converter’s voltage gain and output voltage would be so high that the converter would not have the capacity to supply them. It should be noted that the linearized output voltage v o ^ as a function of the linearized duty cycle d ^ is described by (29), which also depends on the input voltage VG.
v o ^ V o * + V G 1 D o 2 d ^ D o

6.2. Boost Converter Offline Simulations

This section shows the results of offline simulations, in which the DVC experiment has yet to be considered since it is outside the context of this paper. This type of control is slow compared to schemes based on cascade control. Figure 10 shows the boost converter output voltage V0 and inductor current iL behavior when the cascade control-based schemes control the converter. The simulation lasts six seconds.
Initially, a load variation of ±10 V was considered, but this displaced the operation conditions from the operating point P0. With this, steady-state errors appeared, and to fix this anomaly, the load variation was decreased, acting as a disturbance variation.
During the 2nd and 4th seconds, the forced load voltage varies by 1 V; subsequently, the load voltage varies by −1 V. The overshoot levels (OS) and stabilization times (TSS) were evaluated in each simulation section. These load variations were like disturbances in the DC-DC converter, and with this, the results detailed in Table 5 were obtained.
Table 6 shows all the ripple and average data in V0 and iL for each cascade control scenario. In the voltage case, the average data are close to V0*; in the current case, the average values are approximate in all cases. These data were kept constant during the simulations.

6.3. Boost Converter RT Simulations

Electrical SCADA (Supervisory Control and Data Acquisition) systems use the console output from RT simulation equipment to display the voltage/current RMS readings for many applications. As previously discussed, an oscilloscope is necessary to better visualize signals in converter circuits, even though they are also commonly employed in power electronics applications. The I/O channels of the simulator, which are scaled by a factor of 0.1, were used to connect this equipment. This is because extra scaling is possible when the base circuit is built in the eHS block; these channels offer acceptable security. Scaling for V0 was set at 0.01 units/V, whereas scaling for it was set at 0.01 units/A.
This section presents the RT simulation results. Figure 11 shows the behavior of the boost converter output voltage V0 and inductor current iL with an oscilloscope, which was implemented within the OPAL-RT FPGA.
Similarly to the previous section, this simulation lasted six seconds, and the load voltage was changed by ±1 V after the 2nd and 4th seconds, producing the results shown in Table 7. It can be noticed that with the forced variation of ±1 V, V0 was not affected no matter the cascade control scenario.
In the same way as offline simulations, Table 8 shows all the ripple and average data for the voltage/current measurements. These data were kept constant during the RT simulations, and the results are similar to those obtained in offline simulations.

7. Discussion

Table 9 shows the collection of data, including renewable the energy integration, design of the DC-DC converter parameters, validation, efficiency (η), and output voltage response parameters, between the current work and the control techniques adopted for boost converters in related works. Based on the data obtained, some related works did not carry out an experimental validation, unlike the current work developed in an RT simulator.
The output voltage response was the fastest, with a minimum overshoot. Based on the reported works, whose parameters are presented in Table 9, the efficiency values exceed 90%, while our designed converter, with 15 kW power, has 95% efficiency.
On the other hand, Table 10 and Table 11 detail the relative errors between offline and RT simulation data. Time limitations, external interferences, and model simplifications are some of the reasons why offline and RT simulations differ in accuracy. RT simulations must work under tight time constraints, which might result in approximations and decreased accuracy, whereas offline simulations frequently rely on idealized conditions and higher-precision computations.
In addition, a SWOT (Strengths, Weaknesses, Opportunities, and Threats) matrix was developed to better comprehend the current work’s features and strategic planning. Based on the SWOT analysis shown in Figure 12, the most notable characteristic is the low-cost RT implementation, even with a hardware-in-the-loop test, which uses the high-frequency channels available on the equipment.

8. Conclusions

After analyzing how the boost converter operates, it is notable that the sizing of its components is crucial since they must be accurately predicted to meet the load requirements. Additionally, the mathematical model of the boost converter depends on its components. Even the PWM generation stage’s settings must be carefully chosen and kept constant.
PI controllers should be utilized in digital control systems rather than PID controllers due to their more straightforward design and high reliability. In some circumstances, cost savings could be achieved when the hardware benefits the controlled system.
MBPC is advantageous for forced-commutation-based power converters in power electronics applications because its model is crucial. It can forecast future events and adapt the current control strategy optimally. MBPC can manage SISO and MIMO systems, making it a more straightforward and suitable control solution. Another of its advantages is its digital implementation, so it is feasible to develop controllers in digital signal processors. For this reason, DLPF and ZOH are used in all cascade control schemes.
The MBPC’s computational load is high, but when operating in a real-time simulator, with its high frequency, this weakness is compensated and does not affect the voltage response. Depending on the complexity of the optimization algorithm used, the cost function could provide an adequate response, but obtaining it would take longer.
In the MBPC stage, choosing an initial prediction horizon of less than 50 is good practice, except when the sampling time is minimal. A small control horizon demands more controller computations due to quadratic programming.
This paper illustrates that with some cascade control techniques (digital PI + digital PI, digital PI + MBPC, and MBPC + MBPC), the output voltage reaches better stabilization compared to the other control techniques mentioned in the Introduction. It can even be seen that the inductor current settles faster than the output voltage in all cases. After comparing the outcomes and assessing each technique’s efficacy, the MBPC + MBPC scheme is found to be the most successful option in offline and RT simulations.
Real-time simulation offers low implementation costs compared to the actual costs of implementing a microgrid. In addition, using a real-time simulator allows many tests to validate solutions that present minimal defects when implemented.
An FPGA can implement any MPPT algorithm and the PWM control stage that produces the commutation pulses. The RT equipment can execute an FPGA-in-the-loop simulation. In this case, boost converter testing with an embedded controller is feasible due to the deployment of the MATLAB/Simulink® platform for any existing code based on the Hardware Description Language.

Author Contributions

Conceptualization, S.J.R. and S.F.; methodology, S.J.R. and A.I.; software, E.S.G.; validation, S.J.R. and S.F.; formal analysis, S.F.; investigation, S.J.R., E.S.G., A.I. and S.F.; resources, S.F.; data curation, E.S.G.; writing—original draft preparation, S.J.R., E.S.G. and A.I.; writing—review and editing, S.J.R., E.S.G. and S.F.; visualization, S.J.R. and E.S.G.; supervision, S.F.; project administration, S.J.R.; funding acquisition, S.J.R. All authors have read and agreed to the published version of the manuscript.

Funding

The present research was supported by the R&D Project [GI-GISE-FIEC-01-2018].

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

The authors thank ESPOL Polytechnic University for supporting this work.

Conflicts of Interest

The authors declare no conflicts of interest regarding this paper’s publication.

References

  1. Global Temperature | Vital Signs—Climate Change: Vital Signs of the Planet. Available online: https://climate.nasa.gov/vital-signs/global-temperature/ (accessed on 29 June 2022).
  2. Climate Change: Europe’s Extreme Rains Made More Likely by Humans—BBC News. Available online: https://www.bbc.com/news/science-environment-58309900 (accessed on 29 June 2022).
  3. Las Imágenes Del Fuerte Impacto de la Sequía en Europa | Video. Available online: https://cnnespanol.cnn.com/video/impactantes-imagenes-sequia-europa-lago-perspectivas-buenos-aires/ (accessed on 15 May 2023).
  4. Los 11 Gráficos Que Demuestran Que Lo de la Energía Solar ES Imparable. Available online: https://www.xataka.com/energia/los-11-graficos-que-demuestran-que-lo-de-la-energia-solar-es-imparable (accessed on 29 June 2022).
  5. The Pros and Cons of Solar Energy|SunPower. Available online: https://us.sunpower.com/pros-and-cons-solar-energy (accessed on 29 June 2022).
  6. Mattavelli, P.; Rossetto, L.; Spiazzi, G.; Tenti, P. General-purpose fuzzy controller for DC-DC converters. IEEE Trans. Power Electron. 1997, 12, 79–86. [Google Scholar] [CrossRef]
  7. Rao, G.S.; Raghu, S.; Rajasekaran, N. Design of feedback controller for boost converter using optimization technique. Int. J. Power Electron. Drive Syst. 2013, 3, 117–128. [Google Scholar] [CrossRef]
  8. Ortiz-Castrillón, J.R.; Saldarriaga-Zuluaga, S.D.; Muñoz-Galeano, N.; López-Lezama, J.M.; Benavides-Córdoba, S.; Cano-Quintero, J.B. Optimal Sliding-Mode Control of Semi-Bridgeless Boost Converters Considering Power Factor Corrections. Energies 2023, 16, 6282. [Google Scholar] [CrossRef]
  9. Ullah, Q.; Busarello, T.D.C.; Brandao, D.I.; Simões, M.G. Design and Performance Evaluation of SMC-Based DC–DC Converters for Microgrid Applications. Energies 2023, 16, 4212. [Google Scholar] [CrossRef]
  10. Solaiman, H.M.; Hasan, M.M.; Mohammad, A.; Kawsar, S.R.; Hassan, M.A. Performance analysis of DC to DC boost converter using different control methods. In Proceedings of the 2015 IEEE International Conference on Electrical, Computer and Communication Technologies (ICECCT 2015), Coimbatore, India, 5–7 March 2015. [Google Scholar] [CrossRef]
  11. Revathy, R.; Kumar, N.S. Design and evaluation of robust controller for AC-to-DC Boost converter. In Proceedings of the 2011 International Conference on Computer, Communication and Electrical Technology (ICCCET 2011), Tirunelveli, India, 18–19 March 2011; pp. 405–410. [Google Scholar] [CrossRef]
  12. Ivanovic, Z.; Blanusa, B.; Knezic, M. Power loss model for efficiency improvement of boost converter. In Proceedings of the 2011 XXIII International Symposium on Information, Communication and Automation Technologies, Sarajevo, Bosnia and Herzegovina, 27–29 October 2011; pp. 1–6. [Google Scholar] [CrossRef]
  13. Babayomi, O.; Zhang, Z.; Dragicevic, T.; Hu, J.; Rodriguez, J. Smart grid evolution: Predictive control of distributed energy resources—A review. Int. J. Electr. Power Energy Syst. 2023, 147, 108812. [Google Scholar] [CrossRef]
  14. Shan, Y.; Hu, J.; Guerrero, J.M. A Model Predictive Power Control Method for PV and Energy Storage Systems with Voltage Support Capability. IEEE Trans. Smart Grid 2020, 11, 1018–1029. [Google Scholar] [CrossRef]
  15. Nazeri, M.N.R.; Tajuddin, M.F.N.; Babu, T.S.; Azmi, A.; Malvoni, M.; Kumar, N.M. Firefly Algorithm-Based Photovoltaic Array Reconfiguration for Maximum Power Extraction during Mismatch Conditions. Sustainability 2021, 13, 3206. [Google Scholar] [CrossRef]
  16. Das, D.; Madichetty, S.; Singh, B.; Mishra, S. Luenberger Observer Based Current Estimated Boost Converter for PV Maximum Power Extraction—A Current Sensorless Approach. IEEE J. Photovolt. 2019, 9, 278–286. [Google Scholar] [CrossRef]
  17. Mohammed, O.; Tahar, L.M.; Nora, L. Power Management and Control of a Grid-Connected PV/Battery Hybrid Renewable Energy System. Adv. Sci. Technol. Eng. Syst. J. 2022, 7, 32–52. [Google Scholar] [CrossRef]
  18. Behera, P.K.; Pattnaik, M. Design and Control of DC–DC Converters in a PV-Based LVDC Microgrid. In DC–DC Converters for Future Renewable Energy Systems. Energy Systems in Electrical Engineering; Priyadarshi, N., Bhoi, A.K., Bansal, R.C., Kalam, A., Eds.; Springer: Singapore, 2022; pp. 1–29. [Google Scholar] [CrossRef]
  19. Ragasudha, C.P.; Hemamalini, S. Performance Analysis of a High Gain Bidirectional DC-DC Converter Fed Drive for an Electric Vehicle With Battery Charging Capability During Braking. IEEE Access 2024, 12, 14499–14511. [Google Scholar] [CrossRef]
  20. Sanchez, G.E.; Rios, S.J. Digital Control and MBPC design for DC Voltage Regulation in a Grid-Connected PV Microgrid. In Proceedings of the 11th International Conference on Electromechanical and Energy Systems (SIELMEN 2021), Iasi, Romania, 6–8 October 2021; pp. 219–224. [Google Scholar] [CrossRef]
  21. Algamluoli, A.F.; Wu, X. A High-Efficiency DC-DC Converter Based on Series/Parallel Switched Inductor Capacitors for Ultra-High Voltage Gains. Appl. Sci. 2024, 14, 998. [Google Scholar] [CrossRef]
  22. Gorji, S.A.; Sahebi, H.G.; Ektesabi, M.; Rad, A.B. Topologies and Control Schemes of Bidirectional DC–DC Power Converters: An Overview. IEEE Access 2019, 7, 117997–118019. [Google Scholar] [CrossRef]
  23. Rabiaa, O.; Mouna, B.H.; Lassaad, S.; Aymen, F.; Aicha, A. Cascade Control Loop of DC-DC Boost Converter Using PI Controller. In Proceedings of the International Symposium on Advanced Electrical and Communication Technologies (ISAECT 2018), Rabat, Morocco, 21–23 November 2018. [Google Scholar] [CrossRef]
  24. Schwenzer, M.; Ay, M.; Bergs, T.; Abel, D. Review on model predictive control: An engineering perspective. Int. J. Adv. Manuf. Technol. 2021, 117, 1327–1349. [Google Scholar] [CrossRef]
  25. Vimala, R.; Marshell, M.J.; Kumar, D.S.; Lal, S.P. A Comprehensive Review on FPGA based PWM techniques for DC-DC converters. In Proceedings of the First International Conference on Computing, Communication and Control System, I3CAC 2021, Chennai, India, 7–8 June 2021. [Google Scholar] [CrossRef]
  26. Niu, R.; Zhang, H.; Song, J. Model Predictive Control of DC–DC Boost Converter Based on Generalized Proportional Integral Observer. Energies 2023, 16, 1245. [Google Scholar] [CrossRef]
  27. Drgoňa, J.; Arroyo, J.; Figueroa, I.C.; Blum, D.; Arendt, K.; Kim, D.; Ollé, E.P.; Oravec, J.; Wetter, M.; Vrabie, D.L.; et al. All you need to know about model predictive control for buildings. Annu. Rev. Control 2020, 50, 190–232. [Google Scholar] [CrossRef]
  28. Bélanger, J.; Lapointe, V.; Dufour, C. Bodo’s Power Systems ® Design and Simulation Bodo’S Power Systems ® 45 Content. 2014. Available online: www.bodospower.com (accessed on 12 July 2022).
  29. Almaguer, J.; Cárdenas, V.; Espinoza, J.; Aganza-Torres, A.; González, M. Performance and Control Strategy of Real-Time Simulation of a Three-Phase Solid-State Transformer. Appl. Sci. 2019, 9, 789. [Google Scholar] [CrossRef]
Figure 1. Some topologies for a 5 × 4 PV array: (a) SP, (b) BL, (c) HC, and (d) TCT.
Figure 1. Some topologies for a 5 × 4 PV array: (a) SP, (b) BL, (c) HC, and (d) TCT.
Electricity 05 00031 g001
Figure 2. MPP location in I-V and P-V curves at constant temperature.
Figure 2. MPP location in I-V and P-V curves at constant temperature.
Electricity 05 00031 g002
Figure 3. Boost converter power circuit: (a) typical, (b) On-state, and (c) Off-state.
Figure 3. Boost converter power circuit: (a) typical, (b) On-state, and (c) Off-state.
Electricity 05 00031 g003
Figure 4. PWM pulse generation comparing sawtooth carrier signal with control signal.
Figure 4. PWM pulse generation comparing sawtooth carrier signal with control signal.
Electricity 05 00031 g004
Figure 5. Some control techniques applied to a boost converter: (a) DVC, (b) digital cascade control, (c) cascade control with combined loops, and (d) MBPC cascade control.
Figure 5. Some control techniques applied to a boost converter: (a) DVC, (b) digital cascade control, (c) cascade control with combined loops, and (d) MBPC cascade control.
Electricity 05 00031 g005aElectricity 05 00031 g005b
Figure 6. Predictive control features: (a) function principle and (b) process scheme in a microgrid node.
Figure 6. Predictive control features: (a) function principle and (b) process scheme in a microgrid node.
Electricity 05 00031 g006
Figure 7. An example of tests with RT simulation equipment in ESPOL.
Figure 7. An example of tests with RT simulation equipment in ESPOL.
Electricity 05 00031 g007
Figure 8. Boost converter RT simulation diagram.
Figure 8. Boost converter RT simulation diagram.
Electricity 05 00031 g008
Figure 9. Boost converter output voltage versus duty cycle.
Figure 9. Boost converter output voltage versus duty cycle.
Electricity 05 00031 g009
Figure 10. Offline simulation result from output voltage and inductor current employing (a) digital PI + PI, (b) combined scheme, and (c) MBPC + MBPC.
Figure 10. Offline simulation result from output voltage and inductor current employing (a) digital PI + PI, (b) combined scheme, and (c) MBPC + MBPC.
Electricity 05 00031 g010
Figure 11. RT simulations result from output voltage and inductor current employing (a) digital PI + PI, (b) combined scheme, and (c) MBPC + MBPC.
Figure 11. RT simulations result from output voltage and inductor current employing (a) digital PI + PI, (b) combined scheme, and (c) MBPC + MBPC.
Electricity 05 00031 g011
Figure 12. SWOT analysis for the current work.
Figure 12. SWOT analysis for the current work.
Electricity 05 00031 g012
Table 1. Some control strategies applied to boost converters.
Table 1. Some control strategies applied to boost converters.
Controller TypeInput
Voltage (V)
Output
Voltage (V)
EfficiencyLoad (Ω)Stabilization Time (ms)
PD-Fuzzy logic [6]82593.6%10015
PD-Fuzzy logic [6]202596.44%10050
GA [7]122495.71%12027.6
BFOA [7]122495.71%12020.4
PSO [8]16.973096.52%11043
SMC [9]486095.18%2530
Fuzzy logic + SMC [10]11022099.35%49035
PID + Hysteresis [11]244896.99%100450
PID + SMC [11]244896.99%100450
Table 2. PV panel and array standard condition specifications.
Table 2. PV panel and array standard condition specifications.
ParameterDescriptionPV PanelPV Array
PMPPMPP power340 W16.66 kW
VMPPMPP voltage39.09 V273.63 V
IMPPMPP current8.7 A60.9 A
VOCOpen-circuit voltage46.94 V328.58 V
ISCShort-circuit current9.48 A66.36 A
Table 3. Parameters found in the boost converter.
Table 3. Parameters found in the boost converter.
ParameterDescriptionValue
VGInput voltage273.63 V
V0Output voltage370 V
D0Nominal duty cycle0.2605
LminMinimum inductance0.13 mH
LInductance1.3 mH
rLInductor series resistance0.1 μΩ
CminMinimum output capacitance570.77 μF
COutput capacitance1000 μF
rCOutput capacitance series resistance0.1 μΩ
CPVInput capacitance1000 μF
rCPVInput capacitance series resistance0.1 μΩ
RLoad resistance9.13 Ω
Table 4. Digital controllers’ parameters.
Table 4. Digital controllers’ parameters.
ParameterDescriptionFor iLFor V0
KPProportional gain0.0005510.204
KIIntegral gain0.31215.6
Table 5. Output voltage response specification data in offline simulations.
Table 5. Output voltage response specification data in offline simulations.
Parameter0 < t < 2 s2 s < t < 4 s4 s < t < 6 s
Digital PI + PI
OS5.61%1%0.98%
TSS62 ms51 ms74 ms
Combined scheme
OS6%0.97%0.85%
TSS23 ms20 ms28 ms
MBPC + MBPC
OS7.15%3.71%0.96%
TSS36 ms22.1 ms25.8 ms
Table 6. Output voltage and inductor current ripple and average data in offline simulations.
Table 6. Output voltage and inductor current ripple and average data in offline simulations.
ParameterDigital PI + PICombined SchemeMBPC + MBPC
V02.744 V3.509 V2.819 V
V0(avg.)369.759 V369.7185 V370.0255 V
iL12.9717 A13.1608 A12.6679 A
iL(avg.)54.6185 A55.36 A55.38125 A
Table 7. Output voltage response specification data in RT simulations.
Table 7. Output voltage response specification data in RT simulations.
Parameter0 < t < 2 s2 s < t < 4 s4 s < t < 6 s
Digital PI + PI
OS5.44%0.98%0.95%
TSS62.5 ms52 ms76 ms
Combined scheme
OS5.8%1.01%0.87%
TSS72 ms15 ms27.6 ms
MBPC + MBPC
OS6.84%3.65%0.72%
TSS26 ms20.8 ms25.2 ms
Table 8. Output voltage and inductor current ripple and average data in RT simulations.
Table 8. Output voltage and inductor current ripple and average data in RT simulations.
ParameterDigital PI + PICombined SchemeMBPC + MBPC
V05.662 V4.204 V4.001 V
V0(avg.)370.455 V369.786 V370.0945 V
iL14.7024 A18.416 A17.7422 A
iL(avg.)55.8731 A55.5625 A55.8936 A
Table 9. Comparison between current work and related works.
Table 9. Comparison between current work and related works.
ReferencePV FeedDC-DC Converter DesignOffline ValidationExp.
Validation
ηTSS (ms)Min. OS
PD-Fuzzy logic#1 [6] 93.6%157%
PD-Fuzzy logic#2 [6] 96.44%507%
GA [7] 95.71%27.620.92%
BFOA [7] 95.71%20.423.38%
PSO [8] 96.52%43-
SMC [9] 95.18%30-
Fuzzy logic + SMC [10] 99.35%354.5%
PID + Hysteresis [11] 96.99%4504%
PID + SMC [11] 96.99%450-
Current work95.69%151.01%
Table 10. Relative error data between offline and RT simulations for output voltage response parameters.
Table 10. Relative error data between offline and RT simulations for output voltage response parameters.
Parameter0 < t < 2 s2 s < t < 4 s4 s < t < 6 s
Digital PI + PI
OS3.13%2.04%3.16%
TSS0.80%1.92%2.63%
Combined scheme
OS3.45%3.96%2.30%
TSS68.06%33.33%1.45%
MBPC + MBPC
OS4.53%1.64%33.33%
TSS38.46%6.25%2.38%
Table 11. Relative error data between offline and RT simulations for ripples and average data.
Table 11. Relative error data between offline and RT simulations for ripples and average data.
ParameterDigital PI + PICombined SchemeMBPC + MBPC
V051.54%16.53%29.54%
V0(avg.)0.19%0.02%0.02%
iL11.77%28.54%28.60%
iL(avg.)2.25%0.36%0.92%
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

Ríos, S.J.; Sánchez G., E.; Intriago, A.; Falcones, S. Harnessing Field-Programmable Gate Array-Based Simulation for Enhanced Predictive Control for Voltage Regulation in a DC-DC Boost Converter. Electricity 2024, 5, 622-641. https://doi.org/10.3390/electricity5030031

AMA Style

Ríos SJ, Sánchez G. E, Intriago A, Falcones S. Harnessing Field-Programmable Gate Array-Based Simulation for Enhanced Predictive Control for Voltage Regulation in a DC-DC Boost Converter. Electricity. 2024; 5(3):622-641. https://doi.org/10.3390/electricity5030031

Chicago/Turabian Style

Ríos, Sara J., Elio Sánchez G., Andrés Intriago, and Síxifo Falcones. 2024. "Harnessing Field-Programmable Gate Array-Based Simulation for Enhanced Predictive Control for Voltage Regulation in a DC-DC Boost Converter" Electricity 5, no. 3: 622-641. https://doi.org/10.3390/electricity5030031

APA Style

Ríos, S. J., Sánchez G., E., Intriago, A., & Falcones, S. (2024). Harnessing Field-Programmable Gate Array-Based Simulation for Enhanced Predictive Control for Voltage Regulation in a DC-DC Boost Converter. Electricity, 5(3), 622-641. https://doi.org/10.3390/electricity5030031

Article Metrics

Back to TopTop