Battery output power control method and device, storage medium and electronic equipment

By adjusting parameters such as hydrogen, oxygen flow and humidity, the precise control of the output power of the proton exchange membrane fuel cell is achieved, and the problem of not being able to continuously provide stable electrical energy for the load in the existing technology is solved, ensuring the stability of the electricity and saving fuel and cost.

CN119009033APending Publication Date: 2024-11-22SIEMENS ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411391639.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing proton exchange membrane fuel cells cannot accurately control the output power, resulting in the inability to continuously provide stable electrical energy to the load.

Method used

By measuring the difference between the current output power and the preset output power, adjusting parameters such as hydrogen, oxygen flow and humidity, and using the preset parameter step length to continuously adjust the input parameters until the output power is close to the preset value, realizing the proton exchange membrane fuel cell Precise control of output power.

Benefits of technology

Ensure that the proton exchange membrane fuel cell can continuously provide stable electrical energy to the load, avoid instability caused by fluctuations in output power, save hydrogen fuel and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119009033A_ABST
    Figure CN119009033A_ABST
Patent Text Reader

Abstract

The invention discloses a battery output power control method and device, a storage medium and electronic equipment, and is applied to a proton exchange membrane fuel cell, and the method comprises the following steps: obtaining first output power of the proton exchange membrane fuel cell; under the condition that the first output power is different from preset output power, preset input parameters corresponding to the preset output power are obtained, the proton exchange membrane fuel cell is set according to the preset input parameters, second output power of the proton exchange membrane fuel cell is determined, and the preset input parameters are different from the first input parameters; and under the condition that the second output power is smaller than the preset output power, adjusting an input parameter of the proton exchange membrane fuel cell based on a preset parameter step length, so that the output power of the proton exchange membrane fuel cell approaches the preset output power. The technical problem that the proton exchange membrane fuel cell cannot continuously provide stable electric energy for the load due to the fact that the output power of the proton exchange membrane fuel cell cannot be accurately controlled is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method and device for controlling battery output power, a storage medium, and an electronic device. Background Art

[0002] At present, in order to make the proton exchange membrane fuel cell operate at the maximum power point, it is usually necessary to detect the working status of the proton exchange membrane fuel cell in real time and adjust the input parameters of the proton exchange membrane fuel cell so that the proton exchange membrane fuel cell always remains at the maximum power point.

[0003] Specifically, the output characteristics of proton exchange membrane fuel cells (PEMFCs) are nonlinear and are affected by input parameters such as cell temperature, oxygen partial pressure, hydrogen partial pressure, and membrane water content. Several different PEMFC modeling and control approaches exist in the related art for controlling cell output power. The first approach is fuel starvation control (FSC), which controls the pressure or flow of the input fuel, i.e., hydrogen or oxygen. This approach requires a dynamic gas transfer model (DGTM) of the fuel cell for virtual control simulation. Alternatively, classical feedback and feedforward control methods such as proportional-integral-derivative (PID) control, adaptive control (AC), model predictive control, neural network (NN)-based control, fuzzy logic control (FLC), and fuzzy logic-PID control can be used to control the input fuel pressure or flow. A second approach involves using a polarization curve model to achieve maximum output power at a specific operating point. This controller manipulates the duty cycle of the DC-DC converter to ensure the system operates at its maximum power point (MPP). These techniques often require the coordination of mechanical components, which are subject to wear and aging, making them complex and difficult to implement.

[0004] In summary, the related art has a technical problem in that the output power of the proton exchange membrane fuel cell cannot be accurately controlled, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable electrical energy to the load.

[0005] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0006] The embodiments of the present application provide a method and device for controlling battery output power, a storage medium, and an electronic device to at least solve the technical problem that the output power of a proton exchange membrane fuel cell cannot be accurately controlled, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable electrical energy to the load.

[0007] According to one aspect of an embodiment of the present application, a method for controlling battery output power is provided, comprising: obtaining a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when battery fuel is input into the proton exchange membrane fuel cell according to a first input parameter; when the first output power is different from a preset output power, obtaining a preset input parameter corresponding to the preset output power, setting the proton exchange membrane fuel cell according to the preset input parameter, and determining a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when battery fuel is input into the proton exchange membrane fuel cell according to the preset input parameter, and the preset input parameter is different from the first input parameter; when the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameter of the proton exchange membrane fuel cell.

[0008] According to another aspect of an embodiment of the present application, a battery output power control device is further provided, comprising: an acquisition module for acquiring a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when battery fuel is input into the proton exchange membrane fuel cell according to a first input parameter; a first adjustment module for, when the first output power is different from a preset output power, acquiring a preset input parameter corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameter to determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when battery fuel is input into the proton exchange membrane fuel cell according to the preset input parameter, and the preset input parameter is different from the first input parameter; and a second adjustment module for, when the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameter of the proton exchange membrane fuel cell.

[0009] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned battery output power control method when running.

[0010] According to another aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described method for controlling battery output power.

[0011] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the battery output power control method through the computer program.

[0012] In an embodiment of the present application, by measuring the current output power of the proton exchange membrane fuel cell, it is determined whether the current output power is the same as the preset output power. When the current output power is different from the preset output power, the preset input parameters corresponding to the preset output power are directly obtained, and the preset input parameters are used to control the flow rate of each input fuel of the proton exchange membrane fuel cell, as well as the humidification, water flow, etc., to adjust the output power of the proton exchange membrane fuel cell. If the adjusted output power is still lower than the preset output power, the preset parameter step size can be used to continue to adjust the input parameters of the proton exchange membrane fuel cell until the output power of the proton exchange membrane fuel cell is close to the preset output power, thereby achieving the technical effect of precisely controlling the output power. By continuously adjusting the input parameters, the output power of the proton exchange membrane fuel cell is made to more accurately match the preset output power, ensuring that the proton exchange membrane can continuously provide stable electrical energy to the load, avoiding instability problems caused by output power fluctuations, and thus solving the technical problem that the output power of the proton exchange membrane fuel cell cannot be precisely controlled, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable electrical energy to the load.

[0013] In other words, this application realizes rapid pre-control of λ (water content) and T (fuel cell stack temperature) of the proton exchange membrane fuel cell based on the traditional control method and the DC / DC output power gradient that changes with the load. It can quickly find the maximum power point of the fuel cell, and dynamically track and set the optimal input parameter corresponding to the maximum power point of the fuel cell, so as to save the response time of the control system for dynamic tracking of the optimal power point of the hydrogen fuel cell output power, and save fuel and cost, and solve the technical problem that the output power of the proton exchange membrane fuel cell cannot be accurately controlled, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable electrical energy to the load in the most economical way. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0015] Figure 1 is a schematic diagram of an application environment of an optional battery output power control method according to an embodiment of the present application;

