A battery power switching method and device, electronic equipment, and storage medium
By calculating the battery's power operating frequency parameters over a historical period, the battery power mode is dynamically switched, solving the problem of rapid voltage changes in small-capacity batteries under low temperature and low SOC conditions. This improves battery safety and user experience, and extends battery life.
Patent Information
- Application Number
- CN202310555484.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2043-05-16
AI Technical Summary
The small-capacity batteries used in existing hybrid vehicles have a small power reserve when continuously discharging under low temperature and low SOC conditions. This results in large and rapid changes in cell voltage, which affects driving experience and is prone to causing malfunctions. Furthermore, long-term use of a single power mode affects cell lifespan and safety.
By acquiring the battery's power values over historical periods and at the current time, the battery power operating frequency parameter value is calculated, the battery's operating frequency result over historical periods is determined, and the battery power mode is switched based on this result, thereby achieving flexible control of battery power and avoiding sudden changes in battery voltage and safety risks.
It enables dynamic regulation of battery power, avoids sudden changes in battery voltage, improves battery safety and user experience, maximizes the power potential of small-capacity batteries, and extends battery life.
Smart Images

Figure CN118991547B_ABST
Abstract
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] Hybrid vehicles currently available in the domestic and international automotive markets are typically HEV / PHEV models, utilizing typical power-type or half-power cells. These cells are characterized by small pack capacity, low ampere-hours, and a small number of cells, resulting in a low reserve of battery power during use. During vehicle use, such as during continuous discharge driving at low temperatures and low SOC, the battery will operate closely within a battery power mode with a higher power limit to ensure smooth vehicle starting and driving. The lack of a strategy for controlling battery power limits results in large and rapid fluctuations in cell voltage, impacting driving experience and easily causing cell voltage to exceed limits, leading to failures and compromising 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, 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, 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; 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 within a historical time period, and 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 within 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. 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 an embodiment of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the battery power switching method provided in the various optional embodiments described above.
[0010] In the technical solution provided in the embodiments of the present application, after obtaining 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, a battery power operating frequency parameter value is obtained by calculating the first power value and the second power value; the battery power operating frequency parameter value is used to determine the operating frequency of the battery for multiple battery power modes in the historical time period, that is, the battery operating frequency result can be obtained based on the battery power operating frequency parameter value, and finally, the battery power mode corresponding to the battery at the current time point is switched based on the operating frequency result. 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 operating frequency result can be obtained and the battery power mode of the current battery can be switched based on the size relationship between the operating frequencies of the multiple battery power modes represented by the operating 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 battery voltage, and avoiding 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 accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, serving to explain the principles of the present application. It is obvious that the drawings described below are merely some embodiments of the present application, and a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort. 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 flow chart 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 flow chart of step S503 in an exemplary embodiment shown;
[0019] Figure 7 yes Figure 3 A flow chart of step S302 in the illustrated embodiment in an exemplary embodiment;
[0020] Figure 8 yes Figure 2 A flowchart of step S203 in an exemplary embodiment shown;
[0021] Figure 9 yes Figure 2 A flow chart of step S204 in the illustrated embodiment in an exemplary embodiment;
[0022] Figure 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] Figure 11 is a block diagram of a battery power switching device shown in an exemplary embodiment of the present application;
[0024] Figure 12 It is a structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application. DETAILED DESCRIPTION
[0025] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, 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 for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0028] In this application, "plurality" refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0029] In the related art, hybrid vehicles currently available in the domestic and international automotive markets are typically HEV / PHEV models, using typical power-type or half-power cells. These cells have the characteristics of small battery pack capacity, low ampere-hours, and a small number of cells. This results in a small reserve of battery power during use. Even with a high current rate for HEV cells, the power headroom is relatively small. This results in the battery operating in a high power mode to ensure smooth vehicle starting and driving, such as during continuous discharge driving or charging at low temperatures and low SOC, charging at high SOC, and discharging at low SOC. The lack of a strategy for battery power limits results in large and rapid changes in cell voltage, affecting the driving experience and easily causing the cell voltage to exceed the limit, leading to failure and damaging the cell life and safety. Alternatively, long-term use of a battery power mode corresponding to continuous power will fail to realize the peak power capacity of the battery cell, failing to tap into the potential of the vehicle's overall power performance.
[0030] 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 relate to the 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 this application, which includes a terminal 10 and a battery management system 20, which communicate with each other via 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; based on the battery power operation frequency parameter value, determine the battery operation frequency results for multiple battery power modes in the historical time period; based on the operation frequency results, switch the battery power mode corresponding to the battery at the current time point, and then control the operating 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 vehicle, etc., and is not limited here.
[0033] Figure 2 This is a flow chart of a method for switching battery power according to an exemplary embodiment of the present application. Figure 1 The implementation environment shown and Figure 1The method is specifically implemented by the battery management system 20 in the embodiment shown. In other implementation environments, the method may be implemented 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 the 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 needs of the operating conditions, the battery power mode in which the battery is located will switch according to the needs. Each battery power mode will control the battery power at a different target power, causing the battery power value to change. In this embodiment, the first power value is the battery power-related stored information of the battery in the historical time period, and the second power value is the battery power-related stored information at the current time point. Therefore, this application calculates based on the first power value and the second power value to obtain the battery power operating frequency parameter value, where the battery power operating frequency parameter value can represent the battery operating 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 within a historical time period based on the battery power operating frequency parameter value.
[0040] After calculating the battery power operating frequency parameter value reflecting the operating frequency of the battery power mode 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 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 within a historical time period. In order to avoid the battery power running in one battery power mode for a long time, which affects the battery safety and user experience, this embodiment switches the battery power mode corresponding to the current time point based on the operating frequency result, thereby strategically adjusting the battery power dynamically.
[0043] As can be seen from the above, 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 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 within the historical time period and the second power value at the current time point are statistically analyzed and processed in real time. When the operating frequency of the battery power mode in which the battery power is located deviates 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, maximizing 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. It also causes the battery cell voltage to exceed the limit and report a fault for a long time, which in turn causes forced high power reduction, 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 corresponding to multiple time points in the historical time period, and the second power value includes the actual power and the second power limit at the current time. After obtaining the historical power and actual power corresponding to each time, the corresponding first power limit and the second power limit are obtained based on the historical power and the actual power, that is, the power and the power limit are in a matching relationship, and the first power limit and the second power limit refer to the power limit configured for the corresponding battery power mode. Please refer to Figure 3 , Figure 3 yes Figure 2 In the flowchart of step S202 in the illustrated embodiment, in an exemplary embodiment, a plurality of battery power operating frequency parameter values are obtained 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 are described in detail as follows:
[0047] Step S301: Calculate based on the first power limit and the second power limit 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 this 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 peak power refers to the maximum power that the battery can reach in a short time, and 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, to determine the frequency with which the battery operated in the two battery power modes during a historical time period, after obtaining multiple first power limit values corresponding to multiple time points during the historical time period and the second power limit value at the current time point, a calculation is performed based on the first power limit values and the second power limit values to obtain a first operating frequency parameter corresponding to the battery power mode with peak power and a second operating frequency parameter corresponding to the battery power mode with continuous power. It should also be noted that the implementation condition of the battery power switching method provided in this 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, and the second power limit 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 changes in battery power in the historical time period.
[0052] Step S303: 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.
[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 a reference to 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 in which the battery was operated 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 within 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. The power map table records the power 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 usage condition, on the one hand, under the current conditions, the corresponding power value can be used continuously for the longest time. On the other hand, under the current conditions, the battery's 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 maximum continuous usage time; the power map table corresponding to the battery power mode with continuous power can be a 60s power map table, and 60s is the maximum continuous usage time. Each power map table is determined by the temperature and SOC conditions at the same time point.
[0057] Of course, the power map tables 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 table and the 60s power map table. Here, this application uses the 10s power map table and the 60s power map table only to facilitate the explanation of the content of the provided battery power switching method, 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 steps S401 to S402, which are described in detail as follows:
[0059] Step S401: Obtain battery operating parameters corresponding to multiple time points within 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, the corresponding battery operating parameters recorded in the system are obtained for each time point. 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: obtaining a first power value matching the battery parameters based on the battery operating parameters and a preset battery operating power mapping table; 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.
[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 used to search the 10s power map table and the 60s power map table as the preset battery operating power mapping table 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 within 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 Step S301 in the illustrated embodiment is a flowchart in an exemplary embodiment. In this embodiment, the first power limit is a first power limit corresponding to multiple time points within a historical time period, each first power limit including a first limit for a first power spectrum and a second limit for a second power spectrum; the second power limit is a second power limit corresponding to the current time point, including a third limit for the first power spectrum and a fourth limit for the second power spectrum. The first power spectrum is the 10s power map table described above, 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. Through the above steps, the first operating frequency parameter and the second operating frequency parameter corresponding to the historical time period are obtained, 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 within 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.
[0071] Step S503 : performing an integration operation based on the second difference and the first differences corresponding to the multiple 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 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.
[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, it is necessary to use the first operating frequency parameter and the second operating frequency parameter 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, 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 this application can be a 10s power map, and 10s is the longest usage time for continuous use; the power map corresponding to the battery power mode with continuous power can be a 60s power map, and 60s is the longest usage time for continuous use, 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. 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 10s power map table of the first power spectrum, 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 multiple time points in the second time period to obtain a second operating frequency parameter.
[0081] For the second power spectrum 60s power map table, obtain the first difference corresponding to multiple time points in the second time period and then perform an integration operation with the second difference, that is, at the current time point, trace the first difference according to the time length of the second time period 60s. After tracing back to obtain the first difference corresponding to multiple time points, integrate the second difference and multiple first differences to obtain the second operating frequency parameter corresponding to the 60s power map table.
[0082] In this embodiment, the longest usage time of each 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 then be used as a reference to obtain a relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, thereby determining 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 controlling the switching of the battery power mode corresponding to the current time point.
[0083] See also Figure 7 , Figure 7 yes Figure 3 Step S302 in the illustrated embodiment is a flowchart in an exemplary embodiment. In this embodiment, the first power limit is a first power limit corresponding to multiple time points within a historical time period, each first power limit including a first limit for a first power spectrum and a second limit for a second power spectrum; the second power limit is a second power limit corresponding to the current time point, including a third limit for the first power spectrum and a fourth limit for the second power spectrum. The first power spectrum is the 10s power map table described above, and the second power spectrum is the 60s power map table.
[0084] Depend on Figure 5 It can be seen that in Figure 5 In the illustrated embodiment, the process for obtaining the first and second operating frequency parameters involves performing a difference operation on the first and second limit values at the same time point to obtain the first difference value corresponding to multiple time points. The third and fourth limit values are then subjected to a difference operation to obtain the second difference value corresponding to the current time point. Finally, an integration operation is performed based on the second difference value and the first differences corresponding to multiple time points to obtain the first and second operating frequency parameters. In other words, the limit values corresponding to the first power spectrum at multiple time points within the historical time period and at the current time point are subjected to a difference operation with the limit values corresponding to the second power spectrum, and the resulting differences are 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 values 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 situation in which the third operating frequency parameter corresponds to the actual battery power mode of the battery in the historical time period.
[0086] like Figure 7 As shown, step S302 may specifically include steps S701 to S702. 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 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 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 the plurality of third differences and the fourth difference to obtain a third operating frequency parameter.
[0090] After obtaining the fourth difference and a plurality of third differences corresponding to a plurality of time points in the historical time period, 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, the third operating frequency parameter is obtained by using 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 values corresponding to the second power spectrum at the same time point. This enables the first operating frequency parameter and the second operating frequency parameter 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, which is beneficial for controlling the switching of the battery power mode corresponding to the current time point.
[0093] See also Figure 8 , Figure 8 yes Figure 2 The flowchart of step S203 in the embodiment shown is 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 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, and to obtain the deviation between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter respectively through the fifth difference and the sixth difference.
[0096] In 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 operating in the first battery power mode during the historical time period is greater than the frequency of operating in 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. 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] Because the power limit 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 necessarily 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 integration operation performed to obtain the second operating frequency parameter is greater than the number of first differences corresponding to the integration operation performed to obtain the first operating frequency parameter. For example, at a time point of 1 second, the integration operation of the second operating frequency parameter corresponds to the second difference and 59 first differences, and the integration operation of the first operating frequency parameter corresponds to the second difference and 9 first differences, 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] Therefore, 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 battery's historical power and 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 at which the actual battery power during the historical time period represented by the third operating frequency parameter was greater than the battery power corresponding to the second battery power mode is relatively high. In other words, the frequency at which the battery operated in the first battery power mode during the historical time period was greater than the frequency at which it operated in 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 indicates that the frequency of the battery operating in the second battery power mode is greater than the frequency of the battery operating in the first battery power mode during the historical time period.
[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 indicates that the frequency at which the actual battery power during the historical time period represented by the third operating frequency parameter was greater than the battery power corresponding to the second battery power mode was relatively low, that is, the frequency at which the battery operated in the second battery power mode during the historical time period was greater than the frequency at which the battery operated in 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. After reaching the set upper limit maximum value, the data is initialized, 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 this application.
[0104] Therefore, through the method of this embodiment, the present application determines the size 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 among multiple battery power modes, it can be smoothly switched and transitioned between the various battery power modes.
[0105] See also Figure 9 , Figure 9 yes Figure 2 The flowchart of step S204 in the embodiment shown is in an exemplary embodiment. Figure 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. 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 operating in the first battery power mode during the historical time period is greater than the frequency of operating in the second battery power mode, it means that the battery power mode operated by the battery 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 battery operates in the second battery power mode more frequently than in the first battery power mode during the historical period, 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 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, it means that the battery power mode operated by the battery 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 results, when it is determined that the operating frequency of the battery power mode in which the battery power is located during 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 conditions, thereby maximizing 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 may cause the entire vehicle to stall. In addition, it may cause the battery cell voltage to exceed the limit and report a fault, which in turn may cause forced high power reduction, causing a fault and damaging the battery cell life and safety.
[0112] See also Figure 10 , Figure 10 In an exemplary embodiment of the present application, a flowchart of switching the battery power mode corresponding to the battery at the 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 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 between P and A2 is integrated and counted in chronological order to obtain an integral value Q1;
[0117] Step S1005: The difference obtained by subtracting A2 from A1 is integrated and counted over time 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 current time point according to the relationship between the values of Q1, Q2, and Q3;
[0119] Step S1007 : Control the battery to output a final power limit value A3 according to the switched battery power mode.
[0120] Figure 11 FIG. 1 is a block diagram of a battery power switching device 1100 according to an exemplary embodiment of the present application. Figure 11 As shown, the device includes:
[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 calculation unit 1102 is configured to perform calculations based on the first power value and the second power value to obtain a battery power operating frequency parameter value; the processing unit 1103 is configured to determine the operating frequency results of the battery for multiple battery power modes in the historical time period based on the battery power operating 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 operating 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 calculation unit 1102 calculates the first power value and the second power value to obtain the battery power operating frequency parameter value; the battery power operating frequency parameter value is used to determine the operating frequency of the battery for multiple battery power modes in the historical time period, that is, the processing unit 1103 can obtain the battery operating frequency result based on the battery power operating frequency parameter value, and finally the switching unit 1104 switches the battery power mode corresponding to the current time point based on the operating frequency result.
[0123] In this way, the operating frequency of the battery for multiple battery power modes within a 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 achieving flexible regulation of the battery power, avoiding sudden changes in battery voltage, and avoiding situations where the battery sticks to one battery mode for a long time, which affects 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 the battery power operating frequency parameter values, respectively.
[0125] In another exemplary embodiment, the calculation unit 1102 is further 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; and perform an integration operation based on the second difference value and the first differences 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 further used to perform an integration operation on 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 to perform an integration operation on 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 further used to perform a difference operation on the historical power and the second limit at the same time point to obtain multiple third differences, and to perform a difference operation on the actual power and the fourth limit to obtain a fourth difference; and to perform an integration operation on the multiple third differences and the fourth difference to obtain a third operating frequency parameter.
[0128] In another exemplary embodiment, the processing unit 1103 is further 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 operating in the first battery power mode during the historical time period is obtained, characterizing that the frequency of the battery operating in the first battery power mode is greater than the frequency of the battery operating in the second battery power mode during the historical time period; 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 operating in the second battery power mode during the historical time period is obtained.
[0129] In another exemplary embodiment, the switching unit 1104 is further 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 operating in the first battery power mode during the historical time period is greater than the frequency of operating in 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 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, 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 are based on the same concept. The specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here. In actual applications, the battery power switching device provided in the above embodiment can distribute 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, which, when executed by one or more processors, enables the electronic device to implement the battery power switching method provided in the above-mentioned embodiments.
[0133] Figure 12 The following is a schematic diagram showing the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application. Figure 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 Figure 12 As shown, computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in read-only memory (ROM) 1202 or programs loaded from storage 1208 into random access memory (RAM) 1203. RAM 1203 also stores various programs and data required for system operation. CPU 1201, ROM 1202, and RAM 1203 are connected to each other via bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0135] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output section 1207 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1208 including a hard disk; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card or a modem. 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. Removable media 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1210 as needed, so that computer programs read from the removable media can be installed in 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 via the communication section 1209, and / or installed from a removable medium 1211. When the computer program is executed by the central processing unit (CPU) 1201, the 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 embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above. 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 baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, 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 that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present application. Each box in the flowchart or block diagram may represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two boxes shown 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, as well as the combination of boxes in the block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified functions or operations, or can be implemented using 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. In some cases, the names of these units do not constitute limitations on the units themselves.
[0140] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the battery power switching method described above. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.
[0141] Another aspect of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the 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 replacements or improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A method for switching battery power, characterized in that: The method comprises: 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; A battery power operating frequency parameter value is obtained by calculation based on the first power value and the second power value; the first power value includes a historical power and a first power limit, and the second power value includes an actual power and a second power limit; the calculation based on the first power value and the second power value to obtain the battery power operating frequency parameter value includes: calculating based on the first power limit and the second power limit to obtain a first operating frequency parameter and a second operating frequency parameter corresponding to the historical time period; calculating based on the historical power, the actual power, the first power limit, and the second power limit to obtain a third operating frequency parameter corresponding to the current time point; using the first operating frequency parameter, the second operating frequency parameter, and the third operating frequency parameter as the battery power operating frequency parameter value, respectively; and obtaining a relationship between the third operating frequency parameter and the first operating frequency parameter and the second operating frequency parameter, respectively, to determine whether the battery power mode of the battery operation in the 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; 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; wherein the multiple battery power modes include a first battery power mode and a second battery power mode, the first battery power mode being used to represent a battery power mode with peak power, and the second battery power mode being used to represent a battery power mode with sustained power; The battery power mode corresponding to the battery at the current time point is switched based on the operating frequency result; 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 running the first battery power mode in the historical time period is greater than the frequency of running the second battery power mode, then 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; 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.
2. The method according to claim 1, characterized in that The first power limit value is a first power limit value corresponding to multiple 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 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 and the second power limit 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.
3. The method according to claim 2, 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, the first time period being shorter 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 differences 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 differences corresponding to the multiple time points in the second time period to obtain the second operating frequency parameter.
4. The method according to claim 2, characterized in that The calculating based on the historical power, the actual power, the first power limit, and the second power limit 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 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 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.
5. The method according to claim 1, wherein 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: 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; If the fifth difference is greater than the sixth difference, an operating frequency result is obtained, which is used to indicate that the frequency of the battery operating in the first battery power mode is greater than the frequency of the battery operating in the second battery power mode during the historical time period; 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 indicate that the frequency of the battery operating in the second battery power mode during the historical time period is greater than the frequency of the battery operating in the first battery power mode.
6. The method according to any one of claims 1 to 5, 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 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 operating parameters is obtained; wherein the preset battery operating power table is pre-set with multiple battery operating parameters and the first power values corresponding to the multiple battery operating parameters respectively.
7. A battery power switching device, characterized in that: include: a preprocessing unit configured to obtain a first power value of the battery within a historical time period and 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 operating frequency parameter value; The first power value includes historical power and a first power limit, and the second power value includes actual power and a second power limit; the calculation based on the first power value and the second power value to obtain the battery power operating frequency parameter value includes: calculating 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; calculating 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; using the first operating frequency parameter, the second operating frequency parameter and the third operating frequency parameter as the battery power operating frequency parameter values respectively; obtaining 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 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. 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; wherein the plurality of battery power modes include a first battery power mode and a second battery power mode, the first battery power mode being used to represent a battery power mode with peak power, and the second battery power mode being used to represent a battery power mode with sustained power; A 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; 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 running the first battery power mode in the historical time period is greater than the frequency of running the second battery power mode, then 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 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 switching the battery power mode corresponding to the current time point to the first battery power mode.
8. 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 according to any one of claims 1 to 6.
9. 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 6.
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