Adaptive Sliding Mode Control for Fuel-Cell Hybrid Storage

In this work, I formulate and evaluate an adaptive continuous sliding mode control strategy for a fuel-cell hybrid electric vehicle with a multi-source hybrid energy storage system. The system combines a proton exchange membrane fuel cell, a hybrid photoelectrochemical and photovoltaic cell, a storage battery, and a supercapacitor on a common DC bus. My objective is not merely to stabilize the bus voltage, but to coordinate fast current tracking, sustainable energy management, and robust disturbance rejection within one computationally simple control structure. From the viewpoint of a BESS controller designer, the central difficulty is familiar: the plant is nonlinear, the load is highly transient, and fixed gains either produce sluggish response or unacceptable chattering. Unlike a conventional BESS controller that regulates a single battery branch, the proposed scheme distributes the load current among four conversion modules and uses adaptive super-twisting sliding mode control to enforce finite-time convergence of each module current error. I therefore treat a fixed-gain BESS controller as a useful reference baseline, while the proposed controller extends the same real-time control philosophy to a multi-source hybrid storage architecture.

System architecture and modeling assumptions. The fuel cell is the main steady-state energy source. The hybrid photoelectrochemical and photovoltaic cell provides auxiliary electrical energy and can support hydrogen production. The storage battery supplies medium-frequency energy and accepts regenerative charging. The supercapacitor handles peak power and fast transients. Each source is connected to the DC bus through a boost or buck-boost converter. I assume that converter losses are represented by a lumped efficiency compensation factor and that each module operates in continuous conduction mode. These assumptions keep the control-oriented model transparent while retaining the dominant nonlinearities required for sliding mode design. The power balance on the DC bus is written as

$$P_{\mathrm{FC}}+P_{\mathrm{HPPC}}+P_{\mathrm{SB}}+P_{\mathrm{SC}}=P_L$$

and, using the module output voltages and currents, the same balance becomes

$$V_{\mathrm{FC}}i_1+V_{\mathrm{HPPC}}i_2+V_{\mathrm{SB}}i_3+V_{\mathrm{SC}}i_4=V_{\mathrm{dc}}i_o$$

where the positive current direction is from each module toward the DC bus. Each current is bounded by its module capability, so I enforce i1 in the interval from I1,min to I1,max, and similarly for i2, i3, and i4. The bus current is denoted by io. The control target is to keep the DC bus voltage close to Vdc,ref while assigning the load current to the four modules according to their dynamic capabilities. This indirect approach avoids the non-minimum-phase behavior that appears when the bus voltage is controlled directly through the boost duty cycle. In a pure BESS controller, the same issue often appears as a right-half-plane zero in the battery current-to-bus-voltage transfer function. I handle it here by controlling module currents first and allowing the bus voltage to follow through power conservation.

Table 1. Main symbols and control roles.

Symbol Meaning Role in the proposed controller
i1 Fuel cell output current Main slow current loop; follows i1,ref
i2 Hybrid photoelectrochemical and photovoltaic output current Auxiliary current loop; supplies hydrogen-linked and photovoltaic support
i3 Storage battery current Bidirectional medium-frequency loop
i4 Supercapacitor current Fast bidirectional loop for peak power and braking recovery
Vdc DC bus voltage Regulated indirectly through current tracking
Vdc,ref DC bus reference voltage Derived from power balance
io DC bus load current Distributed by the energy management strategy
u1, u2 Boost converter duty signals Continuous control inputs for fuel cell and HPPC modules
u34, u56 Buck-boost mode-dependent duty signals Continuous control inputs for battery and supercapacitor modules
sv Integral sliding surface Error coordinate for adaptive super-twisting law
kv(sv,t) Adaptive gain Barrier-function-based gain scheduling
BESS controller Reference baseline for battery-only regulation Used conceptually for comparison of fixed-gain and adaptive behavior

Converter-level current relations. The fuel cell is connected through a boost converter. Because the fuel cell current flows to the output capacitor only during the switch-off interval, the module output current is

$$i_{o1}=(1-u_1)i_1-C_1\frac{dV_{\mathrm{dc}}}{dt}$$

At steady state, the capacitor average current is zero, so the relation reduces to io1 = D1 i1 with D1 = 1 – u1. The HPPC module has the same boost structure, hence

$$i_{o2}=(1-u_2)i_2-C_2\frac{dV_{\mathrm{dc}}}{dt}$$

and at steady state io2 = D2 i2 with D2 = 1 – u2. For the storage battery, the converter must operate in boost mode during discharge and buck mode during charge. I define the mode coefficient

$$M=\begin{cases}1,&i_{3,\mathrm{ref}}\ge0\\0,&i_{3,\mathrm{ref}}\le0\end{cases}$$

and the effective duty signal

$$u_{34}=M(1-u_3)+(1-M)u_4.$$

The battery module output current is then