[0016] Figure 2 is a flow chart of an optional method for controlling battery output power according to an embodiment of the present application;

[0017] Figure 3 is a schematic diagram of an optional method for controlling battery output power according to an embodiment of the present application;

[0018] Figure 4 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0019] Figure 5 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0020] Figure 6 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0021] Figure 7 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0022] Figure 8 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0023] Figure 9 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0024] Figure 10 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0025] Figure 11 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0026] Figure 12 is a schematic diagram of another optional method for controlling battery output power according to an embodiment of the present application;

[0027] Figure 13It is a structural schematic diagram of an optional battery output power control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0031] Proton exchange membrane fuel cell: PEMFC, a device that converts chemical energy directly into electrical energy, mainly uses the redox reaction between hydrogen and oxygen on the electrodes to transfer protons through the proton exchange membrane to generate electrical energy. The function of the proton exchange membrane is to allow protons to pass through but not electrons. As a result, electrons can only flow through the external circuit to form an electric current.

[0032] The present application will be described below with reference to the following embodiments:

[0033] According to one aspect of an embodiment of the present application, a method for controlling battery output power is provided. Optionally, in this embodiment, the above-mentioned method for controlling battery output power can be applied to Figure 1 The hardware environment shown is composed of a proton exchange membrane fuel cell 101, a maximum power point tracking controller 102, a PWM generator 103, a DC / DC converter 104, a power gradient calculator 105 and a load 106. Figure 1As shown, the maximum power point tracking controller 102 can be used to control the proton exchange membrane fuel cell 101 to output the maximum output power. The maximum power point tracking controller 102 can store the above-mentioned preset output power, preset input parameters, etc. The above-mentioned maximum power point tracking controller 102 can be a single microcontroller or a microcontroller cluster composed of multiple microcontrollers.

[0034] It should be noted that the Maximum Power Point (MPP) refers to the operating point at which a photovoltaic cell or fuel cell can output maximum power under specific conditions. At this point, the product of the battery's voltage and current reaches its maximum value. Finding and maintaining the maximum power point is key to improving system efficiency. Especially in renewable energy systems, operating at the maximum power point ensures the system operates at peak efficiency, thereby maximizing energy output. Furthermore, by optimizing energy conversion, energy waste can be reduced, lowering operating costs. Efficient operation can also reduce excessive equipment loads and extend their service life. In actual applications, the maximum power point is affected by a variety of factors, such as light intensity, temperature, and load variations. Therefore, an MPPT controller needs to have fast response and high precision to adapt to different operating environments.

[0035] For example, the battery output power control method proposed in this application is applied to the scenario of tracking the maximum power output of the proton exchange membrane fuel cell, such as Figure 1 As shown, the DC / DC converter is usually used to guide the PEMFC to operate under the MPP and match the maximum output power of the battery under a given load (the above-mentioned preset output power output is the maximum output power). The load matching is completed by changing the ratio of the high-level time of the input duty cycle signal of the PWM generator pulse width modulation generator to the entire cycle time. The PWM generator can be connected to the DC / DC converter, and the duty cycle of the DC / DC converter is controlled by the MPPT controller, which acts as a bridge between the load and the battery.

[0036] It should be noted that Figure 1 The λ and T shown in can be understood as the input parameters of the proton exchange membrane fuel cell, such as hydrogen flow rate (the volume of hydrogen flowing through the fuel cell system per unit time), oxygen flow rate (the volume of oxygen flowing through the fuel cell system per unit time), water flow rate A (affecting temperature, optimal temperature), humidification (the degree of humidification of hydrogen or oxygen before entering the fuel cell, PPM particles per unit time), hydrogen pressure, oxygen pressure, etc.

[0037] For example, if the load requires more power, more energy can be provided by increasing the duty cycle; conversely, if less power is needed, the duty cycle can be reduced. For example, if the PWM period is 100 microseconds and the high level lasts for 50 microseconds, then the pulse width accounts for 50% of the entire period, indicating that during this time, the load will receive 50% of the maximum power.

[0038] The above is only an example and is not specifically limited in this embodiment.

[0039] Alternatively, as an optional implementation, Figure 2 As shown, the above-mentioned method for controlling the battery output power includes:

[0040] S202, obtaining a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when the fuel is input into the proton exchange membrane fuel cell according to the first input parameter;

[0041] S204, when the first output power is different from the preset output power, obtaining preset input parameters corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameters to determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when the cell fuel is input into the proton exchange membrane fuel cell according to the preset input parameters, and the preset input parameters are different from the first input parameters;

[0042] S206. When the second output power is less than the preset output power, adjust the input parameters of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

[0043] Optionally, in the embodiment of the present application, the above step size can be understood as the actuator current control accuracy of the minimum opening of the fuel flow valve corresponding to the proton exchange membrane fuel cell, for example, the fuel flow corresponding to 10 mA current.

[0044] Exemplarily, in the process of supplying power to the load, the above-mentioned proton exchange membrane fuel cell will store the specific values ​​of the input parameters corresponding to each output power. For example, the output power of the proton exchange membrane fuel cell at a certain moment is power A, and the corresponding input parameters are: hydrogen flow A, oxygen flow A, water flow A, and humidity A; after a period of time, the output power of the proton exchange membrane fuel cell becomes power B, and the corresponding input parameters are: hydrogen flow B, oxygen flow B, water flow B, and humidity B. At this time, power A can be corresponding to hydrogen flow A, oxygen flow A, water flow A, and humidity A, and power B can be corresponding to hydrogen flow B, oxygen flow B, water flow B, and humidity B in a preset target mapping list for query and use by the maximum power point tracking controller.

[0045] Furthermore, before the proton exchange membrane fuel cell is put into use, the target mapping list can be obtained by the following steps during the testing phase:

[0046] S1, obtaining the output power of the proton exchange membrane fuel cell at the initial moment, recorded as the initial output power, at this time, establishing a target mapping list in the maximum power point tracking controller (or other storage space that can communicate with the maximum power point tracking controller), and recording the initial output power and various initial input parameters (initial hydrogen flow rate, initial oxygen flow rate, initial water flow rate, initial humidification) in the target mapping list;

[0047] S2, adding the input variable values ​​of the proton exchange membrane fuel cell to obtain the intermediate output power A, and recording the intermediate output power A and each current input parameter (hydrogen flow A, oxygen flow A, water flow A, humidity A) in the target mapping list;

[0048] S3, determine whether the intermediate output power A is greater than the initial output power:

[0049] S3-1, if the intermediate output power A is greater than the initial output power, then continue to increase the input variable values ​​of the proton exchange membrane fuel cell to obtain the intermediate output power B. The intermediate output power B and each current input parameter (hydrogen flow rate B, oxygen flow rate B, water flow rate B, humidity B) are recorded in the target mapping list to determine whether the intermediate output power B is greater than the intermediate output power A.

