This article presents a comprehensive investigation into the application of reinforcement learning (RL) techniques for improving deadbeat control (DBC) of hybrid energy storage systems (HESS) in DC microgrids. The study addresses two critical challenges: nonlinear power losses with unknown disturbances, and negative impedance characteristics of constant power loads (CPL) combined with model parameter mismatch. Two novel control frameworks are proposed: a DDPG-based nonlinear power loss compensation method (RL-DBC) and a PPO-based model active adaptation method (RL-AMVDB). Mathematical derivations, Markov decision process formulations, stability analyses, simulation results, and hardware experimental validations are presented. The results demonstrate that the proposed methods significantly enhance dynamic response, reduce steady-state error, suppress current ripple, and improve robustness under parameter mismatch conditions.
1. Introduction and Background
The global energy landscape is undergoing a profound transformation driven by the depletion of fossil fuels and the pressing need to reduce environmental pollution. Renewable energy sources such as photovoltaic (PV) and wind power have become central to this transition. However, their inherent intermittency and randomness introduce significant challenges for power system stability. DC microgrids, as essential components of the future power grid, enable efficient integration of distributed renewable generation, energy storage, and various loads. A well-designed energy storage system is critical for smoothing power fluctuations and maintaining the power balance between generation and consumption.
Traditional single-type storage systems, such as batteries or supercapacitors, exhibit limitations when applied alone. Batteries provide high energy density but suffer from low power density and slow transient response. Supercapacitors, on the other hand, offer high power density and rapid response but lack sufficient energy capacity for sustained discharge. A hybrid energy storage system combines these complementary characteristics, making it an ideal solution for modern DC microgrids. The Ragone plot of various storage devices clearly illustrates these trade-offs, highlighting why hybrid configurations are increasingly preferred.
Nevertheless, the control of power converters in a hybrid energy storage system is challenging. Deadbeat control is a model-based predictive strategy that calculates the required duty cycle from the current system state to force the controlled variable to reach its reference value within one sampling period. It offers fast dynamic response and low computational burden, making it attractive for DC-DC converters in microgrids. However, the performance of deadbeat control relies heavily on the accuracy of the system model. In practical applications, several nonlinear factors degrade its performance:
- Nonlinear power losses: conduction losses, switching losses, gate drive losses, and other unknown losses create a mismatch between the ideal model and the actual converter behavior.
- Unknown disturbances: sensor noise, electromagnetic interference, and load variations introduce perturbations that are not captured by the deterministic model.
- Negative impedance of constant power loads: tightly regulated power electronic loads behave as constant power loads (CPL), whose incremental impedance is negative. This can lead to instability, voltage oscillations, and increased current ripple.
- Model parameter mismatch: component aging, temperature drift, and manufacturing tolerances cause the actual inductance and capacitance values to deviate from their rated values, typically up to 20%.
To overcome these challenges, this article proposes reinforcement learning-based enhancements to the traditional deadbeat control framework. The key idea is to use RL agents to compensate for the nonlinearities and to actively adapt model parameters in real time. Two complementary strategies are developed: (i) a DDPG-based compensation scheme that treats all nonlinear power losses and unknown disturbances as a lumped disturbance and compensates the reference current; and (ii) a PPO-based model adaptation scheme that dynamically adjusts the inductance parameters used in the inner current control loop.
2. System Structure and Modeling
The investigated DC microgrid contains PV generation, a hybrid energy storage system composed of a battery and a supercapacitor, a DC bus, and loads. The energy storage devices are connected to the bus through half-bridge bidirectional Buck/Boost converters. The bus voltage is regulated by controlling the power flow from/in the energy storage system. The overall structure of the DC microgrid with the hybrid energy storage system is shown below.