$$i_{o3}=u_{34}i_3-C_3\frac{dV_{\mathrm{dc}}}{dt},$$

with steady-state relation io3 = D3 i3 and D3 = u34. In the same way, the supercapacitor mode coefficient is

$$N=\begin{cases}1,&i_{4,\mathrm{ref}}\ge0\\0,&i_{4,\mathrm{ref}}\le0\end{cases}$$

and the corresponding effective duty is

$$u_{56}=N(1-u_5)+(1-N)u_6.$$

The supercapacitor output current is

$$i_{o4}=u_{56}i_4-C_4\frac{dV_{\mathrm{dc}}}{dt},$$

with io4 = D4 i4 and D4 = u56 at steady state. These relations provide the basis for the current-tracking loops. A conventional BESS controller often treats the battery current as the only controllable current and ignores the interaction among parallel branches. In contrast, I explicitly model all four output-current relations so that the BESS controller perspective is generalized to a coordinated hybrid storage controller.

Table 2. Converter configuration and current relation by module.

Module Converter type Current relation Steady-state duty Dynamic function
Fuel cell Boost io1 = (1 – u1)i1 – C1 dVdc/dt D1 = 1 – u1 Slow main power
HPPC Boost io2 = (1 – u2)i2 – C2 dVdc/dt D2 = 1 – u2 Auxiliary photovoltaic and hydrogen support
Storage battery Buck-boost io3 = u34 i3 – C3 dVdc/dt D3 = u34 Bidirectional medium-frequency storage
Supercapacitor Buck-boost io4 = u56 i4 – C4 dVdc/dt D4 = u56 Peak power and fast recovery

Energy management strategy. The energy management strategy translates the bus load current into four reference currents. I design it around load severity rather than around a fixed priority list. In low positive load, the fuel cell supplies the load and the remaining modules remain near standby. In high positive load, the fuel cell is limited to its maximum sustainable current, the HPPC module supplies the next block of power, the battery supplies the medium-frequency residual, and the supercapacitor supplies the peak. In negative load, the fuel cell stops supplying energy, the battery absorbs regenerative power within its charging limit, and the supercapacitor absorbs fast surplus power. This logic protects the fuel cell from fast transients and keeps the battery within a healthy charging window. It also reduces the low-frequency stress on the supercapacitor, which is important because the supercapacitor should remain available for the next acceleration event.

For the fuel cell, I use a low-pass filtered load current so that the fuel cell responds to the slow trend rather than to every road-induced transient. The reference is

$$i_{o1,\mathrm{ref}}=\begin{cases}0,&K_{\mathrm{FC}}i_o\le0\\K_{\mathrm{FC}}i_o,&0\le K_{\mathrm{FC}}i_o\le i_{o1,\max}\\i_{o1,\max},&K_{\mathrm{FC}}i_o\ge i_{o1,\max}\end{cases}$$

where KFC is a first-order low-pass filter. The HPPC module is activated when the fuel cell reaches its limit:

$$i_{o2,\mathrm{ref}}=\begin{cases}0,&0\le K_{\mathrm{FC}}i_o\le i_{o1,\max}\\K_{\mathrm{HPPC}}(i_o-i_{o1,\mathrm{ref}}),&0\le K_{\mathrm{HPPC}}(i_o-i_{o1,\mathrm{ref}})\le i_{o2,\max}\\i_{o2,\max},&K_{\mathrm{HPPC}}(i_o-i_{o1,\mathrm{ref}})\ge i_{o2,\max}\end{cases}$$

The battery reference is a saturated and filtered residual:

$$i_{o3,\mathrm{ref}}=\mathrm{sat}_{[-i_{o3,\max},i_{o3,\max}]}\left(K_{\mathrm{SB}}\left(i_o-i_{o1,\mathrm{ref}}-i_{o2,\mathrm{ref}}\right)\right).$$

In implementation, a small dead zone is applied so that the battery does not react to negligible residual current. The supercapacitor receives the remaining current:

$$i_{o4,\mathrm{ref}}=i_o-i_{o1,\mathrm{ref}}-i_{o2,\mathrm{ref}}-i_{o3,\mathrm{ref}}.$$

This residual allocation is deliberate. It guarantees that the sum of the module reference currents equals the bus load current after steady-state filtering, so the bus voltage can remain close to its reference without a steady-state power mismatch. The corresponding bus reference voltage is

$$V_{\mathrm{dc,ref}}=\eta\frac{V_{\mathrm{FC}}i_{1,\mathrm{ref}}+V_{\mathrm{HPPC}}i_{2,\mathrm{ref}}+V_{\mathrm{SB}}i_{3,\mathrm{ref}}+V_{\mathrm{SC}}i_{4,\mathrm{ref}}}{i_o},$$

where eta is a loss-compensation factor larger than one. I use this factor to account for converter efficiency and measurement scaling. In a BESS controller, a similar compensation term is often required when the battery current is used to infer the DC bus voltage. The difference here is that the compensation is distributed among four modules rather than concentrated in one battery branch.

