Abstract:
In the context of dual-carbon goals, proton exchange membrane fuel cell (PEMFC) technology has advanced rapidly; however, performance degradation has become a major challenge limiting its large-scale application and commercialization. Accurately predicting degradation trends is therefore crucial for condition monitoring, fault warning, and control strategy design. To further improve the accuracy of PEMFC performance degradation prediction, this study proposes a method that uses a multi-strategy improved dung beetle algorithm (MIDBO) to optimize a bidirectional gated recurrent unit (BIGRU) network. The proposed method consists of three main stages. First, a savitzky-golay (SG) least-squares smoothing filter denoises and reconstructs the measured stack voltage data, suppressing measurement noise and high-frequency fluctuations while preserving the intrinsic degradation trend. Because the raw PEMFC data contain many correlated variables, such as cell voltages, stack voltage, current density, current, and the inlet and outlet temperatures of hydrogen and air, grey relational analysis is then applied to the reconstructed data to quantify the correlation between the candidate variables and the stack voltage, and to screen the most informative features as the model inputs. Second, we introduce Singer chaotic mapping and opposition-based learning, a nonlinear convergence factor adjustment strategy, and a simulated annealing algorithm to improve the standard dung beetle optimizer (DBO). We use Singer chaotic mapping with opposition-based learning during initialization to improve the initial population’s uniformity and diversity and expand the search space. The nonlinear convergence factor is designed to balance global exploration and local exploitation during the iterations. The simulated annealing mechanism with a probabilistic acceptance criterion is incorporated into the greedy position-update process, allowing the algorithm to escape local optima and avoid premature stagnation, thereby improving both global optimization ability and prediction accuracy. Finally, the improved dung beetle algorithm is used to optimize the key parameters of the BIGRU network, such as the learning rate, the number of hidden-layer neurons, the number of iterations, and the regularization parameters, and a MIDBO–BIGRU prediction model for PEMFC performance degradation is constructed. The forward and backward layers of BIGRU capture the temporal dependency of the degradation process, while MIDBO's global search capability ensures a well-tuned network structure. The model is verified under static and dynamic operating conditions and compared with BIGRU, DBO–BIGRU, and several other intelligent optimization algorithms. The results show that the coefficient of determination of the MIDBO–BIGRU model improves by 22.00% and 11.03% relative to BIGRU and DBO–BIGRU under static conditions, and by 18.17% and 5.83% under dynamic conditions, respectively. The model maintains reliable accuracy even when the stack voltage fluctuates. These results indicate that accurate PEMFC performance degradation prediction helps develop a more complete battery control system, and that the proposed method provides a useful reference for aging warnings and battery management in PEMFC systems.