Next Article in Journal
Collaborative Planning of Community Charging Facilities and Distribution Networks
Previous Article in Journal
Temperature Field Calculation of the Hybrid Heat Pipe Cooled Permanent Magnet Synchronous Motor for Electric Vehicles Based on Equivalent Thermal Network Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Experimental Design of an Adaptive LQG Controller for Battery Charger/Dischargers Featuring Low Computational Requirements

1
Escuela de Ingeniería Eléctrica y Electrónica, Universidad del Valle, Cali 760042, Colombia
2
Facultad de Minas, Universidad Nacional de Colombia, Medellin 050041, Colombia
3
Departamento de Electrónica y Telecomunicaciones, Instituto Tecnológico Metropolitano, Medellin 050013, Colombia
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2023, 14(6), 142; https://doi.org/10.3390/wevj14060142
Submission received: 29 April 2023 / Revised: 25 May 2023 / Accepted: 26 May 2023 / Published: 28 May 2023
(This article belongs to the Topic Power Converters)

Abstract

:
The growing use of DC/DC power converters has resulted in the requirement that their complex controllers be cheaper and smaller, thus using cost-effective implementations. For this purpose, it is necessary to decrease the computational burden in controller implementation to minimize the hardware requirements. This manuscript presents two methods for tuning an adaptive linear–quadratic–Gaussian voltage controller for a battery charger/discharger, implemented with a Sepic/Zeta converter, to work at any operating point. The first method is based on a lookup table to select, using the nearest method, both the state feedback vector and the observer gain vector, solving the Riccati’s differential equation offline for each practical operating point. The second method defines a polynomial function for each controller element that is based on the previous data corresponding to the system operating points. The adaptability of the two controllers to fixed voltage regulation and reference tracking was validated using simulations and experimental tests. The overshoot and settling time results were lower than 11% and 3.7 ms, which are in the same orders of magnitude of a control approach in which the equations are solved online. Likewise, three indices were evaluated: central processing unit capacity, cost, and performance. This evaluation confirms that the controller based on polynomial interpolation is the best option of the two examined methods due to the satisfactory balance between dynamic performance and cost. Despite the advantages of the controllers in being based on a lookup table and polynomial interpolation, the adaptive linear–quadratic–Gaussian has the benefit of not requiring an offline training campaign; however, the cost saving obtained with the lookup table controllers and polynomial interpolation controllers, due to the possible implementation on small-size microcontrollers with development tool simple and easy maintenance, will surely be desirable for a large number of deployed units, ensuring that those solutions are highly cost-effective.

1. Introduction

Power processing is the most critical activity in electric and electronic systems, and one device most used for this purpose is the DC/DC power converter. Power converters are used to drive DC sources, storage devices, and loads. Moreover, power converters require a controller for safely performing power processing tasks. Due to the wide range of controllers reported in the literature, evaluating functional and non-functional characteristics to choose the most suitable one for an industrial system is of significant relevance [1].
It is crucial to have performance criteria for controllers because they provide an objective way to assess the quality of their work. The evaluation criteria for DC/DC power converter controllers include factors such as precision of voltage regulation, system stability, efficiency, load-carrying capacity, and dynamic response [2,3,4,5]. They can also have advanced features such as overcurrent and overvoltage protection to ensure safe and reliable system operation. Moreover, some non-functional characteristics such as size, cost, and computational burden should be considered.
The viability of implementing a solution in control theory is a problem that can be solved if an algorithm with moderate computational requirements exists [6]. The moderate computational requirements mean that the computational resources (fundamentally processor and memory) that need to solve the problem are within the acceptable costs. Being inside these limits facilitates implementation and helps in reaching the system performance specifications [7]. The acronyms used here are summarized in Table 1.
The high complexity of the current systems requires the development of advanced control strategies to achieve the performance demanded by the application. These control strategies, in turn, require devices with high power processing, thus raising energy consumption and increasing the heat dissipation and costs. In order to develop cheaper solutions, with small and efficient implementations, it is necessary to reduce the computational burden of the control strategies without significantly impacting the response accuracy; for this, it is useful to simplify the models to reduce the number of differential equations, replace some dynamic equations with lookup tables, linearize some nonlinear relations, or eliminate redundant calculations. In the particular case of power converter control, strategies frequently used, apart from classical proportional–integral–derivative (PID) topologies, are model predictive control (MPC), robust control, and adaptive control, whose implementations are generally complex and produce a significant computational burden. Some works found in reviews of the state of the art implement those controllers, but there are few reported attempts to reduce the computational burden.
For example, in [8], the computational burden of a conventional finite control set MPC applied to a T-type 3P-3L (three-phase three-level) converter is reduced by implementing three improvements: a better optimization method to determine the vector for current tracking without vector enumeration; an algorithm for capacitor charge balance with the aim of obtaining the vector for neutral point potential balance, thus eliminating weight factor; and, finally, introducing a hybrid vector output mode to give full consideration to current tracking and neutral point potential balance. With these changes in the algorithm, it an improvement factor of 1.6 was achieved in the execution time of the implementation with C-language on the DSP TMS320F28335. However, although the system performance is improved in the solution, the complexity and processor requirements are high. In [9], the authors implemented a finite control set MPC variant, named fast MPC, applied to a multilevel inverter in a photovoltaic system. In this work, the change in the algorithm avoids testing all possible states of the multilevel converter and evaluate a cost function, reducing the six-factor computation time without effecting the dynamic response (the controller was implemented on a TMS320F28335 DSP). However, the finite control set MPC proposed in that work still executes complex operations, such as Lagrange extrapolation, that still overload the processor.
A method that has recently had a huge boom is deterministic artificial intelligence, which has shown tremendous improvement of performance in systems control compared to nonlinear adaptive methods. For example, some works present the control of the DC motor or the actuator of an unmanned underwater vehicle, where it is evident that the performance improvements are not due to the coefficient estimation but to the modeling methods [10] and the discretization [11,12,13,14]. This is why the deterministic artificial intelligence method is highly recommended for applications that require high levels of accuracy, consistency, and precision, such as in power electronics, although in the reviewed works, the controller does not directly control the DC motor driver, namely the power converter. However, these works do not report performance metrics related to computational burden.
A sliding mode controller that requires a processor with high performance is presented in [15]. The strategy consists of an adaptive-gain/super twisting sliding mode controller applied to two electro-pneumatic actuators, which is a slow system. This work does not evaluate the computational complexity; however, it requires a DS1104 board from DSpace to implement the control law, which is a costly device. Other works show some practical applications utilizing bidirectional buck–boost converters: a high-gain sliding controller in a supercapacitor in [16], a sliding-mode controller of the electro-mechanical actuator current of an aircraft powered by a supercapacitor in [17], and in [18,19,20,21,22,23], a current sliding-mode controller accompanied by supervisory control that carries the charge state of the battery, its charge/discharge current, the regulation of the high-voltage side, or maximizes generator current. These works highlight the advantages of these nonlinear controllers, but they do not feature their requirements for hardware, lower [19] when implemented using an M4 processor, nor their computational burden.
A methodology for combined design of controllers, both adaptive and linear quadratic regulator (LQR), is presented in [24]. The adaptive controller portion deals with the unknown dynamics of the plant. At the same time, the LQR control, based on a Kalman filter, is used to minimize the effects of the external disturbances. Unfortunately, this work only shows simulations without experimental validation, and there are neither simplifications nor strategies that could decrease the computational burden. Similarly, proposed in [25] is a combination of adaptive and LQR control for a grid-connected inverter. The current control is frequency-adaptive, while the optimal LQR selects desirable gains for the full-state feedback controller and full-state observer. However, the computational burden of the implementation is high, requiring a DSP TMS320F28335 with a sampling period of 100 μ s, which is after decreasing the computational requirements by designing a discrete-time observer in the stationary reference frame.
A useful strategy to significantly reduce the computational burden is to perform any optimization process offline; this is, for example, defining the controller adjustments in several operation points before the dynamic behavior takes it there. Therefore, when the system evolves to one of those operations points, the controller parameters must be selected from a table and not dynamically calculated. This solution is reported in some practical cases. For example, the use of a lookup table for power converter control is reported in [26]; this work proposes two new lookup table methods for a three-level AC/DC converter supplied from the grid. The first method improves the nonlinear direct power control by rotating the orientation of the coordinates; the second method is an improvement of the first in which a new optimal division of the current error plane is introduced, which allows for better voltage vector assignment. Another example is reported in [27], which proposes a direct power control strategy using a switching table that can simultaneously control both active and reactive power in an electrical grid. It uses an extended p-q theory better suited for unbalanced grid voltages than the original p-q theory. The extended p-q theory is combined with voltage-oriented control to mitigate the influence of grid voltage unbalances. Nevertheless, the disadvantages of direct power control are evident: small scalability, requirement for high synchronization, does not work well with interference, and limited range [28,29].
Adaptive lookup table-based variable on-time control is proposed in [30] for critical mode boost power factor corrector converters, which combines the advantages of both the conventional lookup table method and the real-time calculation method. The paper realizes the adaptability of proposed control within the universal AC input, and the entire load range through a simple linear calculation. Furthermore, the proposed controller reduces the required memory space for variable on-time tables and significantly shortens the computation time, leading to low system cost.
In general, the parameters of PID controllers for nonlinear industrial systems are dynamically tuned using lookup tables. A method based on a cost function to tune the lookup table parameters used in gain-scheduled PID control is proposed in [31], where the L2 norm is adopted to prevent overlearning. This strategy allows the controller to work at any operation point.
Presented in [32] is a lookup table of maximun power point tracking (MPPT) algorithm for boost converters in photovoltaic systems, which has lower accuracy than a perturbed and observer (P&O) algorithm but a better response to sudden changes in temperature or irradiance. Instead, the works reported in [33,34] describe a digital PID for regulating the voltage on class E buck–boost converter and buck converter, respectively. The compensator is based on a lookup table and implemented with multi-phase digital pulsewidth modulation.
Lookup tables are also used in MPC implementations. For example, ref. [35] proposes an offline optimization and online lookup table for a two-layer model predictive control to reduce the computational burden. The work examines the properties of computation complexity, steady-state operation, and robustness of the proposed strategy through detailed simulations.
Although the works reported in [26,27,28,29,30,31,32,33,34,35] use controllers based on a lookup table, none is applied on an adaptive LQR controller nor for a Sepic/Zeta converter-like charger/discharger battery.
A longitudinal movement/optimal controller for heavy-duty vehicles is solved offline in [36] using a mixed integer quadratic program. Then, if the position is known, those trajectories can be used as lookup tables to find the reference for both velocity and freewheeling. However, this solution does not directly act on the actuators in the vehicle, limiting its accuracy. Another work that does not involve the actuator was reported [37], in which an adaptive lookup table algorithm is introduced that can accurately and automatically update the static table of an air compressor system. The algorithm has better dynamic performance, such as shorter regulating time and lower overshoot in comparison with the traditional control method (PI + static feedforward strategy).
Presented in this paper are similar strategies to reduce the computational burden of complex controllers applied to battery charger/dischargers. In particular, this works focuses on the battery charger/discharger discussed in [38], which is based on a Sepic/Zeta converter interfacing a battery with the DC bus of a microgrid. The implementation consists of a linear–quadratic–Gaussian (LQG) controller designed to adapt to any operation, with the aim of regulating the DC bus voltage to ensure safe microgrid operation. This controller uses an adaptive law to adjust the controller parameters depending on the operating point; it also requires a full-state observer to reduce the number of sensors, thus reducing the cost. The implementation reported in [38] has a high computational burden due to the online calculation of both the adaptive part and the observer in which a DSP TMS320F28379D is required for experimental deployment.
Therefore, this work proposes using an offline process to calculate the adaptive controller described in [38], thus preserving the required operation range. Two methods were designed to calculate the state matrix, calculate the input matrix, and to solve the Ricatti differential equations: the lookup table method and the polynomial interpolation method. The first method requires calculating the matrices, solving the Ricatti equation once for each operating point, and storing the controller parameters in a lookup table. The second method defines a polynomial function representing the changes in the state feedback vector and the observer gain vector. The polynomial degree is defined to achieve a significantly small root mean square error. Both solutions are evaluated using numerical metrics, circuital simulations, and experimental implementations. Moreover, the performance/cost balance is also analyzed and contrasted with the original implementation reported in [38], which provides a selection guide depending on the charger/discharger requirements in terms of dynamic performance and implementation cost.
This manuscript is divided into five parts: Section 2 presents the power stage and the mathematical model; Section 3 presents the design of the adaptive LQG voltage controller, describing the controller processing using both the lookup table and the polynomial interpolation methods. Section 4 presents a design example and simulation results, and Section 5 reports the experimental validation, comparison, and discussion of the two solutions. Finally, the conclusions of the work are reported in Section 6.

