A control method, device, electric vehicle, and storage medium for an electric vehicle

By monitoring target power and state of charge in electric vehicles and developing control strategies to reduce fuel cell start-stop cycles, the problem of frequent start-stop cycles affecting the lifespan of fuel cells in electric vehicles is solved, thus extending the lifespan of fuel cells.

CN117207852BActive Publication Date: 2026-07-03GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2023-09-05
Publication Date
2026-07-03

Smart Images

  • Figure CN117207852B_ABST
    Figure CN117207852B_ABST
Patent Text Reader

Abstract

This application relates to a control method, apparatus, electric vehicle, and storage medium for an electric vehicle. The method includes: acquiring a first target power required by the electric vehicle and a target state of charge (SOC) of the battery during the operation of the electric vehicle; determining a second target power required by the fuel cell based on the first target power and the target SOC; determining a target control strategy corresponding to the fuel cell based on the target SOC and the second target power, the target control strategy indicating the start-stop state of the fuel cell at the current moment; and controlling the fuel cell according to the target control strategy. This application avoids the start-stop of the fuel cell caused by the start-stop of the electric vehicle, reduces the number of start-stop cycles of the fuel cell, and improves the service life of the fuel cell.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electric vehicles, and more particularly to a control method, device, electric vehicle, and storage medium for an electric vehicle. Background Technology

[0002] Currently, fuel cells are increasingly being used in electric vehicles (EVs) due to their ability to achieve zero greenhouse gas emissions and their superior range compared to batteries. To further improve the fuel economy of EVs, a battery is typically installed alongside the fuel cell in the EV, leveraging the synergy between the two to enhance fuel efficiency. However, the start-stop function of EVs causes the fuel cell to start and stop frequently. Poor driving habits can lead to this, resulting in frequent start-stop cycles and impacting the fuel cell's lifespan. Summary of the Invention

[0003] This application provides a control method, device, electric vehicle, and storage medium for an electric vehicle, in order to solve the technical problem of the lifespan of the fuel cell affected by frequent start-stop cycles in the electric vehicle.

[0004] In a first aspect, this application provides a control method for an electric vehicle, the electric vehicle including a fuel cell and a battery, the method comprising:

[0005] During the operation of the electric vehicle, the first target power required by the electric vehicle and the target state of charge of the battery are obtained;

[0006] The second target power required by the fuel cell is determined based on the first target power and the target state of charge.

[0007] Based on the target state of charge and the second target power, a target control strategy corresponding to the fuel cell is determined, and the target control strategy is used to indicate the start-up and shutdown status of the fuel cell at the current moment;

[0008] The fuel cell is controlled according to the target control strategy.

[0009] In an optional implementation, determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes:

[0010] When the target state of charge meets the first preset condition or the second target power meets the second preset condition, the target control strategy is determined to be the first control strategy. The first preset condition includes that the target state of charge is less than a first state threshold, and the second preset condition includes that the second target power is greater than a first power threshold. The first state threshold is used to indicate the minimum state of charge allowed by the battery, and the first power threshold is used to indicate the maximum power allowed by the fuel cell.

[0011] The step of controlling the fuel cell according to the target control strategy includes:

[0012] When the target control strategy is the first control strategy, the fuel cell is started at the current moment.

[0013] In an optional implementation, determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes:

[0014] When the target state of charge meets the third preset condition or the second target power meets the fourth preset condition, the target control strategy is determined to be the second control strategy. The third preset condition includes the target state of charge being greater than the second state threshold, and the fourth preset condition includes the second target power being less than the second power threshold. The second state threshold is used to indicate the maximum state of charge allowed by the battery, and the second power threshold is used to indicate the minimum power allowed by the fuel cell.

[0015] The step of controlling the fuel cell according to the target control strategy includes:

[0016] When the target control strategy is the second control strategy, the fuel cell is shut down at the current moment.

[0017] In an optional implementation, determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes:

[0018] When the target state of charge does not meet the first preset condition and the third preset condition, and the second target power does not meet the second preset condition and the fourth preset condition, the target control strategy is determined to be the third control strategy.

[0019] The step of controlling the fuel cell according to the target control strategy includes:

[0020] When the target control strategy is the third control strategy, the start-stop state of the fuel cell at the current moment is kept consistent with the start-stop state of the fuel cell at the previous moment.

[0021] In an optional implementation, determining the required second target power for the fuel cell based on the first target power and the target state of charge includes:

[0022] Based on the target state of charge, determine the target weight corresponding to the power required by the fuel cell;

[0023] Determine the target product between the first target power and the target weight;

[0024] The target product is determined as the second target power required by the fuel cell.

[0025] In an optional implementation, determining the target weight corresponding to the power required by the fuel cell based on the target state of charge includes:

[0026] When the target state of charge is less than the first state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 1. The first state threshold is used to indicate the minimum state of charge allowed by the battery.

[0027] When the target state of charge is greater than the second state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 0. The second state threshold is used to indicate the maximum state of charge allowed by the battery.

