1. Introduction
Against the backdrop of global warming, hydrogen power systems, due to their zero carbon emissions and high energy conversion efficiency, are gradually replacing traditional fuel-powered systems and becoming a key research direction in intelligent plant protection machinery [
1,
2,
3,
4,
5]. Fuel cells have issues with a slow response and low power density, and accelerate aging under complex operating conditions [
6,
7,
8,
9]. Batteries, on the other hand, have a high power density and fast response characteristics. The hybrid power system combining both can overcome these shortcomings. The self-propelled plant protection machine needs to balance efficient operation [
10,
11,
12,
13,
14], low-cost performance, and environmental adaptability during operation, with the three factors influencing each other. By optimizing the power system parameters, these issues can be effectively addressed [
15,
16].
Research on the application of hydrogen power in agricultural machinery is still largely concentrated on tractor platforms [
5], with their system design and energy management having formed a relatively complete system. In self-propelled plant protection machinery, existing research mainly focuses on the chassis structure, operational control, and spraying systems, while the power system still primarily uses diesel engines or pure electric solutions.
Compared with the more mature hydrogen applications on tractor platforms, the optimization methods for hydrogen power systems for plant protection machinery are somewhat insufficient. Furthermore, although hydrogen-powered drone spraying technology has seen some applications, its power system structure and operating mode differ from those of self-propelled platforms, making it difficult to directly apply it to ground-based plant protection machinery. Against this backdrop, this study focuses on researching hydrogen power system parameter matching and optimization strategies for efficient plant protection operation scenarios, aiming to enhance their operational economy, adaptability, and sustainability.
Professor Paulson from the Prairie Agricultural Machinery Research Institute in Canada [
17] improved the understanding of the spray system’s wake characteristics in plant protection machines. He validated the full-scale sprayer’s numerical model using fluid mechanics and measured the time-averaged velocity components and turbulence kinetic energy in the sprayer’s wake. Professor Fabula from Kansas State University in the United States [
18] addressed the issue of spray application errors caused by the speed difference between the inner and outer sides of the boom during steering operations in wide-span agricultural sprayers. He used a steering compensation technology based on pulse-width modulation and dynamically adjusted the duty cycle, achieving an overall uniformity of 90% in field spraying. The automatic navigation system developed by Li Wei et al. [
19] reduced the lateral position deviation to 0 m within 11 s and the heading angle deviation to 0 radians within approximately 11 s under a dual-wheel steering mode. In a four-wheel steering mode, the lateral position deviation was reduced to 0 m within 8 s, and the heading angle deviation was reduced to 0 radians within 8 s. At a speed of 3 km/h, the sprayer tracked the target path and stabilized in 5.84 s under the dual-wheel steering mode, while it took 4.08 s in the four-wheel steering mode. At a speed of 5 km/h, the sprayer in the four-wheel steering mode tracked the target path and stabilized in 3.75 s.
Hu Chenwei et al. [
19] analyzed and designed a single-machine vertical axis air suspension system for large high-clearance self-propelled sprayers. The suspension structure was optimized through a stress analysis and finite element analysis, providing important support for its design and development. The sliding mode active disturbance rejection controller proposed by Liu Guohai et al. [
20] significantly improved the attitude response speed and robustness of synchronously steered high-clearance sprayers. Simulation and field test results showed that the response time of the front and rear steering angles increased by 8.42% and 9%, respectively, while steady-state errors decreased by 2.96% and 3.15%, respectively, meeting the autonomous navigation operation requirements of sprayers in different environments. Relevant studies can optimize specific performance characteristics, such as the spraying uniformity, steering stability, and passing ability of self-propelled plant protection machines. However, the comprehensive performance optimization of hydrogen power systems has not been deeply explored.
This paper proposes an optimization method for the parameters of the hydrogen-powered self-propelled plant protection machine’s hybrid power system, systematically considering factors such as power matching of the energy system, energy balance, charging frequency, fuel cell output variation rate, and battery parameter fluctuations during plant protection operations. The method addresses the complex coupling relationships between the objective functions and optimizes the overall machine’s economy and spatial adaptability, aiming to improve the comprehensive performance of the hydrogen power system in self-propelled plant protection machines.
3. Design of Optimization Methods
3.1. Design of the Objective Function
In the optimization of the hybrid power system for hydrogen-powered self-propelled plant protection machines, there is a conflict between the cost function and the volume of the energy system. Reducing costs may limit component selection, leading to an increase in the system volume, which affects the maneuverability and operational efficiency, while optimizing the volume may increase costs. Therefore, balancing cost and volume is crucial, especially in complex terrain, where both factors must be considered to ensure the optimal balance between economy and operational efficiency, which is as follows:
where
and
are the economic performance objective function and the spatial efficiency objective function of the hybrid power system, respectively.
Among them, the total lifecycle cost function of the energy system of the hydrogen-powered self-propelled plant protection machine [
13], which includes the corresponding acquisition cost, replacement cost, and hydrogen consumption cost during the operational condition cycle.
where
,
,
, and
represent the total lifecycle cost function, acquisition cost, replacement cost, and hydrogen consumption cost, respectively.
The acquisition cost is shown in Equation (10) [
22].
where
,
, and
represent the unit power price of the fuel cell, unit power price of the battery, and unit capacity price of the battery, RMB/kW;
and
are the rated power of the battery unit and fuel cell unit, kW;
and
are the number of battery units and fuel cell units, respectively;
is the rated capacity of the battery unit, kW/h.
The replacement cost is shown in Equation (11) [
23,
24].
where
and
represent the replacement cycles of the fuel cell and the battery, respectively.
The hydrogen consumption cost is shown in Equation (12) [
21,
22,
23].
where
is the price of hydrogen consumption per unit, RMB/g;
is the equivalent hydrogen mass consumed by the hybrid power system, g.
Among them, the volume of the energy system of the hydrogen-powered self-propelled plant protection machine is shown in Equation (13):
where
and
are proportional constants (functions) that reflect the ratio between the unit quantity and the system;
and
represent the volume of the fuel cell unit and the volume of the battery unit, m
3;
represents the volume of the hydrogen storage tank, m
3.
3.2. Determination of Optimization Variables
After determining the structural design of the hybrid power system, the next step is to determine the series connection number of the fuel cell stack and the series and parallel connection numbers of the battery pack ( and ). Based on this, the task of parameter optimization for the hybrid power system is to adjust various system parameters to find a set of variable combinations () that can optimize the overall performance index, ensuring that the system meets the performance requirements, spatial adaptability, and low cost.
3.3. Constraints
During the system design process, to ensure that the self-propelled plant protection machine has sufficient driving power during operation, its energy system must meet the rated power requirements of the motor.
where
is the power of the fuel cell unit, in kW;
,
, and
represent the DC/DC efficiency of the fuel cell, the DC/DC efficiency of the battery, and the efficiency of the drive motor, respectively.
Throughout the entire continuous operation time, the energy provided by the power system should cover the total power consumption at each operating condition stage.
where
is the ratio of the minimum power to the maximum power within the fuel cell’s lifespan, from the beginning to the end.
The number of batteries is closely related to the charging and discharging frequency. Too many batteries may increase the complexity of charge/discharge management and even affect the overall efficiency. Therefore, the following constraints can be established:
where
,
, and
represent the charge/discharge frequency of a single fuel cell, the charge/discharge frequency of the battery, and the maximum charge/discharge frequency the system can withstand, in cycles per hour.
The operating state of the fuel cell will be affected by control load disturbances, and constraints need to be applied to its power rate of change [
25,
26]. The details are as follows:
where
is the maximum allowable power variation rate of the fuel cell per unit time, kW/s.
To ensure system stability and battery lifespan, reasonable operating ranges must be set and controlled for the state of charge (SOC), voltage, and C-rate of the battery.
where
,
,
, and
represent the state of charge (SOC) value, capacity, C-rate, and voltage, with the subscript
indicating the battery. The subscripts
and
represent the lower and upper limits, respectively.
is the maximum charge/discharge C-rate of the battery.
3.4. Optimization Algorithm Design
Considering the comprehensive demands for convergence, solution set diversity, and computational efficiency in multi-objective optimization problems, mainstream algorithms, such as the Strength Pareto Evolutionary Algorithm (SPEA), Particle Swarm Optimization (PSO), and Non-dominated Sorting Genetic Algorithm (NSGA), all have limitations to varying degrees [
16,
17,
18]. In contrast, the Multi-Objective Particle Swarm Optimization (MOPSO) algorithm combines the efficient search capabilities of particle swarm optimization with a multi-objective optimization framework. Through external archiving and crowding distance strategies, it ensures the distribution of the solution set and demonstrates a better search efficiency and convergence speed in high-dimensional, continuous variable spaces, making it suitable for rapid-response engineering applications.
Based on the principles of the MOPSO algorithm and optimization objectives, the parameter optimization process for the self-propelled plant protection machine is established as shown in
Figure 2, with the specific steps as follows [
27,
28,
29,
30].
Set the self-propelled plant protection machine’s power system parameters, constraints, and objective functions based on the content of
Section 2.2, and introduce the MOPSO optimization algorithm.
Initialize the population RR, set the initial population size to 400, set the number of elements in the external archive to 50, set the inertia weight to 0.8, set both the individual learning factor and global learning factor to 3, set the maximum number of iterations to 700, and randomly generate the position and velocity information for each particle.
Calculate the fitness values of the two objective functions in Equation (10), and based on the Pareto dominance relationship, copy the non-dominated solutions from the population RR into the external archive.
Calculate the density information of the particles in the external archive within the search space, and use the roulette wheel selection method to choose the particles. The lower the particle density, the greater the probability of selection. The population searches for the optimal solution through the interaction of low-density and high-density particles.
Update the velocity and position of the particles, generate the next-generation population RR+1, and check if the boundary conditions are met or if the number of non-dominated solutions exceeds the capacity of the elite archive. If exceeded, remove individuals with a higher density based on the crowding distance.
Check if the number of iterations exceeds the maximum number of iterations. If exceeded, terminate the search; otherwise, return to step (2).
3.5. Analysis of the Optimization Results
To verify the accuracy and fast response characteristics of the MOPSO optimization algorithm in the best configuration of the hydrogen-powered self-propelled plant protection machine’s hybrid power system, this study uses a single-objective optimization model based on the genetic algorithm (GA) and the energy system’s full lifecycle cost function as a control group. The resulting Pareto front is shown in
Figure 3. As shown in
Figure 3, the MOPSO algorithm can provide more solutions across a wider volume range, and these solutions demonstrate better optimization in terms of the expected lifecycle cost. As the volume increases, the cost gradually decreases, indicating that MOPSO can find a more ideal compromise solution between multiple objectives. This also reflects the MOPSO algorithm’s strong exploration ability in the solution space, allowing it to avoid local optima and obtain more diverse and effective optimization results. The recommended configuration of the self-propelled plant protection machine’s hybrid power system based on the Pareto front is shown in
Table 1. The three red stars represent the three solutions corresponding to the minimum cost, minimum volume, and optimal solution respectively.
3.6. Sensitivity Analysis of Hydrogen Price on the Full Lifecycle Cost
To assess the market adaptability of the economic viability of hydrogen-powered plant protection machinery, this study conducts a sensitivity analysis of hydrogen prices based on the full lifecycle cost model (Equations (9)–(12)). The energy system configuration corresponding to the Multi-Objective Particle Swarm Optimization (MOPSO) algorithm was selected as the optimal design scheme, with its hydrogen consumption characteristics simultaneously adopted as the benchmark for system performance evaluation. The specific energy configuration scheme is shown in
Table 2.
5. Experimental Validation
To verify the reliability of the simulation model, the research team conducted practical condition tests using a self-propelled plant protection machine prototype from Nanjing Agricultural University. The designed experiment was to perform plant protection operations in a dry field environment, measuring and recording the current and voltage of the fuel cell and battery, as well as the hydrogen flow. The specific experimental method involved installing power sensors, hydrogen flow meters, and current–voltage sensors to collect real-time data on the power output, hydrogen consumption, etc., of the fuel cell and battery. After correcting the measured data, a polynomial regression analysis of the discrete experimental data was performed using the least squares method to obtain continuous operational performance results. The experimental equipment and process are shown in the figure below.
The experiment was conducted at the Jiuming Agricultural Machinery Service Cooperative experimental base in Liuhe District, Nanjing, Jiangsu Province. The area is characterized by typical dryland soil, primarily sandy loam, with a moderate organic matter content and a pH value of approximately 6.8. The weather on the day of the experiment was clear, with an average temperature of 15.2 °C and a relative humidity of about 62%. The experimental area was flat with a neat field surface. The previous crop was maize, and the remaining straw has been returned to the soil. The soil moisture was suitable, and the overall environment met the agronomic requirements for dryland farming. The specific experimental process is shown in
Figure 8 below.
Figure 9 shows the power output of the self-propelled plant protection machine’s power system. It can be observed that during the 300–500 s time period, compared with the simulation data, the output power in the prototype test fluctuates more significantly, with a fluctuation range of about 0.6 kW, and the average output power deviates from the simulation value by approximately 0.04 kW. Based on the characteristic evaluation model established in
Section 2.3,
Table 5 presents the relevant data. The simulation group and the test group show a similar performance in terms of average output power, power stability, and response time. Specifically, the average output power of the simulation group is 137.68 kW, the power stability is 0.96, and the response time is 11.38 s. The average output power of the test group is 134.67 kW, the power stability is 0.91, and the response time is 13.83 s. The maximum voltage difference and fuel cell degradation rate for the simulation group are 46.89 mV and 6.21 µV/h, respectively, while for the experimental group, they are 51.32 mV and 8.33 µV/h.
According to the comparison between the simulation data and experimental data (
Table 5), the mean absolute error (MAE) of the key performance indicators in this study is 2.418, indicating that the hydrogen power system shows a good consistency in major operational indicators. The simulation results are close to the measured data in terms of the average power, operational stability, and response speed, but there is some deviation in voltage fluctuations and fuel cell performance degradation.
The accuracy of the simulation model was thoroughly validated by the hydrogen consumption test data shown in
Figure 10. The test data and simulation data are highly fitted, with the hydrogen consumption of the simulation group being 977 g at 500 s, and 954 g for the test group, showing a minimal difference. This fully demonstrates the correctness and reliability of the simulation model in both the dynamic and steady-state phases.
6. Conclusions and Discussion
6.1. Conclusions
(1) Based on the operational characteristics and environmental features of the self-propelled plant protection machine, a parameter optimization model for the hydrogen-powered hybrid power system of the self-propelled plant protection machine was developed. This model uses the full-lifecycle cost function and the volume of the energy system as objective functions, considering key factors such as power matching, energy balance, structural parameters, fuel cell change rate, and battery parameter fluctuations during operation, with corresponding constraints set.
(2) The MOPSO algorithm was set as a multi-objective optimization algorithm, with the GA algorithm chosen as the control group. The optimization results show that the lifecycle cost function and volume of the energy system configuration obtained using the MOPSO algorithm decreased by 15.8% and 17.6%, respectively, compared with the control group.
(3) A dynamic model of the hydrogen-powered self-propelled plant protection machine was constructed on the Matlab/Simulink platform, and two power system configuration schemes were simulated and validated. The results show that both systems can meet the required output power under operational conditions. Under the premise of covering basic operating conditions, the power system optimized by the MOPSO algorithm shows improvements in key performance indicators, such as fuel cell system output efficiency and battery efficiency, which are about 15.3% and 10.1% higher than the GA algorithm optimization, respectively. The hydrogen consumption of the fuel cell, battery equivalent hydrogen consumption, and hybrid power system equivalent hydrogen consumption were reduced by 10.5%, 13.8%, and 10.8%, respectively.
(4) Practical tests were conducted using a self-propelled plant protection machine prototype. The test results show that, compared with the simulation data, the operational performance and equivalent hydrogen consumption of the self-propelled plant protection machine power system are highly consistent, with an absolute mean error of 2.418, validating the correctness of the simulation.
6.2. Analysis of the Impact of Real-World Constraints on Optimization Results
- (1)
Dynamic impact of terrain variability on optimization parameters
Given that the terrain of the Huang-Huai-Hai Plain is not static and has significant slope variations, changes in complex terrain will significantly alter the power demand model, exceeding the rated output limit of the energy system in the optimization scheme, thereby causing the MOPSO fixed solution set to fail.
- (2)
The need to revise the economic model due to hydrogen supply interruption
Considering that most areas of the Huang-Huai-Hai Plain are rural, hydrogen is typically transported by high-pressure gas hydrogen or liquid hydrogen. However, as the transport distance increases, the cost of transporting hydrogen per unit increases exponentially. For example, when the transport distance increases from 50 km to 200 km, the transport cost increases by 2.3 times [
31,
32]. This, on one hand, leads to the need for frequent hydrogen replenishment, shortening the endurance time and operational efficiency. On the other hand, it forces the hydrogen storage tank volume to increase, offsetting the volume optimization benefits of MOPSO.
- (3)
The need to revise the economic model due to hydrogen supply interruption
The full lifecycle cost mentioned in the original text does not include hidden costs, such as fuel cell membrane electrode replacement and maintenance costs for battery thermal management systems. These hidden costs are usually not low and will affect the cost optimization benefits of MOPSO.
This study constructs a multi-objective optimization framework for hydrogen-powered self-propelled plant protection machinery, with the main optimization objectives being the full lifecycle cost of the energy system and the system volume. Through combining the simulation analysis and physical testing, the study verifies that this method effectively improves the overall economic efficiency and spatial adaptability of the machine while ensuring power performance.
Based on prototype measurement data and regional operational characteristics, the hydrogen-powered plant protection system is suitable for priority deployment in the intensive wheat field areas of the Huang-Huai-Hai Plain (such as in Henan, Shandong, and other provinces), with the potential to support the green transformation of the local agricultural economy.
The study not only provides a theoretical basis and engineering implementation path for the design of key parameters in hydrogen-powered plant protection machinery, but also offers valuable experience for the clean energy transformation of agricultural equipment, with positive implications for reducing agricultural carbon emission intensity and improving energy utilization efficiency. The research results align with the United Nations Sustainable Development Goals of Clean Energy (SDG 7) and Climate Action (SDG 13), providing a practical and economically adaptable system solution for green, low-carbon agriculture.