Table 3. Load-condition rules used by the energy management strategy.

Load condition Current range Fuel cell HPPC Battery Supercapacitor
Low positive load 0 to io1,max Main supply through low-pass filter Standby Standby or small residual Standby
High positive load io1,max to io1,max + io2,max At limit First supplemental source Secondary supplemental source Peak support
Very high positive load Above io1,max + io2,max + io3,max At limit At limit At limit Fast peak supply
Low negative load -io3,max to 0 Stops supply Supports charging path Regenerative charging within limit Fast surplus absorption
High negative load Below -io3,max Stops supply Supports charging path Charging limited High-power recovery

Table 4. Thresholds used in the experimental study.

Parameter Value Purpose
io1,max 55 A Fuel cell current limit
io2,max 6 A HPPC supplemental current limit
io3,max 16 A Battery charge and discharge current limit
Loss compensation factor 1.0526 Converter efficiency compensation
EUDC maximum speed 120 km/h Drive-cycle peak
EUDC average speed 63 km/h Drive-cycle mean

Adaptive continuous sliding mode control. I define the current tracking error for each module as

$$x_v=i_v-i_{v,\mathrm{ref}},\quad v=1,2,3,4.$$

Because each module current is bounded, each error lies in a known interval. I introduce an integral sliding surface for each module:

$$s_1=\lambda_1x_1+\lambda_2\int_0^t x_1\,d\tau,$$

$$s_2=\lambda_3x_2+\lambda_4\int_0^t x_2\,d\tau,$$

$$s_3=\lambda_5x_3+\lambda_6\int_0^t x_3\,d\tau,$$

$$s_4=\lambda_7x_4+\lambda_8\int_0^t x_4\,d\tau.$$

The integral term removes steady-state current error and allows the controller to reject slowly varying parameter offsets. The coefficients lambda1 through lambda8 set the relative weight between the instantaneous error and its accumulated history. In a fixed-gain BESS controller, these coefficients are usually tuned for one operating point. Here they are selected together with adaptive gains so that the sliding surface remains well conditioned across a wide load range.

Differentiating the surfaces and substituting the converter current dynamics gives

$$\dot{s}_1=\lambda_1\left(\frac{V_{\mathrm{FC}}}{L_1}-\frac{R_1}{L_1}i_1-\frac{1-u_1}{L_1}V_{\mathrm{dc}}-\dot{i}_{1,\mathrm{ref}}\right)+\lambda_2x_1,$$

$$\dot{s}_2=\lambda_3\left(\frac{V_{\mathrm{HPPC}}}{L_2}-\frac{R_2}{L_2}i_2-\frac{1-u_2}{L_2}V_{\mathrm{dc}}-\dot{i}_{2,\mathrm{ref}}\right)+\lambda_4x_2,$$

$$\dot{s}_3=\lambda_5\left(\frac{V_{\mathrm{SB}}}{L_3}-\frac{R_3}{L_3}i_3-\frac{u_{34}}{L_3}V_{\mathrm{dc}}-\dot{i}_{3,\mathrm{ref}}\right)+\lambda_6x_3,$$

$$\dot{s}_4=\lambda_7\left(\frac{V_{\mathrm{SC}}}{L_4}-\frac{R_4}{L_4}i_4-\frac{u_{56}}{L_4}V_{\mathrm{dc}}-\dot{i}_{4,\mathrm{ref}}\right)+\lambda_8x_4.$$

I use the Lyapunov function

$$V=\frac12s_1^2+\frac12s_2^2+\frac12s_3^2+\frac12s_4^2=\frac12\sum_{v=1}^{4}s_v^2.$$

Its derivative is

$$\dot V=\sum_{v=1}^{4}s_v\dot{s}_v.$$

The converter duty signals are the only available inputs, and the duty range is limited to the interval from zero to one. A fixed-gain sliding mode law can easily demand an unrealizable duty signal during a severe transient. I therefore use an adaptive super-twisting law that respects the bounded nature of the duty signal while preserving finite-time convergence. The sliding surface derivative is forced to the continuous reaching law

$$\dot{s}_v=-k_v(s_v,t)\left|s_v\right|^{\alpha_v}\mathrm{sgn}(s_v)-k_v^2(s_v,t)\int_0^t\mathrm{sgn}(s_v)\,d\tau,$$

where v = 1, 2, 3, 4 and the exponent satisfies zero not greater than alpha-v not greater than one half. The first term provides finite-time attraction to the surface. The second term is the super-twisting integral term, which filters the switching signal and suppresses high-frequency chattering. The adaptive gain is

$$k_v(s_v,t)=\begin{cases}K_vt+K_{0v},&0\le t\le t_v\\K_{bv}(s_v),&t\ge t_v\end{cases}$$

where Kv and K0v are positive constants, tv is the switching time, and Kbv is a barrier function. The barrier function is defined on the open interval from minus epsilon-v to epsilon-v:

$$K_{bv}(s_v)=\frac{\epsilon_vb_v}{\epsilon_v-\left|s_v\right|},\quad b_v=2(K_vt_v+K_{0v}),\quad s_v\in(-\epsilon_v,\epsilon_v).$$

The gain therefore increases as the sliding variable approaches the boundary of the desired neighborhood. This creates a soft barrier: the controller does not need a large fixed gain at the origin, but it can produce a strong corrective action when the state tries to leave the neighborhood. The BESS controller analogy is direct: a fixed-gain BESS controller must choose one gain that is either too small during transients or too large near steady state. The barrier-function gain resolves that trade-off without requiring a high-bandwidth observer.

Table 5. Structure of the adaptive gain.

Phase Gain expression Behavior Benefit
Initial convergence Kv t + K0v Gain grows with time until the state enters the target neighborhood Fast attraction without an oversized initial gain
Barrier regulation epsilon-v bv divided by epsilon-v minus absolute sv Gain rises near the neighborhood boundary Bounded steady-state error and strong disturbance rejection
Continuity point sv equals epsilon-v divided by two The two gain expressions meet continuously Avoids an abrupt gain jump
BESS controller comparison Fixed gain One gain for all operating points Simple but prone to chattering or sluggishness

Substituting the reaching law into the surface dynamics yields the continuous duty law for the fuel cell:

$$u_1=\frac{L_1}{\lambda_1V_{\mathrm{dc}}}\left[-\frac{\lambda_1}{L_1}V_{\mathrm{FC}}-\lambda_2x_1-k_1(s_1,t)\left|s_1\right|^{\alpha_1}\mathrm{sgn}(s_1)-k_1^2(s_1,t)\int_0^t\mathrm{sgn}(s_1)\,d\tau+\frac{\lambda_1R_1}{L_1}i_1+\lambda_1\dot{i}_{1,\mathrm{ref}}+\frac{\lambda_1V_{\mathrm{dc}}}{L_1}\right].$$

For the HPPC module, the corresponding law is

$$u_2=\frac{L_2}{\lambda_3V_{\mathrm{dc}}}\left[-k_2(s_2,t)\left|s_2\right|^{\alpha_2}\mathrm{sgn}(s_2)-\frac{\lambda_3}{L_2}V_{\mathrm{HPPC}}-\lambda_4x_2-k_2^2(s_2,t)\int_0^t\mathrm{sgn}(s_2)\,d\tau+\frac{\lambda_3R_2}{L_2}i_2+\lambda_3\dot{i}_{2,\mathrm{ref}}+\frac{\lambda_3V_{\mathrm{dc}}}{L_2}\right].$$

For the battery module, the sign convention of the buck-boost current leads to

$$u_{34}=\frac{L_3}{\lambda_5V_{\mathrm{dc}}}\left[k_3(s_3,t)\left|s_3\right|^{\alpha_3}\mathrm{sgn}(s_3)+\frac{\lambda_5}{L_3}V_{\mathrm{SB}}+\lambda_6x_3+k_3^2(s_3,t)\int_0^t\mathrm{sgn}(s_3)\,d\tau-\frac{R_3\lambda_5}{L_3}i_3-\lambda_5\dot{i}_{3,\mathrm{ref}}\right].$$

For the supercapacitor module, I obtain

$$u_{56}=\frac{L_4}{\lambda_7V_{\mathrm{dc}}}\left[k_4(s_4,t)\left|s_4\right|^{\alpha_4}\mathrm{sgn}(s_4)+\frac{\lambda_7}{L_4}V_{\mathrm{SC}}+\lambda_8x_4+k_4^2(s_4,t)\int_0^t\mathrm{sgn}(s_4)\,d\tau-\frac{R_4\lambda_7}{L_4}i_4-\lambda_7\dot{i}_{4,\mathrm{ref}}\right].$$

In implementation, each duty signal is saturated to the physical interval:

$$u_g=\mathrm{sat}_{[0,1]}\left(u_g^{*}\right),$$

where u-g-star denotes the continuous control law before saturation. The saturation is not an afterthought; it is the reason why the gain adaptation is necessary. When the converter reaches its duty limit, the sliding surface may temporarily leave the ideal reaching trajectory. The barrier gain then preserves boundedness, and the super-twisting integral term prevents a hard switching action from being applied directly to the converter. This is also a practical advantage over a conventional BESS controller with a fixed switching term.

Finite-time convergence and stability. I consider the Lyapunov function V and analyze each module in two time intervals. In the first interval, before the gain switches to the barrier function, the adaptive gain increases linearly with time. The derivative of the Lyapunov function is negative because both the proportional term and the super-twisting integral term inject damping into the sliding surface dynamics. In the second interval, the barrier gain is positive on the open target interval and grows without bound at the boundary. Therefore, the sliding variable cannot cross the boundary in finite time, and the closed-loop trajectory remains inside the prescribed neighborhood. The convergence time for module v satisfies the bound