[0028] When the target state of charge is greater than or equal to the first state threshold and the target state of charge is less than or equal to the second state threshold, the target weight corresponding to the power required by the fuel cell is determined according to the target state of charge, the first target power and the fuzzy control algorithm.

[0029] In an optional implementation, determining the target weight corresponding to the power required by the fuel cell based on the target state of charge, the first target power, and the fuzzy control algorithm includes:

[0030] Based on a preset first membership function, a first fuzzy value set corresponding to the target charge state is determined, wherein the target charge state corresponds to the first membership function;

[0031] Based on a preset second membership function, a second fuzzy value set corresponding to the first target power is determined, wherein the first target power corresponds to the second membership function;

[0032] Fuzzy reasoning is performed on the first fuzzy value set and the second fuzzy value set according to a preset fuzzy rule set to obtain fuzzy reasoning results. Each fuzzy rule in the fuzzy rule set is used to indicate the rules between the weights corresponding to the power required by the electric vehicle, the state of charge of the battery, and the power required by the fuel cell.

[0033] The fuzzy inference results are defuzzified to obtain the target weights corresponding to the power required by the fuel cell.

[0034] In an optional implementation, the method further includes:

[0035] After controlling the fuel cell, a target comparison result between the first target power and a third power threshold is determined, wherein the third power threshold is 0;

[0036] Determine the target change result between the current start / stop state of the fuel cell and the previous start / stop state of the fuel cell;

[0037] The battery is controlled based on the target comparison results and the target change results.

[0038] Secondly, this application provides a control device for an electric vehicle, the electric vehicle including a fuel cell and a battery, the device comprising:

[0039] The acquisition module is used to acquire the first target power required by the electric vehicle and the target state of charge of the battery during the operation of the electric vehicle.

[0040] A determining module is configured to determine the second target power required by the fuel cell based on the first target power and the target state of charge;

[0041] The determining module is further configured to determine a target control strategy corresponding to the fuel cell based on the target state of charge and the second target power, wherein the target control strategy is used to indicate the start-stop state of the fuel cell at the current moment;

[0042] The control module is used to control the fuel cell according to the target control strategy.

[0043] Thirdly, this application provides an electric vehicle, including a processor and a memory, wherein the processor is configured to execute a control program for the electric vehicle stored in the memory to implement the electric vehicle control method described above.

[0044] Fourthly, this application also provides a storage medium storing one or more programs that can be executed by one or more processors for the electric vehicle control method described above.

[0045] Compared with the prior art, the technical solution provided in this application has the following advantages. The method provided in this application includes: during the operation of an electric vehicle, acquiring the first target power required by the electric vehicle and the target state of charge (SOC) of the battery; determining the second target power required by the fuel cell based on the first target power and the target SOC; determining a target control strategy corresponding to the fuel cell based on the target SOC and the second target power; the target control strategy is used to indicate the start-stop state of the fuel cell at the current moment; and controlling the fuel cell according to the target control strategy. Through the above method, this application monitors the target SOC of the battery and the second target power required by the fuel cell during the operation of the electric vehicle, and controls the start-stop of the fuel cell based on the target SOC of the battery and the second target power required by the fuel cell. This avoids the start-stop of the fuel cell caused by the start-stop of the electric vehicle, reduces the number of start-stop cycles of the fuel cell, and improves the service life of the fuel cell. Attached Figure Description

[0046] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0049] Figure 1 A flowchart illustrating a control method for an electric vehicle provided in an embodiment of this application;

[0050] Figure 2 A flowchart illustrating another electric vehicle control method provided in this application embodiment;

[0051] Figure 3 A flowchart illustrating yet another electric vehicle control method provided in this application embodiment;

[0052] Figure 4 This is a schematic diagram of the structure of a control device for an electric vehicle provided in an embodiment of this application;

[0053] Figure 5A schematic diagram of the structure of an electric vehicle provided in an embodiment of this application;

[0054] In the attached diagrams above:

[0055] 10. Acquisition Module; 20. Determination Module; 30. Control Module;

[0056] 500. Electric vehicle; 501. Processor; 502. Memory; 5021. Operating system; 5022. Application program; 503. User interface; 504. Network interface; 505. Bus system. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0058] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0059] refer to Figure 1 , Figure 1 This is a flowchart illustrating a control method for an electric vehicle provided in an embodiment of this application. The control method for an electric vehicle provided in this application includes the following steps:

[0060] S101: During the operation of the electric vehicle, obtain the first target power required by the electric vehicle and the target state of charge of the battery.

[0061] In this embodiment, the first target power required by the electric vehicle can be determined based on the driving force and resistance of the electric vehicle during operation. During the operation of the electric vehicle, the driving force, rolling resistance, air resistance, gradient resistance, acceleration resistance, and the vehicle's speed can be acquired. The total force between the driving force and these factors is calculated, and the first target power required by the electric vehicle is obtained by multiplying the total force by the vehicle's speed. The target state of charge of the battery can be determined by measuring the internal voltage of the battery. Determining the target state of charge of the battery by measuring the internal voltage is based on existing technology and will not be elaborated upon in this embodiment.