[0050] If it is greater than, continue to increase the input variable value of the battery to obtain the intermediate output power C, and record the intermediate output power C and each current input parameter in the target mapping list; otherwise, reduce the input variable value of the proton exchange membrane fuel cell to obtain the intermediate output power D, and record the intermediate output power D and each current input parameter in the target mapping list;

[0051] S3-2, if the intermediate output power A is less than the initial output power, then reduce the value of the battery input variable to obtain the intermediate output power E, and record the intermediate output power E and each current input parameter in the target mapping list;

[0052] S4, repeat the above steps until it stabilizes at the local maximum power MPP, that is, the preset output power, and record the preset output power and preset input parameters in a mapping relationship table;

[0053] S5, get a set of target mapping lists:

[0054] {Initial power: initial hydrogen flow, initial oxygen flow, initial water flow, initial humidity;

[0055] Intermediate power A: hydrogen flow A, oxygen flow A, water flow A, humidity A;

[0056] Intermediate power B: hydrogen flow B, oxygen flow B, water flow B, humidity B;

[0057] Intermediate power C: hydrogen flow C, oxygen flow C, water flow C, humidity C;

[0058] Intermediate power D: hydrogen flow D, oxygen flow D, water flow D, humidity D;

[0059] Intermediate power E: hydrogen flow E, oxygen flow E, water flow E, humidity E;

[0060] …

[0061] Preset output power - preset input power (target hydrogen flow, target oxygen flow, target water flow, target humidity, target pressure)};

[0062] Furthermore, in this set of target mapping lists, it can be obtained that the maximum output power of the proton exchange membrane fuel cell is the preset output power. Therefore, after the proton exchange membrane fuel cell is officially put into production, in the actual application stage, the preset input parameters corresponding to the preset output power can be quickly determined by querying the target mapping list to adjust the input cell fuel and fuel reaction temperature of the proton exchange membrane fuel cell.

[0063] Specifically, Figure 3 FIG. 1 is a flow chart of an optional method for controlling battery output power according to an embodiment of the present application, such as Figure 3 As shown:

[0064] S302, start;

[0065] S304, detecting the output voltage V and output current I of the proton exchange membrane fuel cell;

[0066] S306, calculating output power P=V*I;

[0067] S308, obtaining a power difference ΔP=P(K)-P(K-1), where P(K-1) represents the first output power; P(K-1) represents the second output power; and a voltage difference ΔV=V(K)-V(K-1), where P(K-1) represents the voltage corresponding to the first output power; P(K-1) represents the voltage corresponding to the second output power;

[0068] S310, determine whether the power difference ΔP is greater than 0, if so, execute S212-1, otherwise execute S212-2;

[0069] S312-1, determine whether the voltage difference △V is greater than 0, if so, execute S214-1, otherwise execute S214-2;

[0070] S312-2, determine whether the voltage difference △V is less than 0. If so, execute S216-1; otherwise, execute S216-2;

[0071] S314-1, input parameter D(K) and increase the preset parameter step ΔD;

[0072] S314-2, input parameter D(K) and reduce the preset parameter step ΔD;

[0073] S316-1, input parameter D(K) and reduce the preset parameter step size △D;

[0074] S316-2, input parameter D(K) and increase the preset parameter step ΔD.

[0075] Through the embodiments of the present application, a pre-control method for optimal fuel parameter setting based on the judgment of the polarity of the fuel cell output power gradient is realized, ensuring that the ratio of the fuel cell output energy to fuel consumption is maximized. Specifically, the current output power of the proton exchange membrane fuel cell is measured to determine whether the current output power is the same as the preset output power. When the current output power is different from the preset output power, the preset input parameters corresponding to the preset output power are directly obtained. The preset input parameters are used to control the flow rate of each input fuel of the proton exchange membrane fuel cell, as well as the humidification and water flow rates, to adjust the output power of the proton exchange membrane fuel cell. If the adjusted output power is still lower than the preset output power, the input parameters of the proton exchange membrane fuel cell can be further adjusted using the preset parameter step size until the output power of the proton exchange membrane fuel cell approaches the preset output power, thereby achieving the technical effect of precisely controlling the output power. By continuously adjusting the input parameters, the output power of the proton exchange membrane fuel cell is made to more accurately match the preset output power, ensuring that the proton exchange membrane can continuously provide stable power to the load and avoiding instability caused by output power fluctuations. This solves the technical problem of being unable to precisely control the output power of the proton exchange membrane fuel cell, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable power to the load.

[0076] In other words, this application realizes rapid pre-control of λ (water content) and T (fuel cell stack temperature) of the proton exchange membrane fuel cell based on the traditional control method and the DC / DC output power gradient that changes with the load. It can quickly find the maximum power point of the fuel cell, and dynamically track and set the optimal input parameter corresponding to the maximum power point of the fuel cell, so as to save the response time of the control system for dynamic tracking of the optimal power point of the hydrogen fuel cell output power, and save fuel and cost, and solve the technical problem that the output power of the proton exchange membrane fuel cell cannot be accurately controlled, resulting in the proton exchange membrane fuel cell being unable to continuously provide stable electrical energy to the load in the most economical way.

[0077] As an optional scheme, when the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step so that the output power of the proton exchange membrane fuel cell approaches the preset output power, including: obtaining the preset parameter step, the first output voltage corresponding to the first output power and the second output voltage corresponding to the second output power; determining the power difference between the first output power and the second output power and the voltage difference between the first output voltage and the second output voltage; adjusting the input parameters of the proton exchange membrane fuel cell according to the power difference, the voltage difference and the preset parameter step so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

[0078] As an optional solution, the above-mentioned adjusting the input parameters of the proton exchange membrane fuel cell according to the above-mentioned power difference, the above-mentioned voltage difference and the above-mentioned preset parameter step size so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power includes: when the above-mentioned power difference indicates that the above-mentioned first output power is less than the above-mentioned second output power, and the above-mentioned voltage difference indicates that the above-mentioned first output voltage is less than the above-mentioned second output voltage, increasing the input parameters of the above-mentioned proton exchange membrane fuel cell according to the above-mentioned preset parameter step size so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power; when the above-mentioned power difference indicates that the above-mentioned first output power is greater than the above-mentioned second output power, and the above-mentioned voltage difference indicates that the above-mentioned first output voltage is greater than the above-mentioned second output voltage, increasing the above-mentioned proton exchange membrane fuel cell according to the above-mentioned preset parameter step size. The input parameters of the proton exchange membrane fuel cell are adjusted so that the output power of the proton exchange membrane fuel cell approaches the preset output power; when the power difference indicates that the first output power is greater than the second output power, and the voltage difference indicates that the first output voltage is less than the second output voltage, the input parameters of the proton exchange membrane fuel cell are reduced according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power; when the power difference indicates that the first output power is less than the second output power, and the voltage difference indicates that the first output voltage is greater than the second output voltage, the input parameters of the proton exchange membrane fuel cell are reduced according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

