Battery power switching method and device, electronic equipment and storage medium

By calculating the battery power operating frequency parameter value and switching the battery power mode, the voltage change problem of small-capacity batteries in low temperature and low SOC situations is solved, and flexible control of battery power and safety improvement is achieved.

CN118991547AActive Publication Date: 2024-11-22GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310555484.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-11-22
Estimated Expiration
2043-05-16

AI Technical Summary

Technical Problem

When the small-capacity batteries of existing hybrid vehicles are continuously discharged or charged under low temperature and low SOC, the battery power limit strategy lacks, resulting in large changes in the battery voltage and fast speed, affecting the driving sensor and may cause failure and life damage.

Method used

By obtaining the power value of the battery in the historical time period and the current time point, calculating the battery power operating frequency parameter value, determining the operating frequency results of multiple battery power modes, and switching the battery power mode according to the results, so as to achieve flexible control of battery power , avoid the impact of voltage sudden changes and long-term operation of a mode on battery safety.

Benefits of technology

Real-time dynamic regulation of battery power is realized, the power potential of small-capacity batteries is maximized, battery failure and life damage is avoided, and battery safety and user experience are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118991547A_ABST
    Figure CN118991547A_ABST
Patent Text Reader

Abstract

The invention discloses a battery power switching method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a first power value of a battery in a historical time period, and obtaining a second power value of the battery at a current time point; calculating based on the first power value and the second power value to obtain a battery power operation frequency parameter value; based on the battery power operation frequency parameter value, determining an operation frequency result of the battery in the historical time period for a plurality of battery power modes; and switching the battery power mode corresponding to the current time point of the battery based on the operation frequency result. The actual power of the battery is regulated and controlled in real time by switching the power modes of the battery, flexible regulation and control of the power of the battery are achieved, and the situation that the battery is suddenly changed in voltage and the safety of the battery is affected due to the fact that the battery clings to one battery mode for a long time is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery control technology, and in particular to a battery power switching method and device, electronic equipment, and storage medium. Background Art

[0002] At present, hybrid vehicles in the domestic and foreign automobile markets are usually HEV / PHEV models, and the cells used are typical power-type or half-power cells, which have the characteristics of small battery pack capacity, low ampere-hours, and a small number of cells, resulting in a small amount of battery power reserve during use. During the use of the vehicle, for example, in the case of continuous discharge driving at low temperature and low SOC, in order to ensure the smooth start and driving of the vehicle, the battery will run closely to the battery power mode with a higher power limit. The lack of a strategy for the battery power limit will cause the cell voltage to change greatly and at a fast rate, affecting the driving sense, and it is very easy to cause the cell voltage to exceed the limit, causing failures and damaging the cell life and safety.

[0003] Therefore, how to reasonably control the battery power mode of small-capacity batteries to improve battery safety is an urgent problem to be solved. Summary of the invention

[0004] To solve the above technical problems, the embodiments of the present application provide a battery power switching method and device, an electronic device, a computer-readable storage medium, and a computer program product.

[0005] According to one aspect of an embodiment of the present application, a battery power switching method is provided, including: obtaining a first power value of a battery within a historical time period, and obtaining a second power value of the battery at a current time point; performing calculations based on the first power value and the second power value to obtain a battery power operating frequency parameter value; determining operating frequency results of the battery for multiple battery power modes within the historical time period based on the battery power operating frequency parameter value; and switching the battery power mode corresponding to the battery at the current time point based on the operating frequency results.

[0006] According to one aspect of an embodiment of the present application, a battery power switching device includes: a preprocessing unit, configured to obtain a first power value of a battery in a historical time period, and to obtain a second power value of the battery at a current time point; a calculation unit, configured to perform calculations based on the first power value and the second power value to obtain a battery power operating frequency parameter value; a processing unit, configured to determine an operating frequency result of the battery for multiple battery power modes in the historical time period based on the battery power operating frequency parameter value; and a switching unit, configured to switch the battery power mode corresponding to the battery at the current time point based on the operating frequency result.

[0007] According to one aspect of an embodiment of the present application, an electronic device includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the battery power switching method as described above.

[0008] According to one aspect of an embodiment of the present application, a computer-readable storage medium stores computer-readable instructions thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer executes the battery power switching method as described above.

[0009] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the battery power switching method provided in the above-mentioned various optional embodiments.

[0010] In the technical solution provided in the embodiment of the present application, after obtaining the first power value of the battery in the historical time period and the second power value of the battery at the current time point, the battery power operation frequency parameter value is calculated by the first power value and the second power value; the battery power operation frequency parameter value is used to determine the operation frequency of the battery for multiple battery power modes in the historical time period, that is, the battery operation frequency result can be obtained based on the battery power operation frequency parameter value, and finally the battery power mode corresponding to the battery at the current time point is switched based on the operation frequency result. In this way, the operation frequency of the battery for multiple battery power modes in the historical time period can be determined in real time, and then the operation frequency result can be obtained and the battery power mode of the current battery can be switched according to the size relationship between the operation frequencies of the multiple battery power modes represented by the operation frequency result, so as to adjust the actual power of the battery in real time by switching the battery power mode, thereby realizing flexible regulation of the battery power, avoiding sudden changes in the battery voltage, and the situation where the battery is in a battery mode for a long time and affects the battery safety.

[0011] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0013] Figure 1 It is a schematic diagram of an implementation environment involved in this application;

[0014] Figure 2 is a flow chart of a battery power switching method shown in an exemplary embodiment of the present application;

[0015] Figure 3 yes Figure 2 A flowchart of step S202 in the illustrated embodiment in an exemplary embodiment;

[0016] Figure 4 yes Figure 2 A flowchart of the step of obtaining a first power value in step S201 in the illustrated embodiment in an exemplary embodiment;

[0017] Figure 5 yes Figure 3 A flowchart of step S301 in the illustrated embodiment in an exemplary embodiment;

[0018] Figure 6 yes Figure 5 A flowchart of step S503 in the illustrated embodiment in an exemplary embodiment;