[0062] S102: Determine the second target power required for the fuel cell based on the first target power and the target state of charge.

[0063] In this embodiment, the second target power required by the fuel cell can be determined by the first target power and the target state of charge. The state of the fuel cell can be judged by the second target power required by the fuel cell and the state of the battery can be judged by the target state of charge of the battery, so as to determine the start-up and shutdown state of the fuel cell.

[0064] In the above, determining the second target power required for the fuel cell based on the first target power and the target state of charge includes:

[0065] Determine the target weight corresponding to the power required by the fuel cell based on the target state of charge;

[0066] Determine the target product between the first target power and the target weight.

[0067] The target product is determined as the second target power required for the fuel cell.

[0068] In this embodiment, to more accurately determine the second target power required by the fuel cell, the target weight corresponding to the power required by the fuel cell relative to the power required by the electric vehicle is determined by the target state of charge of the battery. The second target power required by the fuel cell is then obtained by multiplying the power required by the battery vehicle and the target weight. It should be noted that the target weight ranges from [0,1].

[0069] In this embodiment, step S102, determining the target weight corresponding to the power required by the fuel cell based on the target state of charge, includes:

[0070] When the target state of charge is less than the first state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 1. The first state threshold is used to indicate the minimum state of charge allowed by the battery.

[0071] When the target state of charge is greater than the second state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 0. The second state threshold is used to indicate the maximum state of charge allowed by the battery.

[0072] When the target state of charge is greater than or equal to the first state threshold and less than or equal to the second state threshold, the target weight corresponding to the power required by the fuel cell is determined based on the target state of charge, the first target power, and the fuzzy control algorithm.

[0073] In the above, the first state threshold can be 30%, and the second state threshold can be 90%. Of course, the first and second state thresholds can also be set according to actual needs. In this embodiment, the specific values ​​of the first and second state thresholds are not limited. When the target state of charge is less than the first state threshold, it indicates that the battery is discharged to a severely insufficient level. At this time, the fuel cell needs to provide the first target power required by the electric vehicle, that is, the target weight corresponding to the power required by the fuel cell is set to 1. When the target state of charge is greater than the second state threshold, the battery is charged to a full level by the fuel cell. At this time, the fuel cell does not need to provide the first target power required by the electric vehicle, and the battery can provide the first target power required by the electric vehicle. That is, the target weight corresponding to the power required by the fuel cell is set to 0. When the target state of charge is greater than or equal to the first state threshold and less than or equal to the second state threshold, the first target power required by the electric vehicle needs to be provided by the fuel cell and the battery in concert. The fuel cell provides power to the electric vehicle while charging the battery, and the battery provides power to the electric vehicle while charging from the fuel cell. The target weight corresponding to the power required by the fuel cell is determined according to the target state of charge, the first target power, and the fuzzy control algorithm.

[0074] Specifically, the above-mentioned determination of the target weights corresponding to the power required by the fuel cell based on the target state of charge, the first target power, and the fuzzy control algorithm includes:

[0075] Based on the preset first membership function, the first fuzzy value set corresponding to the target charge state is determined, and the target charge state corresponds to the first membership function;

[0076] Based on the preset second membership function, the second fuzzy value set corresponding to the first target power is determined, and the first target power corresponds to the second membership function;

[0077] Fuzzy reasoning is performed on the first fuzzy value set and the second fuzzy value set according to the preset fuzzy rule set to obtain the fuzzy reasoning result. Each fuzzy rule in the fuzzy rule set is used to indicate the rules between the weights corresponding to the power required by the electric vehicle, the state of charge of the battery, and the power required by the fuel cell.

[0078] The fuzzy inference results are defuzzified to obtain the target weights corresponding to the power required by the fuel cell.

[0079] In this embodiment, the inputs to the fuzzy control algorithm are the first target power required by the electric vehicle and the target state of charge of the battery, and the output of the fuzzy control algorithm is the target weight corresponding to the power required by the fuel cell. The first and second membership functions in this embodiment can be triangular membership functions. Of course, the first and second membership functions can also be set according to actual needs. This embodiment does not limit the specific form of the first and second membership functions. Specifically, when using the fuzzy control algorithm to determine the target weight corresponding to the power required by the fuel cell, the universe of discourse and fuzzy label of the power required by the electric vehicle, the universe of discourse and fuzzy label of the state of charge of the battery, and the universe of discourse and fuzzy label of the weight corresponding to the power required by the fuel cell can be preset according to actual needs. The first membership function is set according to the universe of discourse and fuzzy label of the power required by the electric vehicle, and the second membership function is set according to the universe of discourse and fuzzy label of the state of charge of the battery. Furthermore, based on the fuzzy label of the power required by the electric vehicle, the fuzzy label of the state of charge of the battery, and the fuzzy label of the weight corresponding to the power required by the fuel cell, various fuzzy rules are set between the power required by the electric vehicle, the state of charge of the battery, and the weight corresponding to the power required by the fuel cell, so as to obtain a preset fuzzy rule set.