[0079] As an optional solution, when the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step so that the output power of the proton exchange membrane fuel cell approaches the preset output power, including: when the second output power is less than the preset output power, obtaining at least one parameter type among the input parameters of the proton exchange membrane fuel cell; determining at least one preset parameter step based on the at least one parameter type, wherein any parameter type among the at least one parameter type has a corresponding preset parameter step; adjusting the input parameters of the preset input parameters whose parameter type is a target parameter type according to the target parameter step so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step includes the target parameter step, the at least one parameter type includes the target parameter type, and the target parameter step corresponds to the target parameter type.

[0080] As an optional solution, when the first output power is different from the preset output power, the preset input parameters corresponding to the preset output power are obtained, and the proton exchange membrane fuel cell is set according to the preset input parameters to determine the second output power of the proton exchange membrane fuel cell, including: the preset input parameters include a hydrogen flow parameter, an oxygen flow parameter, a water flow parameter, and a humidification parameter; the hydrogen flow parameter represents the volume of hydrogen flowing through the proton exchange membrane fuel cell per unit time; the oxygen flow parameter represents the volume of hydrogen flowing through the proton exchange membrane fuel cell per unit time; the water flow parameter is used to control the hydrogen in the proton exchange membrane fuel cell and the temperature at which the hydrogen undergoes an electrochemical reaction; the humidification parameter is used to indicate the moisture concentration of the hydrogen to be added to the proton exchange membrane fuel cell to be entered per unit time and the moisture concentration of the hydrogen.

[0081] As an optional solution, the above method also includes: when the above-mentioned first output power is the same as the preset output power, maintaining the above-mentioned first input parameter as the input parameter of the above-mentioned proton exchange membrane fuel cell; when the above-mentioned second output power is equal to the above-mentioned preset output power, maintaining the above-mentioned preset input parameter as the input parameter of the above-mentioned proton exchange membrane fuel cell.

[0082] In an exemplary embodiment, assuming that the step size corresponding to the oxygen input flow rate in the preset parameter step size is 0.1, the first output power P1 = 50 kW, the first output voltage V1 = 0.7 V; the second output power P2 = 55 kW, the second output voltage V2 = 0.75 V, the calculated difference is a power difference ΔP = 5 kW, and a voltage difference ΔV = 0.05 V.

[0083] Furthermore, how to adjust the input parameter is determined according to the power difference and the voltage difference: if (ΔP>0) and (ΔV>0), the value of the input parameter is increased; if (ΔP<0) and (ΔV<0), the value of the input parameter is increased; if (ΔP>0) and (ΔV<0), the value of the input parameter is decreased; if (ΔP<0) and (ΔV>0), the value of the input parameter is decreased;

[0084] In the above example, ΔP>0 and ΔV>0, which means that the values ​​of the input parameters need to be increased to make the output power approach the preset output power. Since the step size corresponding to the oxygen input flow rate parameter is 0.1, the oxygen input flow rate can be increased according to this step size.

[0085] Specifically: assuming that the output power of the proton exchange membrane fuel cell is the above-mentioned second output power P2, the oxygen flow rate parameter in its input parameters is 10. At this time, according to the step size corresponding to the oxygen input flow rate of 0.1, the oxygen flow rate parameter is increased to 10.1. That is, by perturbing the oxygen flow rate parameter, the convergence speed of the proton exchange membrane fuel cell to stably output the maximum power is accelerated to obtain the latest output power of the proton exchange membrane fuel cell. The new output power is compared with the second output power P2 again, as well as the corresponding voltage relationship. Based on the new power difference and voltage difference, it is determined whether the input parameter value needs to be increased again.

[0086] It should be noted that each time the value of an input parameter is increased or decreased, the parameter type of the input parameter can be the same or different, and this application does not limit this. In addition, the step sizes corresponding to input parameters of different parameter types can also be the same or different.

[0087] In yet another exemplary embodiment, Figure 4 This is a schematic diagram of an optional battery output power control method according to an embodiment of the present application. Taking the input parameter type as a hydrogen flow parameter as an example, different curves correspond to hydrogen flow parameters with different values ​​(curve 404 corresponds to a hydrogen flow parameter value of 13, curve 403 corresponds to a hydrogen flow parameter value of 15, curve 402 corresponds to a hydrogen flow parameter value of 17, and curve 401 corresponds to a hydrogen flow parameter value of 19). At this time, the correlation between the output power and output current of the proton exchange membrane fuel cell can be as follows: Figure 4 As shown in (a); or, the input parameter type is a water flow parameter, which is used to control the temperature of the chemical reaction inside the battery. Different curves correspond to different values ​​of the water flow parameter (in this case, the hydrogen flow parameter value is constant at 15, curve 405 corresponds to a temperature of 353K, curve 406 corresponds to a temperature of 343K, curve 407 corresponds to a temperature of 333K, and curve 408 corresponds to a temperature of 323K). At this time, the correlation between the output power and the output current of the proton exchange membrane fuel cell can be as follows: Figure 4 As shown in (b) in .

[0088] In yet another exemplary embodiment, Figure 5 This is a schematic diagram of an optional battery output power control method according to an embodiment of the present application. The P&O technology perturbs the input parameters to track the optimal value of any time-varying function. The technology measures the power change by perturbing the current or voltage, thereby moving the operating point of the proton exchange membrane fuel cell toward the MPP. The MPPT using the P&O algorithm is as follows: Figure 5 As shown in the flowchart:

[0089] S502, start;

[0090] S504, detecting the output voltage V and output current I of the proton exchange membrane fuel cell;

[0091] S506, calculating output power P=V*I;

[0092] S508, determine whether P(K)-P(K-1) is 0, if so, execute S510, otherwise execute S510;

[0093] S510, P(K)-P(K-1) is less than 0, execute S512-1; P(K)-P(K-1) is greater than 0, execute S512-2;

[0094] S512-1, determine whether V(K)-V(K-1) is greater than 0. If it is greater than 0, execute S514-1; otherwise, execute S514-2;

[0095] S512-2, determine whether V(K)-V(K-1) is less than 0. If it is less than 0, execute S516-1; otherwise, execute S516-2;

[0096] S514-1, input parameter D(K) and reduce the preset parameter step size △D;

[0097] S514-2, input parameter D(K) and increase the preset parameter step ΔD;