[0019] Figure 7 yes Figure 3 A flowchart of step S302 in the illustrated embodiment in an exemplary embodiment;

[0020] Figure 8 yes Figure 2 A flowchart of step S203 in the illustrated embodiment in an exemplary embodiment;

[0021] Fig. 9 yes Figure 2 A flowchart of step S204 in the illustrated embodiment in an exemplary embodiment;

[0022] Fig.10 is a schematic diagram of a flow chart of switching a battery power mode corresponding to a battery at a current time point in an exemplary embodiment of the present application;

[0023] Fig.11 is a block diagram of a battery power switching device shown in an exemplary embodiment of the present application;

[0024] Fig.12 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION

[0025] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0027] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0028] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0029] In the related art, hybrid vehicles in the current domestic and foreign automobile markets are usually HEV / PHEV models, and the cells used are typical power-type or half-power cells, which have the characteristics of small battery pack capacity, low ampere-hours, and a small number of cells, so that the battery power reserve is small during use. Even if the HEV cell current rate is high, the power surplus space is still relatively very small. This leads to the fact that during the use of the vehicle, such as continuous discharge driving or charging under low temperature and low SOC conditions, charging under high SOC, and discharging under low SOC, in order to ensure the smooth start and driving of the vehicle, the battery will run closely to the battery power mode with a higher power limit. The lack of a strategy for the battery power limit will cause the cell voltage to change in a large amplitude and a fast rate of change, affecting the driving sense, and it is very easy to cause the cell voltage to break through the limit and cause a fault and damage the cell life and safety; or long-term use of the battery power mode corresponding to the continuous power will make the battery cell power peak capacity not be reflected, and the potential of the vehicle's power performance cannot be tapped.

[0030] In order to solve the above problems, the embodiments of the present application propose a battery power switching method and device, an electronic device, and a computer-readable storage medium, which mainly involve battery control management technology included in hybrid vehicle technology. These embodiments will be described in detail below.

[0031] First see Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment involved in the present application. The implementation environment includes a terminal 10 and a battery management system 20, and the terminal 10 and the battery management system 20 communicate with each other through a wired or wireless network.

[0032] The battery management system 20 is used to obtain the first power value of the battery in the historical time period, and obtain the second power value of the battery at the current time point; calculate based on the first power value and the second power value to obtain the battery power operation frequency parameter value; determine the operation frequency results of the battery for multiple battery power modes in the historical time period based on the battery power operation frequency parameter value; switch the battery power mode corresponding to the battery at the current time point based on the operation frequency result, and then control the operation status of the terminal 10 through the battery in the switched battery power mode. It should be noted that Figure 1 The terminal 10 in the illustrated implementation environment may be any type of power supply device including a device with a small-capacity battery, such as a hybrid car, etc., and is not limited here.

[0033] Figure 2 is a flow chart of a battery power switching method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown in Figure 1The battery management system 20 in the embodiment shown is specifically implemented. In other implementation environments, the method may be executed by devices in other implementation environments, and this embodiment does not limit this.

[0034] like Figure 2 As shown, in an exemplary embodiment, the battery power switching method may include steps S201 to S204, which are described in detail as follows:

[0035] Step S201, obtaining a first power value of the battery in a historical time period, and obtaining a second power value of the battery at a current time point.

[0036] A device equipped with a battery as a driving device will record and store various information about the battery and the device during operation. The battery power switching method provided in the present application uses the recorded storage information related to the battery power to form a first power value of the battery in a historical time period and a second power value of the battery at a current time point. The first power value and the second power value are obtained for subsequent calculations and the battery power mode corresponding to the battery at the current time point is switched according to the calculation results, without increasing any hardware costs.

[0037] Step S202: Calculate based on the first power value and the second power value to obtain a battery power operating frequency parameter value.

[0038] Due to the requirements of the working conditions, the battery power mode of the battery will be switched according to the requirements, and each battery power mode will control the power of the battery with different target powers, so that the power value of the battery changes. In this embodiment, the first power value is the battery power-related storage information of the battery in the historical time period, and the second power value is the battery power-related storage information at the current time point. Therefore, this application is calculated based on the first power value and the second power value to obtain the battery power operation frequency parameter value, wherein the battery power operation frequency parameter value can characterize the battery operation frequency of the battery in the historical time period and at the current time point for each battery power mode.

[0039] Step S203: determining the operating frequency results of the battery for multiple battery power modes in a historical time period based on the battery power operating frequency parameter value.

[0040] After obtaining a battery power operating frequency parameter value reflecting the operating frequency of the battery power mode by calculation based on the first power value and the second power value, it is necessary to analyze and process the battery power operating frequency parameter value to determine the operating frequency results of the battery for multiple battery power modes within a historical time period, so as to facilitate switching of the battery power mode corresponding to the current time point.

[0041] Step S204: switching the battery power mode corresponding to the battery at the current time point based on the operating frequency result.

[0042] The operating frequency result can directly represent the operating frequency of the battery for multiple battery power modes in a historical time period. In order to avoid the battery power running in one battery power mode for a long time and affecting the battery safety and user experience, this embodiment switches the battery power mode corresponding to the battery at the current time point based on the operating frequency result, thereby strategically adjusting the battery power dynamically.

[0043] From the above, it can be seen that in the method provided in this embodiment, the battery power operating frequency parameter value is obtained by calculating the first power value and the second power value, and then the operating frequency result representing the operating frequency of the battery for multiple battery power modes in the historical time period is obtained, which serves as the switching basis for switching the battery power mode corresponding to the current time point, thereby dynamically controlling the battery power in real time and realizing flexible regulation of the battery power.

[0044] That is, the first power value in the historical time period and the second power value at the current time point are counted and analyzed in real time. When the operating frequency of the battery power mode in which the battery power is located is biased between multiple battery power modes, it is smoothly switched and transitioned between the various battery power modes to keep it near the optimal power required by the current working conditions, and to maximize the power potential of small-capacity batteries. At the same time, it also avoids the occurrence of power abuse. For example, when the power of the battery at the current time is very close to the target power corresponding to a battery power mode, the change in the battery power mode causes the target power that the battery power needs to approach to change. In this way, when there is a large difference between the target power before the change and the target power that needs to be approached, it will cause a sudden change in the battery power, which will cause the whole vehicle to stall; and long-term operation close to the battery power mode with a higher power limit will cause the battery cell voltage to exceed the boundary and report a fault, which will then force the high power down, causing a fault and damaging the battery cell life and safety.