[0080] Based on the above, after obtaining the first target power required by the electric vehicle and the target state of charge of the battery, a first fuzzy value set corresponding to the target state of charge can be obtained using a first membership function, and a second fuzzy value set corresponding to the first target power can be obtained using a second membership function. Each first fuzzy value in the first fuzzy value set represents the membership degree of the fuzzy label of the target state of charge relative to the state of charge of the battery, and each second fuzzy value in the second fuzzy value set represents the membership degree of the first target power required by the electric vehicle relative to the fuzzy label of the power required by the electric vehicle. After obtaining the first fuzzy value set corresponding to the target state of charge and the second fuzzy value set corresponding to the first target power, fuzzy inference can be performed on the first and second fuzzy value sets using preset fuzzy rules to obtain the fuzzy inference result. The fuzzy inference result is actually the strength of each fuzzy rule in the fuzzy rule set. The strength of each fuzzy rule in the fuzzy rule set can be determined using the minimum value method. Of course, other methods can also be selected to determine the strength of each fuzzy rule in the fuzzy rule set according to actual needs; this embodiment does not specifically limit this. After obtaining the fuzzy inference result, the fuzzy inference result can be fuzzified according to the existing defuzzification method to obtain the weight corresponding to the power required by the fuel cell. The defuzzification method will not be described in detail in this embodiment.

[0081] S103: Determine the target control strategy for the fuel cell based on the target state of charge and the second target power. The target control strategy is used to indicate the start-up and shutdown status of the fuel cell at the current moment.

[0082] In this embodiment, based on the target state of charge (SOC) and the second target power, a target control strategy for the fuel cell can be determined according to the comparison results between the target SOC and the corresponding state threshold of the battery, and between the second target power and the corresponding power threshold of the fuel cell. Specifically, a first preset condition and a third preset condition corresponding to the target SOC, and a second preset condition and a fourth preset condition corresponding to the second target power can be preset. The target control strategy for the fuel cell is determined by comparing the target SOC with the first and third preset conditions, and by comparing the second target power with the second and fourth preset conditions. The first preset condition includes: the target SOC is less than a first state threshold, which indicates the minimum allowable SOC of the battery; the second preset condition includes: the second target power is greater than a first power threshold, which indicates the maximum allowable power of the fuel cell; the third preset condition includes: the target SOC is greater than a second state threshold, which indicates the maximum allowable SOC of the battery; and the fourth preset condition includes: the second target power is less than a second power threshold, which indicates the minimum allowable power of the fuel cell. The first state threshold, second state threshold, first power threshold, and second power threshold in this embodiment can be set according to actual needs. The specific values ​​of the first state threshold, second state threshold, first power threshold, and second power threshold are not limited in this embodiment.

[0083] S104: Control the fuel cell according to the target control strategy.

[0084] In this embodiment, after determining the target control strategy corresponding to the fuel cell, if the target control strategy indicates that the fuel cell's start-up state is "start," the fuel cell can be controlled to start at the current moment; if the target control strategy indicates that the fuel cell's start-up state is "stop," the fuel cell can be controlled to stop at the current moment; if the target control strategy indicates that the fuel cell's start-up state remains unchanged at the current moment, the fuel cell's start-up state can be controlled to remain consistent with the fuel cell's start-up state at the previous moment. It should be noted that controlling the fuel cell to start or stop at the current moment is independent of the fuel cell's start-up state at the previous moment.

[0085] This embodiment provides a control method for an electric vehicle. During the operation of the electric vehicle, the target state of charge of the battery and the second target power required by the fuel cell are monitored. The start-up and shutdown of the fuel cell are controlled according to the target state of charge of the battery and the second target power required by the fuel cell. This avoids the start-up and shutdown of the fuel cell caused by the start-up and shutdown of the electric vehicle, reduces the number of start-up and shutdown times of the fuel cell, and improves the service life of the fuel cell.

[0086] refer to Figure 2 , Figure 2 This is a flowchart illustrating another electric vehicle control method provided in an embodiment of this application. An electric vehicle control method provided in this application includes the following steps:

[0087] S201: During the operation of an electric vehicle, obtain the first target power required by the electric vehicle and the target state of charge of the battery.

[0088] S202: Determine the second target power required for the fuel cell based on the first target power and the target state of charge.

[0089] In this embodiment, step S201 is the same as step S101, and step S202 is the same as step S102. For details, please refer to the steps S101 and S102 described above. They will not be repeated here.

[0090] S203: Determine whether the target state of charge meets the first preset condition or whether the second target power meets the second preset condition.

[0091] S204: When the target state of charge meets the first preset condition or the second target power meets the second preset condition, the target control strategy is determined to be the first control strategy.

[0092] S205: When the target control strategy is the first control strategy, control the fuel cell to start at the current moment.