[0098] S516-1, input parameter D(K) and increase the preset parameter step ΔD;

[0099] S516-2, input parameter D(K) and reduce the preset parameter step ΔD.

[0100] For example, Figure 6 This is a circuit diagram of a proton exchange membrane fuel cell 602 supplying power to a load 604. The input parameters can be adjusted in real time by tracking the maximum output power point of the battery through a pre-controller 606. The duty cycle of the DC / DC converter is controlled by a PWM controller 608 to change the operating voltage and current of the battery so that it approaches or reaches the above-mentioned preset output power. Figure 7 The following is another circuit diagram of a proton exchange membrane fuel cell 702 powering a brushless DC motor 706, including a high-gain DC converter 704, a control signal generator 708, a battery maximum output power point tracking pre-controller 710, a PID controller 712, a PWM controller 714, a drive circuit 716, and a Hall sensor 718. The relationship between the output voltage, output current, and output power of the battery maximum output power point tracking pre-controller 710 can be shown as follows: Figure 8 As shown, Figure 9This is the output current waveform of the proton exchange membrane fuel cell when it supplies power to different loads (the horizontal axis is time, the vertical axis is output current):

[0101] S802, start;

[0102] S804, detecting the output voltage V and output current I of the proton exchange membrane fuel cell;

[0103] S806, calculating the voltage difference ΔV(K) between the output voltage V(K) at the current moment and the output voltage V(K-1) at the previous moment; and the current difference ΔI(K) between the output current I(K) at the current moment and the output current I(K-1) at the previous moment;

[0104] S808, compare ΔV(K) / ΔV(K) to see if it is equal to V(K) / I(K), if so, execute S814, otherwise execute S810;

[0105] S810, determine whether V(K) / I(K) is greater than -ΔV(K) / ΔV(K). If so, execute S812-1; otherwise, execute S812-2.

[0106] S812-1, increase output current;

[0107] S812-2, reduce output current;

[0108] S814, end.

[0109] In an exemplary embodiment, the correlation between the output current and the output voltage of the proton exchange membrane fuel cell can be as follows: Figure 10 As shown in 1001, 1002, 1003, and 1004, the correlation relationship between the output powers corresponding to the same output current can be as follows: Figure 10 As shown in 1005, 1006, 1007, and 1008, different curves reflect different battery input parameter values. As shown in the figure, 1001 and 1005 correspond to the internal electrochemical reaction temperature of the battery being 360K; 1002 and 1006 correspond to the internal electrochemical reaction temperature of the battery being 340K; 1003 and 1007 correspond to the internal electrochemical reaction temperature of the battery being 320K; 1004 and 1008 correspond to the internal electrochemical reaction temperature of the battery being 300K, and the hydrogen input parameter value is maintained at 12.

[0110] In another exemplary embodiment, Figure 11 As shown, the maximum output power point of the proton exchange membrane fuel cell is 1102, and the corresponding current and voltage point is 1104. At this time, the output voltage is 12V and the output current is 8.3A.

[0111] As an optional scheme, when the above-mentioned first output power is different from the preset output power, the preset input parameters corresponding to the above-mentioned preset output power are obtained, and the above-mentioned proton exchange membrane fuel cell is set according to the above-mentioned preset input parameters to determine the second output power of the above-mentioned proton exchange membrane fuel cell, including: when the above-mentioned first output power is different from the above-mentioned preset output power, a target mapping list determined in advance by testing is obtained, wherein the above-mentioned target mapping list includes a group of output powers and a group of input parameters, and there is a one-to-one correspondence between the above-mentioned group of output powers and the above-mentioned group of input parameters; the output power with the largest value from the above-mentioned target mapping category is determined as the above-mentioned preset output power, and the above-mentioned preset input parameters are determined based on the above-mentioned preset output power; the preset input parameters of the above-mentioned proton exchange membrane fuel cell are set according to the above-mentioned preset input parameters to obtain the second output power of the above-mentioned proton exchange membrane fuel cell.

[0112] As an optional solution, when the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, including: when the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on the preset parameter step size to obtain a second input parameter; setting the proton exchange membrane fuel cell according to the second input parameter to obtain a third output power of the proton exchange membrane fuel cell, wherein the third output power represents the output power of the proton exchange membrane fuel cell is adjusted according to the second input parameter to the proton exchange membrane fuel cell. Membrane fuel cell input cell fuel, the output power of the above-mentioned proton exchange membrane fuel cell; when the above-mentioned third output power is greater than the above-mentioned preset output power, maintain the above-mentioned second input parameter, and update the above-mentioned target mapping list based on the above-mentioned second input parameter and the above-mentioned third output power, wherein, in the updated above-mentioned target mapping list, the above-mentioned second input parameter and the above-mentioned third output power are regarded as the above-mentioned preset input parameter and the above-mentioned preset output power; when the above-mentioned third output power is less than the above-mentioned preset output power, adjust the input parameter of the above-mentioned proton exchange membrane fuel cell based on the above-mentioned preset parameter step size so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power.

[0113] In an exemplary embodiment, assuming that the preset output power of a proton exchange membrane fuel cell is 100 kilowatts (kW), in order to adjust the input parameters of the proton exchange membrane fuel cell (such as hydrogen flow rate, oxygen flow rate, temperature, etc.) so that the actual output power of the battery is as close as possible to the preset output power:

[0114] S1, assuming the preset input parameters include a hydrogen flow rate of 10 L / min, an oxygen flow rate of 20 L / min, and a temperature of 70 degrees Celsius;

[0115] S2, first adjustment: adjust the input parameters according to the preset parameter step size (for example, hydrogen flow rate increases by 1 liter / minute, oxygen flow rate increases by 2 liters / minute, and temperature increases by 1 degree Celsius). The adjusted input parameters are hydrogen flow rate 11 liters / minute, oxygen flow rate 22 liters / minute, and temperature 71 degrees Celsius.

[0116] S3, first test: setting the proton exchange membrane fuel cell according to the new input parameters to obtain a second output power. Assume that the measured output power is 90kW, which is less than the preset 100kW;

[0117] S3, second adjustment: adjust the input parameters again according to the parameter step size, which may include but is not limited to increasing the hydrogen flow rate by 1 liter / minute, the oxygen flow rate by 2 liters / minute, and the temperature by 1 degree Celsius, so that the second input parameters are a hydrogen flow rate of 12 liters / minute, an oxygen flow rate of 24 liters / minute, and a temperature of 72 degrees Celsius;

[0118] S4, second test: setting the proton exchange membrane fuel cell according to the new input parameters to obtain the third output power mentioned above; assuming that the output power measured this time is 110kW, which is greater than the preset 100kW.

