Skip to main content
Have a personal or library account? Click to login
Comparative Study of Fuzzy Logic and Neural Network Control for Battery Power Management in Smart Microgrids Cover

Comparative Study of Fuzzy Logic and Neural Network Control for Battery Power Management in Smart Microgrids

Open Access
|Jul 2026

Figures & Tables

Table 1.

Literature review.

ReferenceMicrogrid energy sourcesMethodObjectiveReal-world dataComparative studyEconomic analysis
Soliman et al. (2021)PV + wind + tidal sources + batteryFSHSMC is a combined FLC and HSMCEnergy management control technique for a smart DC-microgrid××
Albarakati et al. (2021)PV + wind + batteryMPPT + multi-agent system MASMaintain the power balance in the microgrid××
Lami et al. (2025)PV + wind + batteryDRL and neural networksReal-time energy optimisation, demand forecasting, and P2P trading optimise energy consumption, predict demand, and facilitate P2P energy trading.
Moazzen and Hossain (2024)PV + wind + battery + gridLSTMsOptimise distribution, reduce grid dependence, and maximise renewables
Sun et al. (2025)Wind + heat + gas + hydrogenBiTCNMinimise the overall operational cost, including transaction costs, fuel costs, and maintenance expenses. Improving renewable energy utilisation and system reliability×

[i] BiTCN, bidirectional temporal convolutional networks; DRL, deep reinforcement learning; FLC, fuzzy logic controller; HSMC, high-order sliding mode; LSTMs, long short-term memory neural networks; MPPT, maximum power point tracking; P2P, peer to peer.

Figure 1.

Smart microgrid system with AI-based controller. AI, artificial intelligence; SOC, state of charge.

Figure 2.

The equivalent electrical circuit of photovoltaic (PV).

Table 2.

PV module parameters.

ParameterValue
Light-generated current10.0926 A
Diode saturation current3.323 × 10−11 A
Shunt resistance212.8143 Ω
Series resistances0.31448 Ω
Maximum power302.2 W
Cell per module60
Short-circuit current10.05 A
Open circuit voltage32.5V
Table 3.

PMSG and wind turbine electrical and mechanical parameters.

ParameterValue
Number of pole pairs4 pairs
Permanent magnet flux linkage0.1688 Wb
Stator Resistance Rs0.0918 Ω
Rotor Inertia J0.003945 Kg m2
Viscous damping coefficient B0.0004924 N m s
Back-EMF waveformSinusoidal
Rotor typeRound
Rated mechanical power10 KW
Rated wind speed12 m/s
Maximum power coefficient0.48

[i] PMSG, permanent magnet synchronous generator.

Figure 3.

Lithium-ion equivalent circuit model. SOC, state of charge.

Table 4.

Battery electrical parameters.

ParameterValue
Battery typeLithium-ion
Nominal voltage200V
Rated capacity50 Ah
Internal resistance0.04 Ω
Capacity at nominal voltage45.2174 Ah
Fully charged voltage232.7974V
Cut-off voltage150V
Figure 4.

Block diagram of the AI-based BMS. AI, artificial intelligence; ANN, artificial neural network; BMS, battery management system; FL, fuzzy logic; SOC, state of charge.

Figure 5.

FL control design. BMS, battery management system; FL, fuzzy logic.

Figure 6.

Distribution of membership functions defined for both the input and output parameters. (a) Membership of renewable energy power. (b) Membership function of domestic load. (c) Membership function of inverse control.

Table 5.

FL rules configuration.

RuleInput 1: Renewable energy powerInput 2: Domestic load demandOutput: Inverter control
1LowLowNeutral
2LowMediumDischarge
3LowHighDischarge
4MediumLowCharge
5MediumMediumNeutral
6MediumHighDischarge
7HighLowCharge
8HighMediumCharge
9HighHighNeutral

[i] FL, fuzzy logic.

Figure 7.

3D FL surface. FL, fuzzy logic.

Figure 8.

Proposed ANN architecture. ANN, artificial neural network.

Figure 9.

ANN training regression. ANN, artificial neural network.

Figure 10.

ANN training state. ANN, artificial neural network.

Figure 11.

ANN training performance. ANN, artificial neural network.

Table 6.

ANN parameters.

ParameterValue
Input1 (energy error)
Output1 (battery charge/discharge command)
Target generation methodSupervised learning based on the desired battery power management response derived from the microgrid energy balance conditions
Layer size10
Dataset2,000
Training algorithmBackpropagation
Training70%
validation15%
Test split15%

[i] ANN, artificial neural network.

Figure 12.

Key stages involved in developing and deploying a neural network controller.

Table 7.

Global system parameters.

ComponentParameterValue
PV systemPower40 KW
Voltage192V
Current198.66 A
Number of modules222
Wind systemPower10 KW
BatteryVoltage155V
Nominal capacity130 Ah
LoadNominal power20 KW
Figure 13.

Global proposed microgrid MATLAB/Simulink model.

Figure 14.

Wind power for different wind speeds. (a) Wind speed. (b) Wind power.

Figure 15.

PV power for different solar irradiance. (a) Solar irradiance. (b) PV power.

Figure 16.

Power supplied by the PV and wind systems.

Figure 17.

Real hourly solar irradiance profiles of 7 days record.

Figure 18.

Profile for solar irradiance and wind. (a) Solar irradiance. (b) Wind profile.

Figure 19.

Realistic renewable power generation.

Figure 20.

FL battery state. SOC, state of charge.

Figure 21.

ANN battery state. ANN, artificial neural network; SOC, state of charge.

Figure 22.

SOC comparison: FL vs ANN. ANN, artificial neural network; FL, fuzzy logic; SOC, state of charge.

Figure 23.

Current comparison: FL vs ANN.ANN, artificial neural network; FL, fuzzy logic.

Table 8.

Comparative performance.

CaseMetricFLCANNANN improvement vs. FLC
Case 1Discharge energy (Wh)0.36460.3001graphic/j_pead-2026-0023_ingr_001.png
Absolute charge energy (Wh)0.12700.1965
Net energy exchange (Wh)0.23760.1905
Energy throughput (Wh)0.49160.4098
Case 2Discharge energy (Wh)0.38460.3159graphic/j_pead-2026-0023_ingr_002.png
Absolute charge energy (Wh)0.12850.1096
Net energy exchange (Wh)0.25610.2062
Energy throughput (Wh)0.51300.4255
OverallSOC RMS fluctuations--graphic/j_pead-2026-0023_ingr_003.png

[i] ANN, artificial neural network; FLC, fuzzy logic controller.

Table 9.

Energy cost results.

AI algorithm controlEnergy throughput (KWh)Cost (Dt)Reduction (%)
SOC = 20%FLC0.00049160.000203516.60
ANN0.00040980.0001697
SOC = 80%FLC0.00051300.000212416.99
ANN0.00042550.0001762

[i] ANN, artificial neural network; FLC, fuzzy logic controller; SOC, state of charge.

DOI: https://doi.org/10.2478/pead-2026-0023 | Journal eISSN: 2543-4292 | Journal ISSN: 2451-0262
Language: English
Page range: 347 - 368
Submitted on: Mar 31, 2026
Accepted on: Jul 13, 2026
Published on: Jul 30, 2026
Published by: Wroclaw University of Science and Technology
In partnership with: Paradigm Publishing Services

© 2026 Mabrouka Romdhane, Mohamed Naoui, Abdelmalek Gacem, Ali Mansouri, published by Wroclaw University of Science and Technology
This work is licensed under the Creative Commons Attribution 4.0 License.