[0093] Regarding steps S203 to S205 above, the first preset condition includes: the target state of charge is less than a first state threshold, and the second preset condition includes: the second target power is greater than a first power threshold. The first state threshold indicates the minimum allowable state of charge for the battery, and the first power threshold indicates the maximum allowable power for the fuel cell. The first state threshold and the first power threshold can be set according to actual needs. In this embodiment, the specific values ​​of the first state threshold and the first power threshold are not limited. In this embodiment, to reduce the number of times the fuel cell starts and stops during the electric vehicle's operation, the fuel cell is not directly controlled to start when the electric vehicle starts and stops. Instead, the target state of charge of the battery and the second target power required by the fuel cell are obtained, and the target state of charge of the battery is compared with the first preset condition and the second target power is compared with the second preset condition. When either the first preset condition or the second preset condition is met, it indicates that the condition for fuel cell startup is met, and the fuel cell startup can be controlled at this time. In this embodiment, by monitoring the state of the battery and the state of the fuel cell in real time to control the startup and shutdown of the fuel cell, the frequent startup and shutdown of the fuel cell caused by the driver's poor driving habits can be avoided, reducing the number of startup and shutdown of the fuel cell and improving the service life of the fuel cell.

[0094] S206: When the target state of charge does not meet the first preset condition and the second target power does not meet the second preset condition, determine whether the target state of charge meets the third preset condition or whether the second target power meets the fourth preset condition.

[0095] S207: When the target state of charge meets the third preset condition or the second target power meets the fourth preset condition, the target control strategy is determined to be the second control strategy.

[0096] S208: When the target control strategy is the second control strategy, control the fuel cell to shut down at the current moment.

[0097] Regarding steps S206 to S208 above, when the target state of charge does not meet the first preset condition and the second target power does not meet the second preset condition, it indicates that the conditions for starting the fuel cell are not met at the current time. It is necessary to determine whether the target state of charge of the battery meets the third preset condition and whether the second target power required by the fuel cell meets the fourth preset condition. If either the third or fourth preset condition is met, it indicates that the conditions for shutting down the fuel cell are met. At this time, the fuel cell can be shut down.

[0098] S209: When the target state of charge does not meet the third preset condition and the second target power does not meet the fourth preset condition, the target control strategy is determined to be the third control strategy.

[0099] S210: When the target control strategy is the third control strategy, the start-stop state of the fuel cell at the current moment is kept consistent with the start-stop state of the fuel cell at the previous moment.

[0100] Regarding steps S209 and S210 above, when the target state of charge does not meet the first and third preset conditions and the second target power does not meet the second and fourth preset conditions, it indicates that neither the conditions for starting the fuel cell at the current moment nor the conditions for stopping the fuel cell at the current moment are met. In this case, there is no need to control and change the start-stop state of the fuel cell at the current moment. It is only necessary to control the start-stop state of the fuel cell at the current moment to be consistent with the start-stop state of the fuel cell at the previous moment. That is, when the start-stop state of the fuel cell at the previous moment was "started", then the start-stop state of the fuel cell at the current moment is "started"; when the start-stop state of the fuel cell at the previous moment was "stopped", then the start-stop state of the fuel cell at the current moment is "stopped".

[0101] In this embodiment, after executing steps S205, S208, or S210, the battery vehicle control method provided in this embodiment further includes the following steps:

[0102] After controlling the fuel cell, the target comparison result between the first target power and the third power threshold is determined, where the third power threshold is 0.

[0103] Determine the target change between the current start / stop state of the fuel cell and the previous start / stop state of the fuel cell;

[0104] The battery is controlled based on the target comparison results and target change results.

[0105] In the above, the target comparison results include: the first target power is greater than the third power threshold and the first target power is less than or equal to the third target power threshold. Target change results include: the start-stop state switching from start to stop, the start-stop state switching from stop to start, and the start-stop state remaining unchanged. A start-stop state switching from start to stop can be understood as the fuel cell's start-stop state at the previous moment being start and its current start-stop state being stop; a start-stop state switching from stop to start can be understood as the fuel cell's start-stop state at the previous moment being stop and its current start-stop state being start; and the start-stop state remaining unchanged can be understood as the fuel cell's start-stop state at the current moment being consistent with its start-stop state at the previous moment.

[0106] Specifically, reference Figure 3When the target comparison result indicates that the first target power is less than or equal to the third power threshold, the electric vehicle is in a deceleration or braking phase. The fuel cell maintains its output power from the previous moment and controls the battery to recover energy. When the target comparison result indicates that the first target power is greater than the third power threshold, the power of the fuel cell and the battery is allocated based on the target change between the current start-stop state of the fuel cell and the previous start-stop state. It should be noted that when controlling the battery to supplement the remaining power of the electric vehicle, the second target power can be determined according to the method described above for determining the second target power required by the fuel cell. Based on the determined second target power and the first target power required by the electric vehicle, the remaining power that the battery needs to supplement for the electric vehicle is determined.