2. Modeling of the Power Stage

The battery charger/discharger based on a bidirectional Sepic/Zeta converter is shown in Figure 1. This charger/discharger circuit is discussed in [38], where deep circuit and mathematical analyses are provided. The variables used for the circuit analysis are summarized in Table 2.
In this circuit, the main objective is to regulate the output voltage v d c , which corresponds to the voltage at the DC bus of a microgrid. In this way, the charger/discharger ensures the safe operation of all the devices connected to the DC bus.
For realistic purposes, the parasitic resistances in both the MOSFETs and inductors are considered for the analysis. A control-oriented model for this charger/discharger circuit is provided in [38]. In summary, the modeling procedure consists of obtaining the differential equations for the inductor currents and capacitor voltages, which are extracted from circuital analyses (charge and volt-second balances). Such a process is performed when the MOSFET control signal has ON ( u = 1 ) and OFF ( u = 0 ) states; then, those equations are combined using the control signal u to obtain the following switched model:
d i L 1 d t = ( v b ( i L 1 + i L 2 ) · R o n 1 ) · u + ( v c i ( i L 1 + i L 2 ) · R o n 2 ) · u ¯ i L 1 · R L 1 L 1
d i L 2 d t = ( v c i ( i L 1 + i L 2 ) · R o n 1 + v b ) · u ( i L 1 + i L 2 ) · R o n 2 u ¯ v d c i L 2 · R L 2 L 2
d v c i d t = i L 1 · u ¯ i L 2 · u C i
d v d c d t = i L 2 i o C d c
It is difficult to use the previous switched model in the design of continuous controllers. Therefore, such a discontinuous model is averaged within the switching period T s w , which is performed by replacing the binary control signal u by the continuous duty cycle d. Moreover, for the sake of simplicity, the ON resistances of the MOSFETs are considered equal ( R o n 1 = R o n 2 = R o n ). The resulting averaged model is nonlinear; thus, it is described in terms of small-signal variables in state space representations, which will be used to design the controller. Applying the previous procedure leads to the small-signal model given in (5) and (6), where A m (state matrix), B m (input matrix), and C m (output matrix) must be evaluated in the desired operating point. The quantities x ˜ , y ˜ , and d ˜ are the small-signal changes in the state vector, output, and duty cycle, respectively. Finally, the state vector variables are x ˜ 1 = i ˜ L 1 , x ˜ 2 = i ˜ L 2 , x ˜ 3 = v ˜ c i and x ˜ 4 = v ˜ d c .
x ˜ ˙ = R o n + R L 1 L 1 R o n L 1 ( 1 d e ) L 1 0 R o n L 2 R o n + R L 2 L 2 d e L 2 1 L 2 ( 1 d e ) C i d e C i 0 0 0 1 C d c 0 0 A m · x ˜ + v b + v c i e L 1 v b + v c i e L 2 i L 1 e i L 2 e C i 0 B m · d ˜
y ˜ = 0 0 0 1 C m · x ˜
The previous small-signal model is used in the following section to design the controller, aimed at regulating the DC bus voltage in a microgrid.

3. Adaptive LQG Voltage Controller

The controller aims to regulate the DC bus voltage under any operation condition, which are battery charge and discharge and standby modes. Moreover, the control system must remain stable over the entire operating range, and this means for different relations among battery and DC bus voltages. To achieve this performance, a linear–quadratic–Gaussian (LQG) controller with adaptive parameters is proposed. The LQG consists of three fundamental blocks: a linear quadratic integral (LQI) to regulate the DC bus, an optimal state observer to estimate the system states, and a dynamic process to determine the LQG parameters according to the operating point. Two methods are proposed to calculate the parameters values of controller in any operating condition: lookup table and polynomial interpolation.

3.1. LQI Controller Design

The regulation of the DC bus is defined as an optimal control problem, and its analytical design procedure was developed in [38]. In short, the quadratic cost function given in (7) is defined, which is solved using the linear quadratic regulator (LQR) approach [39], and an integrator is added to eliminate the steady-state error.
J = 0 t f 1 2 · ( z ˜ T Q z + r d ˜ 2 ) · d t
In Equation (7) r is a positive scalar value, Q is 5 × 5 positive matrix, and z ˜ is the extended state vector resulting from the inclusion of the error integral, named x ˜ i . The state feedback law is defined in (8), where K x is a gain vector that multiplies the states x ˜ , and K i is a scalar that multiplies x ˜ i . Then, the extended system is defined as reported in (9).
d ˜ = K · z ˜ = K x K i · x ˜ x ˜ i
z ˜ ˙ = x ˜ ˙ x ˜ ˙ i = A m 0 C m 0 A w · x ˜ x ˜ i z ˜ + B m 0 B w · d ˜
The optimization problem is solved using the Hamiltonian matrix, the equation of states and co-states, and the stable state values, all of which are described in [38]. In such a procedure, the optimal value of d ˜ is calculated as given in (10).
d ˜ = r 1 · B w T · S m · z ˜
Then, K is defined as (11); to perform the calculation of K, the S m matrix must be solved from the Riccati differential equation reported in (12).
K = r 1 · B w T · S m
Q + A w T · S m + S m · A w S m · B w · r 1 · B w T · S m + S ˙ m = 0
Finally, this problem is formulated as an optimal regulator of infinite time, hence S m corresponds to the steady-state solution of (12).

3.2. State Observer

In order to reduce the number of sensors required in the state feedback control system, the observer described by (13) and (14) is used. The design of the observer considers the linear model of the system (5) and (6) and the state feedback control law (8) [40]. The outputs of the observer are the estimated states x ^ , and the inputs of the observer are y and d, which correspond to the measured DC bus voltage v d c and the duty cycle, respectively.
x ^ ˙ = ( A m + · C m ) · x ^ + B m · d · y
y ^ = C m · x ^
The observer gain is calculated using an optimization process, which guarantees the convergence of the estimated states to the real values. The calculation of , given in (15), requires solving the Riccati differential equation reported in (16). In such an expression, S o corresponds to the optimal error covariance matrix of the state observer, and γ is a scalar used to adjust the convergence speed of the observer states as explained in [41].
= S o · C m T · γ
A m · S o + S o · A m T S o · C m T · γ 1 · C m · S o + B m · B m T + S o ˙ = 0

3.3. Adaptive Parameters of the LQG Controller

In this section, two adaptive methods to adjust the control parameters under any operating condition are proposed. Unlike the approach presented in [38], which consists of online iterative calculation of the parameters, in this work the parameters are selected from a lookup table or calculated using polynomial interpolation. Since the parameters are calculated offline, both proposed methods require lower computational resources than the method presented in [38], as no online solutions of matrix differential equations are needed.

3.3.1. Adaptive Lookup Table Method

This method consists of calculating both the state feedback vector and the observer gain vector, solving the Riccati’s differential equation offline for each practical operating point ( v d c _ r e f and v b combinations). Subsequently, the controller parameters are stored in a lookup table to be inserted into the implementation device. The selection of the parameters from the lookup table consists of searching the closest value (nearest method) according to the measurements of both the bus reference v d c _ r e f and the battery voltage v b .

3.3.2. Adaptive Polynomial Interpolation Method

This method consists of defining a polynomial function that represents the variation of each element of both the state feedback and the observer gain vectors, being in agreement with the operating point. This polynomial interpolation is performed using the data calculated in the lookup table method. The order of the polynomial functions is defined in such a way that the root mean square error (RMSE) is significantly small. As a result, after calculating the value of the polynomial coefficients, functions depending on v b and v d c _ r e f are obtained for each adaptive parameter, which are subsequently implemented in a control device.

3.4. Structure of the Adaptive LQG Voltage Controller

The control scheme is shown in Figure 2, where the adaptive tuning block provides the matrices of the LGQ controller ( A m , B m ), the observer gain (), and the control parameters ( K x ), all according to the operating point ( v d c _ r e f , v b ). Then, the LQG controller uses those parameters to calculate the optimal duty cycle d in real time.

4. Design Example and Simulation Results

This section carries out a design example, applying the proposed strategies to reduce the computational burden of adaptive controller implementation and verifying those solutions using detailed circuital simulations. The application example considers a power converter of 26 W, a switching frequency of 40 kHz, and battery and DC bus voltages between 10 and 26 volts. The application also requires a minimum efficiency of 90 % , a maximum ripple of 20 % on the inductor currents, and a maximum bus voltage ripple of 1 % . The converter parameters to achieve those requirements are inductors ( L 1 , L 2 ) of 680 μ H and capacitors ( C i , C d c ) of 330 μ F . Those values are the same ones calculated in the design procedure reported in [38], with the objective of performing a comparison under the same operating conditions.

4.1. Calculation of Controller Parameters

The values of the matrices A m and B m of the observer are computed offline using Equation (5) of the state space system. The controller parameters K and are also calculated offline for both the lookup table and polynomial interpolation methods.

4.1.1. Adaptive Lookup Table

