A method and apparatus for power generation control of a fuel cell

By training a power prediction model and using mathematical optimization algorithms to break down the outputs of fuel cells and lithium-ion batteries, and combining this with closed-loop feedback control, the voltage and current fluctuation problem of fuel cells under frequent start-stop conditions is solved, achieving stable and efficient battery collaborative control, extending battery life and improving safety.

CN117944526BActive Publication Date: 2026-11-20BEIJING WENLI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410094044.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2026-11-20
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

Existing fuel cell power generation control methods struggle to achieve stability and efficiency under conditions of frequent start-stop cycles and large power gradient changes, leading to significant voltage and current fluctuations that negatively impact battery health.

Method used

By training a power prediction model, machine learning algorithms are used to predict vehicle power demand. Combined with mathematical optimization algorithms, the power demand curve is decomposed to rationally allocate the output of fuel cells and lithium-ion batteries. Closed-loop feedback control is used for real-time monitoring and correction.

Benefits of technology

It achieves synergistic efficiency improvement of fuel cells and lithium-ion batteries, reduces voltage and current fluctuations, ensures stable power generation, extends battery life, and improves safety and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117944526B_ABST
    Figure CN117944526B_ABST
Patent Text Reader

Abstract

A power generation control method and device of a fuel cell, and relate to the field of battery control, the method comprises the following steps: collecting historical power output data of a target vehicle, and training a power prediction model; collecting vehicle operation data of the target vehicle in real time; determining a power demand curve of the target vehicle in a preset time period in the future; algorithmically disassembling the power demand curve based on preset constraint conditions to obtain a fuel power demand curve and a lithium power demand curve of a fuel cell and a lithium ion battery of the target vehicle in the preset time period, respectively; and controlling the power output of the fuel cell and the lithium ion battery in the preset time period according to the fuel power demand curve and the lithium power demand curve, respectively. The method can improve the efficiency and stability of fuel cell power generation, improve the problem of large fluctuations in voltage and current, realize stable power generation control, and protect the battery health.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery control, and more particularly to a method and apparatus for controlling the power generation of a fuel cell. Background Technology

[0002] Currently, environmental pollution and resource shortages are becoming increasingly serious problems, making the development of clean and efficient new energy sources of great significance. Fuel cells, as a novel environmentally friendly and efficient power generation device, offer high power generation efficiency and low pollutant emissions, making them highly suitable for distributed power generation applications. The control strategy of a fuel cell system directly affects its power generation efficiency and stability. Therefore, researching power generation control methods for fuel cells is crucial for improving their power generation performance.

[0003] Various power generation control strategies for fuel cells have been proposed in related technologies. For example, load tracking control strategies are used to dynamically adjust the output voltage and current of the fuel cell system according to load changes, thereby improving power generation efficiency. Another strategy is model predictive control, which uses an accurate fuel cell model to predict the cell's voltage response and achieve predictive control of the system state.

[0004] However, the power generation control methods for fuel cells in related technologies struggle to control power generation stability. When fuel cells are applied to equipment such as sweepers and heavy trucks, the battery needs to respond quickly to load changes under conditions of frequent start-stop cycles and large power gradient variations. This can cause significant fluctuations in the voltage and current of the fuel cell, reducing power generation stability and affecting battery health. Summary of the Invention

[0005] This application provides a power generation control method and apparatus for fuel cells. By predicting power demand, optimizing the disassembly, and coordinating the output of both fuel cells and lithium-ion batteries, the efficiency and stability of fuel cell power generation can be improved. When fuel cells are used in scenarios with frequent start-stop cycles, the problem of large voltage and current fluctuations can be mitigated, achieving stable power generation control and ensuring battery health.

[0006] In a first aspect, this application provides a power generation control method for a fuel cell, applied to a control device. The method includes: collecting historical power output data of a target vehicle and training a power prediction model; real-time acquisition of vehicle operation data of the target vehicle; vehicle operation data including vehicle weight, speed, acceleration, expected driving route, ambient temperature, and battery status; inputting the vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle within a preset time period; decomposing the power demand curve using an algorithm based on preset constraints to obtain the fuel power demand curve and lithium-ion battery power demand curve of the target vehicle within the preset time period; the preset constraints include that when the rate of change in power demand is greater than a preset threshold, the lithium-ion battery shares the power output change; and when the rate of change in power demand is less than or equal to the preset threshold, the fuel cell shares the preset power output; and controlling the power output of the fuel cell and lithium-ion battery within the preset time period according to the fuel power demand curve and the lithium-ion battery power demand curve, respectively.

[0007] In the above embodiments, the control device obtains a power prediction model through training, analyzes the vehicle's historical power output data, and can specifically predict the power demand curve of the target vehicle. Then, a curve decomposition algorithm is used to rationally allocate the power demand to the fuel cell and lithium battery, enabling the power output of the two batteries to cooperate and complement each other. This method fully utilizes the predictive function of machine learning models for scientific control and optimized configuration. It not only improves the overall efficiency of the on-board battery but also smooths the power conversion between batteries, effectively reducing voltage and current fluctuations caused by power changes, ensuring a stable power supply, saving resources, improving power generation quality, and extending battery life.

[0008] In conjunction with some embodiments of the first aspect, in some embodiments, historical power output data of the target vehicle is collected and a power prediction model is trained. Specifically, this includes: collecting historical power output data of the target vehicle and preprocessing it to remove discrete values; dividing the historical power output data into training data and validation data based on preset rules; inputting the training data into a machine learning model for training to obtain a power prediction model; using validation data to validate the power prediction model to obtain a prediction performance index; and when the prediction performance index is lower than a preset expected value, adjusting the training parameters of the machine learning model and retraining to obtain an improved power prediction model.

[0009] In the above embodiments, the control device obtains a model with high prediction accuracy by collecting historical vehicle power data, performing data preprocessing, dividing the training and validation datasets, and conducting multiple training and parameter tuning processes. This training process conforms to the general process of machine learning, fully utilizing the advantages of automatic algorithm learning and model optimization to achieve better prediction performance. Compared with manual experience-based prediction, this data-driven prediction method is more scientific and more suitable for predicting power curves of different vehicle models and loads, further improving the intelligence and precision of the overall control strategy.

