Distributed photovoltaic (PV) generation is modular and clean, but its output follows irradiance rather than load. A passing cloud or the end of the day can move a DC microgrid from surplus to deficit within seconds. In that setting, an energy battery storage unit provides the controllable buffer: it absorbs excess PV power when generation exceeds demand and supplies the deficit when generation falls. The engineering problem is therefore not only battery sizing, but regulation of the DC bus while the battery converter changes between charging and discharging without large voltage overshoot or slow recovery.
This article explains a load-matching-oriented control architecture for a distributed PV–battery system. The architecture combines a state-of-charge-dependent battery model, a non-isolated bidirectional half-bridge DC–DC converter, a fractional-order controller, and an improved sand cat swarm optimization (SCSO) routine for controller tuning. The central performance question is whether the extra degrees of freedom of fractional-order control, when tuned automatically, improve bus-voltage regulation relative to integer-order proportional-integral-derivative (PID) control and other controller settings.
System Configuration and Power Balance
The system connects a PV array, a battery bank, a bidirectional DC–DC converter, a DC bus, and a load. The PV array operates at its maximum power point; the battery converter supplies or absorbs the difference between PV power and load power. When \(P_{\mathrm{PV}}>P_{\mathrm{load}}\), surplus power charges the battery and the converter operates in Buck mode. When \(P_{\mathrm{PV}}<p_{\mathrm{load}}\), 750="" a="" and="" battery="" boost="" controlled="" controller.
The control study uses a charging-positive current convention. In Boost mode, battery discharge current is negative; in Buck mode, charging current is positive. This convention makes the direction of energy flow explicit in the converter current and in the bus-voltage loop.