[0045] In the battery power switching method provided in the present application, the defined first power value and second power value include the same type of data, but the difference is that they correspond to data at different time points. Specifically, in another exemplary embodiment before the present application, the first power value includes the historical power and the first power limit value corresponding to multiple time points in the historical time period, and the second power value includes the actual power and the second power limit value at the current time. After obtaining the historical power and the actual power corresponding to each time, the corresponding first power limit value and the second power limit value are obtained based on the historical power and the actual power, that is, the power and the power limit value are in a matching relationship, and the first power limit value and the second power limit value refer to the power limit values ​​configured in the corresponding battery power mode. Please refer to Figure 3 , Figure 3 yes Figure 2 Step S202 in the illustrated embodiment is a flowchart in an exemplary embodiment, and obtains a plurality of battery power operating frequency parameter values ​​based on specific data content included in the first power value and the second power value.

[0046] like Figure 3 As shown, step S202 may specifically include steps S301 to S303. The battery power operating frequency parameter value is obtained through the above steps, which is described in detail as follows:

[0047] Step S301: Calculate based on the first power limit value and the second power limit value to obtain a first operating frequency parameter and a second operating frequency parameter corresponding to a historical time period.

[0048] In all the embodiments provided in the present application, the implemented battery power switching method is explained by taking two battery power modes as an example, such as a battery power mode with peak power and a battery power mode with continuous power, wherein the peak power refers to the maximum power that the battery can reach in a short time, and the continuous power refers to the output power that allows the battery to operate continuously for a long time under the environmental conditions specified by the current relevant standards.

[0049] Therefore, in order to determine the frequency of the battery running two battery power modes in the historical time period, after obtaining multiple first power limit values ​​corresponding to multiple time points in the historical time period and the second power limit value at the current time point, calculation is performed based on the first power limit value and the second power limit value to obtain the first operating frequency parameter corresponding to the battery power mode with peak power and the second operating frequency parameter corresponding to the battery power mode with continuous power. It should be noted that the implementation condition of the battery power switching method provided in the present application is that the actual power at the current time point is greater than the continuous power.

[0050] Step S302: Calculate based on the historical power, the actual power, the first power limit value and the second power limit value to obtain a third operating frequency parameter corresponding to the current time point.

[0051] While obtaining the first operating frequency parameter and the second operating frequency parameter for reference, it is also necessary to calculate the third operating frequency parameter corresponding to the battery power in the historical time period. The third operating frequency parameter corresponds to the actual battery power mode of the battery in the historical time period. Therefore, when calculating the third operating frequency parameter, it is necessary to base it on multiple historical powers corresponding to multiple time points in the historical time period and the actual power at the current time point to clarify the change of battery power in the historical time period.

[0052] Step S303: taking the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as battery power operating frequency parameter values ​​respectively.

[0053] Since in subsequent method steps, the operating frequency results of the battery for multiple battery power modes within a historical time period are determined based on the battery power operating frequency parameter value, after obtaining the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter, the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter are directly used as the battery power operating frequency parameter values, respectively.

[0054] In this embodiment, after obtaining the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter, the first operating frequency parameter and the second operating frequency parameter are used as references to obtain the relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, respectively, so as to determine whether the battery power mode of the battery operation in the past historical time period is biased towards the battery power mode with peak power corresponding to the first operating frequency parameter, or the battery power mode with continuous power corresponding to the second operating frequency parameter. That is, the operating frequency of the battery for each battery power mode in the historical time period and at the current time point is characterized by the relationship between the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter. In addition, in this embodiment, the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter are subjected to boundary constraints, that is, the corresponding upper and lower limits are set to prevent data overflow.

[0055] In this way, through the method steps provided in this embodiment, the operating frequency of the battery for each battery power mode in the historical time period and at the current time point can be more accurately characterized by the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as the battery power operating frequency parameter value, which is beneficial to the switching control of the battery power mode corresponding to the current time point, thereby achieving the purpose of dynamically regulating the battery power.

[0056] In the battery power switching method provided in the present application, the battery power mode corresponds to a power map table, which records the power table under different temperature conditions and different battery state of charge (SOC) conditions. Each power value in the table represents two meanings. Taking a specified temperature and SOC condition as an example of a use condition, on the one hand, under the current conditions, the corresponding power value can be used continuously for the longest use time, and on the other hand, under the current conditions, the battery power usage cannot exceed the corresponding power value, that is, the power limit. In the present application, the power map table corresponding to the battery power mode with peak power can be a 10s power map table, and 10s is the longest use time for continuous use; the power map table corresponding to the battery power mode with continuous power can be a 60s power map table, and 60s is the longest use time for continuous use. Each power map table is determined by the temperature and SOC conditions at the same time point.

[0057] Of course, the power maps corresponding to the battery power mode with peak power and the battery power mode with continuous power are not limited to the 10s power map and the 60s power map. Here, this application uses the 10s power map and the 60s power map only to facilitate the explanation of the content of the battery power switching method provided, and is not intended to make specific limitations.

[0058] See also Figure 4 , Figure 4 yes Figure 2 The step of obtaining the first power value in step S201 in the embodiment shown is a flow chart in an exemplary embodiment. Figure 3 As shown, it may specifically include step S401 to step S402, which are described in detail as follows:

[0059] Step S401, obtaining battery operating parameters corresponding to multiple time points in a recorded historical time period.

[0060] In order to obtain multiple first power values ​​of the battery at multiple time points within a historical time period, for each time point, the corresponding battery operating parameters recorded in the system are obtained. The battery operating parameters can be the temperature and soc of the battery at multiple time points, or other data that can be used to find a matching first power value from a preset battery operating power mapping table. Again, no specific restrictions are imposed.