[0010] In conjunction with some embodiments of the first aspect, in some embodiments, the power demand curve is decomposed algorithmically based on preset constraints to obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery within a preset time period, respectively. Specifically, this includes: analyzing the power demand curve to determine multiple average power demands for multiple time periods; determining multiple optimized output powers where the difference between the fuel cell and the average power demand does not exceed a preset difference threshold; planning a curve with zero curvature and the value being the optimized output power, which is the fuel power demand curve of the fuel cell within the preset time period; calculating the power difference between the power demand curve and the fuel power demand curve; and fitting the positive value in the power difference to obtain the lithium battery power demand curve of the lithium-ion battery within the preset time period.

[0011] In the above embodiments, the control device provides a specific power curve decomposition algorithm. By analyzing average power and determining optimal output power, the complex power demand is rationally decomposed into fuel cell demand curves and lithium battery demand curves. This avoids rapid changes in battery power and prevents the battery from being under high load for extended periods, thus protecting the battery. This decomposition logic sets reasonable constraints, leveraging the strengths of both battery types and improving their synergistic efficiency. This model prediction and optimization combination decomposition strategy enables more efficient and stable battery synergistic control while ensuring energy saving, safety, and high efficiency.

[0012] In conjunction with some embodiments of the first aspect, in some embodiments, after the step of calculating the power difference between the power demand curve and the fuel power demand curve, the method further includes: when the power difference is negative, using the absolute value of the power difference as the charging power of the lithium-ion battery; and when the current charge of the lithium-ion battery is lower than or equal to a preset maximum charge threshold, using the charging power to charge the lithium-ion battery.

[0013] In the above embodiments, the control device proposes a technical solution to charge the lithium-ion battery using a negative power difference. During vehicle acceleration, the fuel cell often experiences power overflow, at which point the lithium-ion battery can be charged. This rationally utilizes the power redundancy of the fuel cell and performs intelligent charge and discharge management, improving battery charging efficiency and achieving energy conservation and emission reduction in the vehicle. Simultaneously, the solution also sets a power threshold condition to prevent overcharging and protect the battery. It can rationally allocate various power sources, maximizing their functionality, saving resources, and extending service life.

[0014] In conjunction with some embodiments of the first aspect, in some embodiments, after the step of calculating the power difference between the power demand curve and the fuel power demand curve, the method further includes: calculating the overflow power capacity of the fuel cell within the difference range where the power difference is negative; determining the lithium battery charging capacity corresponding to the overflow power capacity based on the lithium-ion charging efficiency; if the lithium battery charging capacity is greater than the remaining capacity of the lithium-ion battery, then correcting the fuel power demand curve to reduce the power output of the fuel cell.

[0015] In the above embodiments, the control device provides a technical means to determine the overflow power and calculate the corresponding lithium battery charging capacity in the event of fuel cell power overflow. Unlike directly charging the lithium battery, this scheme calculates the charging upper limit to prevent overcharging due to overflow power. It fully considers factors such as the remaining space of the lithium battery and charging efficiency, thus avoiding overcharging and over-discharging of the battery and the resulting safety hazards. By correcting the fuel cell output curve to achieve controllable and reasonable charging, it not only improves battery safety but also achieves the rational utilization of resources and energy-saving goals.

[0016] In conjunction with some embodiments of the first aspect, in some embodiments, before collecting historical power output data of the target vehicle and training a power prediction model, the method further includes: obtaining mileage information of the target vehicle within a preset time period in the past; determining the vehicle usage type of the target vehicle based on the mileage information; and determining different data collection frequencies and power prediction frequencies for different vehicle usage types.

[0017] In the above embodiments, the control device employs a technical solution with different data acquisition and prediction frequencies. This differentiated management allows for customized strategies for different vehicle types; for example, taxis require more frequent data monitoring, while private cars can acquire predictive models through daily learning. This solution fully considers the differences in application scenarios, achieving refined intelligent management, improving learning efficiency, saving storage and computing resources, and optimizing resource utilization. This scenario-based data strategy is more intelligent and efficient, effectively enhancing the system's autonomous adaptability.

[0018] In conjunction with some embodiments of the first aspect, in some embodiments, after controlling the power output of the fuel cell and the lithium-ion battery within a preset time period according to the fuel power demand curve and the lithium-ion battery power demand curve, the method further includes: monitoring the real-time power output data of the fuel cell and the lithium-ion battery within the preset time period; determining the power deviation between the real-time power output data and the power demand curve; when the rate of change of the power deviation exceeds a preset rate of change threshold, performing power deviation prediction to obtain a deviation prediction curve of the power deviation within a future preset time period; and determining the adjustment time point and adjustment range for adjusting the power output of the fuel cell and the lithium-ion battery based on the deviation prediction curve.

[0019] In the above embodiments, the control device provides a closed-loop feedback control solution, which can monitor and correct the battery's power output in real time. By predicting the trend of power deviation changes, the timing and magnitude of output adjustment can be determined in advance, achieving dynamic closed-loop control. It can quickly compensate for deviations between battery output and demand, avoiding the accumulation and expansion of errors, and ensuring high-precision and stable power generation control.

[0020] Secondly, embodiments of this application provide a control device, which includes: a model training module for collecting historical power output data of a target vehicle and training a power prediction model; a data acquisition module for collecting real-time vehicle operation data of the target vehicle; the vehicle operation data includes vehicle weight, vehicle speed, acceleration, expected driving route, ambient temperature, and battery status; a curve simulation module for inputting the vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle in a preset time period; a curve decomposition module for performing algorithmic decomposition on the power demand curve based on preset constraints to obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery in the preset time period, respectively; the preset constraints include that when the rate of change of power demand is greater than a preset change threshold, the lithium-ion battery shares the power change output, and when the rate of change of power demand is less than or equal to the preset change threshold, the fuel cell shares the preset power output; and a power control module for controlling the power output of the fuel cell and lithium-ion battery in the preset time period according to the fuel power demand curve and the lithium battery power demand curve, respectively.

[0021] Thirdly, embodiments of this application provide a control device comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, and the one or more processors invoking the computer instructions to cause the control device to perform the method described in the first aspect and any possible implementation thereof.

[0022] Fourthly, embodiments of this application provide a computer program product containing instructions that, when the computer program product is run on a control device, cause the control device to perform the method described in the first aspect and any possible implementation thereof.

[0023] Fifthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a control device, cause the control device to perform the method described in the first aspect and any possible implementation thereof.