To generate the data for the lookup table, the controller parameters were obtained by varying the battery voltage and the DC bus voltage inside the established operating range. This calculation was performed using the LQR function of the Control System toolbox package from Matlab, and the controller parameters were calculated by varying v b and v d c _ r e f every 2 V. The adopted search algorithm is nearest, which returns the value of the table corresponding to the closest data according to the combination of the inputs ( v b , v d c _ r e f ). The data obtained for this method are reported in Appendix A.

4.1.2. Adaptive Polynomial Interpolation

To establish the polynomial functions that represent the variation of the state feedback vector, polynomial interpolation was performed using the data generated in the lookup table method. Therefore, for each element of the vector, a function of the voltages v b and v d c _ r e f is generated. This process was conducted with the Curve Fitter tool from Matlab, which calculates the coefficients according to the polynomial degree selected for the inputs. In this application, the linear least squares method was selected to calculate those coefficients. Moreover, the results show that a fourth order polynomial for the state feedback vector and a third order polynomial for the observer gain vector were sufficient in such a way that a maximum RMSE equal to 0.026 was obtained. This means that the resulting polynomial functions represent the state feedback vector in the operation range with satisfactory accuracy.
Figure 3 shows an example of the polynomial fit for the third element of the state feedback vector ( K 3 ). It is evident that the resulting surface adequately represents the set of points generated for all the combinations of v b and v d c _ r e f in the defined range.
The previous procedure is also executed to calculate the coefficients of the polynomial functions related to the observer gain vector. Figure 4 shows the polynomial fit for the third element of the observer gain vector ( 3 ) as an example, obtaining a surface that adequately represents the variation of this observer parameter. Finally, the polynomials and coefficients for this method are reported in Appendix A.

4.2. Simulations Results

The charger/discharger and control system performance in the regulation of the DC bus voltage is tested using circuital simulations. The tests are conducted at multiple operating points within the defined operating range. The simulations were executed in Simulink® from Matlab® using the Simscape™ Electrical™ toolbox [42]. The adaptive parameter methods were implemented using a three-dimensional lookup table (first method), and using Matlab® functions for the polynomial interpolation (second method). The simulations evaluate the solution performance in two scenarios: voltage regulation for a fixed reference value, which is the most common application; and reference tracking, which introduces a strong perturbation to test the system stability.

4.2.1. Bus Voltage Regulation for a Fixed Reference Value

This is the most common operation of any microgrid (fixed DC bus voltage), where the disturbances in the bus are generated by changes in the current (and power) profiles of both the loads and sources connected to the bus. Therefore, the simulations consider a current profile imposing the different modes of operation to the batteries, including charging, discharging, and standby. In addition, the tests are conducted with one and two batteries connected in series to test the scalability of the solution.
The first tests are carried out using the adaptive adjustment method based on the lookup table. Figure 5, Figure 6 and Figure 7 show the performance of the lookup table solution considering a 12 V battery. Those simulation consider step changes in bus current every 50 ms: first, it starts in standby mode ( i o = 0 A), then switches to discharge mode ( i o > 0 A), followed by switching to charge mode ( i o < 0 A), and finally returning to standby mode. The simulations confirm that the adaptive LQG with lookup table provides the desired performance, in terms of voltage regulation, under any battery operating condition. Similarly, such results also illustrate the bus voltage stability in any operation condition. Moreover, the tests also evaluate the solution under different ratios between the batteries and the DC bus voltages (buck, boost, unitary gain), where satisfactory (and stable) performance is also evident. Finally, the lookup table solution does not saturate the duty cycle, thus ensuring the correct operation of system.
In order to test the adaptability of the controller to large changes in battery voltage, the tests are repeated considering two batteries connected in series, thus v b = 24 V. In this case, to validate the buck, boost, and unity gain modes, the bus voltage references are set to 20 V, 24 V, and 26 V. The results of the simulations are shown in Figure 8, Figure 9 and Figure 10, where satisfactory DC bus voltage regulation is achieved. In this way, the adaptability of the controller is verified under any condition, and it can thus be used in applications with different numbers of batteries as long as the voltage of the batteries is considered for the lookup table calculation. Therefore, it is useful to perform such a lookup table calculation for the rated limits of the power converter.
The same tests are performed for the adaptive parameter method based on polynomial interpolation. The tests are carried out with one and two batteries connected in series and testing the different modes of the converter. The simulation results are reported in Figure 11 (buck mode), Figure 12 (unitary gain mode) and Figure 13 (boost mode) for a single battery ( v b = 12 V) and in Figure 14 (buck mode), Figure 15 (unitary gain mode), and Figure 16 (boost mode) for two series-connected batteries ( v b = 24 V).
The tests of the adaptive controller with polynomial interpolation also show satisfactory voltage regulation in response to perturbations in the DC bus current in all the different modes of both the converter and battery. Hence, there are no significant differences in the transient behavior in contrast with the Lookup table method. Nevertheless, the choice of the method may be due to the limitations of the hardware to be implemented, since the lookup table method consumes more memory, but the polynomial interpolation method consumes more mathematical operations.
Table 3 summarizes the dynamic performance results of the tests in Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15 and Figure 16. In addition, the table also reports the results of the online adaptive method reported in [38], which enables a fair comparison since all the simulations are conducted in the same operation conditions: the results show that the online solution exhibits a maximum overshoot of 9.7 % and settling times under 10 ms in all cases, while the maximum overshoot is 10.9 % and the settling times are under 10 ms for the offline adaptive LQG methods; hence, all the solutions fulfill the design requirements. It is noted that the online adaptive LQG method provides lower overshoot in the tests at v b = 12 V in comparison with the offline methods, and there is also a longer settling time. This is caused by small tolerances in the controller parameters obtained with the offline adaptive methods; thus, an error in the settling time is expected. However, the offline methods provide a close performance in terms of both overshoot and settling time and, hence, the lookup table and polynomial interpolation methods are suitable for practical (experimental) applications.
On the other hand, mean error and relative standard deviation percentages of the DC voltage of the tests in Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14, Figure 15 and Figure 16 are presented in Table 4. It is observed that the lowest error is obtained by the polynomial interpolation method at reference DC voltage of 16 V. Moreover, the mean percentage error of polynominal interpolation is lower than those of lookup table method for all tested cases. In terms of relative standard deviation, the two proposed methods present similar values, which means that a low number of points of the dynamic voltage response deviate from the desired value.

4.2.2. Reference Tracking

To evaluate the tracking of the bus voltage references and thereby evaluate the robustness of the solutions to large changes in the bus voltage value, changes were made at a rate of 60 V/s regarding the battery voltage. First, the system starts in discharge mode with a bus voltage higher than the battery voltage, then the reference is changed to a voltage lower than the battery voltage, then returning back to the initial voltage. At 35 ms, the DC bus current is switched from 1 A to 1 A, which forces switching between the discharge and charge modes of the batteries. Finally, the test conditions are repeated to test the reference tracking in both charge and discharge modes, and in both boost and bock modes.
Figure 17 shows the simulation results for the lookup table method considering a singe battery and a reference profile changing between v d c = 16 V and v d c = 10 V. The tests show adequate tracking of the reference in all the conditions; however, unexpected small transients occur when the reference changes. This is caused by the sudden changes in the controller parameters when the operating point changes significantly; this is a consequence of the discretization introduced by the nearest method.
Next, the behavior of the lookup table solution is evaluated with the connection of two batteries in series, and in this case the voltage references changes between v d c = 20 V and v d c = 26 V. The results, reported in Figure 18, confirm that the controller ensures satisfactory tracking of the reference at any condition, but there are unexpected transients in the ramp zones, thus exhibiting the same discretization observed in the previous test, i.e., of a single battery.
The next two simulations evaluate the performance of the adaptive method based on the polynomial interpolation. Figure 19 and Figure 20 show the results for one and two batteries, respectively, where the polynomial interpolation method provides correct tracking of the reference in the different operation conditions. It is observed that, for this method, there are no unexpected transients in the ramp zones. This is achieved since the adaptive adjustment of the parameters correspond to non-discontinuous functions, unlike the lookup table method.
The tests performed on both offline adaptive methods, and reported in Figure 17, Figure 18, Figure 19 and Figure 20, confirm the correct reference tracking under changes in the operating conditions. Finally, the following section validates the previous simulation results using an experimental prototype.

5. Experimental Validation

This section reports validations of the previous simulations using an experimental prototype of the Sepic/Zeta charger/discharger and adaptive control systems.

5.1. Experimental Implementation

The experimental scheme used to validate the proposed offline solutions is reported in Figure 21. The system includes one or two commercial batteries (12 V or 24 V), the Sepic/Zeta bidirectional converter, and a DC bus emulator constructed with a DC electronic load and electronic power supply, emulating the loads and sources connected to the microgrid bus, respectively. The battery and DC bus voltages are measured with LV25P sensors and signal conditioning circuits. The control card Delfino TMS320F28379D is used to implement the control system and adaptive method. It is worth noting that the control card uses an internal analog-to-digital converter (ADC) to digitize the measurements, and it uses an internal PWM module to produce the control signal for the MOSFETS drivers.
The experimental implementation of both the adaptive controller and charger/discharger is shown in Figure 22, where the Sepic/Zeta converter, sensors, and control card are highlighted. Figure 23 shows the complete experimental test bench, which also exhibits the commercial batteries and the practical implementation of the DC bus emulator.

5.2. Experimental Validation of the Bus Voltage Regulation

The same test conditions adopted for the simulations are implemented in this experimental validation. Thus, the DC bus current profile includes increments and decrements and shifts between charge, discharge, and standby modes. Figure 24a,b show the performance of the adaptive LQG with both the lookup table and polynomial interpolation methods. In this experiment, the bus voltage is regulated at 10 V (buck mode) for the charging, discharging, and standby modes of the battery. These experiments demonstrate the correct operation of the two offline parameter adjustment methods in terms of regulation, and no appreciable differences are observed between them in terms of their performance.
The previous tests were executed with bus voltages equal to 12 V (unitary gain mode) and 16 V (boost mode). The experimental data, reported in Figure 25 and Figure 26 for both offline methods, confirm the adequate performance under different operation conditions of the DC bus current (green trace) and for both unitary gain and boost modes.
In the same way, Figure 27, Figure 28 and Figure 29 report a good performance in terms of DC bus regulation at 20 V (buck mode), 24 V (unitary gain mode) and 26 V (boost mode), respectively, considering two series-connected commercial batteries ( v b = 24 V). Therefore, the robustness of both offline methods is confirmed for large changes in the battery voltage.
In general, in the experimental data concerning DC bus voltage regulation, both offline adaptation methods exhibit correct performance under charge, discharge, and standby conditions under different voltage conversion ratios (buck, boost, and unitary gain modes). In addition, the voltage variation of the battery pack enable the stability of both solutions at different operating points to be confirmed.
Table 5 summarizes the performance criteria (overshoot and settling time) obtained with the proposed adaptive offline methods. For comparative purposes, the adaptive online LQG approach presented in [38] was also implemented and experimentally tested, and its performance criteria are included in Table 5. The results with a single battery ( v b = 12 V) show that the adaptive online LQG exhibits lower overshoot and shorter stabilization time than the offline methods. However, in the test considering two batteries connected in series ( v b = 24 V), the proposed offline methods provide better dynamic performance, except for the lookup table method in standby mode. Those experiments confirm that the proposed offline methods are a suitable option to adapt the LQG parameters in practical application, since the difference with the online option is small.