$$t_{sv}\le\frac{\sqrt{K_{0v}^2+4K_v}}{1-\alpha_v}\left|s_v(0)\right|^{1-\alpha_v}-\frac{K_{0v}}{K_v}+t_v+\frac{2}{(1-\alpha_v)b_v}\left|s_v(0)\right|^{1-\alpha_v}.$$

This bound shows the qualitative trade-off that I exploit in design. A larger Kv reduces the first-phase convergence time but increases the gain that must be carried into the second phase. A smaller epsilon-v tightens the steady-state neighborhood but increases the barrier gain near the boundary. The control parameters are therefore not selected by trial and error alone; they are constrained by the finite-time bound and by the duty saturation limit. The BESS controller design problem has the same structure, but the multi-module case requires checking the bound for each module because the fuel cell, battery, and supercapacitor have different inductance and current-limit values.

Table 6. Stability-oriented tuning conditions.

Condition Purpose Practical interpretation
Alpha-v between zero and one half Preserves finite-time super-twisting behavior Lower values give stronger nonlinear attraction near the origin
Kv and K0v positive Guarantees a positive reaching gain Gain must exceed the worst-case disturbance magnitude
Epsilon-v positive and small Defines the target neighborhood Sets the trade-off between steady-state accuracy and gain magnitude
Barrier gain continuous at the switching point Avoids gain jump and chattering The initial gain and barrier gain are matched at tv
Duty saturation respected Keeps the control law realizable Prevents integrator wind-up and unrealistic duty demands
BESS controller benchmark Fixed-gain reference Shows the benefit of adaptive gain scheduling

Hardware-in-the-loop validation. I validated the design on a hardware-in-the-loop platform. The vehicle and hybrid storage system were emulated in a real-time digital simulator, while the proposed control law was executed on a digital signal processor. The signal interface introduced realistic analog-to-digital quantization and communication delay. This matters because the adaptive gain must remain stable in the presence of measurement noise and discrete-time updates. I used the European suburban driving cycle as the main test profile. The maximum speed was 120 km/h and the average speed was 63 km/h. I compared three strategies: a proportional-integral-derivative controller, a linear sliding mode controller, and the proposed adaptive super-twisting sliding mode controller. I also retained a fixed-gain BESS controller as a conceptual reference for the battery branch, because it represents the conventional approach to DC bus regulation in a single-battery storage system.

In the low-load and high-load transitions, the bus current reference changes rapidly. The proposed controller tracks the reference with the smallest transient deviation. The fuel cell current remains smooth because the low-pass filter removes high-frequency components from its reference. The HPPC module follows the next slowest component and provides auxiliary support. The battery supplies the medium-frequency residual, and the supercapacitor supplies the fast peak. During regenerative braking, the supercapacitor absorbs the fastest part of the negative current, while the battery absorbs the slower part within its charging limit. This coordinated behavior is the main reason why the bus voltage remains close to its reference even when the vehicle decelerates sharply. A conventional BESS controller would typically let the battery absorb the entire regenerative pulse, which increases battery stress and can cause a temporary bus overvoltage. The proposed controller avoids that outcome by assigning the fast component to the supercapacitor.

Table 7. Experimental performance comparison.

Control strategy Current response time (s) Current transient spike error (A) Current tracking error (A) Voltage response time (s) Voltage fluctuation error (V)
PID 4.31 7.63 2.44 5.27 13.52
Linear sliding mode 3.42 5.84 1.72 3.98 9.33
Proposed adaptive super-twisting 2.41 2.27 0.96 2.74 4.74

Table 8. Improvement of the proposed method relative to the linear sliding mode controller.

Metric Improvement Interpretation
Current response speed 29.5 percent faster Faster current tracking during continuous speed changes
Current tracking error 44.2 percent lower Smaller deviation from the load-current reference
Current transient spike error 61.1 percent lower Reduced peak current stress
Bus voltage fluctuation error 49.2 percent lower Better DC bus voltage stability
Voltage response time Improved from 3.98 s to 2.74 s Faster recovery after load transients

The measured current tracking error of the proposed method is 0.96 A. This is 60.7 percent lower than the PID controller and 44.2 percent lower than the linear sliding mode controller. The current response time is 2.41 s, which is 44.1 percent faster than the PID controller and 29.5 percent faster than the linear sliding mode controller. The transient spike error is 2.27 A, which is much smaller than the corresponding values of the fixed-gain methods. These results are consistent with the design intent: the adaptive gain increases during the reaching phase and then switches to the barrier function near the surface, so the controller produces a strong correction when the error is large and a gentle correction when the error is small. A fixed-gain BESS controller cannot achieve this simultaneous improvement because its gain is selected for one operating condition.