[0024] It is understood that the control devices provided in the second and third aspects, the computer program product provided in the fourth aspect, and the computer storage medium provided in the fifth aspect are all used to execute the methods provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.

[0025] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. By employing a trained power prediction model and performing curve decomposition and optimized configuration, the system can reasonably predict the vehicle's power demand and scientifically allocate it. This effectively solves the problem of large voltage and current fluctuations caused by simple linear allocation in related technologies, thereby improving the synergistic efficiency and power generation stability of fuel cells and lithium-ion batteries. Compared to simple linear allocation, this model prediction and optimized combination strategy enables more refined and intelligent battery synergistic control, effectively reducing large voltage and current fluctuations, ensuring stable and efficient power generation, and achieving the technical effects of energy saving, environmental protection, and extended service life.

[0026] 2. By employing techniques that calculate overflow power and limit a reasonable upper limit for charging capacity, the charging capacity can be controlled, preventing overcharging of lithium-ion batteries. This effectively solves the safety hazards associated with overcharging in related technologies, thereby improving battery safety and extending battery life. Unlike direct battery charging, this method strictly controls the charging upper limit, preventing overcharging and over-discharging. While utilizing overflow power, it ensures battery charging safety, avoiding safety accidents, and ultimately achieving the technical effects of extending battery life and conserving resources.

[0027] 3. By employing power deviation prediction and closed-loop feedback regulation techniques, real-time monitoring and rapid compensation can be achieved, effectively solving the problem of error accumulation in battery control in related technologies. This, in turn, improves the stability and accuracy of power generation control. The real-time monitoring and predictive adjustment strategy enhances the robustness of the method, effectively improving the stability and accuracy of battery collaborative control, ensuring efficient and precise power generation, avoiding system oscillations, and achieving the technical effects of saving resources and extending battery life. Attached Figure Description

[0028] Figure 1 This is a schematic flowchart of a fuel cell power generation control method in an embodiment of this application; Figure 2 This is another schematic flowchart of the power generation control method for fuel cells in the embodiments of this application; Figure 3 This is a schematic diagram of the power curve of the fuel cell power generation control method in the embodiments of this application; Figure 4 This is a schematic diagram of a functional module structure of the control device in an embodiment of this application; Figure 5 This is a schematic diagram of the physical structure of a control device in an embodiment of this application. Detailed Implementation

[0029] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0030] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0031] To facilitate understanding, the application scenarios of the embodiments of this application are described below.

[0032] With the rapid development of new energy vehicles, hybrid electric buses, primarily powered by fuel cells and lithium battery packs, have been put into use in many cities. However, these electric buses operate with frequent start-and-accelerate cycles in urban conditions, posing a challenge to the stable power supply of the fuel cells. When electric buses frequently start and stop between stations, the power demand of their electric motors on the fuel cells fluctuates dramatically. Simple empirical control strategies struggle to cope with these large transient power fluctuations, resulting in significant fluctuations in the voltage and current output of the fuel cell stack. These large voltage and current fluctuations not only reduce the power generation efficiency of the fuel cells but also shorten their lifespan.

[0033] Therefore, there is an urgent need to develop a new intelligent coordinated control strategy for fuel cells that can achieve coordinated control of the lithium battery pack and fuel cell in the power battery pack according to the actual operating conditions and transient power demand changes of the electric bus, so as to make the power output change of the battery pack smoother, meet the power demand of the vehicle, and ensure the healthy operation of the battery.

[0034] In related technologies, battery power output control can be achieved by using a simple, preset empirical speed-power curve. The following describes a scenario where a fuel cell power generation control method from this related technology is used.

[0035] To address the issue of large fluctuations in the power parameters of electric buses, some companies have adopted simple control strategies to smooth battery power output. This method establishes a speed-power correspondence table based on historically obtained average power values ​​for electric buses at different speed ranges. During actual operation, the system looks up the corresponding power value in the table based on the current vehicle speed signal and allocates it proportionally to the lithium battery and fuel cell for power generation. However, this control method is too static and crude, failing to intelligently respond to complex urban road conditions. For example, when an electric bus encounters multiple overlapping traffic light stops during peak hours, its power demand curve will exhibit multiple peaks. Simple speed-range average power allocation cannot account for this complex curve, often leading to a large amount of excess power in the battery pack or insufficient power supply, resulting in voltage and current fluctuations. This static, empirical control strategy cannot effectively reduce battery current fluctuations and is also difficult to achieve dynamically optimized battery coordinated control.

[0036] The fuel cell power generation control method in this application embodiment achieves stable and efficient battery collaborative control by dynamically predicting battery power demand and performing reasonable curve decomposition. This not only smooths the voltage and current conversion but also enables intelligent response to complex operating conditions.

[0037] The following describes a scenario in which the power generation control method of the fuel cell described in this application is used.

[0038] To address the aforementioned issues, this application provides a fuel cell power generation control method. This method collects extensive historical operating data from electric buses and trains an accurate power demand prediction model using machine learning. During actual operation, the system can detect parameters such as vehicle speed and route, inputting them into the prediction model to obtain an accurate power demand prediction curve from the current point to a future period. Then, a mathematical optimization algorithm is used to decompose this power curve, rationally determining the optimal coordinated output of the fuel cell and lithium battery at different times, resulting in a smoother transition in power changes between the two. This fuel cell power generation control method fully leverages the advantages of data-driven and algorithm-optimized technologies, dynamically predicting transient power demands under various complex operating conditions and optimizing their allocation. It scientifically and rationally guides the coordinated control of the two batteries, effectively reducing large fluctuations in voltage and current, ensuring the stability of battery power output, meeting vehicle power requirements, and achieving intelligent collaborative battery management.

[0039] As can be seen, the fuel cell power generation control method in this application embodiment can not only achieve smooth battery power output, but also effectively solve the problem that existing experience-based control is difficult to handle various complex operating conditions, thereby realizing intelligent battery control that is adaptively optimized for different driving conditions.

[0040] To facilitate understanding, the method provided in this implementation will be described in detail below, using the above scenario as an example. Please refer to [link / reference]. Figure 1 This is a flowchart illustrating a fuel cell power generation control method in an embodiment of this application.

[0041] S101. Collect historical power output data of the target vehicle and train a power prediction model.

[0042] The control unit first collects driving data of the target vehicle over a period of time. This historical data includes parameters such as vehicle speed, throttle opening, and ambient temperature, as well as the corresponding instantaneous power output value of the on-board battery. The control unit then uses algorithms such as random forests or neural networks to train a power prediction model. After training, the control unit obtains a power prediction model that takes real-time driving conditions as input and outputs predicted battery power values ​​for a future period of time.