[0061] Step S402, based on the battery operating parameters and a preset battery operating power mapping table, obtain a first power value matching the battery parameters; wherein the preset battery operating power table is preset with multiple battery operating parameters and first power values ​​corresponding to the multiple battery operating parameters.

[0062] The preset battery operating power mapping table in this application refers to the above-mentioned 10s power map table and 60s power map table. The power map table is a three-dimensional chart formed by power limit, temperature and soc, that is, the preset battery operating power table is preset with multiple battery operating parameters and first power values ​​corresponding to multiple battery operating parameters. The first power value obtained in this way includes the first limit value of the 10s power map table matched by the battery operating parameters, and the second limit value of the 60s power map table matched by the battery operating parameters.

[0063] In addition, the second power value at the current time point is obtained through the above-mentioned method steps. Specifically, after obtaining the battery operating parameters corresponding to the current time point, the battery operating parameters are searched in the 10s power map table and the 60s power map table which are preset battery operating power mapping tables to obtain a second power limit value that matches them. The second power value includes the third limit value of the 10s power map table that matches the battery operating parameters, and the fourth limit value of the 60s power map table that matches the battery operating parameters.

[0064] Therefore, through the method of this embodiment, based on the battery operating parameters of multiple time points in the historical time period and the current time point and the preset battery operating power mapping table, a first power value and a second power value matching the battery parameters are obtained to implement the battery power switching method provided in this application.

[0065] See also Figure 5 , Figure 5 yes Figure 3 The flowchart of step S301 in the illustrated embodiment in an exemplary embodiment. In this embodiment, the first power limit is the first power limit corresponding to multiple time points in the historical time period, each first power limit includes a first limit for the first power spectrum and a second limit for the second power spectrum; the second power limit is the second power limit corresponding to the current time point, and the second power limit includes a third limit for the first power spectrum and a fourth limit for the second power spectrum. The first power spectrum is the above-mentioned 10s power map table, and the second power spectrum is the 60s power map table.

[0066] like Figure 5 As shown, step S301 may specifically include steps S501 to S503, and the first operating frequency parameter and the second operating frequency parameter corresponding to the historical time period are obtained through the above steps, which are described in detail as follows:

[0067] Step S501 , performing a difference operation on a first limit value and a second limit value at the same time point to obtain first difference values ​​corresponding to multiple time points.

[0068] For multiple time points in the historical time period, a difference operation is performed on the first limit value and the second limit value of each time point to obtain multiple first difference values ​​corresponding to the multiple time points.

[0069] Step S502: performing a difference operation on the third limit value and the fourth limit value to obtain a second difference value corresponding to the current time point.

[0070] For the current time point, the third limit value and the fourth limit value are subjected to a difference operation to obtain a second difference value corresponding to the current time point, and the second difference value corresponding to the current time point is obtained.

[0071] Step S503: performing an integration operation based on the second difference and the first difference corresponding to the plurality of time points to obtain a first operating frequency parameter and a second operating frequency parameter.

[0072] After obtaining the second difference and multiple first differences corresponding to multiple time points in the historical time period, they are integrated to obtain the first operating frequency parameter corresponding to the battery power mode with peak power and the second operating frequency parameter corresponding to the battery power mode with continuous power, that is, the first operating frequency parameter corresponding to the 10s power map table and the second operating frequency parameter corresponding to the 60s power map table.

[0073] In this way, through the method steps provided in this embodiment, the first operating frequency parameter and the second operating frequency parameter are obtained for reference comparison with the third operating frequency parameter, and then the operating frequency of the battery for each battery power mode in the historical time period and at the current time point is more accurately characterized through the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as the battery power operating frequency parameter value, which is beneficial to the switching control of the battery power mode corresponding to the current time point, so as to achieve the purpose of dynamically regulating the battery power.

[0074] See also Figure 6 , Figure 6 yes Figure 5 The flowchart of step S503 in the illustrated embodiment in an exemplary embodiment. In this embodiment, after obtaining the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter in the present application, the first operating frequency parameter and the second operating frequency parameter need to be used as references to obtain the relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, respectively, so as to determine whether the battery power mode of the battery operation in the past historical time period is biased towards the battery power mode with peak power corresponding to the first operating frequency parameter, or the battery power mode with continuous power corresponding to the second operating frequency parameter.

[0075] In addition, the power map corresponding to the battery power mode with peak power in the present application can be a 10s power map, and 10s is the longest continuous usage time; the power map corresponding to the battery power mode with continuous power can be a 60s power map, and 60s is the longest continuous usage time, that is, the first power spectrum below is the above-mentioned 10s power map, and the second power spectrum is the 60s power map.

[0076] Therefore, in this embodiment of the present application, in order to obtain the first operating frequency parameter corresponding to the 10s power map table and the second operating frequency parameter corresponding to the 60s power map table, the longest continuous use time of each battery power mode is used as a variable. In this way, the historical time period includes a first time period corresponding to the first power spectrum and a second time period corresponding to the second power spectrum. The first time period is smaller than the second time period. Under the premise that the first power spectrum is a 10s power map table and the second power spectrum is a 60s power map table, the first time period is 10s and the second time period is 60s. In this way, multiple first differences corresponding to multiple time points are obtained through the first time period and the second time period, thereby obtaining the first operating frequency parameter and the second operating frequency parameter.

[0077] like Figure 6 As shown, step S503 may specifically include steps S601 to S602, and the first operating frequency parameter and the second operating frequency parameter are obtained through the above steps, which are described in detail as follows:

[0078] Step S601, performing an integration operation on the second difference and the first difference corresponding to a plurality of time points in the first time period to obtain a first operating frequency parameter.

[0079] For the first power spectrum 10s power map table, the first difference corresponding to multiple time points in the first time period is obtained and then integrated with the second difference. That is, at the current time point, the first difference is backtracked according to the time length of 10s of the first time period. After backtracking to obtain the first difference corresponding to multiple time points, the second difference and the multiple first differences are integrated to obtain the first operating frequency parameter corresponding to the 10s power map table.