[0107] Specifically, when the target change result is that the start-stop state remains unchanged, if the fuel cell is currently in the start-up state, the power required to supplement the battery is determined based on the first target power required by the electric vehicle and the second target power required by the fuel cell, thereby controlling the coordinated operation of the fuel cell and the battery. If the fuel cell is currently in the stop-down state, the battery supplements the first target power required by the electric vehicle, meaning the battery bears the power required by the entire electric vehicle. When the target change result is that the start-stop state switches from start to stop, the battery supplements the first target power required by the electric vehicle. When the target change result is a switch from shutdown to startup, it is determined whether the second target power required by the fuel cell meets the second preset condition. If the second target power required by the fuel cell meets the second preset condition, the actual power required by the fuel cell is the maximum power allowed by the fuel cell, and the battery is controlled to work, supplementing the remaining power of the electric vehicle. The second preset condition can be referred to above, and will not be repeated here in this embodiment. If the second target power required by the fuel cell does not meet the second preset condition but meets the fourth preset condition, the actual power required by the fuel cell is the minimum power allowed by the fuel cell. At this time, the output power of the fuel cell can meet the power required by the electric vehicle, and there is no need to control the battery to work. The fourth preset condition can be referred to above, and will not be repeated here in this embodiment. If the second target power required by the fuel cell does not meet either the second preset condition or the fourth preset condition, the fuel cell and the battery are controlled to work together so that the battery supplements the remaining power of the electric vehicle to meet the power demand of the electric vehicle. Through the above methods, the fuel cell can be kept in a high-efficiency operating range, which is beneficial to improving the working efficiency of the fuel cell and improving the economy of the whole vehicle.

[0108] This embodiment provides a control method for an electric vehicle. During the operation of the electric vehicle, the target state of charge of the battery and the second target power required by the fuel cell are monitored. The start-up and shutdown of the fuel cell are controlled according to the target state of charge of the battery and the second target power required by the fuel cell. This avoids the start-up and shutdown of the fuel cell caused by the start-up and shutdown of the electric vehicle, reduces the number of start-up and shutdown times of the fuel cell, and improves the service life of the fuel cell.

[0109] refer to Figure 4 , Figure 4 This is a schematic diagram of a control device for an electric vehicle provided in an embodiment of this application. The control device for an electric vehicle provided in this application includes: an acquisition module 10, a determination module 20, and a control module 30. The electric vehicle includes a fuel cell and a battery. The acquisition module 10 is used to acquire a first target power required by the electric vehicle and a target state of charge of the battery during the operation of the electric vehicle. The determination module 20 is used to determine a second target power required by the fuel cell based on the first target power and the target state of charge. The determination module 20 is also used to determine a target control strategy corresponding to the fuel cell based on the target state of charge and the second target power. The target control strategy is used to indicate the start / stop state of the fuel cell at the current moment. The control module 30 is used to control the fuel cell according to the target control strategy.

[0110] In this embodiment, the determining module 20 is further configured to:

[0111] When the target state of charge meets the first preset condition or the second target power meets the second preset condition, the target control strategy is determined to be the first control strategy. The first preset condition includes the target state of charge being less than a first state threshold, and the second preset condition includes the second target power being greater than a first power threshold. The first state threshold is used to indicate the minimum state of charge allowed by the battery, and the first power threshold is used to indicate the maximum power allowed by the fuel cell.

[0112] In this embodiment, the control module 30 is further configured to:

[0113] When the target control strategy is the first control strategy, the fuel cell is started at the current moment.

[0114] In this embodiment, the determining module 20 is further configured to:

[0115] When the target state of charge meets the third preset condition or the second target power meets the fourth preset condition, the target control strategy is determined to be the second control strategy. The third preset condition includes the target state of charge being greater than the second state threshold, and the fourth preset condition includes the second target power being less than the second power threshold. The second state threshold is used to indicate the maximum state of charge allowed by the battery, and the second power threshold is used to indicate the minimum power allowed by the fuel cell.

[0116] In this embodiment, the control module 30 is further configured to:

[0117] When the target control strategy is the second control strategy, the fuel cell is shut down at the current moment.

[0118] In this embodiment, the determining module 20 is further configured to:

[0119] When the target state of charge does not meet the first preset condition and the third preset condition, and the second target power does not meet the second preset condition and the fourth preset condition, the target control strategy is determined to be the third control strategy.

[0120] In this embodiment, the control module 30 is further configured to:

[0121] When the target control strategy is the third control strategy, the start-stop state of the fuel cell at the current moment is kept consistent with the start-stop state of the fuel cell at the previous moment.

[0122] In this embodiment, the determining module 20 is further configured to:

[0123] Based on the target state of charge, determine the target weight corresponding to the power required by the fuel cell;

[0124] Determine the target product between the first target power and the target weight;

[0125] The target product is determined as the second target power required by the fuel cell.

[0126] In this embodiment, the determining module 20 is further configured to:

[0127] When the target state of charge is less than the first state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 1. The first state threshold is used to indicate the minimum state of charge allowed by the battery.

[0128] When the target state of charge is greater than the second state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 0. The second state threshold is used to indicate the maximum state of charge allowed by the battery.

[0129] When the target state of charge is greater than or equal to the first state threshold and the target state of charge is less than or equal to the second state threshold, the target weight corresponding to the power required by the fuel cell is determined according to the target state of charge, the first target power and the fuzzy control algorithm.