[0043] The power prediction model is a model trained by the control device using machine learning algorithms that can predict the vehicle's power demand in real time. It takes real-time parameter data, such as current vehicle speed, ambient temperature, and battery charge, as input, and outputs the vehicle's battery pack power demand from the current moment to a short future period, such as two hours, in the form of a time-series power curve.

[0044] S102. Real-time acquisition of vehicle operation data of the target vehicle.

[0045] After obtaining the power prediction model, the control device will collect various vehicle operating parameters in real time during actual vehicle operation, such as vehicle speed, throttle opening, driving route, ambient temperature, and battery charge. These parameters reflect the vehicle's real-time operating status and condition information. The collection frequency can be set to once per minute to obtain an accurate depiction of the vehicle's operating status. The collected parameter data will then be used as input to the power prediction model in the next step.

[0046] S103. Input the vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle in the future preset time period.

[0047] After collecting real-time vehicle operating data, the control unit inputs it into a pre-trained power prediction model. This model predicts the vehicle's power demand curve from the current moment to a short future period, such as the next two hours, based on these real-time parameters. This curve represents the power the onboard battery needs to provide during this time. The control unit then calls the model's prediction function, inputting the real-time parameters. The power prediction model, based on knowledge learned during training, calculates the battery's power demand over the future and outputs a power demand curve. This curve reflects the power output requirements under current operating conditions, providing a basis for subsequent intelligent battery control.

[0048] S104. Based on preset constraints, the power demand curve is decomposed by algorithm to obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery within a preset time period.

[0049] After obtaining the power demand forecast curve for a future period, the control device decomposes the curve to rationally guide the coordinated output of the fuel cell and lithium-ion battery in the hybrid power system. Specifically, the control device first analyzes the time derivative of the power demand curve to determine the magnitude of the power change rate at each moment. Then, the control device decomposes the curve according to preset constraints. For example, when the power change rate is greater than 20%, it is considered that the power change is large, and the fuel cell maintains a stable output, while the lithium-ion battery is responsible for the corresponding power fluctuations; when the power change rate is less than 20%, it is considered that the power is relatively stable, and the fuel cell can be responsible for the main output, while the lithium-ion battery plays an auxiliary role. After determining the constraints, the control device applies a mathematical algorithm to extract the portion of the power demand curve that meets the constraints as the output curve of the fuel cell, i.e., the fuel power demand curve, while the remaining portion constitutes the output curve of the lithium-ion battery, i.e., the lithium battery power demand curve.

[0050] S105. Based on the fuel power demand curve and the lithium battery power demand curve, control the power output of the fuel cell and the lithium-ion battery within a preset time period, respectively.

[0051] After obtaining the power demand curves of the two batteries over a future period, the control device can control the power output of the fuel cell and lithium-ion battery separately according to the target values ​​set on the curves, enabling them to work together to meet the total power demand of the system. Specifically, the control device can use current commands to control and adjust the output current of the two batteries to achieve power curve tracking control. For example, if at time t1 the power demand of the fuel cell is 50kW and the power demand of the lithium-ion battery is 20kW, the control device will issue a 50kW current command to the fuel cell at time t1, and a 20kW current command to the lithium-ion battery at the same time. This allows for accurate control of both batteries to output power in coordination according to the optimized result. Through closed-loop control and continuous tracking of demand curve changes, the system can achieve intelligent response and efficient output to complex power demands.

[0052] In the above embodiment, the control device collects vehicle operating condition data for training to obtain a power prediction model. In practical applications, the control device also needs to establish a closed-loop feedback mechanism to monitor and correct the real-time power output of the battery, that is, to detect the deviation between the real-time power and the predicted curve, predict the trend of deviation changes, and determine the power compensation scheme accordingly, so as to improve the robustness and accuracy of control, realize precise coordinated management of fuel cells and lithium batteries, and meet the power requirements under complex operating conditions. The following is a supplement to the scenario of this embodiment.

[0053] By adopting the power prediction and intelligent coordinated control strategy of this application, a closed-loop feedback mechanism can be optimized to achieve real-time dynamic monitoring and correction of battery output. A voltage and current detection module can be added to collect the battery pack's output parameters in real time, compare and analyze them with the predicted power curve, and determine if any deviation exists. When a power deviation exceeds a threshold, the control device activates the power deviation prediction module to predict the deviation trend over a future period and plan the output adjustment scheme in advance. The control device compensates for and eliminates the power deviation by coordinating the fuel cell and lithium battery, ensuring stable output that meets the power demand curve in real time. This closed-loop feedback control mechanism enables real-time monitoring and dynamic correction of the battery pack output, allowing for rapid response to power changes, enhancing the robustness of the control device, further improving the intelligent level of battery coordinated control, and providing strong support for the efficient and stable power supply of electric buses.

[0054] In light of the above scenarios, the following is a more detailed description of the process provided in this implementation. Please refer to [link / reference]. Figure 2This is another schematic diagram of the power generation control method for fuel cells in this application embodiment.

[0055] S201. Collect historical power output data of the target vehicle and train a power prediction model.

[0056] Referring to step S101, the control device will train a power prediction model.

[0057] In some embodiments, the control device first acquires the mileage information of the target vehicle within a preset time period in the past; then, based on the mileage information, it determines the vehicle usage type of the target vehicle; and then, based on different vehicle usage types, the control device determines different data acquisition frequencies and power prediction frequencies for vehicle operation.

[0058] Specifically, before implementing the control strategy, the control device collects vehicle operation data and performs power prediction. To achieve more personalized and intelligent control, the control device first obtains the target vehicle's mileage information over a past period. Then, the control device can determine the vehicle's usage type based on the mileage information; for example, taxis and freight trucks have longer mileage, while private cars have shorter mileage. For different vehicle types, the control device determines different data collection frequencies and power prediction frequencies. Specifically, for vehicles with long mileage, their load and driving status changes are more complex and frequent, requiring a higher collection frequency to obtain a sufficiently detailed and complete vehicle operation dataset. Power prediction also needs to be performed more frequently to track changes in vehicle status. For vehicles with shorter mileage, such as private cars, the frequency of data collection and prediction can be appropriately reduced, such as performing a prediction once a day, to save storage and computing resources. This vehicle type-differentiated data collection and prediction strategy enables more intelligent and efficient personalized control.