[0080] Step S602, performing an integration operation on the second difference and the first difference corresponding to a plurality of time points in the second time period to obtain a second operating frequency parameter.

[0081] For the second power spectrum 60s power map table, the first difference corresponding to multiple time points in the second time period is obtained and then integrated with the second difference. That is, at the current time point, the first difference is backtracked according to the time length of the second time period 60s. After backtracking to obtain the first difference corresponding to multiple time points, the second difference and the multiple first differences are integrated to obtain the second operating frequency parameter corresponding to the 60s power map table.

[0082] In this embodiment, the longest usage time of the 10s power map table and the 60s power map table is used as a variable for obtaining the first difference to obtain a first operating frequency parameter corresponding to the 10s power map table and a second operating frequency parameter corresponding to the 60s power map table. The first operating frequency parameter and the second operating frequency parameter can be used as a reference to respectively obtain the relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, so as to determine whether the battery power mode of the battery operation in the past historical time period is biased towards the battery power mode with peak power corresponding to the first operating frequency parameter, or the battery power mode with continuous power corresponding to the second operating frequency parameter, which is beneficial to the switching control of the battery power mode corresponding to the current time point.

[0083] See also Figure 7 , Figure 7 yes Figure 3 The flowchart of step S302 in the illustrated embodiment in an exemplary embodiment. In this embodiment, the first power limit is the first power limit corresponding to multiple time points in the historical time period, each first power limit includes a first limit for the first power spectrum and a second limit for the second power spectrum; the second power limit is the second power limit corresponding to the current time point, and the second power limit includes a third limit for the first power spectrum and a fourth limit for the second power spectrum. The first power spectrum is the above-mentioned 10s power map table, and the second power spectrum is the 60s power map table.

[0084] Depend on Figure 5 It is known that in Figure 5 In the embodiment shown, the process of obtaining the first operating frequency parameter and the second operating frequency parameter is to perform a difference operation on the first limit value and the second limit value at the same time point to obtain the first difference value corresponding to multiple time points, then perform a difference operation on the third limit value and the fourth limit value to obtain the second difference value corresponding to the current time point, and finally perform an integral operation based on the second difference value and the first difference value corresponding to multiple time points to obtain the first operating frequency parameter and the second operating frequency parameter. That is, the limit values ​​corresponding to the first power spectrum at multiple time points in the historical time period and the current time point are performed with the limit values ​​corresponding to the second power spectrum, and the obtained difference is integrated.

[0085] Therefore, in this embodiment, in order to make the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as the battery power operating frequency parameter value have a scientific reference, the limit value corresponding to the second power spectrum is used as a quantity, and what changes in the calculation formula is the current actual power of the battery and the historical power of the battery in the historical time period, so as to more accurately obtain the actual battery power mode of the battery in the historical time period corresponding to the third operating frequency parameter.

[0086] like Figure 7 As shown, step S302 may specifically include steps S701 to S702, and the third operating frequency parameter corresponding to the current time point is obtained through the above steps, which is described in detail as follows:

[0087] Step S701, performing a difference operation on the historical power and the second limit value at the same time point to obtain a plurality of third difference values, and performing a difference operation on the actual power and the fourth limit value to obtain a fourth difference value.

[0088] For multiple time points within the historical time period, the historical power and the second limit value at each time point are respectively subtracted to obtain multiple third difference values ​​corresponding to the multiple time points; for the current time point, the historical power and the fourth limit value are subtracted to obtain the second difference value corresponding to the current time point.

[0089] Step S702: performing an integration operation on a plurality of third differences and a fourth difference to obtain a third operating frequency parameter.

[0090] After the fourth difference value and a plurality of third difference values ​​corresponding to a plurality of time points in the historical time period are acquired, they are integrated to obtain a situation that can reflect the actual battery power mode of the battery in the historical time period.

[0091] By comparing the third operating frequency parameter with the first operating frequency parameter and the second operating frequency parameter, the operating frequency of the battery for the first power spectrum and the second power spectrum in the historical time period can be obtained, and the bias of the battery power mode can be clarified.

[0092] As can be seen from the above, in the method provided in this embodiment, by taking multiple historical powers corresponding to multiple time points in the historical time period and the actual power at the current time point as variables in the calculation formula, combined with the limit value corresponding to the second power spectrum at the same time point, the third operating frequency parameter is obtained. This enables the first operating frequency parameter and the second operating frequency parameter to be used as a reference to obtain the relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, respectively, so as to determine whether the battery power mode of the battery operation in the past historical time period is biased towards the battery power mode with peak power corresponding to the first operating frequency parameter, or the battery power mode with continuous power corresponding to the second operating frequency parameter, which is conducive to the switching control of the battery power mode corresponding to the current time point.

[0093] See also Figure 8 , Figure 8 yes Figure 2 The step S203 in the embodiment shown is a flow chart in an exemplary embodiment. Figure 8 As shown, step S203 may specifically include steps S801 to S803, which are described in detail as follows:

[0094] Step S801, obtaining a fifth difference between the third operating frequency parameter and the first operating frequency parameter, and obtaining a sixth difference between the third operating frequency parameter and the second operating frequency parameter.

[0095] The method of respectively obtaining the relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter is specifically to obtain the fifth difference between the third operating frequency parameter and the first operating frequency parameter, and to obtain the sixth difference between the third operating frequency parameter and the second operating frequency parameter, and to obtain the deviation between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter through the fifth difference and the sixth difference.

[0096] Step S802, if the fifth difference is greater than the sixth difference, an operating frequency result is obtained, which is used to characterize that the frequency of the battery running the first battery power mode during the historical time period is greater than the frequency of running the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode.

[0097] Among them, the first battery power mode corresponds to the above-mentioned first power spectrum 10s power map table, and the second power mode corresponds to the above-mentioned second power spectrum 60s power map table, and the power limit of the 10s power map table is the peak power, and the power limit of the 60s power map table is the continuous power. The peak power of the same battery must be greater than the continuous power. Therefore, the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode.