The bus voltage behavior confirms the same conclusion. The proposed controller keeps the bus voltage within a narrower band during acceleration and braking. When the vehicle speed changes continuously, the current reference contains many low-amplitude oscillations. The linear sliding mode controller follows these oscillations with a noticeable phase lag and produces repeated small excursions in the bus voltage. The proposed controller reduces these excursions because the super-twisting integral term acts as a low-pass filter in the reaching law. The barrier gain also prevents the controller from overreacting to measurement noise. In a practical BESS controller, this behavior is desirable because the battery current measurement is often noisy and the bus voltage is used by many downstream loads.

Table 9. Module-level behavior observed during the drive cycle.

Operating event Fuel cell HPPC Battery Supercapacitor Bus voltage effect
Vehicle start Slow ramp Small auxiliary support Medium support Fast peak support Reduced initial voltage drop
Steady cruise Main supply Small support Near zero residual Standby Stable regulation
Hard acceleration At current limit Supplemental supply Supplemental supply Peak supply Limited voltage sag
Regenerative braking Stops supply Supports charging path Charges within limit Absorbs fast surplus Reduced overvoltage
Repeated speed changes Smooth low-frequency response Moderate response Medium-frequency response High-frequency response Lower tracking error

Why the adaptive continuous law matters. The most important design choice in this work is the combination of a continuous super-twisting term with a state-dependent gain. The continuous term removes the direct switching action from the duty signal. The adaptive gain ensures that the continuous term has enough authority when the error is large and enough smoothness when the error is small. This combination is particularly suitable for a hybrid storage system because the four modules have different time constants. The fuel cell is slow and should not be forced to follow fast load changes. The battery is faster but still limited by electrochemical dynamics. The supercapacitor is fast but has limited energy. A single fixed gain cannot simultaneously satisfy all three time scales. The adaptive gain gives each module a local gain level that reflects its own sliding variable and its own target neighborhood.

From the perspective of a BESS controller, the proposed method can be viewed as a generalized gain-scheduling law. In a battery-only system, the BESS controller would have one sliding surface and one adaptive gain. In the present system, there are four surfaces and four gains, but the structure is the same. The barrier function is defined independently for each module, so the fuel cell can have a wider neighborhood than the supercapacitor. This is useful because the fuel cell current reference is filtered and should not chase small high-frequency errors. The supercapacitor neighborhood can be narrower because it is intended to handle fast transients. The battery neighborhood is chosen between the two. This modular tuning is one of the practical strengths of the approach.

Table 10. Design comparison with a conventional BESS controller.

Design aspect Conventional BESS controller Proposed hybrid storage controller Consequence
Controlled current One battery current Four module currents Better use of source dynamics
Gain schedule Usually fixed Adaptive barrier gain Lower chattering and faster response
Regenerative handling Battery absorbs most of the pulse Supercapacitor absorbs fast pulse; battery absorbs slow pulse Lower battery stress
Fuel cell protection Not applicable in a pure BESS controller Low-pass current reference and current limit Reduced fuel cell degradation
Computational burden Low Low to moderate Real-time implementation remains practical
Robustness to noise Depends strongly on the fixed gain Integral switching term and barrier gain Improved noise tolerance

Robustness under non-ideal conditions. The hardware-in-the-loop platform includes quantization, communication delay, and discrete sampling. These effects are important because a high-gain sliding mode controller can amplify noise. I observed that the proposed controller remains bounded under these conditions. The super-twisting integral term smooths the switching signal, and the barrier gain limits the control effort near the surface. When the measured current contains high-frequency noise, the sliding variable oscillates within the target neighborhood rather than crossing the boundary repeatedly. The duty signal therefore remains a continuous command after saturation. A fixed-gain BESS controller tuned for fast response tends to produce a larger high-frequency component in the duty signal under the same measurement noise. This is exactly the trade-off that the adaptive gain is designed to resolve.

I also considered parameter drift in the converter inductance and resistance. The sliding surface derivative contains these parameters explicitly. The adaptive gain does not require an accurate model of the drift because the barrier function reacts to the resulting sliding variable error. The super-twisting term provides integral action that compensates for a bounded constant disturbance. This is important in a vehicle because the bus load changes continuously and the converter parameters vary with temperature. The proposed controller does not need a high-fidelity online parameter estimator. Instead, it uses the measured current error and the known bounds to maintain stability. The BESS controller baseline, by contrast, must either be detuned to remain robust or tuned aggressively and then filtered to reduce chattering. Both choices degrade performance during fast transients.

Table 11. Robustness considerations and controller response.

Non-ideal effect Potential consequence Mitigation in the proposed law BESS controller implication
Current sensor noise High-frequency duty variation Integral super-twisting term and continuous reaching law Fixed gain may amplify noise
Communication delay Phase lag in the current loop Moderate gain and barrier neighborhood Requires conservative gain
Converter parameter drift Model mismatch in the surface derivative Bounded disturbance rejection by adaptive gain Detuning reduces response speed
Duty saturation Integrator wind-up Sat function and barrier gain limiting Fixed BESS controller needs anti-windup logic
Fast load reversal Bus voltage overshoot or sag Supercapacitor residual allocation and fast current tracking Battery-only path is slower and stressed