[0119] S5, updating the target mapping list: recording the third output power and the corresponding second input parameter in the target mapping list. Since the third output power is greater than the preset output power and is the largest output power in the target mapping list, the third output power is used as the preset output power, and accordingly, the second input parameter is used as the preset input parameter.

[0120] It is understandable that the above iterative process from S2 to S5 can be continued, and the output power can be made closer to the preset output power by fine-tuning the input parameters.

[0121] Through the embodiments of the present application, the input parameters are gradually adjusted, and the output power is eventually stabilized at a preset output power, so that the proton exchange membrane fuel cell can continuously provide stable electrical energy to the load.

[0122] As an optional solution, the above method also includes: obtaining the first sample output power of the above proton exchange membrane fuel cell, wherein the above first sample output power represents the sample output power of the above proton exchange membrane fuel cell when the above battery fuel is input into the above proton exchange membrane fuel cell according to the first sample input parameters; storing the above first sample output power and the above first sample input parameters in the above target mapping list; adjusting the above first sample input parameters according to the above preset parameter step size to obtain the above preset input parameters and the above preset output power; storing the above preset input parameters and the above preset output power in the above target mapping list.

[0123] In an exemplary embodiment, each output power and the corresponding input parameters in the above target mapping list can be determined by continuously adjusting the perturbation. Taking the field of new energy vehicles as an example for explanation:

[0124] S1. Obtain the output power when the proton exchange membrane fuel cell powers the new energy vehicle, that is, the above first sample output power, denoted as P1;

[0125] S2. Query the target mapping list to determine whether P1 is the preset output power. If it is, keep the above first sample input parameters unchanged; if not, obtain the preset input parameters corresponding to the preset output power recorded in the target mapping list, and adjust the value of each parameter of the current input parameter to the value of each parameter of the preset input parameter, and the current output power becomes P2;

[0126] S3. Determine whether P2 is the preset output power. If it is, keep the current input parameters unchanged; if not, perform perturbation according to the P&O algorithm. Specifically:

[0127] S3-1. If P2 < P1, increase the value of at least one input parameter among the input parameters such as hydrogen flow rate, oxygen flow rate, water flow rate, and humidification. It can be understood that the hydrogen flow rate can be kept unchanged, and the purpose of increasing the output power can be achieved by increasing the value of other input parameters. At this time, the current output power becomes P3;

[0128] S3-2. If P2 > P1, reduce the value of at least one input parameter among the input parameters such as hydrogen flow rate, oxygen flow rate, water flow rate, and humidification. At this time, the current output power becomes P3.

[0129] S4. Repeat the above steps until the output power of the proton exchange membrane fuel cell is stable at the preset output power, and record the preset output power and the preset input parameters in the mapping relation table.

[0130] In yet another exemplary embodiment, the above preset output power Pmax can be regarded as Figure 12The power point where the slope of the curve on the waveform diagram is 0 is shown, where the arrow curve represents the continuous adjustment of the input parameter value using the preset parameter step size. For example, arrow curve 1 represents increasing the value of the input parameter, so that the output power P increases to obtain a new output power A. Then, arrow curve 2 represents continuing to increase the value of the input parameter to obtain a new output power B. Since the output power B is greater than the output power A, at this time, since the output power is still in a state of continuous increase, it is possible to choose to continue to increase the value of the input parameter to obtain a new output power C, as indicated by arrow curve 3. At this time, the output power C is less than the output power B. At this time, it is necessary to reversely reduce the value of the input parameter to obtain a new output power D. As indicated by arrow curve 4, the output power D is greater than the output power C. The current output power increases, and the input parameter value can be further reduced to obtain a new output power E, as indicated by arrow curve 5. However, at this time, the output power E is less than the output power D, that is, the output power decreases. Therefore, the output power D corresponding to the value of the input parameter that was not reduced in the previous step can be determined as the above-mentioned preset output power.

[0131] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0132] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0133] According to another aspect of the embodiments of the present application, a battery output power control device for implementing the above-mentioned battery output power control method is also provided. Figure 13 As shown, the device includes:

[0134] An acquisition module 1302 is configured to acquire a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when a fuel is input into the proton exchange membrane fuel cell according to a first input parameter;

[0135] a first adjustment module 1304 configured to, when the first output power is different from a preset output power, obtain preset input parameters corresponding to the preset output power, set the proton exchange membrane fuel cell according to the preset input parameters, and determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when a cell fuel is input into the proton exchange membrane fuel cell according to the preset input parameters, and the preset input parameters are different from the first input parameters;

[0136] The second adjustment module 1306 is used to adjust the input parameters of the proton exchange membrane fuel cell based on a preset parameter step size when the second output power is less than the preset output power, so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

[0137] As an optional solution, the above-mentioned device is used to adjust the input parameters of the above-mentioned proton exchange membrane fuel cell based on a preset parameter step size when the above-mentioned second output power is less than the above-mentioned preset output power in the following manner, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power: obtain the above-mentioned preset parameter step size, the first output voltage corresponding to the above-mentioned first output power and the second output voltage corresponding to the above-mentioned second output power; determine the power difference between the above-mentioned first output power and the above-mentioned second output power and the voltage difference between the above-mentioned first output voltage and the above-mentioned second output voltage; adjust the input parameters of the above-mentioned proton exchange membrane fuel cell according to the above-mentioned power difference, the above-mentioned voltage difference and the above-mentioned preset parameter step size, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power.

[0138] As an optional solution, the above-mentioned device is used to adjust the input parameters of the above-mentioned proton exchange membrane fuel cell according to the value relationship between the above-mentioned power difference and the above-mentioned voltage difference and the above-mentioned preset parameter step in the following manner, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power: when the above-mentioned power difference indicates that the above-mentioned first output power is less than the above-mentioned second output power, and the above-mentioned voltage difference indicates that the above-mentioned first output voltage is less than the above-mentioned second output voltage, the input parameters of the above-mentioned proton exchange membrane fuel cell are increased according to the above-mentioned preset parameter step, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power; when the above-mentioned power difference indicates that the above-mentioned first output power is greater than the above-mentioned second output power, and the above-mentioned voltage difference indicates that the above-mentioned first output voltage is greater than the above-mentioned second output voltage, the above-mentioned input parameters of the above-mentioned proton exchange membrane fuel cell are increased according to the above-mentioned preset parameter step, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power. The input parameters of the proton exchange membrane fuel cell are increased in steps so that the output power of the proton exchange membrane fuel cell approaches the preset output power; when the power difference indicates that the first output power is greater than the second output power, and the voltage difference indicates that the first output voltage is less than the second output voltage, the input parameters of the proton exchange membrane fuel cell are reduced in steps according to the preset parameters so that the output power of the proton exchange membrane fuel cell approaches the preset output power; when the power difference indicates that the first output power is less than the second output power, and the voltage difference indicates that the first output voltage is greater than the second output voltage, the input parameters of the proton exchange membrane fuel cell are reduced in steps according to the preset parameters so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