5.3. Experimental Validation of Reference Tracking

Several experiments were conducted to validate the adaptability of the offline methods to changes in the operating point by considering dynamic changes in the reference value. The changes in the bus reference are given in such a way that the converter changes between buck and boost modes. In the same way, the tests were repeated for the charge, discharge, and standby modes of the batteries. The experimental data of the reference tracking, for both lookup table and polynomial interpolation methods, are shown in the Figure 30, where a single battery ( v b = 12 V) is considered in those experiments. The proposed offline adaptive methods guarantee correct tracking of the references under different operating points for different modes of the converter (buck and boost modes).
In addition, the tracking performance was evaluated with two batteries connected in series ( v b = 24 V). For this experiment, the bus voltage reference starts at 20 V (buck mode), changes to 26 V (boost mode), and finally returns to 20 V. Figure 31 shows the experimental behavior of both proposed offline methods; similarly to the previous experiments, the results indicate the correct performance of the adaptive methods for different operating points.
In agreement with the simulation results, the lookup table method exhibits unexpected voltage transients when the reference voltage changes continuously, which is caused by the discretization of the method. However, these transients are more notable for a battery of 12 V, since the bus voltage is lower. This phenomenon can be reduced by increasing the resolution of the data stored in the lookup table; however, this increases the memory required in the control device and, also, the parametrization time for the method.

5.4. Performance and Cost Comparison

Since the main objective of the proposed offline methods is to reduce the computational resources required for the implementation of the adaptive LQG controller, this section evaluates the computational burden of the new solutions.
The control card TMS320F28379D has two cores, each providing 400 millions of instructions per second (MIPS), which means that the total capacity of the card is 800 MIPS. In the implementation, each adaptive offline proposed method is required to use a core at a time. Using the Matlab® report, the processor load for each of the adaptive solutions was extracted, which includes the online approach reported in [38]. This information is summarized in Table 6, where the two proposed (offline) solutions require almost the same CPU utilization (MIPS required). Instead, the online method [38] requires between 7 and 8 times the MIPS for the adaptive process.
Taking into consideration the maximum MIPS required by proposed method, a suitable control card available in the market is selected to evaluate the implementation cost. Control cards from TI C2000 MCU series are suitable due to the available PWM, ADC modules, and high processing capacity. For example, the TMS320F2800157 control card provides 120 MIPS, which is enough to implement the adaptive offline methods. Moreover, this control card also provides the additional hardware required to execute the control strategy for the battery charger/discharger, such as programming ports and communication ports, among others. The cost of this card is USD 59; instead, the control card required to implement the online method (with 714 MIPS required) is the TMS320F28379D, which costs USD 159 and is thus significantly more expensive.
The previous practical considerations were analyzed by proposing three indices: designed CPU capacity index ( I p ), cost index ( I c o s t ) and performance index ( I c p u ). The I p index is calculated from the performance data reported in Table 5 using Equation (17), where a higher I p implies greater performance. In such an expression, E x ( i ) is the overshoot or stabilization time, and E r e f ( i ) corresponds to the lowest value of the data under comparison. In this way, the solution with the lower overshoot or shortest stabilization time will always have I p ( i ) = 1 , and the other solutions will have lower I p value. Finally, the I p ( i ) values for each method are averaged to obtain a general performance index I p for each adaptive method.
I p ( i ) = E x ( i ) 1 E r e f ( i ) 1
The I c p u index uses the data reported in Table 6 and Equation (18), where the higher I c p u , the lower the required MIPS. In (18), c p u x and c p u r e f correspond to the MIPS required by the solution and the minimum CPU consumption of methods under comparison, respectively. In this way, the method with the lower MIPS requirement will have I c p u = 1 , while the other methods will exhibit a lower I c p u value.
I c p u = c p u x 1 c p u r e f 1
Finally, the I c o s t index is given in Equation (19), where c o s t x is the price of the corresponding control card, and c o s t r e f is the price of the cheaper control card for all the implementations. As in the previous cases, the higher the index, the lower the required cost, where the solution with the lower cost will have an index equal to 1.
I c o s t = c o s t x 1 c o s t r e f 1
The results of applying three proposed indices to the solutions under comparison are reported in Table 7. A higher index value of I p implies a better dynamic performance, a higher value of I c p u indicates lower computational requirement, and a higher value of I c o s t means lower cost of the control card required to implement the adaptive method. It is observed that the polynomial interpolation method exhibits a better overall performance, also requiring the lowest CPU consumption and cost; therefore, that method is the best alternative for commercial implementation of the adaptive LQG controller for battery charger/dischargers.
The previous data can be further processed to contrast both the offline (proposed) and online solutions. For this purpose, combined indicators are proposed: the performance–cost, which adds both I p and I c o s t ; and the performance–CPU, which adds both I p and I c p u . Table 8 reports both combined indicators, where the polynomial interpolation method provides the best relation between performance of the charger/discharger and implementation cost. The second best method in this category is the lookup table, and the last is the online method reported in [38]. Similarly, the polynomial interpolation method provides the best relation between performance and CPU utilization, the second best method is the lookup table, and the last, again, is the online method. This last category is interesting, since it enables analyzing which method will leave higher resources, thus providing computing power for other tasks such as data logging, cloud storage, state of charge management, etc.
Finally, this practical analysis confirms that both offline solutions provide an acceptable performance with much lower implementation costs. In particular, the polynomial interpolation method provides the best tradeoff and is thus the best solution for commercial applications.

6. Conclusions

Two adaptive offline methods for adjusting the parameters of a LQG controller and regulating the DC bus of a battery charger/discharger are proposed. The charger/discharger is based on the Sepic/Zeta converter, and the parameters of the controller are determined taking into account the conditions of both the batteries and converter. For the former, conditions may vary between charge, discharge, or standby modes. Moreover, depending on the voltage requirements of the input and output, the converter can be in boost, buck, or equal gain mode. For the LQG controller, a state feedback vector and an observer gain vector must be determined in an adaptive way. The first method consists of calculating the parameters of vectors for several operating points of load and input reference voltage, and those are stored in a lookup table. In the second method, an interpolation is developed among the values of the lookup table. In simulation and experimental results, for several operating conditions, the control signal remains far away from saturation, and the control system is stable, thus providing satisfactory results.
Three indices have been proposed to evaluate the performance of the proposed adaptive methods, which are suitable to evaluate dynamic performance, CPU capacity, and cost. These indices show that the lookup table and polynomial interpolation methods present similar dynamic performance and CPU requirements, but the combined indices show that polynomial interpolation is the best option for practical and commercial application. In addition, compared with the lookup table method, that method exhibits satisfactory performance over the entire operating range, and it does not introduce unexpected transients under any operating conditions. Moreover, polynomial interpolation requires low computational consumption in contrast to the online LQG method, which means considerably lower implementation costs.
The main drawback of both proposed offline solutions is the need for an offline training campaign, which is not needed in the online alternative already reported in the literature. However, with the aim of developing low-cost solutions for deployment in commercial applications, it could be acceptable to spend the time required for training if there is significant reduction of the implementation cost. Finally, for future improvement, evaluating more deployment-oriented platforms for implementation, such as FPGA or ASIC devices, could provide a much better cost/performance ratio.

Author Contributions

Conceptualization, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G.; methodology, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G.; software, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G.; validation, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G.; writing—original draft preparation, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G.; writing—review and editing, J.A.M.-O., C.A.R.-P., M.L.O.-G., E.F.-M. and S.I.S.-G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Minciencias, Universidad del Valle, Universidad Nacional de Colombia, and Instituto Tecnológico Metropolitano under the research project “Métodos y Herramientas para el Diseño, Dimensionamiento y Control de Sistemas de Almacenamiento de Energía en sistemas eléctricos basados en fuentes renovables no convencionales, para zonas urbanas y rurales”, (Minciencias code 70634, Sicop Code C.I. 21154), which belongs to the research program “Estrategias para el desarrollo de sistemas energéticos sostenibles, confiables, eficientes y accesibles para el futuro de Colombia”, (Minciencias code 1150-852-70378, Hermes code 46771, Sicop codes C.I. 21154, 21173, 21174, ITM code RC 80740-178-2021-1).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this study are reported in the paper figures and tables.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