Battery Model for Control Design
The simplest battery representation is the ideal voltage-source model:
$$U_{\mathrm{bat}}=E_{\mathrm{bat}}-I_{\mathrm{bat}}R_s$$
where \(E_{\mathrm{bat}}\) is the ideal electromotive force, \(I_{\mathrm{bat}}\) is battery current, and \(R_s\) is internal resistance. This model is useful for basic circuit analysis, but all parameters are fixed and internal losses and state-of-charge (SOC) effects are ignored. It is therefore insufficient for dispatch studies in which the battery moves between charge and discharge states.
A general model retains a simple electrical structure while making the open-circuit voltage SOC-dependent:
$$E=E_0-K\frac{Q}{Q-it}+A_0\exp(-B_0 it)$$
Here \(E\) is the open-circuit terminal voltage, \(E_0\) is a constant voltage term, \(K\) is the polarization voltage, \(Q\) is battery capacity, \(it\) is accumulated charge throughput, \(A_0\) is the exponential-zone voltage amplitude, and \(B_0\) is the inverse time constant of the exponential zone. The model captures the voltage drop as the battery discharges and the recovery associated with the exponential zone, while remaining simple enough for controller design. It is an electrical model; thermal aging and long-term capacity fade are outside its scope.
Bidirectional Converter and Mode Transition
The storage interface is a non-isolated bidirectional half-bridge DC–DC converter (BHC). The converter uses an inductor and two active switches to move energy in either direction between the battery and the DC bus. In Boost mode, the battery voltage is raised to the bus voltage and the battery discharges. In Buck mode, the bus voltage is stepped down to charge the battery. The converter therefore has to reverse current direction while maintaining bus-voltage regulation.
The topology choice is a trade-off. Isolated dual active bridge (DAB) and CLLC resonant converters provide galvanic isolation, but add a high-frequency transformer, volume, cost, and transformer-related losses. Leakage inductance can also excite oscillations and electromagnetic interference. For a common DC bus that does not require isolation, the non-isolated BHC is more compact and efficient; where isolation is mandatory, the isolated topologies remain the appropriate class of solution.
Fractional-Order Control Law
Integer-order PID control uses fixed first-order integration and differentiation. Fractional-order control generalizes those operators to non-integer orders, adding two tuning dimensions without changing the basic error-feedback structure. The control law is:
$$u(t)=K_p e(t)+K_i D^{-\lambda}e(t)+K_d D^{\mu}e(t)$$
where \(e(t)=U_{\mathrm{dc,ref}}-U_{\mathrm{dc}}\) is the bus-voltage error, \(K_p\), \(K_i\), and \(K_d\) are proportional, integral, and derivative gains, and \(\lambda\) and \(\mu\) are the fractional integration and differentiation orders. The fractional orders shape the loop frequency response more flexibly than integer PID, which can improve damping and disturbance rejection when the orders are properly tuned.
For implementation, the fractional operator is approximated by an integer-order transfer function and then discretized from the \(s\)-domain to the \(z\)-domain. The Oustaloup filter is one common approximation:
$$s^{\gamma}\approx H(s)=\omega_h^{\gamma}\prod_{k=1}^{N}\frac{s+\omega_k’}{s+\omega_k}$$
Here \(N\) is the approximation order, \(\gamma\) is the fractional order, \(\omega_k’\) and \(\omega_k\) are zero and pole frequencies, and \((\omega_b,\omega_h)\) is the fitting band. The approximation makes the fractional controller realizable with standard digital control hardware, but its accuracy depends on the selected order and frequency band.
Automated Tuning with Improved SCSO
Manual tuning of five controller parameters is slow and does not guarantee a good balance between overshoot and settling. The improved SCSO algorithm treats the controller parameters as a search population. Chaotic initialization is used to spread the initial sand cats more evenly, and the search agents are evaluated by running the Simulink model through the sim function. Each candidate sets \(K_p\), \(K_i\), \(K_d\), \(\lambda\), and \(\mu\); the model is simulated; and the response is scored.
The score is the integral of time-weighted absolute error (ITAE):
$$J_{\mathrm{ITAE}}=\int_{0}^{T}t\,|e(t)|\,dt$$
ITAE penalizes errors that persist, so it favors responses that settle rather than oscillate. The search continues until the performance requirement is met or the maximum iteration count is reached. This simulation-in-the-loop tuning is flexible, but it is computationally heavier than analytic gain calculation because every candidate requires a model run.
Simulation Setup
The evaluation model is implemented in MATLAB/Simulink. The PV-side maximum power point tracking loop is also tuned with the improved SCSO method, while the storage-side controller is the object of the performance comparison. The main parameters are listed below.
| Parameter | Value |
|---|---|
| Battery initial SOC | 50% |
| Battery rated voltage \(U_{\mathrm{bat}}\) | 640 V |
| Storage-side inductance \(L\) | 1 mH |
| DC-bus capacitance \(C_{\mathrm{dc}}\) | 1400 μF |
| DC-bus voltage reference \(U_{\mathrm{dc,ref}}\) | 750 V |
| Load resistance \(R_{\mathrm{dc}}\) | 7.5 Ω |
| PV temperature | 25 °C |
The irradiance profile has two intervals: 0 W/m² from 0 to 0.5 s, then 1000 W/m² from 0.5 to 1 s. The initial SOC of 50% leaves headroom for both charge and discharge. A disturbance with amplitude 0.2 is applied at 3 s to test recovery.
Dynamic Performance and Mode Transitions
The step-response indices of four controllers are compared in the table below.
| Controller | Overshoot (%) | Settling time (s) | Peak time (s) | Rise time (s) |
|---|---|---|---|---|
| Fractional-order controller | 0.6 | 0.433 | 0.215 | 0.159 |
| PID | 25.8 | 1.866 | 1.732 | 0.502 |
| Improved PID | 24.9 | 0.732 | 0.171 | 0.084 |
| Conventional controller | 1.4 | 0.620 | 0.377 | 0.271 |
The fractional-order controller has the lowest overshoot, 0.6%, and the shortest settling time, 0.433 s. The PID controller overshoots by 25.8% and settles in 1.866 s; the improved PID reduces settling to 0.732 s but still overshoots by 24.9%. The conventional controller is better damped than either PID variant, with 1.4% overshoot and 0.620 s settling, but it is slower than the fractional-order loop. The comparison is not a clean sweep: improved PID has the fastest rise time, 0.084 s, and peak time, 0.171 s, while the fractional-order controller is 0.159 s and 0.215 s. The fractional-order setting therefore favors damping and settling over absolute speed.
Under the 0.2-amplitude disturbance at 3 s, the fractional-order loop returns to steady state faster and with smaller overshoot than the other controllers. This is the relevant operating condition for a PV-storage bus, where irradiance and load changes appear as disturbances rather than clean step commands.
The irradiance sequence also exercises both directions of energy flow. From 0 to 0.5 s, irradiance is 0 W/m², PV output is 0, and the battery discharges to hold the bus at 750 V; battery current is negative and the converter operates in Boost mode. From 0.5 to 1 s, irradiance is 1000 W/m², PV output is sufficient to supply the load and charge the battery; battery current is positive and the converter operates in Buck mode. The bus remains regulated through the transition, and the battery absorbs the surplus rather than letting the bus voltage rise.
Design Implications and Limits
The results support three engineering points. First, SOC dependence in the battery model matters. A fixed-voltage ideal model cannot represent the open-circuit voltage shift that affects dispatch near high or low SOC. Second, converter topology and control are coupled. The non-isolated BHC is a compact, efficient choice for a common DC bus, but it provides no galvanic isolation. Where isolation is required, DAB or CLLC converters should be evaluated with their additional transformer loss, volume, and leakage-inductance effects. Third, fractional-order control is not automatically superior. Its advantage appears when the extra orders are tuned against a meaningful objective such as ITAE; the SCSO loop automates that tuning but adds computation and does not guarantee a global optimum.
The scope is a simulation study with one battery, one load resistance, fixed 25 °C PV temperature, and a defined irradiance step. It does not establish long-term cycling degradation, thermal behavior, grid-side fault response, or performance under multiple converters and stochastic irradiance. Those factors are necessary before field deployment. Within the stated scope, the fractional-order controller gives the lowest overshoot and shortest settling time among the compared controllers, while improved PID achieves faster rise and peak times. That trade-off matters in practice: applications that prioritize avoiding bus overvoltage may favor the fractional-order setting, while applications that prioritize speed may need a different weighting in the objective.
Conclusion
A distributed PV–battery system can maintain DC-bus voltage and absorb or supply power transitions by coordinating a bidirectional converter with a state-dependent battery model. The fractional-order control law expands the PID design space, and improved SCSO tuning with an ITAE objective selects gains and fractional orders automatically. In the simulation model used for evaluation, the fractional-order controller reduced overshoot to 0.6% and settling time to 0.433 s, compared with 25.8% and 1.866 s for PID and 24.9% and 0.732 s for improved PID. The battery converter alternated between Boost discharge and Buck charge as irradiance changed from 0 to 1000 W/m², holding the 750 V bus reference. These results are simulation-based and specific to the modeled conditions, but they show why energy battery storage control should be evaluated jointly on voltage regulation, mode transition, and tuning robustness rather than on steady-state efficiency alone.