[0130] In this embodiment, the determining module 20 is further configured to:

[0131] Based on a preset first membership function, a first fuzzy value set corresponding to the target charge state is determined, wherein the target charge state corresponds to the first membership function;

[0132] Based on a preset second membership function, a second fuzzy value set corresponding to the first target power is determined, wherein the first target power corresponds to the second membership function;

[0133] Fuzzy inference is performed on the first fuzzy value set and the second fuzzy value set according to preset fuzzy rules to obtain fuzzy inference results. The fuzzy rules are used to indicate the rules between the weights corresponding to the power required by the electric vehicle, the state of charge of the battery, and the power required by the fuel cell.

[0134] The fuzzy inference results are defuzzified to obtain the target weights corresponding to the power required by the fuel cell.

[0135] In this embodiment, the control module 30 is further configured to:

[0136] After controlling the fuel cell, a target comparison result between the first target power and a third power threshold is determined, wherein the third power threshold is 0;

[0137] Determine the target change result between the current start / stop state of the fuel cell and the previous start / stop state of the fuel cell;

[0138] The battery is controlled based on the target comparison results and the target change results.

[0139] This embodiment provides a control device for an electric vehicle that monitors the target state of charge of the battery and the second target power required by the fuel cell during the operation of the electric vehicle. The device controls the start-up and shutdown of the fuel cell based on the target state of charge of the battery and the second target power required by the fuel cell, thereby avoiding the start-up and shutdown of the fuel cell caused by the start-up and shutdown of the electric vehicle, reducing the number of start-up and shutdown cycles of the fuel cell, and improving the service life of the fuel cell.

[0140] Figure 5 This is a schematic diagram of the structure of an electric vehicle provided in an embodiment of the present invention. Figure 5The electric vehicle 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504, and other user interfaces 503. The various components in the electric vehicle 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to implement communication between these components. In addition to a data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 5 The general designated all buses as Bus System 505.

[0141] The user interface 503 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).

[0142] It is understood that the memory 502 in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0143] In some implementations, memory 502 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 5021 and application program 5022.

[0144] The operating system 5021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 5022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 5022.

[0145] In this embodiment of the invention, by calling the program or instructions stored in the memory 502, specifically the program or instructions stored in the application program 5022, the processor 501 is used to execute the method steps provided in each method embodiment, such as: during the operation of the electric vehicle, obtaining the first target power required by the electric vehicle and the target state of charge of the battery; determining the second target power required by the fuel cell based on the first target power and the target state of charge; determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power; the target control strategy is used to indicate the start-stop state of the fuel cell at the current moment; and controlling the fuel cell according to the target control strategy.

[0146] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 501 or by instructions in the form of software. The processor 501 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 502. Processor 501 reads the information in memory 502 and, in conjunction with its hardware, completes the steps of the above method.

[0147] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.

[0148] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

[0149] The electric vehicle provided in this embodiment can be as follows: Figure 5 The electric vehicle shown can perform the following: Figures 1-3 All steps of the control method for electric vehicles, thereby achieving Figures 1-3 For details on the technical effects of the electric vehicle control method shown, please refer to [link / reference]. Figures 1-3 The relevant descriptions are presented concisely and will not be elaborated upon here.

[0150] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; the memory may also include combinations of the above types of memory.

[0151] When one or more programs in the storage medium can be executed by one or more processors to implement the electric vehicle control method described above, which is executed on the control device side of the electric vehicle.

[0152] The processor is used to execute the electric vehicle control program stored in the memory to implement the following steps of the electric vehicle control method executed on the control device side of the electric vehicle: during the electric vehicle's operation, acquiring the first target power required by the electric vehicle and the target state of charge of the battery; determining the second target power required by the fuel cell based on the first target power and the target state of charge; determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power; the target control strategy is used to indicate the start-stop state of the fuel cell at the current moment; and controlling the fuel cell according to the target control strategy.

[0153] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0154] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0155] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A control method for an electric vehicle, characterized in that, The electric vehicle includes a fuel cell and a battery, and the method includes: During the operation of the electric vehicle, the first target power required by the electric vehicle and the target state of charge of the battery are obtained; The second target power required by the fuel cell is determined based on the first target power and the target state of charge. Based on the target state of charge and the second target power, a target control strategy corresponding to the fuel cell is determined, and the target control strategy is used to indicate the start-up and shutdown status of the fuel cell at the current moment; The fuel cell is controlled according to the target control strategy; After controlling the fuel cell, a target comparison result between the first target power and a third power threshold is determined, wherein the third power threshold is 0; Determine the target change result between the start-stop state of the fuel cell at the current moment and the start-stop state of the fuel cell at the previous moment. The target change result includes: the start-stop state changes from start to stop, the start-stop state changes from stop to start, and the start-stop state remains unchanged. When the target comparison result is that the first target power is less than or equal to the third power threshold, the fuel cell is controlled to maintain the output power of the previous moment and the battery performs energy recovery. When the target comparison result is that the first target power is greater than the third power threshold, the power of the fuel cell and the storage battery is allocated according to the target change result.