[0098] Since the power limit value matches the historical power or actual power of the battery at the same time point, and the second time period is longer than the first time period, the multiple first differences corresponding to the multiple time points in the second time period must include the first differences corresponding to the multiple time points in the first time period, that is, the number of first differences corresponding to the integral operation performed to obtain the second operating frequency parameter is greater than the number of first differences corresponding to the integral operation performed to obtain the first operating frequency parameter. For example, when the second operating frequency parameter is integrated at a time point of 1s, there are the second difference and 59 first differences corresponding to the integral operation, and there are the second difference and 9 first differences corresponding to the integral operation of the first operating frequency parameter, and the 9 first differences of the first operating frequency parameter are included in the 59 first differences of the second operating frequency parameter.

[0099] It can be seen that the second operating frequency parameter is greater than the first operating frequency parameter. Because the third operating frequency parameter is the integral result of the difference between the historical power of the battery and the actual power and the power limit of the second power spectrum at the same time point, if the fifth difference between the third operating frequency parameter and the first operating frequency parameter is greater than the sixth difference between the third operating frequency parameter and the second operating frequency parameter, it means that the frequency of the actual power of the battery in the historical time period represented by the third operating frequency parameter being greater than the battery power corresponding to the second battery power mode is relatively high, that is, the frequency of the battery running the first battery power mode in the historical time period is greater than the frequency of running the second battery power mode, as the operating frequency result.

[0100] The frequency of the first battery power mode or the frequency of the second battery power mode may be determined according to the operation duration or operation times of the battery power mode, or may be determined in other ways, which are not specifically limited here.

[0101] Step S803: If the fifth difference is less than or equal to the sixth difference, an operating frequency result is obtained, which is used to characterize that the frequency of the battery operating in the second battery power mode during the historical time period is greater than the frequency of operating in the first battery power mode.

[0102] If the fifth difference between the third operating frequency parameter and the first operating frequency parameter is less than or equal to the sixth difference between the third operating frequency parameter and the second operating frequency parameter, it means that the frequency at which the actual power of the battery in the historical time period represented by the third operating frequency parameter is greater than the battery power corresponding to the second battery power mode is relatively low, that is, the frequency at which the battery operates the second battery power mode in the historical time period is greater than the frequency at which the battery operates the first battery power mode, as the operating frequency result.

[0103] It should also be noted that since the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter are subject to boundary constraints, that is, the corresponding upper limit maximum value and lower limit minimum value are set to prevent data overflow, the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter obtained by the integral operation will not increase infinitely, and the data is initialized after reaching the set upper limit maximum value, and the first power value of the battery in the historical time period is obtained again, and the second power value of the battery at the current time point is obtained to implement the battery power switching method provided in the present application.

[0104] Therefore, through the method of this embodiment, the present application determines the relationship between the frequency of operating the first battery power mode and the frequency of operating the second battery power mode in the historical time period through the fifth difference between the third operating frequency parameter and the first operating frequency parameter, and the sixth difference between the third operating frequency parameter and the second operating frequency parameter, so that when the operating frequency of the battery power mode in which the battery power is located is biased between multiple battery power modes, it can be smoothly switched and transitioned between the various battery power modes.

[0105] See also Fig. 9 , Fig. 9 yes Figure 2 The flowchart of step S204 in the illustrated embodiment is in an exemplary embodiment. Fig. 9 As shown, step S204 may specifically include steps S901 to S902, which are described in detail as follows:

[0106] Step S901, if the operating frequency result indicates that the frequency of the battery operating in the first battery power mode during the historical time period is greater than the frequency of the battery operating in the second battery power mode, the battery power mode corresponding to the current time point is switched to the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode.

[0107] Among them, the first battery power mode corresponds to the above-mentioned first power spectrum 10s power map table, and the second power mode corresponds to the above-mentioned second power spectrum 60s power map table, and the power limit of the 10s power map table is the peak power, and the power limit of the 60s power map table is the continuous power. The peak power of the same battery must be greater than the continuous power. Therefore, the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode.

[0108] If the operating frequency result indicates that the frequency of the battery running the first battery power mode during the historical time period is greater than the frequency of running the second battery power mode, it means that the battery power mode of the battery running during the historical time period is more inclined to the first battery power mode, so the battery power mode corresponding to the current time point is switched to the second battery power mode.

[0109] Step S902: If the operating frequency result indicates that the frequency of the battery operating in the second battery power mode during the historical time period is greater than the frequency of operating in the first battery power mode, the battery power mode corresponding to the current time point is switched to the first battery power mode.

[0110] If the operating frequency result indicates that the frequency of the battery running the second battery power mode during the historical time period is greater than the frequency of running the first battery power mode, it means that the battery power mode of the battery running during the historical time period is more inclined to the second battery power mode, so the battery power mode corresponding to the current time point is switched to the first battery power mode.

[0111] Through the above embodiment, based on the operating frequency result, when it is determined that the operating frequency of the battery power mode in which the battery power is located in the historical time period is biased between multiple battery power modes, it is smoothly switched and transitioned between the various battery power modes to keep it near the optimal power required by the current working condition, and maximize the power potential of small-capacity batteries. At the same time, it also avoids the occurrence of power abuse. For example, when the power of the battery at the current time is very close to the target power corresponding to a battery power mode, the change in the battery power mode causes the target power that the battery power needs to approach to change. In this way, when there is a large difference between the target power before the change and the target power that needs to be approached, it will cause a sudden change in battery power, which will cause the whole vehicle to stall; and long-term operation close to the battery power mode with a higher power limit, causing the battery cell voltage to exceed the boundary and report a fault, which in turn causes forced high power reduction, causing a fault and damaging the battery cell life and safety.

[0112] See also Fig.10 , Fig.10 In an exemplary embodiment of the present application, a flowchart of switching a battery power mode corresponding to a battery at a current time point may include the following steps:

[0113] Step S1001, obtaining the recorded battery operating parameters corresponding to the current time point and multiple time points in the historical time period, and obtaining the actual power P at the current time point;