[0139] As an optional solution, the above-mentioned device is used to adjust the input parameters of the above-mentioned proton exchange membrane fuel cell based on a preset parameter step when the above-mentioned second output power is less than the above-mentioned preset output power in the following manner, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power: when the above-mentioned second output power is less than the above-mentioned preset output power, obtain at least one parameter type among the input parameters of the above-mentioned proton exchange membrane fuel cell; determine at least one of the above-mentioned preset parameter step based on the above-mentioned at least one parameter type, wherein any parameter type among the above-mentioned at least one parameter type has a corresponding above-mentioned preset parameter step; adjust the above-mentioned input parameters whose parameter type is a target parameter type in the above-mentioned preset input parameters according to the target parameter step, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power, wherein the above-mentioned preset parameter step includes the above-mentioned target parameter step, the above-mentioned at least one parameter type includes the above-mentioned target parameter type, and the above-mentioned target parameter step corresponds to the above-mentioned target parameter type.

[0140] As an optional solution, the above-mentioned device is used to obtain preset input parameters corresponding to the above-mentioned preset output power when the above-mentioned first output power is different from the preset output power in the following manner, and set the above-mentioned proton exchange membrane fuel cell according to the above-mentioned preset input parameters to determine the second output power of the above-mentioned proton exchange membrane fuel cell: the above-mentioned preset input parameters include hydrogen flow parameters, oxygen flow parameters, water flow parameters, and humidification parameters; the above-mentioned hydrogen flow parameters represent the volume of hydrogen flowing through the above-mentioned proton exchange membrane fuel cell per unit time; the above-mentioned oxygen flow parameters represent the volume of hydrogen flowing through the above-mentioned proton exchange membrane fuel cell per unit time; the above-mentioned water flow parameters are used to control the hydrogen in the above-mentioned proton exchange membrane fuel cell and the temperature at which the hydrogen undergoes electrochemical reaction; the above-mentioned humidification parameters are used to indicate the moisture concentration of the hydrogen to be added to the proton exchange membrane fuel cell to be entered per unit time and the moisture concentration of the hydrogen.

[0141] As an optional solution, the above-mentioned device is used to obtain the preset input parameters corresponding to the above-mentioned preset output power when the above-mentioned first output power is different from the preset output power, and set the above-mentioned proton exchange membrane fuel cell according to the above-mentioned preset input parameters to determine the second output power of the above-mentioned proton exchange membrane fuel cell in the following manner: when the above-mentioned first output power is different from the above-mentioned preset output power, obtain a target mapping list determined in advance by testing, wherein the above-mentioned target mapping list includes a group of output powers and a group of input parameters, and there is a one-to-one correspondence between the above-mentioned group of output powers and the above-mentioned group of input parameters; determine the output power with the largest value from the above-mentioned target mapping category as the above-mentioned preset output power, and determine the above-mentioned preset input parameters based on the above-mentioned preset output power; set the preset input parameters of the above-mentioned proton exchange membrane fuel cell according to the above-mentioned preset input parameters to obtain the second output power of the above-mentioned proton exchange membrane fuel cell.

[0142] As an optional solution, the above-mentioned device is used to adjust the input parameters of the above-mentioned proton exchange membrane fuel cell based on a preset parameter step size when the above-mentioned second output power is less than the above-mentioned preset output power in the following manner, so that the output power of the above-mentioned proton exchange membrane fuel cell approaches the above-mentioned preset output power: when the above-mentioned second output power is less than the above-mentioned preset output power, adjust the input parameters of the above-mentioned proton exchange membrane fuel cell based on the above-mentioned preset parameter step size to obtain a second input parameter; set the above-mentioned proton exchange membrane fuel cell according to the above-mentioned second input parameter to obtain a third output power of the above-mentioned proton exchange membrane fuel cell, wherein the above-mentioned third output power represents the output power of the above-mentioned proton exchange membrane fuel cell according to the above-mentioned second input parameter. The proton exchange membrane fuel cell inputs the cell fuel and the output power of the proton exchange membrane fuel cell; when the third output power is greater than the preset output power, the second input parameter is maintained, and the target mapping list is updated based on the second input parameter and the third output power, wherein, in the updated target mapping list, the second input parameter and the third output power are regarded as the preset input parameter and the preset output power; when the third output power is less than the preset output power, the input parameter of the proton exchange membrane fuel cell is adjusted based on the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

[0143] As an optional solution, the above-mentioned device is also used to: when the above-mentioned first output power is the same as the preset output power, maintain the above-mentioned first input parameter as the input parameter of the above-mentioned proton exchange membrane fuel cell; when the above-mentioned second output power is equal to the above-mentioned preset output power, maintain the above-mentioned preset input parameter as the input parameter of the above-mentioned proton exchange membrane fuel cell.

[0144] As an optional solution, the above-mentioned device is also used to: obtain the first sample output power of the above-mentioned proton exchange membrane fuel cell, wherein the above-mentioned first sample output power represents the sample output power of the above-mentioned proton exchange membrane fuel cell when the above-mentioned battery fuel is input into the above-mentioned proton exchange membrane fuel cell according to the first sample input parameters; store the above-mentioned first sample output power and the above-mentioned first sample input parameters in the above-mentioned target mapping list; adjust the above-mentioned first sample input parameters according to the above-mentioned preset parameter step size to obtain the above-mentioned preset input parameters and the above-mentioned preset output power; store the above-mentioned preset input parameters and the above-mentioned preset output power in the above-mentioned target mapping list.

[0145] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0146] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0147] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0148] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0149] S1, obtaining a first output power of a proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when a fuel is input into the proton exchange membrane fuel cell according to a first input parameter;

[0150] S2, when the first output power is different from the preset output power, obtaining preset input parameters corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameters to determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when the cell fuel is input into the proton exchange membrane fuel cell according to the preset input parameters, and the preset input parameters are different from the first input parameters;

[0151] S3. When the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

[0152] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0153] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0154] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0155] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0156] S1, obtaining a first output power of a proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when a fuel is input into the proton exchange membrane fuel cell according to a first input parameter;

[0157] S2, when the first output power is different from the preset output power, obtaining preset input parameters corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameters to determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when the cell fuel is input into the proton exchange membrane fuel cell according to the preset input parameters, and the preset input parameters are different from the first input parameters;

[0158] S3. When the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

Claims