This appendix reports the lookup table data used in the first proposed offline method. The data are distributed in eight tables, one for each parameter of both the controller and observer.
Table A1. Lookup table K 1 .
Table A1. Lookup table K 1 .
v b ( V ) 10121416182022242628
v dc ( V )
80.025130.024620.024210.023880.023590.023340.023110.022890.022680.02248
100.025690.025200.024800.024470.024190.023940.023710.023500.023300.02310
120.026000.025550.025180.024870.024610.024380.024170.023970.023780.02359
140.026140.025730.025410.025140.024900.024700.024500.024320.024150.02398
160.026180.025820.025540.025300.025100.024920.024750.024590.024430.02428
180.026160.025840.025600.025400.025220.025070.024920.024780.024650.02452
200.026120.025820.025610.025440.025290.025160.025040.024930.024810.02470
220.026060.025780.025590.025450.025330.025220.025120.025030.024930.02483
240.026000.025720.025550.025430.025330.025250.025170.025090.025010.02493
260.025940.025660.025500.025390.025320.025250.025190.025130.025070.02500
280.025880.025590.025440.025350.025290.025240.025190.025150.025100.02505
Table A2. Lookup table K 2 .
Table A2. Lookup table K 2 .
v b ( V ) 10121416182022242628
v dc ( V )
80.060720.061160.061100.060750.060250.059670.059050.058420.057800.05720
100.059810.060100.059960.059560.059030.058430.057790.057160.056530.05593
120.058880.059060.058860.058440.057890.057280.056640.056010.055380.05478
140.057960.058070.057820.057380.056820.056210.055580.054950.054330.05373
160.057080.057120.056840.056390.055830.055220.054600.053970.053360.05277
180.056220.056230.055930.055460.054900.054300.053690.053070.052470.05189
200.055410.055380.055060.054590.054040.053450.052840.052240.051650.05107
220.054620.054580.054250.053780.053230.052650.052050.051460.050880.05032
240.053870.053810.053480.053010.052470.051900.051310.050730.050160.04961
260.053140.053090.052760.052290.051760.051190.050620.050050.049490.04895
280.052440.052400.052070.051610.051090.050530.049970.049410.048860.04833
Table A3. Lookup table K 3 .
Table A3. Lookup table K 3 .
v b ( V ) 10121416182022242628
v dc ( V )
80.008140.007900.007680.007540.007480.007480.007530.007630.007750.00789
100.008450.008150.007870.007660.007530.007460.007460.007500.007580.00768
120.008620.008310.007990.007740.007560.007450.007400.007400.007440.00750
140.008680.008380.008060.007780.007570.007430.007350.007310.007320.00736
160.008650.008390.008070.007790.007560.007400.007300.007240.007220.00724
180.008550.008340.008040.007760.007540.007360.007240.007170.007130.00713
200.008390.008240.007980.007710.007490.007310.007180.007090.007040.00703
220.008190.008120.007890.007640.007430.007250.007110.007020.006960.00693
240.007960.007970.007780.007560.007350.007180.007040.006940.006880.00684
260.007700.007800.007650.007460.007260.007100.006970.006870.006800.00675
280.007420.007620.007520.007340.007170.007010.006890.006790.006720.00667
Table A4. Lookup table K 4 .
Table A4. Lookup table K 4 .
v b ( V ) 10121416182022242628
v dc ( V )
80.041640.043100.044430.045620.046660.047580.048380.049100.049730.05029
100.044900.046080.047170.048150.049020.049790.050470.051070.051600.05207
120.047620.048600.049500.050320.051050.051690.052270.052780.053230.05364
140.049900.050730.051490.052180.052800.053350.053840.054280.054670.05501
160.051850.052560.053210.053800.054330.054800.055230.055600.055930.05623
180.053510.054150.054710.055220.055670.056080.056450.056770.057060.05732
200.054950.055530.056030.056470.056870.057220.057540.057820.058070.05829
220.056200.056750.057190.057580.057930.058240.058520.058760.058980.05917
240.057300.057820.058220.058570.058880.059150.059400.059610.059800.05997
260.058270.058780.059150.059460.059740.059980.060190.060380.060550.06070
280.059130.059640.059980.060270.060510.060730.060920.061090.061230.06136
Table A5. Lookup table 1 .
Table A5. Lookup table 1 .
v b ( V ) 10121416182022242628
v dc ( V )
87.26   ×   10 3 8.08   ×   10 3 8.88   ×   10 3 9.68   ×   10 3 1.05   ×   10 4 1.13   ×   10 4 1.21   ×   10 4 1.29   ×   10 4 1.37   ×   10 4 1.46   ×   10 4
108.11   ×   10 3 8.96   ×   10 3 9.78   ×   10 3 1.06   ×   10 4 1.14   ×   10 4 1.22   ×   10 4 1.30   ×   10 4 1.39   ×   10 4 1.47   ×   10 4 1.55   ×   10 4
128.95   ×   10 3 9.82   ×   10 3 1.07   ×   10 4 1.15   ×   10 4 1.23   ×   10 4 1.31   ×   10 4 1.40   ×   10 4 1.48   ×   10 4 1.56   ×   10 4 1.65   ×   10 4
149.77   ×   10 3 1.07   ×   10 4 1.15   ×   10 4 1.24   ×   10 4 1.32   ×   10 4 1.41   ×   10 4 1.49   ×   10 4 1.57   ×   10 4 1.66   ×   10 4 1.74   ×   10 4
161.06   ×   10 4 1.15   ×   10 4 1.24   ×   10 4 1.33   ×   10 4 1.41   ×   10 4 1.49   ×   10 4 1.58   ×   10 4 1.66   ×   10 4 1.75   ×   10 4 1.83   ×   10 4
181.14   ×   10 4 1.24   ×   10 4 1.32   ×   10 4 1.41   ×   10 4 1.50   ×   10 4 1.58   ×   10 4 1.67   ×   10 4 1.75   ×   10 4 1.84   ×   10 4 1.92   ×   10 4
201.22   ×   10 4 1.32   ×   10 4 1.41   ×   10 4 1.50   ×   10 4 1.59   ×   10 4 1.67   ×   10 4 1.76   ×   10 4 1.84   ×   10 4 1.93   ×   10 4 2.01   ×   10 4
221.30   ×   10 4 1.40   ×   10 4 1.49   ×   10 4 1.58   ×   10 4 1.67   ×   10 4 1.76   ×   10 4 1.85   ×   10 4 1.93   ×   10 4 2.02   ×   10 4 2.10   ×   10 4
241.38   ×   10 4 1.49   ×   10 4 1.58   ×   10 4 1.67   ×   10 4 1.76   ×   10 4 1.85   ×   10 4 1.93   ×   10 4 2.02   ×   10 4 2.11   ×   10 4 2.19   ×   10 4
261.47   ×   10 4 1.57   ×   10 4 1.66   ×   10 4 1.76   ×   10 4 1.85   ×   10 4 1.93   ×   10 4 2.02   ×   10 4 2.11   ×   10 4 2.20   ×   10 4 2.28   ×   10 4
281.55   ×   10 4 1.65   ×   10 4 1.75   ×   10 4 1.84   ×   10 4 1.93   ×   10 4 2.02   ×   10 4 2.11   ×   10 4 2.20   ×   10 4 2.28   ×   10 4 2.37   ×   10 4
Table A6. Lookup table 2 .
Table A6. Lookup table 2 .
v b ( V ) 10121416182022242628
v dc ( V )
85.51   ×   10 3 6.46   ×   10 3 7.38   ×   10 3 8.28   ×   10 3 9.18   ×   10 3 1.01   ×   10 4 1.09   ×   10 4 1.18   ×   10 4 1.27   ×   10 4 1.36   ×   10 4
106.19   ×   10 3 7.17   ×   10 3 8.12   ×   10 3 9.05   ×   10 3 9.96   ×   10 3 1.09   ×   10 4 1.18   ×   10 4 1.26   ×   10 4 1.35   ×   10 4 1.44   ×   10 4
126.87   ×   10 3 7.89   ×   10 3 8.87   ×   10 3 9.81   ×   10 3 1.07   ×   10 4 1.17   ×   10 4 1.26   ×   10 4 1.35   ×   10 4 1.44   ×   10 4 1.52   ×   10 4
147.57   ×   10 3 8.62   ×   10 3 9.61   ×   10 3 1.06   ×   10 4 1.15   ×   10 4 1.24   ×   10 4 1.34   ×   10 4 1.43   ×   10 4 1.52   ×   10 4 1.61   ×   10 4
168.27   ×   10 3 9.35   ×   10 3 1.04   ×   10 4 1.13   ×   10 4 1.23   ×   10 4 1.32   ×   10 4 1.42   ×   10 4 1.51   ×   10 4 1.60   ×   10 4 1.69   ×   10 4
188.97   ×   10 3 1.01   ×   10 4 1.11   ×   10 4 1.21   ×   10 4 1.31   ×   10 4 1.40   ×   10 4 1.50   ×   10 4 1.59   ×   10 4 1.68   ×   10 4 1.77   ×   10 4
209.68   ×   10 3 1.08   ×   10 4 1.19   ×   10 4 1.29   ×   10 4 1.39   ×   10 4 1.48   ×   10 4 1.58   ×   10 4 1.67   ×   10 4 1.76   ×   10 4 1.86   ×   10 4
221.04   ×   10 4 1.16   ×   10 4 1.26   ×   10 4 1.37   ×   10 4 1.47   ×   10 4 1.56   ×   10 4 1.66   ×   10 4 1.75   ×   10 4 1.85   ×   10 4 1.94   ×   10 4
241.11   ×   10 4 1.23   ×   10 4 1.34   ×   10 4 1.44   ×   10 4 1.55   ×   10 4 1.64   ×   10 4 1.74   ×   10 4 1.83   ×   10 4 1.93   ×   10 4 2.02   ×   10 4
261.18   ×   10 4 1.31   ×   10 4 1.42   ×   10 4 1.52   ×   10 4 1.62   ×   10 4 1.72   ×   10 4 1.82   ×   10 4 1.92   ×   10 4 2.01   ×   10 4 2.10   ×   10 4
281.26   ×   10 4 1.38   ×   10 4 1.50   ×   10 4 1.60   ×   10 4 1.70   ×   10 4 1.80   ×   10 4 1.90   ×   10 4 2.00   ×   10 4 2.09   ×   10 4 2.19   ×   10 4
Table A7. Lookup table 3 .
Table A7. Lookup table 3 .
v b ( V ) 10121416182022242628
v dc ( V )
8−1.06   ×   10 3 −3.46   ×   10 2 3.00   ×   10 2 8.92   ×   10 2 1.44   ×   10 3 1.95   ×   10 3 2.43   ×   10 3 2.89   ×   10 3 3.32   ×   10 3 3.73   ×   10 3
10−1.92   ×   10 3 −1.17   ×   10 3 −4.95   ×   10 2 1.20   ×   10 2 6.89   ×   10 2 1.22   ×   10 3 1.72   ×   10 3 2.19   ×   10 3 2.63   ×   10 3 3.06   ×   10 3
12−2.74   ×   10 3 −1.95   ×   10 3 −1.25   ×   10 3 −6.12   ×   10 2 −2.54   ×   10 1 5.20   ×   10 2 1.03   ×   10 3 1.52   ×   10 3 1.97   ×   10 3 2.41   ×   10 3
14−3.53   ×   10 3 −2.70   ×   10 3 −1.97   ×   10 3 −1.31   ×   10 3 −7.07   ×   10 2 −1.46   ×   10 2 3.79   ×   10 2 8.74   ×   10 2 1.34   ×   10 3 1.79   ×   10 3
16−4.29   ×   10 3 −3.41   ×   10 3 −2.66   ×   10 3 −1.98   ×   10 3 −1.36   ×   10 3 −7.85   ×   10 2 −2.48   ×   10 2 2.57   ×   10 2 7.37   ×   10 2 1.19   ×   10 3
18−5.03   ×   10 3 −4.11   ×   10 3 −3.32   ×   10 3 −2.62   ×   10 3 −1.99   ×   10 3 −1.40   ×   10 3 −8.52   ×   10 2 −3.36   ×   10 2 1.52   ×   10 2 6.16   ×   10 2
20−5.75   ×   10 3 −4.78   ×   10 3 −3.96   ×   10 3 −3.24   ×   10 3 −2.59   ×   10 3 −1.99   ×   10 3 −1.43   ×   10 3 −9.08   ×   10 2 −4.12   ×   10 2 5.99   ×   10 1
22−6.46   ×   10 3 −5.43   ×   10 3 −4.58   ×   10 3 −3.84   ×   10 3 −3.18   ×   10 3 −2.56   ×   10 3 −2.00   ×   10 3 −1.46   ×   10 3 −9.58   ×   10 2 −4.79   ×   10 2
24−7.15   ×   10 3 −6.07   ×   10 3 −5.19   ×   10 3 −4.42   ×   10 3 −3.74   ×   10 3 −3.12   ×   10 3 −2.54   ×   10 3 −2.00   ×   10 3 −1.49   ×   10 3 −1.00   ×   10 3
26−7.84   ×   10 3 −6.69   ×   10 3 −5.77   ×   10 3 −4.99   ×   10 3 −4.29   ×   10 3 −3.66   ×   10 3 −3.07   ×   10 3 −2.52   ×   10 3 −2.00   ×   10 3 −1.51   ×   10 3
28−8.52   ×   10 3 −7.30   ×   10 3 −6.35   ×   10 3 −5.54   ×   10 3 −4.83   ×   10 3 −4.18   ×   10 3 −3.58   ×   10 3 −3.02   ×   10 3 −2.50   ×   10 3 −2.00   ×   10 3
Table A8. Lookup table 4 .
Table A8. Lookup table 4 .
v b ( V ) 10121416182022242628
v dc ( V )
85.78   ×   10 3 6.26   ×   10 3 6.69   ×   10 3 7.09   ×   10 3 7.46   ×   10 3 7.81   ×   10 3 8.15   ×   10 3 8.47   ×   10 3 8.77   ×   10 3 9.07   ×   10 3
106.12   ×   10 3 6.59   ×   10 3 7.02   ×   10 3 7.41   ×   10 3 7.77   ×   10 3 8.11   ×   10 3 8.44   ×   10 3 8.75   ×   10 3 9.06   ×   10 3 9.35   ×   10 3
126.45   ×   10 3 6.92   ×   10 3 7.33   ×   10 3 7.71   ×   10 3 8.07   ×   10 3 8.40   ×   10 3 8.72   ×   10 3 9.03   ×   10 3 9.33   ×   10 3 9.61   ×   10 3
146.77   ×   10 3 7.23   ×   10 3 7.63   ×   10 3 8.01   ×   10 3 8.36   ×   10 3 8.69   ×   10 3 9.00   ×   10 3 9.30   ×   10 3 9.59   ×   10 3 9.87   ×   10 3
167.08   ×   10 3 7.53   ×   10 3 7.93   ×   10 3 8.29   ×   10 3 8.63   ×   10 3 8.96   ×   10 3 9.27   ×   10 3 9.56   ×   10 3 9.85   ×   10 3 1.01   ×   10 4
187.37   ×   10 3 7.82   ×   10 3 8.21   ×   10 3 8.57   ×   10 3 8.91   ×   10 3 9.22   ×   10 3 9.53   ×   10 3 9.82   ×   10 3 1.01   ×   10 4 1.04   ×   10 4
207.66   ×   10 3 8.10   ×   10 3 8.48   ×   10 3 8.84   ×   10 3 9.17   ×   10 3 9.48   ×   10 3 9.78   ×   10 3 1.01   ×   10 4 1.03   ×   10 4 1.06   ×   10 4
227.94   ×   10 3 8.37   ×   10 3 8.75   ×   10 3 9.10   ×   10 3 9.43   ×   10 3 9.73   ×   10 3 1.00   ×   10 4 1.03   ×   10 4 1.06   ×   10 4 1.08   ×   10 4
248.21   ×   10 3 8.64   ×   10 3 9.01   ×   10 3 9.36   ×   10 3 9.68   ×   10 3 9.98   ×   10 3 1.03   ×   10 4 1.05   ×   10 4 1.08   ×   10 4 1.11   ×   10 4
268.47   ×   10 3 8.90   ×   10 3 9.27   ×   10 3 9.61   ×   10 3 9.92   ×   10 3 1.02   ×   10 4 1.05   ×   10 4 1.08   ×   10 4 1.10   ×   10 4 1.13   ×   10 4
288.72   ×   10 3 9.15   ×   10 3 9.52   ×   10 3 9.85   ×   10 3 1.02   ×   10 4 1.05   ×   10 4 1.07   ×   10 4 1.10   ×   10 4 1.13   ×   10 4 1.15   ×   10 4
Similarly, the polynomial interpolation data are also reported. First, the polynomial for the controller is reported in (A1), and the parameters for such an interpolation are given in Table A9. In the same way, the polynomial for the observer is reported in (A2), and the parameters for such an interpolation are given in Table A10.
P o l K = ( p 00 + p 10 · v d c + p 01 · v b + p 20 · v d c 2 + p 11 · v d c · v b + p 02 · v b 2 + p 30 · v d c 3 + p 21 · v d c 2 · v b + p 12 · v d c · v b 2 + p 03 · v b 3 + p 31 · v d c 3 · v b + p 22 · v d c 2 · v b 2 + p 13 · v d c · v b 3 + p 04 · v b 4 ) / 1000
P o l = ( p 00 + p 10 · v d c + p 01 · v b + p 20 · v d c 2 + p 11 · v d c · v b + p 02 · v b 2 + p 30 · v d c 3 + p 21 · v d c 2 · v b + p 12 · v d c · v b 2 + p 03 · v b 3 ) · 1000
Table A9. Polynomial function coefficients of K.
Table A9. Polynomial function coefficients of K.
Coefficient K 1 K 2 K 3 K 4
p 00 2.70   ×   10 1 4.75   ×   10 1 4.706.08
p 10 7.29   ×   10 1 1.29   ×   10 1 7.08   ×   10 1 4.10
p 01 −9.49   ×   10 1 3.353.07   ×   10 1 2.17
p 20 −4.28   ×   10 2 −1.18   ×   10 2 −4.24   ×   10 2 −1.20   ×   10 1
p 11 6.81   ×   10 3 −9.29   ×   10 2 −1.15   ×   10 2 −1.46   ×   10 1
p 02 4.78   ×   10 2 −2.09   ×   10 1 −3.77   ×   10 2 −4.28   ×   10 2
p 30 7.20   ×   10 4 1.41   ×   10 4 4.65   ×   10 4 1.29   ×   10 3
p 21 5.49   ×   10 4 1.73   ×   10 3 2.34   ×   10 3 4.15   ×   10 3
p 12 −3.83   ×   10 4 2.78   ×   10 3 −1.79   ×   10 3 1.70   ×   10 3
p 03 −1.24   ×   10 3 5.41   ×   10 3 2.12   ×   10 3 4.83   ×   10 4
p 31 −1.74   ×   10 5 −1.30   ×   10 5 −2.18   ×   10 5 −3.43   ×   10 5
p 22 9.53   ×   10 6 −2.07   ×   10 5 −1.73   ×   10 5 −3.75   ×   10 5
p 13 −1.10   ×   10 6 −2.97   ×   10 5 3.54   ×   10 5 1.59   ×   10 6
p 04 1.36   ×   10 5 −5.28   ×   10 5 −3.40   ×   10 5 −4.72   ×   10 6
Table A10. Polynomial function coefficients of .
Table A10. Polynomial function coefficients of .
Coefficient 1 2 3 4
p 00 −3.73   ×   10 1 −2.21−1.829.83   ×   10 1
p 10 3.96   ×   10 1 2.50   ×   10 1 −6.31   ×   10 1 2.32   ×   10 1
p 01 4.43   ×   10 1 5.70   ×   10 1 6.13   ×   10 1 4.03   ×   10 1
p 20 −2.29   ×   10 3 6.64   ×   10 4 5.90   ×   10 3 −2.35   ×   10 3
p 11 8.02   ×   10 3 1.04   ×   10 2 1.39   ×   10 2 −2.81   ×   10 3
p 02 −4.83   ×   10 3 −8.88   ×   10 3 −1.90   ×   10 2 −8.43   ×   10 3
p 30 3.73   ×   10 5 6.63   ×   10 6 −5.50   ×   10 5 1.70   ×   10 5
p 21 −2.58   ×   10 5 −4.04   ×   10 5 −9.80   ×   10 6 2.59   ×   10 5
p 12 −1.22   ×   10 4 −1.52   ×   10 4 −2.45   ×   10 4 1.19   ×   10 5
p 03 1.05   ×   10 4 1.58   ×   10 4 2.94   ×   10 4 1.01   ×   10 4