[0059] In some embodiments, the control device collects historical power output data of the target vehicle and preprocesses it to remove discrete values; and divides the historical power output data into training data and validation data based on preset rules; the control device inputs the training data into a machine learning model for training to obtain a power prediction model; then uses the validation data to validate the power prediction model to obtain a prediction performance index; when the prediction performance index is lower than a preset expected value, the control device adjusts the training parameters of the machine learning model and trains it again to obtain an improved power prediction model.

[0060] Specifically, in training the power prediction model, the control device first needs to collect historical power output data of the target vehicle over a past period. To improve data quality, the raw data is preprocessed, for example, by removing outliers or abnormal data to obtain more reliable and continuous training samples. Next, based on a preset partitioning rule, the control device divides the processed sample data into two parts: one part serves as training data for model training, and the other part serves as validation data to evaluate the predictive performance of the trained model. Then, the control device inputs the training data into a selected machine learning algorithm for model training. After multiple rounds of iterative learning, a preliminary power prediction model is obtained. Subsequently, the control device uses the reserved validation dataset to test the model, obtaining the error between the predicted and actual results or other evaluation metrics, thereby calculating the model's predictive performance index. If this performance index does not meet the preset threshold requirements, it indicates that the model's prediction accuracy is not high enough, and further optimization is needed. At this point, the control device can adjust the training parameters of the machine learning algorithm, such as the number of iterations and the regularization coefficient, to make the model training more thorough, and then repeat the training process until an improved model with satisfactory predictive performance is obtained. This multi-round training mechanism with closed-loop parameter tuning can continuously optimize the model quality to obtain a power prediction model with high accuracy in predicting the power of the target vehicle.

[0061] S202. Real-time collection of vehicle operation data of the target vehicle.

[0062] Referring to step S102, the control device will collect vehicle operation data in real time.

[0063] S203. Input the vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle in the future preset time period.

[0064] Referring to step S103, the control device will determine the power demand curve of the target vehicle in a future preset time period.

[0065] S204. Analyze the power demand curve to determine the average power demand for multiple time periods.

[0066] After obtaining the power demand forecast curve for a future period, the control device first analyzes the curve, for example, by calculating the average power every 30 minutes. After processing, the entire curve is divided into multiple time periods, each corresponding to an average power value.

[0067] like Figure 3 As shown, Figure 3 This is a schematic diagram of the power curve of the fuel cell power generation control method in the embodiments of this application. Figure 3Figure (a) shows a coordinate curve, namely the power demand curve. Figure 3 As can be seen in (a), the power demand curve fluctuates to varying degrees in the three intervals of 0 to 30 minutes, 30 to 60 minutes, and 60 to 90 minutes. The average power values ​​can be calculated as 40kW, 60kW, and 38kW in the three intervals, respectively.

[0068] S205. Determine multiple optimized output powers for the fuel cell that do not differ from the average power demand by more than a preset difference threshold.

[0069] After obtaining the average power demand for each time period, the control device calculates the optimal output power that the fuel cell can provide at the current average power level, based on the fuel cell's speed response characteristics and load characteristics, ensuring the highest output efficiency and the most suitable battery voltage and current. The control device limits the difference between the optimized output power and the average power demand to a preset threshold, such as 20%. Ultimately, the control device obtains a multi-segment optimized power curve that takes into account the fuel cell's characteristics.

[0070] S206, with a planned curvature of zero, represents the curve of optimized output power, which is the fuel power demand curve of the fuel cell within a preset time period.

[0071] The control device will connect these line segments using a zero-curvature connection. Because the curvature is zero, the optimal power output curve of the fuel cell within a preset time period, i.e., the fuel power demand curve, will appear as a piecewise function curve with a fixed optimal output power value at different time intervals. This curve has no peaks, and the curves between the various numerical segments show gentle curve changes, satisfying both the average power demand and the optimal operating state of the fuel cell, providing a scientific and reasonable guidance for subsequent control.

[0072] like Figure 3 As shown, Figure 3 This is a schematic diagram of the power curve of the fuel cell power generation control method in the embodiments of this application. Figure 3 Figure (b) shows another coordinate graph that includes both the power demand curve and the fuel power demand curve. Figure 3 As shown in (b), the optimal output power is determined to be 40kW, 60kW, and 40kW in the three time intervals of 0 to 30 minutes, 30 to 60 minutes, and 60 to 90 minutes, respectively. That is, at 40kW and 60kW, the fuel cell has higher output efficiency and more stable voltage and current than in the nearby intervals. At the same time, it can be seen that there is a smooth change curve from 40kW to 60kW and from 60kW to 40kW, which represents a smooth transition in power of the fuel cell.

[0073] S207. Calculate the power difference between the power demand curve and the fuel power demand curve.

[0074] After obtaining the optimized power curve of the fuel cell, the control device calculates the difference between this curve and the initial total power demand curve to determine the power required from the lithium-ion battery. Specifically, the control device can calculate the difference between the power values ​​of the two curves simultaneously. For example, at time 2s, if the total power demand is 80kW, but the fuel cell power is only 50kW, then the power difference is 30kW, which is the power required from the lithium-ion battery. Through time-series analysis, the control device can obtain a time-series power difference curve.

[0075] like Figure 3 As shown, Figure 3 This is a schematic diagram of the power curve of the fuel cell power generation control method in the embodiments of this application. Figure 3 Figure (c) shows another coordinate curve, namely the lithium battery power demand curve. Figure 3 As shown in (c), the lithium battery power demand curve is the positive portion of the difference between the power demand curve and the fuel power demand curve. This portion represents the power that the lithium-ion battery needs to replenish, and it shows relatively frequent changes over time. This portion of the power is more suitable for lithium battery output.

[0076] It should be noted that, Figure 3 The diagram is for illustrative purposes only and does not represent an actual representation. The curves in the diagram are intended to enhance understanding. In practical applications, power demand curves often change more frequently, and the curves are often not smooth or continuous. The power demand curve for lithium batteries will not be as... Figure 3 As shown in (c), these are just a few fluctuations. The actual lithium battery power demand curve often closely matches the power demand curve, appearing less smooth and continuous. Furthermore, in the range where the fuel power demand curve switches power, such as from 40kW to 60kW or from 60kW to 40kW, the lithium battery power demand curve often adaptively switches with the fuel power demand curve. That is, when fuel demand smoothly increases, lithium battery demand smoothly decreases; and vice versa. This is not shown in the figure for ease of understanding.