[0114] Step S1002, searching for a matching limit value A2 from a 60s power map table based on the battery operating parameters;

[0115] Step S1003, searching for a matching limit value A1 from a 10s power map table based on the battery operating parameters;

[0116] Step S1004, when P is greater than A2, the difference obtained by subtracting A2 from P is integrated and counted in chronological order to obtain an integral value Q1;

[0117] Step S1005, performing integral statistics on the difference obtained by subtracting A2 from A1 according to time backtracking, to obtain the integral value Q2 of the difference within the past 10 seconds, and the integral value Q3 of the difference within the past 60 seconds;

[0118] Step S1006, switching the battery power mode corresponding to the battery at the current time point according to the magnitude relationship between the values ​​of Q1, Q2 and Q3;

[0119] Step S1007, controlling the battery to output a final power limit value A3 according to the switched battery power mode.

[0120] Fig.11 FIG. 1 is a block diagram of a battery power switching device 1100 shown in an exemplary embodiment of the present application. Fig.11 As shown, the device comprises:

[0121] The preprocessing unit 1101 is configured to obtain a first power value of the battery in a historical time period and a second power value of the battery at a current time point; the calculating unit 1102 is configured to perform calculations based on the first power value and the second power value to obtain a battery power operation frequency parameter value; the processing unit 1103 is configured to determine the operation frequency results of the battery for multiple battery power modes in the historical time period based on the battery power operation frequency parameter value; the switching unit 1104 is configured to switch the battery power mode corresponding to the battery at the current time point based on the operation frequency results.

[0122] The device applies the battery power switching method provided in the present application. After the preprocessing unit 1101 obtains the first power value of the battery in the historical time period and the second power value of the battery at the current time point, the first power value and the second power value are calculated by the calculation unit 1102 to obtain the battery power operation frequency parameter value; the battery power operation frequency parameter value is used to determine the operation frequency of the battery for multiple battery power modes in the historical time period, that is, the processing unit 1103 can obtain the battery operation frequency result based on the battery power operation frequency parameter value, and finally the switching unit 1104 switches the battery power mode corresponding to the battery at the current time point based on the operation frequency result.

[0123] In this way, the operating frequency of the battery for multiple battery power modes in the historical time period can be determined in real time, and then the actual power of the battery can be regulated in real time by switching the battery power mode, thereby realizing flexible regulation of the battery power, avoiding sudden changes in the battery voltage, and avoiding the situation where the battery sticks to one battery mode for a long time and affects the battery safety.

[0124] In another exemplary embodiment, the calculation unit 1102 is further used to perform calculations based on the first power limit and the second power limit to obtain the first operating frequency parameter and the second operating frequency parameter corresponding to the historical time period; perform calculations based on the historical power, the actual power, the first power limit and the second power limit to obtain the third operating frequency parameter corresponding to the current time point; and use the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as battery power operating frequency parameter values, respectively.

[0125] In another exemplary embodiment, the calculation unit 1102 is also used to perform a difference operation on the first limit value and the second limit value at the same time point to obtain a first difference value corresponding to multiple time points; perform a difference operation on the third limit value and the fourth limit value to obtain a second difference value corresponding to the current time point; perform an integration operation based on the second difference value and the first difference values ​​corresponding to multiple time points to obtain a first operating frequency parameter and a second operating frequency parameter.

[0126] In another exemplary embodiment, the calculation unit 1102 is also used to integrate the second difference and the first difference corresponding to multiple time points in the first time period to obtain a first operating frequency parameter; and integrate the second difference and the first difference corresponding to multiple time points in the second time period to obtain a second operating frequency parameter.

[0127] In another exemplary embodiment, the calculation unit 1102 is also used to perform a difference operation on the historical power and the second limit value at the same time point to obtain multiple third difference values, and to perform a difference operation on the actual power and the fourth limit value to obtain a fourth difference value; and to perform an integration operation on the multiple third difference values ​​and the fourth difference to obtain a third operating frequency parameter.

[0128] In another exemplary embodiment, the processing unit 1103 is also used to obtain a fifth difference between the third operating frequency parameter and the first operating frequency parameter, and to obtain a sixth difference between the third operating frequency parameter and the second operating frequency parameter; if the fifth difference is greater than the sixth difference, an operating frequency result corresponding to the frequency of the battery running the first battery power mode during the historical time period is obtained, which is used to characterize that the frequency of the battery running the first battery power mode during the historical time period is greater than the frequency of running the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode; if the fifth difference is less than or equal to the sixth difference, an operating frequency result corresponding to the frequency of the battery running the second battery power mode during the historical time period is obtained, which is used to characterize that the frequency of the battery running the second battery power mode during the historical time period is greater than the frequency of running the first battery power mode.

[0129] In another exemplary embodiment, the switching unit 1104 is also used to switch the battery power mode corresponding to the current time point to the second battery power mode if the operating frequency result indicates that the frequency of the battery running the first battery power mode in the historical time period is greater than the frequency of running the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode; if the operating frequency result indicates that the frequency of the battery running the second battery power mode in the historical time period is greater than the frequency of running the first battery power mode, then the battery power mode corresponding to the current time point is switched to the first battery power mode.

[0130] In another exemplary embodiment, the preprocessing unit 1101 is also used to obtain battery operating parameters corresponding to multiple time points within the recorded historical time period; based on the battery operating parameters and a preset battery operating power mapping table, a first power value matching the battery parameters is obtained; wherein the preset battery operating power table is pre-set with multiple battery operating parameters and first power values ​​corresponding to the multiple battery operating parameters.

[0131] It should be noted that the battery power switching device provided in the above embodiment and the battery power switching method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the battery power switching device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0132] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the battery power switching method provided in the above-mentioned embodiments.

[0133] Fig.12 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig.12 The computer system 1200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0134] like Fig.12 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1208 to the random access memory (RAM) 1203, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 1203. The CPU 1201, ROM 1202 and RAM 1203 are connected to each other through a bus 1204. The input / output (I / O) interface 1205 is also connected to the bus 1204.