References

  1. Payne, J. How to select the Correct Factory Automation Controller for your application: Picking the right hardware is critical, but users also need to make sure they include controller programming software in the evaluation process. Control Eng. 2018, 65, 22. [Google Scholar]
  2. Jithin, S.; Rajeev, T. A novel stability index-based virtual synchronous machine droop scheme for performance improvement of hybrid AC/DC microgrid under volatile loading conditions. Electr. Power Syst. Res. 2023, 214, 108901. [Google Scholar]
  3. Babu, N.R.; Saikia, L.C. Optimal location of accurate HVDC and energy storage devices in a deregulated AGC integrated with PWTS considering HPA-ISE as performance index. Eng. Sci. Technol. Int. J. 2022, 33, 101072. [Google Scholar] [CrossRef]
  4. Mousakazemi, S.M.H. Comparison of the error-integral performance indexes in a GA-tuned PID controlling system of a PWR-type nuclear reactor point-kinetics model. Prog. Nucl. Energy 2021, 132, 103604. [Google Scholar] [CrossRef]
  5. Balestrino, A.; Landi, A.; Sani, L. Performance indices and controller design for switching converters. In Proceedings of the International Symposium on Power Electronics, Electrical Drives, Automation and Motion, Taormina, Italy, 23–26 May 2006; SPEEDAM 2006. IEEE: Taormina, Italy, 2006; pp. 1316–1321. [Google Scholar]
  6. Blondel, V.D.; Tsitsiklis, J.N. A survey of computational complexity results in systems and control. Automatica 2000, 36, 1249–1274. [Google Scholar] [CrossRef]
  7. Ribeiro, L.D.; Secchi, A.R. A Methodology to Obtain Analytical Models That Reduce the Computational Complexity Faced in Real Time Implementation of Nmpc Controllers. Braz. J. Chem. Eng. 2019, 36, 1255–1278. [Google Scholar] [CrossRef]
  8. Yan, S.; Cui, Y.; Li, C.; Gao, X.; Cai, Y. An Improved FCS-MPC Based on Novel Sector Optimization and Capacitor Charge Balance Algorithm for T-Type 3P-3L Converters. IEEE Trans. Power Electron. 2023, 38, 4559–4571. [Google Scholar] [CrossRef]
  9. Silva, J.J.; Espinoza, J.R.; Rohten, J.A.; Pulido, E.S.; Villarroel, F.A.; Torres, M.A.; Reyes, M.A. MPC Algorithm With Reduced Computational Burden and Fixed Switching Spectrum for a Multilevel Inverter in a Photovoltaic System. IEEE Access 2020, 8, 77405–77414. [Google Scholar] [CrossRef]
  10. Sands, T. Control of DC Motors to Guide Unmanned Underwater Vehicles. Appl. Sci. 2021, 11, 2144. [Google Scholar] [CrossRef]
  11. Menezes, J.; Sands, T. Discerning Discretization for Unmanned Underwater Vehicles DC Motor Control. J. Mar. Sci. Eng. 2023, 11, 436. [Google Scholar] [CrossRef]
  12. Wang, Z.; Sands, T. Artificial Intelligence-Enhanced UUV Actuator Control. AI 2023, 4, 270–288. [Google Scholar] [CrossRef]
  13. Koo, S.M.; Travis, H.; Sands, T. Impacts of Discretization and Numerical Propagation on the Ability to Follow Challenging Square Wave Commands. J. Mar. Sci. Eng. 2022, 10, 419. [Google Scholar] [CrossRef]
  14. Shah, R.; Sands, T. Comparing Methods of DC Motor Control for UUVs. Appl. Sci. 2021, 11, 4972. [Google Scholar] [CrossRef]
  15. Shtessel, Y.; Taleb, M.; Plestan, F. A novel adaptive-gain supertwisting sliding mode controller: Methodology and application. Automatica 2012, 48, 759–769. [Google Scholar] [CrossRef]
  16. Canciello, G.; Cavallo, A.; Guida, B. Control of Energy Storage Systems for Aeronautic Applications. J. Control Sci. Eng. 2017, 2017, 1–9. [Google Scholar] [CrossRef]
  17. Russo, A.; Cavallo, A. Supercapacitor stability and control for More Electric Aircraft application. In Proceedings of the 2020 European Control Conference (ECC), Saint Petersburg, Russia, 12–15 May 2020; IEEE: Saint Petersburg, Russia, 2020; pp. 1909–1914. [Google Scholar]
  18. Cavallo, A.; Canciello, G.; Russo, A. Integrated supervised adaptive control for the more Electric Aircraft. Automatica 2020, 117, 108956. [Google Scholar] [CrossRef]
  19. Canciello, G.; Cavallo, A.; Schiavo, A.L.; Russo, A. Multi-objective adaptive sliding manifold control for More Electric Aircraft. Isa Trans. 2020, 107, 316–328. [Google Scholar] [CrossRef] [PubMed]
  20. Cavallo, A.; Russo, A.; Canciello, G. Hierarchical control for generator and battery in the more electric aircraft. Sci. China Inf. Sci. 2019, 62, 192207. [Google Scholar] [CrossRef]
  21. Canciello, G.; Russo, A.; Guida, B.; Cavallo, A. Supervisory Control for Energy Storage System Onboard Aircraft. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Palermo, Italy, 12–15 June 2018; IEEE: Palermo, Italy, 2018; pp. 1–6. [Google Scholar]
  22. Cavallo, A.; Canciello, G.; Russo, A. Supervised Energy Management in Advanced Aircraft Applications. In Proceedings of the 2018 European Control Conference (ECC), Limassol, Cyprus, 12–15 June 2018; IEEE: Limassol, Cyprus, 2018; pp. 2769–2774. [Google Scholar]
  23. Cavallo, A.; Canciello, G.; Guida, B. Supervisory control of DC-DC bidirectional converter for advanced aeronautic applications. Int. J. Robust Nonlinear Control 2018, 28, 1–15. [Google Scholar] [CrossRef]
  24. Kanieski, J.M.; Tambara, R.V.; Pinheiro, H.; Cardoso, R.; Gründling, H.A. Robust Adaptive Controller Combined With a Linear Quadratic Regulator Based on Kalman Filtering. IEEE Trans. Autom. Control 2016, 61, 1373–1378. [Google Scholar] [CrossRef]
  25. Bimarta, R.; Tran, T.V.; Kim, K.H. Frequency-Adaptive Current Controller Design Based on LQR State Feedback Control for a Grid-Connected Inverter under Distorted Grid. Energies 2018, 11, 2674. [Google Scholar] [CrossRef]
  26. Kulikowski, K.; Sikorski, A. New DPC Look-Up Table Methods for Three-Level AC/DC Converter. IEEE Trans. Ind. Electron. 2016, 63, 7930–7938. [Google Scholar] [CrossRef]
  27. Zhang, Y.; Qu, C. Table-Based Direct Power Control for Three-Phase AC/DC Converters Under Unbalanced Grid Voltages. IEEE Trans. Power Electron. 2015, 30, 7090–7099. [Google Scholar] [CrossRef]
  28. Yan, S.; Yang, Y.; Hui, S.Y.; Blaabjerg, F. A Review on Direct Power Control of Pulsewidth Modulation Converters. IEEE Trans. Power Electron. 2021, 36, 11984–12007. [Google Scholar] [CrossRef]
  29. Alonso-Martínez, J.; Carrasco, J.E.; Arnaltes, S. Table-Based Direct Power Control: A Critical Review for Microgrid Applications. IEEE Trans. Power Electron. 2010, 25, 2949–2961. [Google Scholar] [CrossRef]
  30. Ren, X.; Guo, Z.; Wu, Y.; Zhang, Z.; Chen, Q. Adaptive LUT-Based Variable On-Time Control for CRM Boost PFC Converters. IEEE Trans. Power Electron. 2018, 33, 8123–8136. [Google Scholar] [CrossRef]
  31. Yahagi, S.; Kajiwara, I. Direct Data-Driven Tuning of Look-Up Tables for Feedback Control Systems. IEEE Control Syst. Lett. 2022, 6, 2966–2971. [Google Scholar] [CrossRef]
  32. Udavalakshmi, J.K.; Sheik, M.S. Comparative Study of Perturb & Observe and Look -Up Table Maximum Power Point Tracking Techniques using MATLABISimulink. In Proceedings of the 2018 International Conference on Current Trends towards Converging Technologies (ICCTCT), Coimbatore, India, 1–3 March 2018; IEEE: Coimbatore, India, 2018; pp. 1–5. [Google Scholar]
  33. Tu, S.H.L.; Yeh, H.W. A PWM controller with table look-up for DC-DC class E buck/boost conversion. In Proceedings of the 2013 IEEE International Conference of Electron Devices and Solid-state Circuits, Hong Kong, China, 3–5 June 2013; IEEE: Hong Kong, China, 2013; pp. 1–2. [Google Scholar]
  34. Chiu, M.M.H.; Tu, S.H.L. A Novel DPWM Based on Fully Table Look-Up for High-Frequency Power Conversion. In Proceedings of the APCCAS 2006 IEEE Asia Pacific Conference on Circuits and Systems, Singapore, 4–7 December 2006; IEEE: Singapore, 2006; pp. 678–681. [Google Scholar]
  35. Zheng, H.; Zou, T.; Hu, J.; Yu, H. An Offline Optimization and Online Table Look-Up Strategy of Two-Layer Model Predictive Control. IEEE Access 2018, 6, 47433–47441. [Google Scholar] [CrossRef]
  36. Held, M.; Flärdh, O.; Mårtensson, J. Experimental evaluation of a look-ahead controller for a heavy-duty vehicle with varying velocity demands. Control Eng. Pract. 2021, 108, 104720. [Google Scholar] [CrossRef]
  37. Su, Z.; Shen, X.; Chen, F. Flow Control of Air Compressor in Fuel Cell System Based on Adaptive Look-Up Table Algorithm. In Proceedings of the 2010 International Conference on Electrical and Control Engineering, Wuhan, China, 25–27 June 2010; IEEE: Wuhan, China, 2010; pp. 3761–3766. [Google Scholar]
  38. Montenegro-Oviedo, J.A.; Ramos-Paja, C.A.; Orozco-Gutierrez, M.L.; Franco-Mejía, E.; Serna-Garcés, S.I. Adaptive Controller for Bus Voltage Regulation on a DC Microgrid Using a Sepic/Zeta Battery Charger/Discharger. Mathematics 2023, 11, 793. [Google Scholar] [CrossRef]
  39. Agrawal, N.; Samanta, S.; Ghosh, S. Modified LQR Technique for Fuel-Cell-Integrated Boost Converter. IEEE Trans. Ind. Electron. 2021, 68, 5887–5896. [Google Scholar] [CrossRef]
  40. Hwang, C.K.; Huang, K.S.; Lin, K.B.; Lee, B.K. Observer base linear quadratic regulation with estimated state feedback control. In Proceedings of the 2010 International Conference on Machine Learning and Cybernetics, Qingdao, China, 11–14 July 2010; Volume 6, pp. 2802–2805. [Google Scholar]
  41. Brogan, W.L. Modern Control Theory, 3rd ed.; Prentice-Hall: London, UK, 1990. [Google Scholar]
  42. MATLAB, version 9.12.0.188 (R2022a); The MathWorks Inc.: Natick, MA, USA, 2022.