[0077] In some embodiments, when the power difference is negative, the control device uses the absolute value of the power difference as the charging power of the lithium-ion battery; when the current charge of the lithium-ion battery is lower than or equal to a preset maximum charge threshold, the control device uses the charging power to charge the lithium-ion battery.

[0078] like Figure 3 As shown, Figure 3 This is a schematic diagram of the power curve of the fuel cell power generation control method in the embodiments of this application. Figure 3The coordinate curve shown in Figure (b) includes both the power demand curve and the fuel power demand curve. It can be seen that in some intervals, the fuel power demand curve is higher than the power demand curve. At this time, the power difference is negative, that is, there is power overflow in the fuel cell. This part of the power will be used to charge the lithium-ion battery.

[0079] Specifically, during the implementation of the control strategy, the control device calculates the power difference between the fuel cell's power output curve and the vehicle's actual power demand curve. When this power difference is negative, it indicates that the fuel cell's actual output power exceeds the vehicle's required power, resulting in power overflow. In this case, the control device can utilize this overflow power to charge the lithium-ion battery. The control device uses the absolute value of the power difference as the charging power for the lithium-ion battery. However, higher charging power is not always better; the battery's state must also be considered. If its current charge level is already high, close to or equal to the preset maximum charge threshold, then high-power charging should not be performed, and the charging power should be limited to avoid overcharging. Therefore, during charging, the current charge level of the lithium-ion battery needs to be assessed. Only when the charge level is below the threshold is a higher charging power used, while if the charge level is already high, the charging power needs to be reduced or charging stopped to achieve precise control of the battery's state. This charge-discharge strategy can rationally utilize the fuel cell's power overflow for battery charging while also considering the battery's charging safety requirements, achieving optimized control.

[0080] S208. Calculate the overflow power production capacity of the fuel cell within the range where the power difference is negative.

[0081] When calculating the power difference, there may be situations where the fuel cell power exceeds the required power, resulting in a negative difference. The control device analyzes these negative difference intervals and calculates the additional overflow power of the fuel cell relative to the demand within that interval; this is the overflow power capacity of the fuel cell during that period. This overflow power can be used to charge the lithium battery.

[0082] S209. Based on lithium-ion charging efficiency, determine the lithium battery charging capacity corresponding to the overflow power production capacity.

[0083] After obtaining the overflow power of the fuel cell, the control device also needs to calculate how much charge this power can provide to the lithium battery. The charge amount and overflow power have a non-linear relationship and are affected by the lithium battery charging efficiency. Therefore, the control device estimates the rated charge amount corresponding to the overflow power based on the lithium battery charging efficiency data obtained from tests to prevent overcharging. At the same time, after obtaining the upper limit of the charge amount, it can guide subsequent charging control to achieve safe and sufficient energy recovery and utilization.

[0084] S210. If the lithium battery charging capacity is greater than the remaining capacity of the lithium-ion battery, then the fuel power demand curve is corrected to reduce the power output of the fuel cell.

[0085] After calculating the amount of charge the lithium battery can absorb, the control device determines whether this charge will exceed the battery's current remaining capacity. If the calculation shows that the charge from the overflow power exceeds the battery's current absorbable capacity, it indicates a risk of overcharging. In this case, the control device will correct the previously generated fuel cell power curve, appropriately reducing the fuel cell's power output. Since the sum of the fuel cell and lithium-ion battery power is customized according to the corresponding power demand curve, reducing the fuel cell's power output will increase the lithium-ion battery's power, thus preventing subsequent overcharging and ensuring operational safety. Figure 3 As shown in (b), there is an overflow power production capacity around 90 minutes. If the lithium battery is already fully charged at this time, the fuel cell power will be reduced from 60 minutes to 90 minutes, such as from 40kW to 38kW. At this time, the fuel power is smaller, the overflow power production capacity will be less, the output of the lithium battery will increase accordingly, and the energy will reach a balance, with no overflow and no loss.

[0086] S211, The positive values ​​in the fitted power difference are the lithium-ion battery power demand curve within a preset time period.

[0087] After calculating and correcting the fuel cell power curve, the control device only needs to fit the positive values ​​of the previously calculated power difference into a curve to obtain the power output curve of the lithium-ion battery within a preset time period, i.e., the lithium battery power demand curve. This curve is mainly responsible for handling the transient changes in the power curve. In conjunction with the fuel cell curve, it works together to meet the system power demand, achieve coordinated control between batteries, and improve the overall efficiency and stability of the hybrid power system.

[0088] S212. Based on the fuel power demand curve and the lithium battery power demand curve, control the power output of the fuel cell and the lithium-ion battery within a preset time period, respectively.

[0089] Referring to step S105, the control device will control the power output of the fuel cell and lithium-ion battery within a preset time period according to the fuel power demand curve and the lithium battery power demand curve, respectively.

[0090] In some embodiments, the control device monitors the real-time power output data of the fuel cell and lithium-ion battery within a preset time period; then determines the power deviation between the real-time power output data and the power demand curve; when the rate of change of the power deviation exceeds a preset rate of change threshold, the control device performs power deviation prediction to obtain a deviation prediction curve for the power deviation within a future preset time period; finally, the control device determines the adjustment time point and adjustment range for adjusting the power output of the fuel cell and lithium-ion battery based on the deviation prediction curve.

[0091] Specifically, in implementing the control method, to ensure closed-loop feedback control, the control device not only needs to perform feedforward power prediction and allocation but also needs to establish a feedback mechanism to monitor and correct the real-time output of the battery. Specifically, the control device continuously monitors the real-time power output data of both batteries after the control strategy is executed and compares it with the predicted power demand curve to calculate the power deviation between them. Next, the control device analyzes the trend of this power deviation and determines whether its rate of change exceeds a preset threshold. If the rate of change is too rapid, it indicates a significant accumulation of deviation between the predictive control and the actual output, requiring timely correction. At this point, the control device initiates a power deviation prediction program, predicting the trend of power deviation over a future period based on existing real-time monitoring data, thus obtaining a deviation prediction curve. Finally, based on this deviation prediction result, the control device determines the specific time and adjustment range for adjusting the power output of the fuel cell and lithium-ion battery, correcting the deviation through closed-loop feedback to ensure the power output once again meets the demand curve. For example, during rapid acceleration, power demand increases rapidly, while power output may experience a certain delay. If this deviation exceeds the rate of change threshold, the control device will anticipate this trend and increase the power output of both batteries to compensate for the deviation. This closed-loop control mechanism enables real-time monitoring and rapid compensation of battery power output, preventing errors from accumulating and expanding indefinitely, thus significantly improving control stability and accuracy. Compared to simple open-loop control, this closed-loop feedback strategy enhances the robustness and adaptability of the control.