2.1 Bidirectional Buck/Boost Converter
The half-bridge bidirectional converter operates in both boost mode (discharging) and buck mode (charging). The switching states are complementary, meaning that when one MOSFET is on, the other is off. The dynamic equations for the inductor current and capacitor voltage in boost mode can be written as:
When switch \(S_1\) is on and \(S_2\) is off (during duty cycle \(d\)):
\[
\begin{cases}
\dfrac{di_L}{dt} = \dfrac{v_{in}}{L} \\
\dfrac{dv_o}{dt} = -\dfrac{v_o}{RC}
\end{cases}
\]
When switch \(S_1\) is off and \(S_2\) is on:
\[
\begin{cases}
\dfrac{di_L}{dt} = \dfrac{v_{in} – v_o}{L} \\
\dfrac{dv_o}{dt} = \dfrac{i_L}{C} – \dfrac{v_o}{RC}
\end{cases}
\]
Using state-space averaging and linearizing around a steady-state operating point, the small-signal transfer functions can be derived. The control-to-inductor-current transfer function \(G_{id}(s)\) and the inductor-current-to-output-voltage transfer function \(G_{vi}(s)\) are given by:
\[
G_{id}(s) = \frac{\hat{i}_L(s)}{\hat{d}(s)} = \frac{V_o C s + \frac{V_o}{R}}{L C s^2 + \frac{L}{R}s + (1-D)^2}
\]
\[
G_{vi}(s) = \frac{\hat{v}_o(s)}{\hat{i}_L(s)} = \frac{(1-D)R – (1-D)^2 s L}{1 + s R C}
\]
These transfer functions form the basis for the deadbeat controller design and stability analysis. The rated parameters of the bidirectional converters are summarized in the following table.
| Symbol | Meaning | Value |
|---|---|---|
| \(v_b, v_{sc}, v_{pv}\) | Battery, supercapacitor, PV voltage | 24 V, 24 V, 18 V |
| \(v_o\) | DC bus voltage | 48 V |
| \(D_b, D_{sc}, D_{pv}\) | Steady-state duty cycles | 0.5, 0.5, 0.63 |
| \(L_b, L_{sc}, L_{pv}\) | Filter inductances | 2.5 mH |
| \(C\) | DC bus capacitance | 1230 μF |
| \(f_{sw}\) | Switching frequency | 5 kHz |
| \(T_s\) | Sampling period | 100 μs |
2.2 Traditional Deadbeat Control
The traditional deadbeat control for a hybrid energy storage system consists of an outer voltage loop, a power distribution filter, an inner current loop, and a pulse-width-modulation generator. The observer estimates the HESS current \(i_{hess}\) without direct current sensors:
\[
i_{hess}(s) = \frac{\omega_c}{s + \omega_c} \left[ i_b(s)(1-d_b(s)) + i_{sc}(s)(1-d_{sc}(s)) – s C v_o(s) \right]
\]
After discretization using the bilinear transform, the observer becomes:
\[
i_{hess}(k) = \frac{2-\omega_c T_s}{2+\omega_c T_s} i_{hess}(k-1) + \frac{\omega_c T_s}{2+\omega_c T_s} \left[ x(k) – x(k-1) \right]
\]
where \(x(k) = i_b(k)(1-d_b(k)) + i_{sc}(k)(1-d_{sc}(k)) – C \frac{v_o(k)-v_o(k-1)}{T_s}\).
Based on the energy balance in the inductor and capacitor, the reference current for the HESS is:
\[
i_{hess,ref}(k) = \sqrt{ \frac{C}{L} \left[ v_{ref}^2 – v_o^2(k) \right] + i_{hess}^2(k) }
\]
A low-pass filter splits the reference current into the battery (low-frequency) and supercapacitor (high-frequency) components:
\[
i_{b,ref}(k) = f_{LPF}(i_{hess,ref}), \quad i_{sc,ref}(k) = i_{hess,ref}(k) – i_{b,ref}(k)
\]
Finally, the duty cycles for the next sampling instant are calculated as:
\[
d_b(k+1) = \frac{T_s \left[ v_o(k) – v_b(k) \right] + L_b \left[ i_{b,ref}(k) – i_b(k) \right]}{v_o(k) T_s}
\]
\[
d_{sc}(k+1) = \frac{T_s \left[ v_o(k) – v_{sc}(k) \right] + L_{sc} \left[ i_{sc,ref}(k) – i_{sc}(k) \right]}{v_o(k) T_s}
\]
These formulas assume an ideal model. In reality, nonlinear power losses and unknown disturbances cause a deviation between the computed reference current and the optimal current, leading to steady-state voltage error and degraded dynamic performance.
3. Nonlinear Power Loss Compensation Based on Reinforcement Learning
3.1 Types of Nonlinear Power Losses
The power losses in a DC-DC converter can be categorized as follows.
Conduction loss:
\[
P_{b,loss} = I_{Drms}^2 R_{DSon}
\]
Switching loss:
\[
P_{s,loss} = (E_{onM} + E_{offM}) f_{sw}
\]
where the switching energies are computed from the voltage and current waveforms during switching transitions.
Gate drive loss:
\[
P_{ga} = Q_g V_{gs} f_{sw}
\]
Unknown losses \(P_{un}\) include copper losses and losses related to magnetic components and switching modules. The total loss is:
\[
P_{a,loss} = P_{b,loss} + P_{s,loss} + P_{ga} + P_{un}
\]
3.2 Lumped-Disturbance Compensation Strategy
All nonlinear losses and unknown disturbances can be combined into a single lumped disturbance that affects the reference current. Rewriting the reference current equation with the lumped disturbance \(\Phi(t)\) yields:
\[
i_{hess,ref}(t) = \sqrt{ \frac{C}{L} \left[ v_{ref}^2 – v_o^2(t) \right] + i_{hess}^2(t) } + \frac{P_{a,loss}(t)}{R_{DSon}} + \delta(t)
\]
where \(\delta(t)\) represents the unknown disturbance. Defining
\[
\Phi(t) = \frac{P_{a,loss}(t)}{R_{DSon}} + \delta(t)
\]
the problem becomes one of estimating and compensating this time-varying lumped disturbance. Reinforcement learning is particularly suited for this task because it does not require an explicit mathematical model of the loss mechanisms.
3.3 DDPG-Based Compensation Framework
The reinforcement learning agent is designed to output the compensation value \(\Phi\) based on the system state. The state space, action space, and reward function are defined as follows.
State space:
\[
s = \left[ e, e_{del}, v_o, v_{o,del}, i_b, i_{sc} \right]
\]
where the voltage tracking error is \(e = v_{ref} – v_o\), and the delayed values are obtained from previous sampling steps.
Action space: the continuous compensation value \(\Phi\), bounded in \([-2.5, 2.5]\) A based on the converter current rating and a loss percentage of about 7.5%.
Reward function:
\[
r_t = \begin{cases}
\dfrac{1}{\eta + |e(t)|} & \text{if } |e(t)| \le \beta \\
-K |e(t)| & \text{if } |e(t)| > \beta
\end{cases}
\]
with \(\beta = 0.4\) and \(K = 10\). The DDPG algorithm uses an actor network and a critic network, each containing two hidden layers with 128 and 256 neurons. The critic loss function is:
\[
L = \frac{1}{N} \sum_{k=1}^{N} \left[ Y_k – Q(s_k, a_k | \theta_Q) \right]^2
\]
where
\[
Y_k = r_k + \gamma Q’\left( s_{k+1}, \mu'(s_{k+1} | \theta_{\mu’}) | \theta_{Q’} \right)
\]
The actor policy gradient is computed as:
\[
\nabla_{\theta_\mu} J \approx \frac{1}{N} \sum_{k=1}^{N} \nabla_a Q(s, a | \theta_Q) \big|_{a=\mu(s)} \nabla_{\theta_\mu} \mu(s | \theta_\mu)
\]
Target networks are updated using a soft update factor \(\tau\).
3.4 Simulation Validation of RL-DBC
Simulations were carried out in MATLAB/Simulink with the RL toolbox. The hybrid energy storage system was tested in discharge, charge, and unknown-disturbance scenarios. The DDPG hyperparameters are listed below.
| Parameter | Value |
|---|---|
| Maximum training episodes | 1024 |
| Number of samples per episode | 200 |
| Discount factor | 0.99 |
| Actor learning rate | 1e-3 |
| Critic learning rate | 1e-3 |
In the discharge scenario, the load power was stepped from 27.5 W to 153.6 W. The proposed RL-DBC reduced the dynamic voltage error by 1.23 V and shortened the settling time by 70 ms compared with DBC. In steady state, the DBC exhibited a 0.35 V error due to power losses, while RL-DBC achieved zero steady-state error. In the charge scenario, PV power stepped from 57 W to 234 W while the CPL power decreased from 150 W to 100 W. RL-DBC reduced the overshoot by 30.69% and the settling time by 32.25% relative to DBC. In the unknown-disturbance test, a 50% capacitance value mutation was introduced. DBC showed a 1 V overshoot and a steady-state error, whereas RL-DBC maintained the bus voltage nearly unchanged.
4. Model Active Adaptation Based on Reinforcement Learning
4.1 Problem Formalization
Constant power loads exhibit negative incremental impedance, which can destabilize the DC bus. Let us denote the voltage-loop disturbance as \(\zeta_v\) and the current tracking error as \(\varepsilon_i\). At the discrete time step \(k+1\), the capacitor current is:
\[
i_c(k) = \frac{P_{pv}(k) + P_{hess}(k) – P_{load}(k) – P_{a,loss}(k)}{v_o(k)} + \zeta_v(k)
\]
When the CPL power changes by \(\Delta P_{load}\), the resulting voltage deviation can be expressed as:
\[
\varepsilon_v(k+1) = -\frac{T_s}{C v_o(k+1)} \left[ \Delta P_{load} – \zeta_v(k) \right]
\]
In the traditional deadbeat control, the voltage error propagates to the next cycles, causing sustained oscillations. The current tracking error in the inner loop is:
\[
\varepsilon_i(k+2) = \frac{T_s}{L_b} \left[ \zeta_i(k) – v_o(k) \frac{\varepsilon_v(k+2)}{v_o(k)} \right]
\]
This error leads to increased current ripple and voltage ripple, ultimately reducing the lifetime of the energy storage system.
4.2 Markov Decision Process Construction
To actively adapt the model parameters \(L_b\) and \(L_{sc}\), we formulate the control problem as a Markov decision process (MDP). The environment is the closed-loop HESS under deadbeat control. The state space includes:
\[
S = \left[ \varepsilon_v, \varepsilon_{v,z^{-1}}, v_o, v_{o,z^{-1}}, i_b, i_{sc} \right]
\]
The action is a two-dimensional inductance factor:
\[
a = [\beta_b, \beta_{sc}], \quad \beta \in [0.5, 1.5]
\]
The discretized action step is 0.05. The reward function is identical to Eq. (3-18). The PPO algorithm is selected for this task because of its stability, relatively low computational complexity, and suitability for discrete or continuous action spaces with small parameter sets.
4.3 PPO-Based Active Adaptation Framework
The overall control structure is depicted in the following flow description. The PPO agent receives the system state \(s\) and outputs the adaptation factors \(\beta_b\) and \(\beta_{sc}\). These factors are multiplied by the nominal inductance values to obtain the adapted model parameters used in the deadbeat current controller:
\[
L_b^* = \beta_b L_b, \quad L_{sc}^* = \beta_{sc} L_{sc}
\]
The duty cycle calculation then uses these adapted values:
\[
d_b(k+1) = \frac{T_s \left[ v_o(k) – v_b(k) \right] + L_b^* \left[ i_{b,ref}(k) – i_b(k) \right]}{v_o(k) T_s}
\]
\[
d_{sc}(k+1) = \frac{T_s \left[ v_o(k) – v_{sc}(k) \right] + L_{sc}^* \left[ i_{sc,ref}(k) – i_{sc}(k) \right]}{v_o(k) T_s}
\]
The PPO policy loss function is:
\[
L(\theta) = \mathbb{E} \left[ \min \left( r_t(\theta) \hat{A}_t, \operatorname{clip}(r_t(\theta), 1-\epsilon, 1+\epsilon) \hat{A}_t \right) \right]
\]
where the probability ratio is:
\[
r_t(\theta) = \frac{\pi_\theta(a_t | s_t)}{\pi_{\theta_{old}}(a_t | s_t)}
\]
The critic network minimizes the mean squared error between the predicted value and the target value.
4.4 Stability Analysis
The closed-loop transfer functions in the z-domain are derived for the current loop and voltage loop. The current open-loop transfer function is:
\[
G_{i,ol}(z) = G_{dbi}(z) G_{id}(z)
\]
where \(G_{dbi}(z)\) is the deadbeat current controller transfer function. The closed-loop current transfer function is:
\[
G_{i,cl}(z) = \frac{G_{i,ol}(z)}{1 + G_{i,ol}(z) H_i}
\]
Similarly, the voltage loop closed-loop transfer function is:
\[
G_{v,cl}(z) = \frac{G_{dbv}(z) G_{vi}(z) G_{i,cl}(z)}{1 + G_{dbv}(z) G_{vi}(z) G_{i,cl}(z) H_v}
\]
Substituting the transfer functions and letting \(\beta_b\) vary from 0.5 to 1.5 in 50 equally spaced values, all closed-loop poles lie inside the unit circle in the z-plane. This confirms that the proposed adaptive scheme maintains stability over the entire allowed range of the model adaptation factor.
4.5 Simulation Validation of RL-AMVDB
The simulation tests included load step changes, PV power step changes, and model parameter mismatch. The PPO hyperparameters are listed below.
| Parameter | Value |
|---|---|
| Maximum training episodes | 300 |
| Number of samples per episode | 600 |
| Discount factor | 0.997 |
| Actor learning rate | 5e-4 |
| Critic learning rate | 1e-3 |
Sensitivity analysis of the hidden layer neuron number showed that a configuration of [128, 128] produced the fastest convergence and the smallest voltage fluctuations. The simulation results are summarized in the following table.
| Scenario | Metric | DBC | MPC | ESO-MPC | RL-AMVDB |
|---|---|---|---|---|---|
| Load step 100 W to 50 W | Voltage overshoot (V) | 3.6 | 5.2 | 4.1 | 2.6 |
| Settling time (ms) | 70.6 | 120 | 90 | 15.4 | |
| Voltage ripple (V) | 2.55 | 3.1 | 2.2 | 1.58 | |
| PV step 70 W to 130 W | Overshoot (V) | 4.1 | 6.0 | 4.8 | 3.0 |
| Settling time (ms) | 50 | 110 | 80 | 25 | |
| Parameter mismatch 20% | Voltage oscillation | Severe | Moderate | Mild | Negligible |
Moreover, the online computational burden of each algorithm was measured by averaging ten runs on the same processor. MPC incurred the highest burden; ESO-MPC was slightly higher than MPC due to the observer; RL-AMVDB was lower than MPC and moderate overall; DBC had the lowest burden.
5. Experimental Platform and Validation
5.1 Hardware Setup
A laboratory-scale DC microgrid platform was built to validate the proposed methods. The platform consists of a real-time controller (RTU-206 with TMS320C28377D), an AI server (Intel i7-12700K, RTX 3090, 32 GB RAM), a hybrid energy storage system (two 12 V 5 Ah lead-acid batteries in series and four 58 F supercapacitors in a 2S2P configuration), power converter modules (RTM-PEH8035SF, 800 V maximum, 35 A maximum), voltage and current sensors, a PV simulator, and a programmable electronic load. The control algorithms are coded in CCS 9.1.0 and deployed to the controller. The RL models are trained offline on the AI server using MATLAB/Simulink, and the trained networks are converted to C code and integrated with the deadbeat controller.
5.2 Experimental Results of RL-DBC
Two typical scenarios were tested: load power step changes and PV power step changes. In the load step scenario, the PV power was fixed at 30 W, and the CPL power switched from 36 W to 136 W and back. The bus voltage reference was 48 V. In the DBC case, the bus voltage exhibited a 0.6 V steady-state error due to power losses. In contrast, RL-DBC eliminated this error by compensating the lumped disturbance. The dynamic voltage spike was reduced from 7.3 V to 4.8 V during the load increase, and from 4 V to 1.9 V during the load decrease. The settling time was reduced by 20 ms in both transitions. In the PV step scenario, the load was 43.2 W and PV power changed from 72 W to 200 W. RL-DBC reduced the dynamic error by 0.4 V and kept the steady-state error below 0.1 V, whereas DBC exhibited a 0.6 V error. An additional agent plug-in/plug-out experiment showed that enabling the DDPG compensation reduced the steady-state error from 0.4 V to 0 V, while disabling it restored the error.
5.3 Experimental Results of RL-AMVDB
For the model adaptation method, experiments were conducted under load step changes, PV step changes, and 20% parameter mismatch. In the load step scenario (PV 70 W, load 50 W to 100 W to 50 W), RL-AMVDB reduced the battery current ripple by 100 mA, the supercapacitor current ripple by 850 mA, and the bus voltage ripple by 0.97 V. The dynamic voltage error and settling time were reduced by 0.28 V and 60 ms, respectively. In the PV step scenario (load 80 W, PV 50 W to 100 W to 50 W), the battery ripple was reduced by 50 mA and the supercapacitor ripple by 560 mA. In the parameter mismatch scenario (PV 80 W, load 50 W, 20% mismatch), switching from DBC to RL-AMVDB reduced the battery ripple by 200 mA and the supercapacitor ripple by 400 mA. An extreme condition test with a daily PV profile under 20% mismatch confirmed that RL-AMVDB maintained much lower voltage and current ripples compared with DBC.
5.4 Comparison with State-of-the-Art Algorithms
The following tables summarize the qualitative and quantitative comparisons between the proposed methods and existing approaches.
| Method | Type | Complexity | Online burden | Interpretability | Validation |
|---|---|---|---|---|---|
| PI | Model-based | Easy, tuning required | Low | Strong | Experimental |
| MPC | Model-based | Requires online optimization | High | Strong | Experimental |
| Model-free MPC | Model-free | Easy, tuning required | High | Strong | Experimental |
| DDPG | AI-based | Offline training | Low | Weak | Experimental |
| MPC-ANN | AI-based | Offline training | Low | Weak | Simulation |
| DDPG-PI | AI+model | Easy, no disturbance modeling | Low | Medium | Experimental |
| IRL-Robust | AI+model | Easy, tuning required | Medium | Strong | Experimental |
| DBC | Model-based | Easy, requires disturbance modeling | Low | Strong | Experimental |
| RL-DBC | AI+model | Easy, no disturbance modeling | Low | Strong | Experimental |
| Method | Sampling time | DC voltage | Load type | Load step | Dynamic error | Settling time | Steady-state error |
|---|---|---|---|---|---|---|---|
| PI | – | 80 V | RL | 40% | 6.6% | 250 ms | <0.1% |
| MPC | 10 μs | 48 V | RL | 50% | 12.5% | 32 ms | <0.1% |
| Model-free MPC | 40 μs | 48 V | RL | 50% | 6.6% | – | <0.1% |
| DDPG | 50 μs | 8 V | CPL | 50% | 18.7% | 4 ms | <0.1% |
| MPC-ANN | – | 24 V | RL | 60% | – | 15 ms | <8.3% |
| DDPG-PI | – | 48 V | CPL | 40% | – | 50 ms | <2% |
| IRL-Robust | 100 μs | 20 V | CPL | 66% | 12.0% | 100 ms | <0.1% |
| DBC | 100 μs | 48 V | CPL | 73.5% | 15.4% | 50 ms | 0.83%–1.25% |
| RL-DBC | 100 μs | 48 V | CPL | 73.5% | 10% | 30 ms | <0.1% |
For the model adaptation method, the comparison table below highlights the advantages in terms of current ripple reduction, parameter mismatch handling, training data size, online burden, and interpretability.
| Method | Sampling time | Load type | Ripple reduction | Parameter mismatch consideration | Training data size | Online burden | Interpretability |
|---|---|---|---|---|---|---|---|
| DDPG-PI | – | CPL | No | Yes | Small | Low | Medium |
| MPC | 10 μs | RL | No | No | Zero | High | Strong |
| MPC-ANN | 100 μs | RL | No | No | Huge | Low | Weak |
| IRL-Robust | 100 μs | CPL | No | Yes | Small | Medium | Strong |
| DDPG | 50 μs | CPL | No | Yes | Large | Low | Weak |
| DBC | 100 μs | CPL | No | No | Zero | Low | Strong |
| RL-AMVDB | 100 μs | CPL | Yes | Yes | Small | Low | Strong |
6. Conclusions
This article has presented two reinforcement learning-based enhancements for deadbeat control of hybrid energy storage systems in DC microgrids. The first method, RL-DBC, integrates the Deep Deterministic Policy Gradient algorithm into the voltage loop to compensate for nonlinear power losses and unknown disturbances treated as a lumped disturbance. The experimental results showed that RL-DBC reduces the bus voltage overshoot by 34.24% to 44.44%, shortens the settling time by 16.66% to 40.00%, and keeps the steady-state error within 1% under large load transients. The second method, RL-AMVDB, incorporates the Proximal Policy Optimization algorithm into the current loop to actively adapt the model inductance parameters. This approach effectively mitigates the negative impedance effect of constant power loads and compensates for model parameter mismatch. Experimental validation demonstrated a 16.6% reduction in current ripple under mismatch conditions, as well as significant improvements in settling time, voltage fluctuation, and ripple current (38.4%, 10.2%, and 12.5%–20%, respectively). Stability analysis confirmed that all closed-loop poles remain inside the unit circle for the entire range of adaptation factors. Compared with existing model-based and data-driven methods, the proposed schemes offer a favorable trade-off among computational burden, training data requirements, interpretability, and control performance. The combination of reinforcement learning with model-based deadbeat control provides a practical and robust solution for advanced energy management in microgrids.
Future work will explore capacity-aware control strategies for hybrid energy storage systems, transfer learning from simulation to real hardware with reduced domain gaps, and the coordination of multiple reinforcement learning agents for simultaneous voltage and current loop optimization.