1. A method for controlling battery output power, It is characterized in that Applications in proton exchange membrane fuel cells include: Acquiring a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when a fuel cell is input into the proton exchange membrane fuel cell according to a first input parameter; In the case where the first output power is different from the preset output power, obtaining a preset input parameter corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameter, and determining a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when the battery fuel is input into the proton exchange membrane fuel cell according to the preset input parameter, and the preset input parameter is different from the first input parameter; When the second output power is less than the preset output power, the input parameters of the proton exchange membrane fuel cell are adjusted based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

2. The method according to claim 1, It is characterized in that When the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power includes: Acquire the preset parameter step size, a first output voltage corresponding to the first output power, and a second output voltage corresponding to the second output power; determining a power difference between the first output power and the second output power and a voltage difference between the first output voltage and the second output voltage; The input parameters of the proton exchange membrane fuel cell are adjusted according to the power difference, the voltage difference and the preset parameter step size, so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

3. The method according to claim 2, It is characterized in that The step of adjusting the input parameters of the proton exchange membrane fuel cell according to the power difference, the voltage difference and the preset parameter step length so that the output power of the proton exchange membrane fuel cell approaches the preset output power includes: When the power difference indicates that the first output power is less than the second output power, and the voltage difference indicates that the first output voltage is less than the second output voltage, increasing the input parameter of the proton exchange membrane fuel cell according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power; When the power difference indicates that the first output power is greater than the second output power, and the voltage difference indicates that the first output voltage is greater than the second output voltage, increasing the input parameter of the proton exchange membrane fuel cell according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power; When the power difference indicates that the first output power is greater than the second output power, and the voltage difference indicates that the first output voltage is less than the second output voltage, reducing the input parameter of the proton exchange membrane fuel cell according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power; When the power difference indicates that the first output power is less than the second output power, and the voltage difference indicates that the first output voltage is greater than the second output voltage, the input parameters of the proton exchange membrane fuel cell are reduced according to the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

4. The method according to claim 1, It is characterized in that When the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power includes: When the second output power is less than the preset output power, obtaining at least one parameter type among the input parameters of the proton exchange membrane fuel cell; Determine at least one of the preset parameter steps based on the at least one parameter type, wherein any parameter type of the at least one parameter type has a corresponding preset parameter step; The input parameter whose parameter type is a target parameter type in the preset input parameter is adjusted according to the target parameter step so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step includes the target parameter step, the at least one parameter type includes the target parameter type, and the target parameter step corresponds to the target parameter type.

5. The method according to claim 1, It is characterized in that When the first output power is different from the preset output power, obtaining a preset input parameter corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameter to determine a second output power of the proton exchange membrane fuel cell, comprises: The preset input parameters include hydrogen flow parameters, oxygen flow parameters, water flow parameters, and humidification parameters; The hydrogen flow rate parameter represents the volume of hydrogen flowing through the proton exchange membrane fuel cell per unit time; The oxygen flow rate parameter represents the volume of hydrogen flowing through the proton exchange membrane fuel cell per unit time; The water flow parameter is used to control the temperature at which the hydrogen in the proton exchange membrane fuel cell and the hydrogen undergo an electrochemical reaction; The humidification parameter is used to indicate the water concentration of the hydrogen to be added to the proton exchange membrane fuel cell within the unit time and the water concentration of the hydrogen.

6. The method according to claim 1, It is characterized in that When the first output power is different from the preset output power, obtaining a preset input parameter corresponding to the preset output power, and setting the proton exchange membrane fuel cell according to the preset input parameter to determine a second output power of the proton exchange membrane fuel cell, comprises: In a case where the first output power is different from the preset output power, obtaining a target mapping list determined by a pre-test, wherein the target mapping list includes a set of output powers and a set of input parameters, and the set of output powers and the set of input parameters correspond one to one; Determine the output power with the maximum value from the target mapping category as the preset output power, and determine the preset input parameter based on the preset output power; The preset input parameters of the proton exchange membrane fuel cell are set according to the preset input parameters to obtain a second output power of the proton exchange membrane fuel cell.

7. The method according to claim 6, It is characterized in that When the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on a preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power includes: When the second output power is less than the preset output power, adjusting the input parameter of the proton exchange membrane fuel cell based on the preset parameter step size to obtain a second input parameter; Setting the proton exchange membrane fuel cell according to the second input parameter to obtain a third output power of the proton exchange membrane fuel cell, wherein the third output power represents the output power of the proton exchange membrane fuel cell when the cell fuel is input into the proton exchange membrane fuel cell according to the second input parameter; In a case where the third output power is greater than the preset output power, maintaining the second input parameter, and updating the target mapping list based on the second input parameter and the third output power, wherein in the updated target mapping list, the second input parameter and the third output power are regarded as the preset input parameter and the preset output power; When the third output power is less than the preset output power, the input parameter of the proton exchange membrane fuel cell is adjusted based on the preset parameter step size so that the output power of the proton exchange membrane fuel cell approaches the preset output power.

8. The method according to claim 1, It is characterized in that The method further comprises: When the first output power is the same as the preset output power, maintaining the first input parameter as the input parameter of the proton exchange membrane fuel cell; When the second output power is equal to the preset output power, the preset input parameter is maintained as the input parameter of the proton exchange membrane fuel cell.

9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: Acquire a first sample output power of the proton exchange membrane fuel cell, wherein the first sample output power represents the sample output power of the proton exchange membrane fuel cell when the battery fuel is input into the proton exchange membrane fuel cell according to the first sample input parameter; storing the first sample output power and the first sample input parameter into the target mapping list; Adjust the first sample input parameter according to the preset parameter step size to obtain the preset input parameter and the preset output power; The preset input parameters and the preset output power are stored in the target mapping list.

10. A battery output power control device, It is characterized in that The control device is used to execute the method according to any one of claims 1 to 9, comprising: An acquisition module, configured to acquire a first output power of the proton exchange membrane fuel cell, wherein the first output power represents the output power of the proton exchange membrane fuel cell when a fuel cell is input into the proton exchange membrane fuel cell according to a first input parameter; a first adjustment module, configured to, when the first output power is different from a preset output power, obtain a preset input parameter corresponding to the preset output power, and set the proton exchange membrane fuel cell according to the preset input parameter to determine a second output power of the proton exchange membrane fuel cell, wherein the second output power represents the output power of the proton exchange membrane fuel cell when a battery fuel is input into the proton exchange membrane fuel cell according to the preset input parameter, and the preset input parameter is different from the first input parameter; A second adjustment module is used to adjust the input parameters of the proton exchange membrane fuel cell based on a preset parameter step size when the second output power is less than the preset output power, so that the output power of the proton exchange membrane fuel cell approaches the preset output power, wherein the preset parameter step size is determined by the parameter type of the input parameters of the proton exchange membrane fuel cell.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein the computer program can be executed by an electronic device to perform the method described in any one of claims 1 to 9.

12. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.

13. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 9 through the computer program.