[0092] In this embodiment, by training a power prediction model and performing curve decomposition and optimized configuration, the power demand of the vehicle can be reasonably predicted and scientifically allocated. This effectively solves the problem of large voltage and current fluctuations caused by simple linear allocation in related technologies, thereby improving the synergistic efficiency and power generation stability of fuel cells and lithium-ion batteries. First, a machine learning model is used to dynamically predict vehicle power, which is highly targeted. Then, reasonable constraints are set for curve decomposition, rationally allocating power demand to two batteries with different characteristics, balancing power generation efficiency and stability. Simultaneously, by calculating overflow power and limiting a reasonable upper limit for charging capacity, the charging capacity can be controlled, avoiding overcharging of the lithium-ion battery. This effectively solves the safety hazard of battery overcharging in related technologies, thereby improving battery safety and extending battery life. Unlike directly charging the battery, this method can strictly control the charging upper limit, avoiding overcharging and over-discharging. While meeting the requirements for utilizing overflow power, it ensures battery charging safety, preventing safety accidents, and thus achieving the technical effects of extending battery life and saving resources.

[0093] The control device in the embodiments of this application is described below from a module perspective. Please refer to... Figure 4 This is a schematic diagram of a functional module structure of the control device in an embodiment of this application.

[0094] The control device includes: The model training module 401 is used to collect historical power output data of the target vehicle and train a power prediction model. The data acquisition module 402 is used to collect real-time vehicle operation data of the target vehicle; the vehicle operation data includes vehicle weight, vehicle speed, acceleration, expected driving route, ambient temperature, and battery status. The curve simulation module 403 is used to input vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle in a future preset time period. The curve decomposition module 404 is used to perform algorithmic decomposition of the power demand curve based on preset constraints, and obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery within a preset time period, respectively. The preset constraints include that when the power demand change rate is greater than a preset change threshold, the lithium-ion battery shares the power change output, and when the power demand change rate is less than or equal to the preset change threshold, the fuel cell shares the preset power output. The power control module 405 is used to control the power output of the fuel cell and the lithium-ion battery within a preset time period according to the fuel power demand curve and the lithium battery power demand curve, respectively.

[0095] In some embodiments, the model training module 401 specifically includes: The preprocessing unit is used to collect historical power output data of the target vehicle and preprocess it to remove discrete values. The data partitioning unit is used to divide historical power output data into training data and validation data based on preset rules; The model training unit is used to input training data into the machine learning model for training, thereby obtaining the power prediction model; The model validation unit is used to validate the power prediction model using validation data and obtain the prediction performance index. The model correction unit is used to adjust the training parameters of the machine learning model when the prediction performance index is lower than the preset expected value, and then retrain the model to obtain an improved power prediction model.

[0096] In some embodiments, the curve decomposition module 404 specifically includes: The data splitting unit is used to analyze the power demand curve and determine multiple average power demands over multiple time periods. An optimization extraction unit is used to determine multiple optimized output powers of the fuel cell that do not differ from the average power demand by more than a preset difference threshold. The fuel planning unit is used to plan a curve with zero curvature and a value representing the optimized output power, which is the fuel power demand curve of the fuel cell within a preset time period. The data calculation unit is used to calculate the power difference between the power demand curve and the fuel power demand curve. The lithium battery planning unit is used to fit the positive values ​​in the power difference to the lithium-ion battery power demand curve within a preset time period.

[0097] In some embodiments, the curve decomposition module 404 further includes: The lithium battery calculation unit is used to use the absolute value of the power difference as the charging power of the lithium-ion battery when the power difference is negative. The lithium battery charging unit is used to charge the lithium-ion battery using charging power when the current charge level of the lithium-ion battery is lower than or equal to a preset maximum charge threshold.

[0098] In some embodiments, the curve decomposition module 404 further includes: The fuel surplus unit is used to calculate the overflow power production capacity of the fuel cell within the difference range where the power difference is negative. The charging calculation unit is used to determine the amount of lithium battery charging capacity corresponding to the overflow power capacity based on the lithium-ion charging efficiency. The fuel correction unit is used to correct the fuel power demand curve and reduce the power output of the fuel cell when the lithium battery charge exceeds the remaining capacity of the lithium-ion battery.

[0099] In some embodiments, the control device further includes: The mileage acquisition module is used to acquire the mileage information of the target vehicle within a preset time period. The vehicle type determination module is used to determine the usage type of the target vehicle based on mileage information. The frequency determination module is used to determine the data acquisition frequency and power prediction frequency for different vehicle operation based on different vehicle types.

[0100] In some embodiments, the control device further includes: The data monitoring module is used to monitor the real-time power output data of fuel cells and lithium-ion batteries within a preset time period; The deviation determination module is used to determine the power deviation between the real-time power output data and the power demand curve; The deviation prediction module is used to predict the power deviation when the rate of change of the power deviation exceeds a preset rate of change threshold, and to obtain the deviation prediction curve of the power deviation in the future preset time period. The power correction module is used to determine the adjustment time and adjustment range for adjusting the power output of the fuel cell and lithium-ion battery based on the deviation prediction curve.

[0101] The control device in the embodiments of this application has been described above from the perspective of modular functional entities. The control device in the embodiments of this application is described below from the perspective of hardware processing. Please refer to [link / reference needed]. Figure 5 This is a schematic diagram of the physical structure of a control device in an embodiment of this application.

[0102] It should be noted that, Figure 5 The structure of the control device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0103] like Figure 5 As shown, the control device includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes based on a program stored in Read-Only Memory (ROM) 502 or a program loaded from storage portion 508 into Random Access Memory (RAM) 503, such as performing the methods described in the above embodiments. The RAM 503 also stores various programs and data required for system operation. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An Input / Output (I / O) interface 505 is also connected to the bus 504.