[0135] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.

[0136] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1209, and / or installed from a removable medium 1211. When the computer program is executed by a central processing unit (CPU) 1201, various functions defined in the system of the present application are executed.

[0137] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0139] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0140] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the battery power switching method as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0141] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the battery power switching method provided in each of the above embodiments.

[0142] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for switching battery power, characterized in that: The method comprises: Acquire a first power value of a battery in a historical time period, and acquire a second power value of the battery at a current time point; Calculating based on the first power value and the second power value to obtain a battery power operating frequency parameter value; determining, based on the battery power operating frequency parameter value, operating frequency results of the battery for a plurality of battery power modes within the historical time period; The battery power mode corresponding to the battery at the current time point is switched based on the operating frequency result.

2. The method according to claim 1, characterized in that The first power value includes a historical power and a first power limit value, and the second power value includes an actual power and a second power limit value; and the calculation based on the first power value and the second power value to obtain a battery power operating frequency parameter value includes: Performing calculation based on the first power limit value and the second power limit value to obtain a first operating frequency parameter and a second operating frequency parameter corresponding to the historical time period; Performing calculation based on the historical power, the actual power, the first power limit value, and the second power limit value to obtain a third operating frequency parameter corresponding to the current time point; The first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter are respectively used as the battery power operating frequency parameter values.

3. The method according to claim 2, characterized in that The first power limit value is a first power limit value corresponding to a plurality of time points in the historical time period, each first power limit value includes a first limit value for a first power spectrum and a second limit value for a second power spectrum; the second power limit value is a second power limit value corresponding to a current time point, and the second power limit value includes a third limit value for the first power spectrum and a fourth limit value for the second power spectrum; The calculating based on the first power limit value and the second power limit value to obtain the first operating frequency parameter and the second operating frequency parameter corresponding to the historical time period includes: Performing a difference operation on the first limit value and the second limit value at the same time point to obtain first difference values ​​corresponding to the multiple time points; Performing a difference operation on the third limit value and the fourth limit value to obtain a second difference value corresponding to the current time point; An integration operation is performed based on the second difference and the first differences corresponding to the multiple time points to obtain the first operating frequency parameter and the second operating frequency parameter.

4. The method according to claim 3, characterized in that: The historical time period includes a first time period corresponding to the first power spectrum and a second time period corresponding to the second power spectrum, and the first time period is smaller than the second time period; The performing an integration operation based on the second difference and the first differences corresponding to the multiple time points to obtain the first operating frequency parameter and the second operating frequency parameter includes: Performing an integration operation on the second difference and the first difference corresponding to the multiple time points in the first time period to obtain the first operating frequency parameter; as well as An integration operation is performed on the second difference and the first difference corresponding to the multiple time points in the second time period to obtain the second operating frequency parameter.

5. The method according to claim 3, characterized in that: The calculating based on the historical power, the actual power, the first power limit value, and the second power limit value to obtain a third operating frequency parameter corresponding to the current time point includes: performing a difference operation on the historical power and the second limit value at the same time point to obtain a plurality of third difference values, and performing a difference operation on the actual power and the fourth limit value to obtain a fourth difference value; An integration operation is performed on the plurality of third differences and the fourth difference to obtain the third operating frequency parameter.

6. The method according to claim 2, characterized in that The determining, based on the battery power operating frequency parameter value, operating frequency results of the battery for multiple battery power modes within the historical time period includes: Acquire a fifth difference between the third operating frequency parameter and the first operating frequency parameter, and acquire a sixth difference between the third operating frequency parameter and the second operating frequency parameter; If the fifth difference is greater than the sixth difference, an operating frequency result is obtained for representing that the frequency of the battery operating the first battery power mode during the historical time period is greater than the frequency of the battery operating the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode; If the fifth difference is less than or equal to the sixth difference, an operating frequency result is obtained, which is used to characterize that the frequency of the battery operating the second battery power mode during the historical time period is greater than the frequency of operating the first battery power mode.

7. The method according to any one of claims 1 to 6, characterized in that The switching of the battery power mode corresponding to the battery at the current time point based on the operating frequency result includes: If the operating frequency result indicates that the frequency of the battery operating in the first battery power mode during the historical time period is greater than the frequency of the battery operating in the second battery power mode, switching the battery power mode corresponding to the current time point to the second battery power mode; wherein the battery power corresponding to the first battery power mode is greater than the battery power corresponding to the second battery power mode; If the operating frequency result indicates that the battery operates the second battery power mode more frequently than the first battery power mode during the historical time period, the battery power mode corresponding to the current time point is switched to the first battery power mode.

8. The method according to any one of claims 1 to 6, characterized in that The obtaining of a first power value of the battery within a historical time period includes: Obtaining the battery operating parameters corresponding to the multiple time points recorded in the historical time period; Based on the battery operating parameters and a preset battery operating power mapping table, a first power value matching the battery parameters is obtained; wherein the preset battery operating power table is pre-set with multiple battery operating parameters and first power values ​​corresponding to the multiple battery operating parameters respectively.

9. A battery power switching device, characterized in that: include: a preprocessing unit, configured to obtain a first power value of a battery in a historical time period, and to obtain a second power value of the battery at a current time point; a calculation unit, configured to perform calculation based on the first power value and the second power value to obtain a battery power operation frequency parameter value; a processing unit configured to determine, based on the battery power operating frequency parameter value, operating frequency results of the battery for a plurality of battery power modes within the historical time period; The switching unit is configured to switch the battery power mode corresponding to the battery at the current time point based on the operating frequency result.

10. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the battery power switching method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the battery power switching method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Vehicle-mounted composite power supply system of electric vehicle and control method

    CN106564398A

  • Battery power switching method and device, computer equipment and storage medium

    CN112034354A

  • Battery control method and device, electronic equipment and computer readable storage medium

    CN113547953A

  • Electric vehicle battery output power control method and system, storage medium and vehicle

    CN114475349A

  • Complementary engagement of battery banks to augment life, performance and capacity of energy storage system

    US20170229880A1