2. The method according to claim 1, characterized in that, The step of determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes: When the target state of charge meets the first preset condition or the second target power meets the second preset condition, the target control strategy is determined to be the first control strategy. The first preset condition includes that the target state of charge is less than a first state threshold, and the second preset condition includes that the second target power is greater than a first power threshold. The first state threshold is used to indicate the minimum state of charge allowed by the battery, and the first power threshold is used to indicate the maximum power allowed by the fuel cell. The step of controlling the fuel cell according to the target control strategy includes: When the target control strategy is the first control strategy, the fuel cell is started at the current moment.

3. The method according to claim 2, characterized in that, The step of determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes: When the target state of charge meets the third preset condition or the second target power meets the fourth preset condition, the target control strategy is determined to be the second control strategy. The third preset condition includes the target state of charge being greater than the second state threshold, and the fourth preset condition includes the second target power being less than the second power threshold. The second state threshold is used to indicate the maximum state of charge allowed by the battery, and the second power threshold is used to indicate the minimum power allowed by the fuel cell. The step of controlling the fuel cell according to the target control strategy includes: When the target control strategy is the second control strategy, the fuel cell is shut down at the current moment.

4. The method according to claim 3, characterized in that, The step of determining the target control strategy corresponding to the fuel cell based on the target state of charge and the second target power includes: When the target state of charge does not meet the first preset condition and the third preset condition, and the second target power does not meet the second preset condition and the fourth preset condition, the target control strategy is determined to be the third control strategy. The step of controlling the fuel cell according to the target control strategy includes: When the target control strategy is the third control strategy, the start-stop state of the fuel cell at the current moment is kept consistent with the start-stop state of the fuel cell at the previous moment.

5. The method according to claim 1, characterized in that, Determining the required second target power for the fuel cell based on the first target power and the target state of charge includes: Based on the target state of charge, determine the target weight corresponding to the power required by the fuel cell; Determine the target product between the first target power and the target weight; The target product is determined as the second target power required by the fuel cell.

6. The method according to claim 5, characterized in that, The step of determining the target weight corresponding to the power required by the fuel cell based on the target state of charge includes: When the target state of charge is less than the first state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 1. The first state threshold is used to indicate the minimum state of charge allowed by the battery. When the target state of charge is greater than the second state threshold, the target weight corresponding to the power required by the fuel cell is determined to be 0. The second state threshold is used to indicate the maximum state of charge allowed by the battery. When the target state of charge is greater than or equal to the first state threshold and the target state of charge is less than or equal to the second state threshold, the target weight corresponding to the power required by the fuel cell is determined according to the target state of charge, the first target power and the fuzzy control algorithm.

7. The method according to claim 6, wherein determining the target weight corresponding to the power required by the fuel cell based on the target state of charge, the first target power, and the fuzzy control algorithm comprises: Based on a preset first membership function, a first fuzzy value set corresponding to the target charge state is determined, wherein the target charge state corresponds to the first membership function; Based on a preset second membership function, a second fuzzy value set corresponding to the first target power is determined, wherein the first target power corresponds to the second membership function; Fuzzy reasoning is performed on the first fuzzy value set and the second fuzzy value set according to a preset fuzzy rule set to obtain fuzzy reasoning results. Each fuzzy rule in the fuzzy rule set is used to indicate the rules between the weights corresponding to the power required by the electric vehicle, the state of charge of the battery, and the power required by the fuel cell. The fuzzy inference results are defuzzified to obtain the target weights corresponding to the power required by the fuel cell.

8. A control device for an electric vehicle, characterized in that, The electric vehicle includes a fuel cell and a battery, and the device includes: The acquisition module is used to acquire the first target power required by the electric vehicle and the target state of charge of the battery during the operation of the electric vehicle. A determining module is configured to determine the second target power required by the fuel cell based on the first target power and the target state of charge; The determining module is further configured to determine a target control strategy corresponding to the fuel cell based on the target state of charge and the second target power, wherein the target control strategy is used to indicate the start-stop state of the fuel cell at the current moment; A control module is used to control the fuel cell according to the target control strategy; After controlling the fuel cell, a target comparison result between the first target power and a third power threshold is determined, wherein the third power threshold is 0; Determine the target change result between the start-stop state of the fuel cell at the current moment and the start-stop state of the fuel cell at the previous moment. The target change result includes: the start-stop state changes from start to stop, the start-stop state changes from stop to start, and the start-stop state remains unchanged. When the target comparison result is that the first target power is less than or equal to the third power threshold, the fuel cell is controlled to maintain the output power of the previous moment and the battery performs energy recovery. When the target comparison result is that the first target power is greater than the third power threshold, the power of the fuel cell and the storage battery is allocated according to the target change result.

9. An electric vehicle, characterized in that, include: A processor and a memory, the processor being configured to execute a control program for an electric vehicle stored in the memory to implement the control method for an electric vehicle according to any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the electric vehicle control method according to any one of claims 1 to 7.