[0104] The following components are connected to I / O interface 505: input section 506 including audio input devices, push-button switches, etc.; output section 507 including a liquid crystal display (LCD) and audio output devices, indicator lights, etc.; storage section 508 including a hard disk, etc.; and communication section 509 including a network interface card such as a LAN (Local Area Network) card, modem, etc. Communication section 509 performs communication processing via a network such as the Internet. Drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 510 as needed so that computer programs read from them can be installed into storage section 508 as needed.

[0105] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs the various functions defined in the present invention.

[0106] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0107] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those shown in the drawings.

[0108] Specifically, the control device in this embodiment includes a processor and a memory. The memory stores a computer program, and when the computer program is executed by the processor, it implements the fuel cell power generation control method provided in the above embodiment.

[0109] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the control device described in the above embodiments; or it may exist independently and not assembled into the control device. The storage medium carries one or more computer programs that, when executed by a processor of the control device, cause the control device to implement the fuel cell power generation control method provided in the above embodiments.

[0110] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0111] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0112] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A power generation control method for a fuel cell, applied to a control device, characterized in that, The method includes: Obtain the mileage information of the target vehicle within a preset time period; Based on the mileage information, determine the vehicle type of the target vehicle; Based on different vehicle usage types, different data collection frequencies and power prediction frequencies for vehicle operation are determined; Collect historical power output data of the target vehicle and train a power prediction model; Real-time acquisition of vehicle operation data of the target vehicle; the vehicle operation data includes vehicle weight, vehicle speed, acceleration, expected driving route, ambient temperature, and battery status; The vehicle operation data is input into the power prediction model to obtain the power demand curve of the target vehicle in a future preset time period; The power demand curve is decomposed by an algorithm based on preset constraints to obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery within the preset time period, respectively. The preset constraints include that when the rate of change of power demand is greater than a preset change threshold, the lithium-ion battery shares the power change output, and when the rate of change of power demand is less than or equal to the preset change threshold, the fuel cell shares the preset power output. Based on the fuel power demand curve and the lithium battery power demand curve, the power output of the fuel cell and the lithium-ion battery is controlled respectively during the preset time period.

2. The method according to claim 1, characterized in that, The process of collecting historical power output data of the target vehicle and training a power prediction model specifically includes: Collect historical power output data of the target vehicle and preprocess it to remove discrete values; Based on preset rules, the historical power output data is divided into training data and validation data; The training data is input into a machine learning model for training to obtain a power prediction model; The power prediction model is validated using the validation data to obtain the prediction performance index; When the predicted performance index is lower than the preset expected value, the training parameters of the machine learning model are adjusted, and the model is retrained to obtain an improved power prediction model.

3. The method according to claim 1, characterized in that, The algorithmic decomposition of the power demand curve based on preset constraints yields the fuel power demand curve and lithium-ion battery power demand curve of the target vehicle within the preset time period, specifically including: Analyze the power demand curve to determine multiple average power demands over multiple time periods; Each fuel cell is determined to have an optimized output power that does not differ from the average power demand by more than a preset difference threshold. The curve with a curvature of zero and a value representing the optimized output power is the fuel power demand curve of the fuel cell within the preset time period. Calculate the power difference between the power demand curve and the fuel power demand curve; The positive values ​​in the power difference are fitted to the lithium-ion battery power demand curve within the preset time period.

4. The method according to claim 3, characterized in that, After the step of calculating the power difference between the power demand curve and the fuel power demand curve, the method further includes: When the power difference is negative, the absolute value of the power difference is used as the charging power of the lithium-ion battery; When the current charge level of the lithium-ion battery is lower than or equal to a preset maximum charge threshold, the lithium-ion battery is charged using the charging power.

5. The method according to claim 3, characterized in that, After the step of calculating the power difference between the power demand curve and the fuel power demand curve, the method further includes: Calculate the overflow power production capacity of the fuel cell within the range where the power difference is negative; Based on the lithium-ion charging efficiency, the lithium battery charging capacity corresponding to the overflow power capacity is determined. If the lithium battery charging capacity is greater than the remaining capacity of the lithium-ion battery, the fuel power demand curve is corrected to reduce the power output of the fuel cell.

6. The method according to claim 1, characterized in that, After the step of controlling the power output of the fuel cell and the lithium-ion battery within the preset time period according to the fuel power demand curve and the lithium battery power demand curve, the method further includes: Monitor the real-time power output data of the fuel cell and the lithium-ion battery during the preset time period; Determine the power deviation between the real-time power output data and the power demand curve; When the rate of change of the power deviation exceeds a preset rate of change threshold, power deviation prediction is performed to obtain the deviation prediction curve of the power deviation in the future preset time period; Based on the deviation prediction curve, determine the adjustment time point and adjustment range for adjusting the power output of the fuel cell and the lithium-ion battery.

7. A control device, characterized in that, include: The mileage acquisition module is used to acquire the mileage information of the target vehicle within a preset time period. The vehicle model determination module is used to determine the vehicle type of the target vehicle based on the mileage information. The frequency determination module is used to determine the data acquisition frequency and power prediction frequency for different vehicle operations based on different vehicle usage types. The model training module is used to collect historical power output data of the target vehicle and train a power prediction model. The data acquisition module is used to collect real-time vehicle operation data of the target vehicle; the vehicle operation data includes vehicle weight, vehicle speed, acceleration, expected driving route, ambient temperature, and battery status. The curve simulation module is used to input the vehicle operation data into the power prediction model to obtain the power demand curve of the target vehicle in a future preset time period. The curve decomposition module is used to perform algorithmic decomposition of the power demand curve based on preset constraints, to obtain the fuel power demand curve and lithium battery power demand curve of the target vehicle's fuel cell and lithium-ion battery respectively within the preset time period; the preset constraints include that when the power demand change rate is greater than a preset change threshold, the lithium-ion battery shares the power change output, and when the power demand change rate is less than or equal to the preset change threshold, the fuel cell shares the preset power output. The power control module is used to control the power output of the fuel cell and the lithium-ion battery during the preset time period according to the fuel power demand curve and the lithium battery power demand curve, respectively.

8. A control device, characterized in that, include: One or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the control device to perform the method as described in any one of claims 1-6.

9. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the control device, the control device performs the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Steady state operational control method of fuel cell engine

    CN101734249A

  • Energy management method and system for dynamic variable-load fuel cell vehicle, equipment and medium

    CN113352950A