Figure 1. Sepic/Zeta-based circuital interface for bidirectional power flow.
Figure 1. Sepic/Zeta-based circuital interface for bidirectional power flow.
Wevj 14 00142 g001
Figure 2. Structure of the adaptive LQG voltage controller.
Figure 2. Structure of the adaptive LQG voltage controller.
Wevj 14 00142 g002
Figure 3. Fit plot of K 3 .
Figure 3. Fit plot of K 3 .
Wevj 14 00142 g003
Figure 4. Fit plot of 3 .
Figure 4. Fit plot of 3 .
Wevj 14 00142 g004
Figure 5. Performance with v b = 12 V and reference voltage v d c r e f = 10 V using adaptive LQG with lookup table (buck mode).
Figure 5. Performance with v b = 12 V and reference voltage v d c r e f = 10 V using adaptive LQG with lookup table (buck mode).
Wevj 14 00142 g005
Figure 6. Performance with v b = 12 V and reference voltage v d c r e f = 12 V using adaptive LQG with lookup table (unitary gain mode).
Figure 6. Performance with v b = 12 V and reference voltage v d c r e f = 12 V using adaptive LQG with lookup table (unitary gain mode).
Wevj 14 00142 g006
Figure 7. Performance with v b = 12 V and reference voltage v d c r e f = 16 V using adaptive LQG with lookup table (boost mode).
Figure 7. Performance with v b = 12 V and reference voltage v d c r e f = 16 V using adaptive LQG with lookup table (boost mode).
Wevj 14 00142 g007
Figure 8. Performance with v b = 24 V and reference voltage v d c r e f = 20 V using adaptive LQG with lookup table (buck mode).
Figure 8. Performance with v b = 24 V and reference voltage v d c r e f = 20 V using adaptive LQG with lookup table (buck mode).
Wevj 14 00142 g008
Figure 9. Performance with v b = 24 V and reference voltage v d c r e f = 24 V using adaptive LQG with lookup table (unitary gain mode).
Figure 9. Performance with v b = 24 V and reference voltage v d c r e f = 24 V using adaptive LQG with lookup table (unitary gain mode).
Wevj 14 00142 g009
Figure 10. Performance with v b = 24 V and reference voltage v d c r e f = 26 V using adaptive LQG with lookup table (boost mode).
Figure 10. Performance with v b = 24 V and reference voltage v d c r e f = 26 V using adaptive LQG with lookup table (boost mode).
Wevj 14 00142 g010
Figure 11. Performance with v b = 12 V and reference voltage v d c r e f = 10 V using adaptive lqg with polynomial interpolation (buck mode).
Figure 11. Performance with v b = 12 V and reference voltage v d c r e f = 10 V using adaptive lqg with polynomial interpolation (buck mode).
Wevj 14 00142 g011
Figure 12. Performance with v b = 12 V and reference voltage v d c r e f = 12 V using adaptive LQG with polynomial interpolation (unitary gain mode).
Figure 12. Performance with v b = 12 V and reference voltage v d c r e f = 12 V using adaptive LQG with polynomial interpolation (unitary gain mode).
Wevj 14 00142 g012
Figure 13. Performance with v b = 12 V and reference voltage v d c r e f = 16 V using adaptive LQG with polynomial interpolation (boost mode).
Figure 13. Performance with v b = 12 V and reference voltage v d c r e f = 16 V using adaptive LQG with polynomial interpolation (boost mode).
Wevj 14 00142 g013
Figure 14. Performance with v b = 24 V and reference voltage v d c r e f = 20 V using adaptive LQG with polynomial interpolation (buck mode).
Figure 14. Performance with v b = 24 V and reference voltage v d c r e f = 20 V using adaptive LQG with polynomial interpolation (buck mode).
Wevj 14 00142 g014
Figure 15. Performance with v b = 24 V and reference voltage v d c r e f = 24 V using adaptive LQG with polynomial interpolation (unitary gain mode).
Figure 15. Performance with v b = 24 V and reference voltage v d c r e f = 24 V using adaptive LQG with polynomial interpolation (unitary gain mode).
Wevj 14 00142 g015
Figure 16. Performance with v b = 24 V and reference voltage v d c r e f = 26 V using adaptive LQG with polynomial interpolation (boost mode).
Figure 16. Performance with v b = 24 V and reference voltage v d c r e f = 26 V using adaptive LQG with polynomial interpolation (boost mode).
Wevj 14 00142 g016
Figure 17. Reference tracking performance at v b = 12 V using adaptive LQG with lookup table.
Figure 17. Reference tracking performance at v b = 12 V using adaptive LQG with lookup table.
Wevj 14 00142 g017
Figure 18. Reference tracking performance at v b = 24 V using adaptive LQG with lookup table.
Figure 18. Reference tracking performance at v b = 24 V using adaptive LQG with lookup table.
Wevj 14 00142 g018
Figure 19. Reference tracking performance at v b = 12 V using adaptive LQG with polynomial interpolation.
Figure 19. Reference tracking performance at v b = 12 V using adaptive LQG with polynomial interpolation.
Wevj 14 00142 g019
Figure 20. Reference tracking performance at v b = 24 V using adaptive LQG with polynomial interpolation.
Figure 20. Reference tracking performance at v b = 24 V using adaptive LQG with polynomial interpolation.
Wevj 14 00142 g020
Figure 21. Scheme of the experimental test.
Figure 21. Scheme of the experimental test.
Wevj 14 00142 g021
Figure 22. Experimental implementation.
Figure 22. Experimental implementation.
Wevj 14 00142 g022
Figure 23. Experimental test bench.
Figure 23. Experimental test bench.
Wevj 14 00142 g023
Figure 24. Bus regulation with v b = 12 V and reference v d c r e f = 10 V (buck mode) using a LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 24. Bus regulation with v b = 12 V and reference v d c r e f = 10 V (buck mode) using a LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g024
Figure 25. Bus regulation with v b = 12 V and reference v d c r e f = 12 V (unitary gain mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 25. Bus regulation with v b = 12 V and reference v d c r e f = 12 V (unitary gain mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g025
Figure 26. Bus regulation with v b = 12 V and reference v d c r e f = 16 V (boost mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 26. Bus regulation with v b = 12 V and reference v d c r e f = 16 V (boost mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g026
Figure 27. Bus regulation with v b = 24 V and reference v d c r e f = 20 V (buck mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 27. Bus regulation with v b = 24 V and reference v d c r e f = 20 V (buck mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g027
Figure 28. Bus regulation with v b = 24 V and reference v d c r e f = 24 V (unitary gain mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 28. Bus regulation with v b = 24 V and reference v d c r e f = 24 V (unitary gain mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g028
Figure 29. Bus regulation with v b = 24 V and reference v d c r e f = 26 V (boost mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Figure 29. Bus regulation with v b = 24 V and reference v d c r e f = 26 V (boost mode) using adaptive LQG by (a) lookup table and (b) polynomial interpolation. Magenta: battery voltage v b ; yellow: duty cycle d; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g029
Figure 30. Reference tracking performance at v b = 12 V using adaptive LQG with lookup table: (a1) discharge mode, (b1) standby mode, and (c1) charge mode; and with polynomial interpolation: (a2) discharge mode, (b2) standby mode, and (c2) charge mode. Magenta: duty cycle d; yellow: bus voltage reference v d c r e f ; cyan: bus voltage v d c ; green: bus current i o .
Figure 30. Reference tracking performance at v b = 12 V using adaptive LQG with lookup table: (a1) discharge mode, (b1) standby mode, and (c1) charge mode; and with polynomial interpolation: (a2) discharge mode, (b2) standby mode, and (c2) charge mode. Magenta: duty cycle d; yellow: bus voltage reference v d c r e f ; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g030
Figure 31. Reference tracking performance at v b = 24 V using adaptive LQG with lookup table: (a1) discharge mode, (b1) standby mode, and (c1) charge mode; and with polynomial interpolation: (a2) discharge mode, (b2) standby mode, and (c2) charge mode. Magenta: duty cycle d; yellow: bus voltage reference v d c r e f ; cyan: bus voltage v d c ; green: bus current i o .
Figure 31. Reference tracking performance at v b = 24 V using adaptive LQG with lookup table: (a1) discharge mode, (b1) standby mode, and (c1) charge mode; and with polynomial interpolation: (a2) discharge mode, (b2) standby mode, and (c2) charge mode. Magenta: duty cycle d; yellow: bus voltage reference v d c r e f ; cyan: bus voltage v d c ; green: bus current i o .
Wevj 14 00142 g031
Table 1. Acronyms.
Table 1. Acronyms.
AcronymsSignificance
LQGlinear–quadratic–Gaussian
MPCmodel predictive control
DSPdigital signal processor
LQRlinear quadratic regulator
LQIlinear quadratic integral
PIDproportional–integral–derivative
RMSEroot mean square error
ADCsanalog-to-digital converters
MIPSmillions of instructions per second
Table 2. Variables.
Table 2. Variables.
VariableSignificance
i o Output current, DC bus current of a microgrid
v d c Output voltage, DC bus voltage of a microgrid
v d c r e f Desired DC bus voltage
v b Battery side voltage
v c i Coupling capacitor voltage
v c i e Coupling capacitor voltage on stationary state
i L 1 Inductor current of battery side
i L 2 Inductor current of DC bus side
i L 1 e Inductor current on stationary state of battery side
i L 2 e Inductor current on stationary state of DC bus side
uBinary control signal
dContinuous duty cycle
d e Continuous duty cycle on stationary state
T s w Switching period
Table 3. Summary of the dynamic performance for bus voltage regulation.
Table 3. Summary of the dynamic performance for bus voltage regulation.
Test ConditionsOvershoot (%)Settling Time (ms)
v b ( V ) v dc ( V ) Lookup TablePolynomial Interp.LQG OnlineLookup TablePolynomial Interp.LQG Online
121010.910.859.73.33.653.83
128.88.768.753.23.453.46
166.256.216.192.933.02
24204.134.14.10.750.750.75
243.33.293.290.6710.6720.67
2632.9830.630.6240.63
Table 4. Mean error and relative standard deviation of the tests.
Table 4. Mean error and relative standard deviation of the tests.
v b ( V ) v dc ( V ) Mean Error (%)Relative Standard
Deviation (%)
Lookup
Table
Polynomial
Interp.
Lookup
Table
Polynomial
Interp.
1210 1.33 × 10 5 1.04 × 10 5 0.56740.5720
12 6.02 × 10 5 4.69 × 10 5 0.46320.4667
16 4.91 × 10 6 9.09 × 10 7 0.34400.3460
2420 1.05 × 10 5 8.43 × 10 6 0.17970.1812
24 6.21 × 10 5 5.93 × 10 5 0.14430.1455
26 6.75 × 10 6 5.16 × 10 6 0.13670.1379
Table 5. Dynamic performance in bus voltage regulation tests.
Table 5. Dynamic performance in bus voltage regulation tests.
Test ConditionsOvershoot (%)Settling Time (ms)
v b ( V ) v dc ( V ) Lookup TablePolynomial Interp.LQG Online Lookup Table Polynomial Interp. LQG Online
12109.289.458.759.259.169.00
128.077.917.009.038.938.80
166.486.095.859.198.858.70
24202.852.803.166.046.477.00
242.682.332.636.375.806.43
262.302.232.635.314.766.00
Table 6. Overall CPU utilization.
Table 6. Overall CPU utilization.
Adaptive MethodMax CPU Utilization (MIPS)
Lookup table94
Polynomial interpolation93
Online LQG714
Table 7. Comparative summary of the indices.
Table 7. Comparative summary of the indices.
Adaptive MethodSuitable Control CardPerformance IndexCPU Utilization IndexCost Index
Lookup tableTMDSCNCD28001570.9340.9891
Polynomial interpolationTMDSCNCD28001570.97011
Online LQGTMDSCNCD28379D0.9460.130.371
Table 8. Advantage comparison.
Table 8. Advantage comparison.
Adaptive MethodPerformance–Cost RelationPerformance–CPU Relation
Lookup table1.931.92
Polynomial interpolation1.971.97
Online LQG1.321.08
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

Montenegro-Oviedo, J.A.; Ramos-Paja, C.A.; Orozco-Gutierrez, M.L.; Franco-Mejía, E.; Serna-Garcés, S.I. Experimental Design of an Adaptive LQG Controller for Battery Charger/Dischargers Featuring Low Computational Requirements. World Electr. Veh. J. 2023, 14, 142. https://doi.org/10.3390/wevj14060142

AMA Style

Montenegro-Oviedo JA, Ramos-Paja CA, Orozco-Gutierrez ML, Franco-Mejía E, Serna-Garcés SI. Experimental Design of an Adaptive LQG Controller for Battery Charger/Dischargers Featuring Low Computational Requirements. World Electric Vehicle Journal. 2023; 14(6):142. https://doi.org/10.3390/wevj14060142

Chicago/Turabian Style

Montenegro-Oviedo, Jhoan Alejandro, Carlos Andres Ramos-Paja, Martha Lucia Orozco-Gutierrez, Edinson Franco-Mejía, and Sergio Ignacio Serna-Garcés. 2023. "Experimental Design of an Adaptive LQG Controller for Battery Charger/Dischargers Featuring Low Computational Requirements" World Electric Vehicle Journal 14, no. 6: 142. https://doi.org/10.3390/wevj14060142

Article Metrics

Back to TopTop