Computational simplicity and real-time feasibility. The proposed control law uses only measured currents, measured voltages, a sign function, an absolute value, and one integral state per module. It does not require online neural-network training, nonlinear model predictive control, or a large optimization solver. This is a deliberate design choice. A BESS controller in a vehicle must execute at a fixed sampling period, and any additional computation competes with motor control, diagnostics, and communication tasks. The adaptive super-twisting law adds only a few arithmetic operations per module. The barrier function is evaluated with a division, but the denominator is bounded away from zero by the target neighborhood. The sign function can be implemented with a comparator. The integral state can be updated with a first-order Euler step. Therefore, the controller is suitable for a digital signal processor and does not require a high-end floating-point unit.

The energy management strategy is also simple. It uses first-order low-pass filters and saturation functions. The reference-current calculation does not require a global optimization at every sample. This is important because the load current can change quickly during a drive cycle. The proposed method combines a fast inner current loop with a slow outer energy allocation law. The inner loop rejects disturbances and tracks the reference, while the outer loop maintains the state of charge and protects the fuel cell. A BESS controller in a single-battery system has a similar cascade structure, but the proposed system uses the supercapacitor to absorb the high-frequency residual. This reduces the bandwidth requirement of the battery current loop and improves the effective life of the battery.

Table 12. Implementation tasks per control period.

Task Operation Relative cost Comment
Measure currents and voltages Analog-to-digital conversion Low Four current channels and bus voltage
Update low-pass filters First-order difference equation Low Used by energy management
Compute reference currents Saturation and residual allocation Low No iterative solver
Compute sliding surfaces Multiplications and additions Low One integral state per module
Evaluate adaptive gains Division and absolute value Moderate Denominator bounded by epsilon-v
Compute duty signals Arithmetic and saturation Moderate Four independent control laws
Pulse-width modulation Timer update Low Standard peripheral function
BESS controller benchmark Fixed-gain comparison Low Used for experimental comparison only

Discussion of experimental trends. The experimental results show that the proposed controller reduces the current tracking error from 1.72 A for the linear sliding mode controller to 0.96 A. This reduction is not caused by a larger fixed gain. In fact, the adaptive gain is smaller than the fixed gain during some steady-state intervals. The improvement comes from the shape of the gain schedule: the gain is allowed to grow during the reaching phase and then is regulated by the barrier function near the surface. The result is a faster initial response without a sustained high-gain chattering. The same mechanism explains the reduction in the current spike error from 5.84 A to 2.27 A. When the load current steps upward, the supercapacitor current rises quickly, but the duty signal does not overshoot because the barrier function limits the control effort as the sliding variable approaches the neighborhood boundary.

The bus voltage response follows the same pattern. The proposed controller reduces the voltage fluctuation error from 9.33 V for the linear sliding mode controller to 4.74 V. This is a 49.2 percent reduction. The voltage response time improves from 3.98 s to 2.74 s. These improvements are important for the inverter and the motor drive because a stable DC bus voltage reduces the current ripple in the AC side and improves the accuracy of the motor torque command. In a BESS controller, voltage fluctuation is often tolerated because the battery can absorb the ripple. In a fuel-cell hybrid vehicle, the bus voltage ripple also affects the fuel cell operating point, so the improvement has a direct impact on efficiency and durability.

Table 13. Controller-level comparison of dynamic response.

Dynamic event PID response Linear sliding mode response Proposed response Primary reason
Load step upward Slow rise with overshoot Fast rise but noticeable spike Fast rise with limited spike Adaptive gain and super-twisting integral term
Load step downward Slow recovery Moderate recovery with chattering Fast recovery with smooth duty Barrier gain and continuous reaching law
Repeated speed changes Accumulated tracking error Phase lag and steady error Lower error and smaller voltage excursion Integral sliding surface and residual allocation
Regenerative braking Battery stress and voltage rise Moderate voltage rise Supercapacitor absorbs fast surplus Coordinated hybrid storage control
Steady cruise Small offset Chattering around the reference Smooth regulation Barrier neighborhood and continuous duty

Practical implications for a BESS controller. Although the present study is focused on a fuel-cell hybrid electric vehicle, the control structure is directly relevant to a BESS controller. A battery energy storage system connected to a DC bus faces the same requirements: fast current tracking, bus voltage regulation, rejection of load disturbances, and tolerance of parameter drift. The adaptive super-twisting law can be applied to the battery branch alone if the supercapacitor is absent. In that case, the barrier function defines the acceptable current error neighborhood, and the integral term suppresses chattering. The main difference is that a BESS controller has no fuel cell or HPPC module to share the slow load. Therefore, the battery current reference must include the entire DC bus load. The adaptive gain can still be used, but the current limit and state-of-charge constraints become more restrictive. The modular structure presented here allows a designer to start with a conventional BESS controller and then add the supercapacitor branch, the fuel cell branch, or both without changing the fundamental sliding mode law.

In my design, the BESS controller perspective also highlights the importance of the current reference allocation. A conventional BESS controller usually uses a single bus voltage loop whose output is the battery current reference. That approach works well when the battery is the only source and the bus capacitance is large. In a hybrid system, the bus voltage loop must be replaced by a power-sharing law. Otherwise, the battery reference can conflict with the fuel cell limit or the supercapacitor state of charge. The residual allocation used here avoids that conflict because the supercapacitor always receives the part of the load current that is not assigned to the slower sources. This is a simple rule, but it is effective. It also keeps the BESS controller analogy intact: the battery branch still has its own current loop, but the reference is now generated by a supervisory energy management layer.

Table 14. Mapping the proposed method to a general BESS controller.

Hybrid storage element General BESS controller counterpart Control adaptation Expected benefit
Fuel cell Slow grid or generator source Low-pass current reference with upper limit Protects the slow source from transients
HPPC Auxiliary renewable source Supplemental current reference after the slow source limit Improves energy utilization
Storage battery Main battery branch in a BESS controller Bidirectional current loop with state-of-charge limits Reduces battery stress
Supercapacitor High-power buffer Residual current reference and fast sliding mode loop Handles peak power and braking recovery
DC bus Common DC link Indirect voltage regulation through current tracking Avoids non-minimum-phase voltage loop

Limitations and future work. The present study treats the inverter and motor as a load current on the DC bus. This is a reasonable first step because the inner current loops are much faster than the vehicle-level energy management dynamics. However, the AC-side inverter and motor can introduce additional harmonics and impedance interactions. A future extension should include the AC-side dynamics in the stability analysis. Another limitation is that the energy management strategy uses fixed thresholds for the fuel cell, battery, and supercapacitor limits. In a real vehicle, these limits depend on temperature, state of charge, and degradation. An adaptive threshold layer could be added above the current controller. The BESS controller concept can also be extended to include state-of-charge balancing among parallel battery packs. In that case, the sliding surface would include both current error and state-of-charge error. The barrier function would then provide a natural way to keep the state of charge within a safe window.

I also note that the adaptive gain law requires a division by epsilon-v minus the absolute value of sv. In a digital implementation, this division must be protected against numerical overflow. I handle this by saturating the absolute value at a value slightly below epsilon-v and by limiting the maximum gain. This does not change the stability proof because the saturation only makes the gain smaller near the boundary, and the boundary itself is outside the normal operating region. The same safeguard should be used in a BESS controller implementation. It is a small detail, but it is important for reliable real-time operation.

Table 15. Engineering safeguards for implementation.

Safeguard Reason Effect on control law Relevance to BESS controller
Gain upper limit Prevents numerical overflow Caps barrier gain near the boundary Required in fixed-point or low-cost hardware
Duty saturation Respects converter limits Clips the continuous command Essential for battery converter protection
Integral anti-windup Avoids slow recovery after saturation Freezes or resets the integral state during saturation Common in BESS controller design
Current limit Protects sources and converters Bounds the reference current Battery and supercapacitor safety
Low-pass filtering Separates slow and fast sources Shapes the reference current Reduces battery cycling stress
Measurement filtering Reduces sensor noise Prevents unnecessary gain growth Improves BESS controller noise immunity

Conclusion. I have presented an adaptive continuous sliding mode control strategy for a fuel-cell hybrid electric vehicle with a multi-source hybrid energy storage system. The method combines an integral sliding surface, a super-twisting reaching law, and a barrier-function adaptive gain. The energy management layer distributes the DC bus load current among the fuel cell, HPPC, battery, and supercapacitor according to their dynamic capabilities. The control layer enforces fast current tracking and bounded bus voltage regulation. The stability analysis shows finite-time convergence of each module current error, and the experimental results show a 29.5 percent improvement in current response speed and a 44.2 percent reduction in current tracking error compared with a linear sliding mode controller. The proposed method also reduces the transient current spike error by 61.1 percent and the bus voltage fluctuation error by 49.2 percent. These results confirm that the adaptive continuous law provides a practical balance between speed, smoothness, and robustness.

The broader lesson for a BESS controller is that gain adaptation is not merely a refinement. In a multi-source DC system, the operating point moves continuously, and a fixed-gain BESS controller must either sacrifice speed or accept chattering. The barrier-function super-twisting law offers a structured way to resolve that trade-off. The controller remains simple enough for real-time execution, and its parameters have clear physical meaning. I therefore view the proposed method as a bridge between classical BESS controller design and advanced sliding mode control for hybrid storage systems. Future work will include AC-side inverter dynamics, temperature-dependent limits, state-of-charge balancing, and experimental validation on a full-scale vehicle powertrain.

Scroll to Top