Battery charging and discharging control method and device, battery management system and electronic equipment

By obtaining the current information of the battery and using the target capacity loss rate model to determine the reasonable charge and discharge range, the problems of shortened battery life, high safety risks and resource waste are solved, and the battery life is extended, safety is improved and resource utilization is increased.

CN120277299BActive Publication Date: 2025-09-05CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510771115.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-05
Estimated Expiration
2045-06-10

AI Technical Summary

Technical Problem

In the prior art, the battery charge and discharge interval settings are unreasonable, resulting in shortened battery life, high safety risks, waste of resources and uneven capacity distribution.

Method used

By obtaining the current temperature, power consumption and capacity loss rate of the target battery, the target capacity loss rate model is used to determine the reasonable charge and discharge range, and the battery SOC is monitored and controlled in real time to ensure that the battery is charged and discharged within a reasonable range.

Benefits of technology

It improves the accuracy and flexibility of the charge and discharge range, extends battery life, reduces safety risks, improves resource utilization and driving range, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120277299B_ABST
    Figure CN120277299B_ABST
Patent Text Reader

Abstract

The present application relates to a battery charging and discharging control method and device, a battery management system, and an electronic device. The control method includes: obtaining current information of a target battery of a vehicle, the current information of the target battery including the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery; determining a first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery; and controlling the charge and discharge of the target battery based on the first charge and discharge interval. The present application improves the rationality, flexibility, and intelligence of charge and discharge interval regulation by controlling the SOC of the target battery within the charge and discharge interval determined by temperature, power consumption, and capacity loss rate. At the same time, it not only greatly extends the life of the battery under different temperature conditions, but also reduces safety risks, improves the uniformity of capacity distribution, and improves resource utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and specifically to a method and device for controlling battery charging and discharging, a battery management system, and an electronic device. Background Art

[0002] The battery's charge and discharge range refers to the allowable range of the battery's SOC (State of Charge) during the charge and discharge process. During the charging process, the battery's SOC can be charged from a relatively low value to the upper charge limit of the charge and discharge range. During the discharge process, the battery's SOC can be discharged from a relatively high value to the lower discharge limit of the charge and discharge range.

[0003] In related technologies, battery charge and discharge control is generally performed based on charge and discharge intervals set manually based on experience. If the set charge and discharge interval is too large, for example, the lower discharge limit of the charge and discharge interval is too small (i.e., deep discharge) or the upper charge limit of the charge and discharge interval is too large (i.e., deep charge), then not only will the battery life be shortened, but it may also cause an abnormal increase in the battery's internal pressure, increasing the risk of short circuit, thermal runaway, or even explosion. If the set charge and discharge interval is too small, for example, the lower discharge limit of the charge and discharge interval is too large (i.e., shallow discharge) or the upper charge limit of the charge and discharge interval is too small (i.e., shallow charge), then not only will the battery not be fully utilized, resulting in a waste of resources, but it may also cause uneven distribution of battery capacity, reducing the overall available capacity. Summary of the Invention

[0004] One of the purposes of this application is to provide a method for controlling battery charging and discharging, so as to solve the problems in the related art such as shortened life, high safety risks, uneven capacity distribution, and waste of resources caused by setting the charging and discharging interval too large or too small; the second purpose is to provide a battery management system; the third purpose is to provide a battery charging and discharging control device; the fourth purpose is to provide an electronic device; the fifth purpose is to provide a computer-readable storage medium; and the sixth purpose is to provide a computer program product.

[0005] In order to achieve the above objectives, the present application provides a method for controlling battery charging and discharging, which adopts the following technical solutions:

[0006] Acquiring current information of a target battery of the vehicle, the current information of the target battery including a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0007] determining a first charge-discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0008] Based on the first charge and discharge interval, the charge and discharge of the target battery are controlled.

[0009] According to the above technical means, on the one hand, the first charge and discharge interval of the target battery is determined according to the current temperature, current power consumption and current capacity loss rate of the target battery. Since the first charge and discharge interval comprehensively considers the influence of temperature, power consumption and capacity loss rate, the accuracy of the charge and discharge interval is improved; on the other hand, the SOC of the target battery is controlled within a reasonable first charge and discharge interval. Compared with the charge and discharge interval set by manual experience in related technologies, firstly, the rationality, flexibility and intelligence of the charge and discharge interval regulation are improved. Secondly, not only the battery life is greatly extended under different temperature conditions, thereby postponing the battery replacement cycle to reduce operation and maintenance costs, but also the safety risk is reduced, the uniformity of capacity distribution is improved and resource utilization is improved. Finally, the battery life is improved to better meet the user's usage needs, thereby improving the user's car experience.

[0010] Further, determining the first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery and the current capacity loss rate of the target battery includes: using a constructed target capacity loss rate model to determine the first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery and the current capacity loss rate of the target battery; wherein the target capacity loss rate model characterizes the relationship between the battery's temperature, capacity loss rate, charge and discharge interval and power consumption.

[0011] According to the above technical means, the target capacity loss rate model is used to dynamically control the first charge and discharge interval that is compatible with the current temperature, current power consumption and current capacity loss rate. While shortening the determination time of the first charge and discharge interval, the accuracy of the first charge and discharge interval is improved, and an optimal balance of battery performance, safety and economy can be achieved within the battery life cycle. At the same time, since the target capacity loss rate model can capture the nonlinear time series characteristics of battery capacity decay, the charge and discharge interval is dynamically corrected in combination with temperature and power consumption, which greatly reduces the life prediction error.

[0012] Furthermore, the target capacity loss rate model constructed is used to determine a first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery, including: using the target capacity loss rate model to determine a second charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery; and determining the first charge and discharge interval of the target battery based on the second charge and discharge interval of the target battery.

[0013] According to the above technical means, on the one hand, the target capacity loss rate model is used to dynamically control the second charge and discharge interval that is adapted to the current temperature, current power consumption and current capacity loss rate. While shortening the determination time of the second charge and discharge interval, the accuracy of the second charge and discharge interval is improved, and an optimal balance of battery performance, safety and economy can be achieved within the battery life cycle; on the other hand, the first charge and discharge interval is further determined based on the second charge and discharge interval to improve the rationality and accuracy of the first charge and discharge interval, and reduce the possibility of the first charge and discharge interval exceeding the safety boundary or the user-configured interval.

[0014] Furthermore, the target capacity loss rate model is as follows: ;in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

[0015] During battery use, loss of active materials and lithium materials are the main factors affecting battery life. Using an inappropriate charge and discharge range in an inappropriate environment exacerbates these issues. For example, discharging to 3% (the lower discharge limit commonly used for ternary lithium batteries) in an environment below 0°C can cause the battery structure to collapse due to excessively low voltage, seriously affecting battery life. Batteries that consume more than half of their designed power consumption will have a different capacity than a new battery, and using a fixed charge and discharge range will also affect their lifespan. Based on the aforementioned technical approach, because the target capacity loss rate model comprehensively considers the impact of temperature, power consumption, upper and lower charge limits on battery life, it can more accurately estimate the actual battery usage and adapt to more variable environments. This significantly improves the accuracy of battery life prediction and the precision of battery charge and discharge range decisions, further exploring the potential for improving battery life and achieving an optimal balance between performance, safety, and economy.

[0016] Furthermore, the first charge and discharge interval includes a first charging upper limit and a first discharging lower limit. The control of the charge and discharge of the target battery based on the first charge and discharge interval includes at least one of the following: during the charging of the target battery, when it is detected that the charge state of the target battery is adapted to the first charging upper limit, the current charging current of the target battery is adjusted to the target charging current or the charging of the target battery is stopped; during the parking of the vehicle, when it is detected that the charge state of the target battery is adapted to the target discharge lower limit, a preset prompt method is used to prompt the user to charge the target battery; wherein, the target discharge lower limit is determined based on the first discharge lower limit.

[0017] According to the above technical means, on the one hand, during the charging process, when the real-time monitoring state of charge is adapted to the first charging upper limit, the charging current is adjusted or charging is stopped in time, which can not only avoid the continuous oxidation and decomposition of the electrode material in the high SOC state and reduce the loss of active lithium, but also prevent the battery from being in a high SOC state for a long time, inhibit the decomposition of the electrolyte to produce gas and cause the battery to expand, thereby achieving the purpose of extending the battery life while preventing overcharging risks and actively defending against thermal runaway; on the other hand, during the parking process, when the real-time monitoring state of charge is adapted to the target discharge lower limit, the user is reminded to charge in time, which can not only reduce the possibility of damage to the electrode structure caused by excessive deintercalation of lithium ions, but also prevent the electrolyte from decomposing and producing gas due to low voltage environment, reduce the loss rate of active materials, thereby extending the life of the battery, and at the same time, reduce the possibility of downtime due to deep discharge causing power exhaustion to affect the user's car experience.

[0018] Furthermore, the control method also includes: constructing an initial capacity loss rate model; determining the target capacity loss rate model based on a data set and the initial capacity loss rate model; wherein the data set includes power consumption and capacity loss rate at different temperatures and different charge and discharge ranges.

[0019] According to the above technical means, on the one hand, according to the combination of different temperatures and different charge and discharge ranges, a variety of application scenarios can be covered, which improves the diversity and comprehensiveness of application scenarios, so that the target capacity loss rate model can accurately predict the life of various batteries in various application scenarios, while improving the accuracy of the prediction results and the flexibility of the prediction; on the other hand, the model parameters of the initial capacity loss rate model are continuously optimized according to the data set to obtain the target capacity loss rate model, which not only enables the target capacity loss rate model to accurately capture the nonlinear law of battery degradation, thereby greatly reducing the prediction error of battery life, but also can quantify the impact of temperature, charge and discharge range, and power consumption on life, making the prediction results closer to reality. At the same time, through data set-driven model optimization, systematic improvements can be achieved in dimensions such as accuracy, life, safety and economy.

[0020] Furthermore, determining the target capacity loss rate model based on the data set and the initial capacity loss rate model includes: extracting a first data set in a third charge and discharge interval and a second data set at a target temperature from the data set; determining initial parameters of the initial capacity loss rate model based on the first data set and the second data set; and determining the target capacity loss rate model based on the initial parameters and the initial capacity loss rate model.

[0021] According to the above technical means, on the one hand, part of the data set is extracted from the data set to preliminarily determine the initial parameters of the initial capacity loss rate model, which greatly reduces the amount of data and improves the modeling efficiency while ensuring accuracy; on the other hand, by optimizing the initial parameters to obtain the target capacity loss rate model, phased modeling is realized to ensure the optimality of the model parameters and achieve a systematic breakthrough in accuracy, efficiency and applicability.

[0022] Furthermore, the initial parameters of the initial capacity loss rate model include temperature-related parameters and charge-discharge interval-related parameters. The initial parameters of the initial capacity loss rate model are determined based on the first data set and the second data set, including: linearizing the initial capacity loss rate model to obtain a linearized initial capacity loss rate model; fitting the linearized initial capacity loss rate model based on the first data set to determine the temperature-related parameters; wherein the temperature-related parameters include a pre-exponential factor and a battery activation energy; fitting the linearized initial capacity loss rate model based on the second data set to determine the charge-discharge interval-related parameters; wherein the charge-discharge interval-related parameters include an exponential coefficient of the upper limit of charging, an exponential coefficient of the lower limit of discharging, a weight of the upper limit of charging, and a weight of the lower limit of discharging.

[0023] According to the above technical means, on the one hand, by linearizing the initial capacity loss rate model, the computational efficiency, stability and engineering applicability of the model can be significantly improved while retaining the key nonlinear characteristics; on the other hand, by fitting the linearized initial capacity loss rate model through different data sets to obtain the corresponding parameters, the accuracy of the parameters is improved, and the optimal balance of model accuracy, efficiency and applicability is achieved.

[0024] Furthermore, determining the target capacity loss rate model based on the initial parameters and the initial capacity loss rate model includes: based on a third data set in the data set, globally optimizing the initial parameters with minimizing the objective function as the optimization goal to obtain target parameters; and updating the initial capacity loss rate model based on the target parameters to obtain the target capacity loss rate model.

[0025] According to the above technical means, the target parameters of the target capacity loss rate model are determined through the third data set and optimization objectives. This not only improves the target parameter identification accuracy and stability to ensure the optimization of model parameters, but also enhances the generalization ability and cross-scenario adaptability of the target capacity loss rate model. At the same time, through the collaborative innovation of objective function design and optimization, an optimal balance between accuracy, real-timeness and applicability is achieved.

[0026] A battery management system, comprising:

[0027] A collection device, configured to obtain current information of a target battery of a vehicle, wherein the current information of the target battery includes a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0028] The controller is configured to determine a first charge and discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; and control the charge and discharge of the target battery based on the first charge and discharge interval.

[0029] According to the above technical means, on the one hand, the temperature, power consumption and capacity loss rate of the target battery are obtained in real time through the acquisition device integrated in the battery management system to realize real-time monitoring and precise control of the battery; on the other hand, the controller determines the first charge and discharge interval of the target battery according to the current temperature, current power consumption and current capacity loss rate of the target battery. Since the first charge and discharge interval comprehensively considers the influence of temperature, power consumption and capacity loss rate, the accuracy of the charge and discharge interval is improved; on the other hand, the controller controls the SOC of the target battery within a reasonable first charge and discharge interval. Compared with the charge and discharge interval set by manual experience in the related art, firstly, the rationality, flexibility and intelligence of the charge and discharge interval regulation are improved; secondly, not only the battery life is greatly extended under different temperature conditions, thereby postponing the battery replacement cycle to reduce operation and maintenance costs, but also the safety risk is reduced, the uniformity of capacity distribution is improved and resource utilization is improved, thereby improving the reliability and efficiency of the battery management system. Finally, the battery life is improved to better meet the user's usage needs, thereby improving the user's car experience.

[0030] A battery charging and discharging control device, comprising:

[0031] an acquisition module, configured to acquire current information of a target battery of a vehicle, the current information of the target battery including a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0032] a determination module, configured to determine a first charge-discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0033] A control module is configured to control the charging and discharging of the target battery based on the first charging and discharging interval.

[0034] An electronic device includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any one of the above methods is implemented.

[0035] A computer-readable storage medium stores a computer program, which implements any of the above methods when executed by a processor.

[0036] A computer program product comprises a computer program or instructions, wherein when the computer program or instructions are executed by a processor, any of the above methods is implemented.

[0037] Beneficial effects of this application:

[0038] (1) Based on the combination of different temperatures and different charge and discharge ranges, a variety of application scenarios can be covered, which improves the diversity and comprehensiveness of application scenarios. As a result, the target capacity loss rate model can accurately predict the life of various batteries in various application scenarios, improving the accuracy of the prediction results while increasing the flexibility of the prediction.

[0039] (2) The model parameters of the initial capacity loss rate model are continuously optimized according to the data set to obtain the target capacity loss rate model. This not only enables the target capacity loss rate model to accurately capture the nonlinear law of battery degradation, thereby greatly reducing the prediction error of battery life, but also quantifies the impact of temperature, charge and discharge range, and power consumption on life, making the prediction results closer to reality. At the same time, through data set-driven model optimization, systematic improvements can be achieved in dimensions such as accuracy, life, safety, and economy.

[0040] (3) By linearizing the initial capacity loss rate model, the computational efficiency, stability, and engineering applicability of the model can be significantly improved while retaining the key nonlinear characteristics.

[0041] (4) By combining staged fitting and global optimization, the target capacity loss rate model is obtained to ensure the optimality of the model parameters and achieve a systematic breakthrough in accuracy, efficiency and applicability;

[0042] (5) The target capacity loss rate model is used to dynamically adjust the first charge and discharge interval that is compatible with the current temperature, current power consumption, and current capacity loss rate. This shortens the duration of the first charge and discharge interval and improves the accuracy of the first charge and discharge interval. This allows for an optimal balance of battery performance, safety, and economy over the battery life cycle. Furthermore, since the target capacity loss rate model can capture the nonlinear time series characteristics of battery capacity attenuation, the charge and discharge interval is dynamically corrected in combination with temperature and power consumption, significantly reducing the life prediction error.

[0043] (6) The SOC of the target battery is controlled within a reasonable first charge and discharge range. Compared with the charge and discharge range set by manual experience in related technologies, firstly, the rationality, flexibility and intelligence of the charge and discharge range are improved. Secondly, it not only greatly extends the battery life under different temperature conditions, thereby delaying the battery replacement cycle to reduce operation and maintenance costs, but also reduces safety risks, improves the uniformity of capacity distribution and improves resource utilization. Finally, it improves the battery's cruising range to better meet the user's usage needs, thereby improving the user's car experience.

[0044] (7) During the charging process, when the real-time monitoring state of charge is adapted to the first charging upper limit, the charging current is adjusted in time or charging is stopped. This can not only avoid the continuous oxidation and decomposition of the electrode material in the high SOC state and reduce the loss of active lithium, but also prevent the battery from being in a high SOC state for a long time, inhibit the decomposition of the electrolyte to produce gas and cause the battery to swell, thereby achieving the purpose of extending the battery life while preventing the risk of overcharging and actively preventing thermal runaway;

[0045] (8) During parking, when the real-time monitoring of the state of charge matches the target lower limit of discharge, the user is reminded to charge in time. This can not only reduce the possibility of damage to the electrode structure due to excessive deintercalation of lithium ions, but also prevent the electrolyte from decomposing and producing gas due to low voltage environment, reduce the loss rate of active materials, and thus extend the life of the battery. At the same time, it can also reduce the possibility of downtime due to deep discharge causing power exhaustion and affecting the user's car experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 1 ;

[0047] Figure 2 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 2 ;

[0048] Figure 3 A schematic diagram of the structure of a battery management system provided in an embodiment of the present application;

[0049] Figure 4 A schematic diagram of some experimental data provided in the examples of this application;

[0050] Figure 5 A schematic diagram illustrating the effect of charge and discharge intervals on the capacity loss rate of a battery provided in an embodiment of the present application;

[0051] Figure 6 A schematic diagram of the relationship between capacity loss rate and power consumption provided in an embodiment of the present application;

[0052] Figure 7 A schematic diagram of global optimization using the LM algorithm provided in an embodiment of the present application;

[0053] Figure 8 A schematic diagram of the capacity loss rate of a battery provided in an embodiment of the present application;

[0054] Figure 9 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 3 ;

[0055] Figure 10 A schematic diagram of the structure of a battery charging and discharging control device provided in an embodiment of the present application;

[0056] Figure 11 A hardware entity diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will describe the embodiments of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand the other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for the purpose of illustrating the present application and are not intended to limit the scope of protection of the present application.

[0058] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application and are not drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component can be changed at will, and the component layout type may also be more complicated.

[0059] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0060] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0062] In the field of modern battery technology, the Battery Management System (BMS) plays a key role in ensuring battery safety, extending battery life, and improving operational efficiency. Charge and discharge control technology is a crucial component of the BMS, as its rational regulation effectively balances battery charge and discharge efficiency, cycle life, and safety.

[0063] In related technologies, the charge and discharge of batteries are basically controlled based on the charge and discharge range set by manual experience. For example, the charge and discharge range for lithium iron phosphate batteries is 0%~100%, and the charge and discharge range for ternary lithium batteries is 3%~97%. In actual use, the temperature environment in which the battery is located is variable. Especially in high-altitude cold or high-temperature areas, temperature fluctuations have a significant impact on the charge and discharge and service life of the battery. For example, in a low-temperature environment, the capacity of the battery is relatively reduced. If it is still controlled according to the optimal discharge depth under normal temperature conditions, it may cause the battery to over-discharge, thereby accelerating aging; on the other hand, in a high-temperature environment, the internal resistance of the battery increases. If it is in a deep charge state for a long time, it will also cause the risk of thermal runaway.

[0064] At present, relevant solutions do not take into account the multiple effects of the charge and discharge range and temperature on the battery life, nor do they pay attention to the different effects of the upper limit of the charge and discharge range on the battery life. At the same time, if the set charge and discharge range is too large, for example, the lower limit of the discharge range is too small (i.e., deep discharge) and the upper limit of the charge and discharge range is too large (i.e., deep charge), then not only will the battery life be shortened, but the internal pressure of the battery may also increase abnormally, increasing the risk of short circuit, thermal runaway and even explosion; if the set charge and discharge range is too small, for example, the lower limit of the discharge range is too large (i.e., shallow discharge) and the upper limit of the charge and discharge range is too small (i.e., shallow charge), then not only will the battery not be fully utilized, resulting in a waste of resources, but it may also cause uneven distribution of battery capacity, reducing the overall available capacity.

[0065] The present application provides a method for controlling battery charge and discharge. On the one hand, a first charge and discharge interval of a target battery is determined based on the current temperature, current power consumption, and current capacity loss rate of the target battery. Because the first charge and discharge interval comprehensively considers the effects of temperature, power consumption, and capacity loss rate, the accuracy of the charge and discharge interval is improved. On the other hand, the SOC of the target battery is controlled within a reasonable first charge and discharge interval. Compared with the charge and discharge interval set by manual experience in the related art, the rationality, flexibility, and intelligence of the charge and discharge interval control are improved. Secondly, the battery life is greatly extended under different temperature conditions, thereby delaying the battery replacement cycle and reducing operation and maintenance costs. Furthermore, safety risks are reduced, the uniformity of capacity distribution is improved, and resource utilization is improved. Finally, the battery's driving range is improved to better meet user needs, thereby improving the user's vehicle experience. The method provided in the present application can be executed by an electronic device, which can be various types of terminals such as laptops, tablet computers, desktop computers, in-vehicle terminals, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), and can also be implemented as a server. A server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0066] Below, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application.

[0067] Figure 1 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the method includes steps S11 to S13, wherein:

[0068] Step S11: Acquire current information of a target battery of the vehicle, where the current information of the target battery includes a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery.

[0069] Here, current information may refer to battery information at a specific moment or time period. This current information may be acquired in any suitable manner. For example, the current information may be read from a data acquisition device of the BMS. The data acquisition device may be any suitable device capable of performing this function, such as a sampling circuit or sensor. Another example is receiving the current information sent by the data acquisition device.

[0070] The current temperature can be the temperature at a specific moment, or it can be the maximum temperature, minimum temperature, or average temperature over a specific period of time. In some embodiments, the current temperature can be the battery temperature at a specific location, or it can be determined by the battery temperatures at multiple locations. For example, because the heat dissipation capabilities of individual battery cells in a battery vary, i.e., the temperatures of different battery cells may differ, the acquisition device may include temperature sensors located at multiple locations on the target battery, and the average of the battery temperatures collected by the multiple temperature sensors is used as the current temperature. For another example, the acquisition device may obtain the current temperature via an onboard system.

[0071] The current power consumption can be the power consumption at a specific moment or over a specific period. For example, the acquisition device can directly obtain the target battery's power consumption via the instrument panel or central control screen. In another example, the acquisition device includes a current sensor and determines the power consumption by accumulating the charge and discharge currents collected by the current sensor.

[0072] The current capacity loss rate can be the capacity loss rate at a specific moment or over a specific period of time. The capacity loss rate can also be referred to as the capacity or capacity retention rate. This capacity loss rate is used to indicate battery life. For example, the acquisition device directly obtains battery life through an onboard system or application software. In another example, the acquisition device includes sensors that collect parameters such as internal resistance and voltage, and determines battery life based on these parameters.

[0073] Step S12: Determine a first charge-discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery.

[0074] Here, the charge and discharge interval (including the first charge and discharge interval and other charge and discharge intervals mentioned later) is determined by the discharge lower limit and charging limit The upper limit of the charge interval refers to the maximum value that the battery's SOC can reach during charging, and the lower limit of the discharge interval refers to the minimum value that the battery's SOC can reach during discharging. The charge and discharge interval can be any suitable interval, for example, [0%, 90%], [10%, 100%], etc. Different batteries can have the same or different charge and discharge intervals. The charge and discharge interval can be determined in any suitable manner.

[0075] In some embodiments, a correspondence between various temperatures, various power consumptions, various capacity loss rates, and various charge and discharge intervals can be pre-established. Based on this correspondence, a first charge and discharge interval that is compatible with the current temperature, current power consumption, and current capacity loss rate can be obtained. In some embodiments, a second charge and discharge interval that is compatible with the current temperature, current power consumption, and current capacity loss rate can be obtained based on this correspondence, and then the first charge and discharge interval is determined based on this second charge and discharge interval. For example, the second charge and discharge interval can be used as the first charge and discharge interval. In another example, the second charge and discharge interval can be constrained according to user settings or safety margins to obtain the first charge and discharge interval.

[0076] In some embodiments, a pre-established target capacity loss rate model can be used to determine the first charge / discharge interval based on the current temperature, current power consumption, and current capacity loss rate. The target capacity loss rate model can be any suitable mathematical model or neural network model capable of implementing this function. In some embodiments, the second charge / discharge interval can be first determined based on the target capacity loss rate model, and then the first charge / discharge interval can be determined based on the second charge / discharge interval.

[0077] Step S13: Controlling the charge and discharge of the target battery based on the first charge and discharge interval.

[0078] Here, by controlling the target battery's SOC to charge and discharge within the charge / discharge interval, the target battery's SOC remains within a reasonable charge / discharge interval for a long period of time, thereby significantly extending the target battery's lifespan. Controlling the target battery's charge and discharge may include, but is not limited to, adjusting charging parameters, stopping charging, prompting the user to charge, and adjusting discharge parameters. Charging parameters may include, but are not limited to, charging current, charge rate, charge duration, charge mode, charge temperature, and charge voltage. Discharge parameters may include, but are not limited to, discharge duration, discharge current, discharge temperature, and discharge voltage. For example, during charging, the target battery's SOC is monitored in real time. When the SOC matches the upper charge limit of the charge / discharge interval, the charging current is reduced or charging is stopped to ensure that the target battery's SOC does not exceed the upper charge limit. For another example, during parking, when the SOC matches the lower discharge limit of the charge / discharge interval, a preset prompt is used to prompt the user to charge or reduce the power to ensure that the target battery's SOC does not fall below the lower discharge limit. Prompts may include, but are not limited to, voice and text. For example, a prompt to charge may be displayed on the central control screen or instrument panel.

[0079] In an embodiment of the present application, on the one hand, a first charge and discharge interval of the target battery is determined based on the current temperature, current power consumption and current capacity loss rate of the target battery. Since the first charge and discharge interval comprehensively considers the influence of temperature, power consumption and capacity loss rate, the accuracy of the charge and discharge interval is improved; on the other hand, the SOC of the target battery is controlled within a reasonable first charge and discharge interval. Compared with the charge and discharge interval set by manual experience in related technologies, firstly, the rationality, flexibility and intelligence of the charge and discharge interval regulation are improved. Secondly, not only the battery life is greatly extended under different temperature conditions, thereby postponing the battery replacement cycle to reduce operation and maintenance costs, but also the safety risk is reduced, the uniformity of capacity distribution is improved and resource utilization is improved. Finally, the battery life is improved to better meet the user's usage needs, thereby improving the user's car experience.

[0080] In some embodiments, step S12 includes step S121, wherein:

[0081] Step S121 : using the constructed target capacity loss rate model, based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery, determine a first charge and discharge interval of the target battery.

[0082] Here, the target capacity loss rate model represents the relationship between the battery's temperature, capacity loss rate, charge / discharge interval, and power consumption. The target capacity loss rate model can be any suitable neural network model, mathematical model, mapping table, etc. that can achieve this function.

[0083] In some embodiments, a target capacity loss rate model can be constructed based on factors that affect the battery's capacity loss rate. These factors may include at least temperature, power consumption, and charge / discharge intervals. In some embodiments, these factors may also include, but are not limited to, charge rate and time.

[0084] In some embodiments, the target capacity loss rate model can be expressed by the following formula (1-1), where:

[0085] (1-1);

[0086] in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

[0087] In the target capacity loss rate model, the pre-exponential factor and battery activation energy is the identified temperature-related parameter, the exponential coefficient of the battery's upper charging limit , exponential coefficient of the battery's lower discharge limit , the weight of the battery's upper charging limit and the weight of the battery's lower discharge limit In implementation, by determining the temperature-related parameters to be identified and the charge-discharge interval-related parameters to be identified, the target capacity loss rate model can be obtained.

[0088] In some implementations, to reduce the amount of calculation, the weight of the battery's upper charging limit may be set to 1.

[0089] In this way, since the loss of active materials and lithium materials is the main reason affecting the battery life during the use of the battery, the use of inappropriate charge and discharge ranges in an inappropriate environment will aggravate the above problems. Then, the target capacity loss rate model comprehensively considers the impact of temperature, power consumption, upper and lower charge limits on battery life. It can more accurately estimate the actual use of the battery and adapt to more changing environments. It greatly improves the prediction accuracy of battery life and the accuracy of battery charge and discharge range decisions, further explores the potential for improving battery life, and achieves the optimal balance between performance, safety and economy.

[0090] The first charge-discharge interval may be determined in any appropriate manner.

[0091] In some embodiments, the current temperature, current power consumption, and current capacity loss rate are input into the target capacity loss rate model to directly obtain the first charge-discharge interval. Alternatively, the upper charge limit and lower discharge limit are first obtained, and then the interval consisting of the lower discharge limit and the upper charge limit is used as the first charge-discharge interval. In some embodiments, the upper charge limit, current temperature, current power consumption, and current capacity loss rate of the target battery, set based on actual experience, can be input into the above formula (1-1) to obtain the lower discharge limit. In this way, the interval consisting of the set upper charge limit and the lower discharge limit solved by formula (1-1) is used as the first charge-discharge interval. In some embodiments, the lower discharge limit, current temperature, current power consumption, and current capacity loss rate of the target battery, set based on actual experience, can also be input into the above formula (1-1) to obtain the upper charge limit. In this way, the interval consisting of the set lower discharge limit and the upper charge limit solved by formula (1-1) is used as the first charge-discharge interval. In this way, by first setting the upper charge limit or the lower discharge limit, the model can reduce the computational complexity of solving the two parameters while also taking into account the characteristics of the target battery itself. In some embodiments, because the battery's lower discharge limit has a greater impact on the battery's capacity loss rate, and because the battery should discharge as much electricity as possible during a charge-discharge cycle, the lower discharge limit is generally set at approximately 10% to 20%. It is understood that different batteries may have different target capacity loss rate models, but the process for establishing these models for each battery is similar. Furthermore, different batteries may have different upper or lower charge limits or discharge limits.

[0092] In some embodiments, the current temperature, current power consumption, and current capacity loss rate are input into the target capacity loss rate model to obtain a second charge-discharge interval, and the first charge-discharge interval is determined based on the second charge-discharge interval. In some embodiments, the target battery's upper charge limit, current temperature, current power consumption, and current capacity loss rate, set based on actual experience, can be input into the above formula (1-1) to obtain a lower discharge limit. In this way, the interval consisting of the set upper charge limit and the lower discharge limit solved by formula (1-1) is used as the second charge-discharge interval. In some embodiments, the target battery's lower discharge limit, current temperature, current power consumption, and current capacity loss rate, set based on actual experience, can also be input into the above formula (1-1) to obtain a upper charge limit. In this way, the interval consisting of the set lower discharge limit and the upper charge limit solved by formula (1-1) is used as the second charge-discharge interval.

[0093] In the implementation mode of the present application, a target capacity loss rate model is used to dynamically control the first charge and discharge interval that is compatible with the current temperature, current power consumption and current capacity loss rate. This shortens the determination time of the first charge and discharge interval while improving the accuracy of the first charge and discharge interval. This can achieve an optimal balance between battery performance, safety and economy within the battery life cycle. At the same time, since the target capacity loss rate model can capture the nonlinear time series characteristics of battery capacity decay, the charge and discharge interval is dynamically corrected in combination with temperature and power consumption, thereby greatly reducing the life prediction error.

[0094] In some implementations, step S121 includes step S1211 and step S1212, wherein:

[0095] Step S1211 : Determine a second charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery by using the target capacity loss rate model.

[0096] Here, by inputting the current temperature, current power consumption, and current capacity loss rate into the target capacity loss rate model, the second charge and discharge interval can be obtained, or the upper and lower limits of charge and discharge can be obtained first, and then the interval consisting of the lower and upper limits of discharge can be used as the second charge and discharge interval. For example, using the above formula (1-1), and , and then by and The interval composed of , ] as the second charge and discharge interval.

[0097] Step S1212: Determine the first charge-discharge interval of the target battery based on the second charge-discharge interval of the target battery.

[0098] Here, the first charge-discharge interval and the second charge-discharge interval may be the same or different. The first charge-discharge interval being different from the second charge-discharge interval may mean that the lower discharge limit of the first charge-discharge interval is different from the lower discharge limit of the second charge-discharge interval, and / or the upper charge limit of the first charge-discharge interval is different from the upper charge limit of the second charge-discharge interval. For example, the lower discharge limit of the first charge-discharge interval is greater than the lower discharge limit of the second charge-discharge interval. In another example, the upper charge limit of the first charge-discharge interval is less than the upper charge limit of the second charge-discharge interval.

[0099] The first charge-discharge interval can be determined in any suitable manner. In some embodiments, the second charge-discharge interval is used as the first charge-discharge interval. In some embodiments, the second charge-discharge interval can be modified based on user settings, safety margins, etc. to obtain the first charge-discharge interval. For example, the second charge-discharge interval can be modified based on the acceptable charge-discharge interval set by the user to obtain the first charge-discharge interval. In another example, the second charge-discharge interval can be modified based on the safety margin allowed by the target battery to obtain the first charge-discharge interval.

[0100] In the implementation mode of the present application, on the one hand, the target capacity loss rate model is used to dynamically control the second charge and discharge interval that is adapted to the current temperature, current power consumption and current capacity loss rate, thereby shortening the determination time of the second charge and discharge interval and improving the accuracy of the second charge and discharge interval, thereby achieving an optimal balance between battery performance, safety and economy within the battery life cycle; on the other hand, the first charge and discharge interval is further determined based on the second charge and discharge interval to improve the rationality and accuracy of the first charge and discharge interval, thereby reducing the possibility of the first charge and discharge interval exceeding the safety boundary or the user-configured interval.

[0101] In some embodiments, the first charge-discharge interval includes a first upper charge limit and a first lower discharge limit, and step S13 includes step S131 and / or step S132, wherein:

[0102] Step S131 : During charging of a target battery, when it is detected that the state of charge of the target battery matches a first charging upper limit, the current charging current of the target battery is adjusted to a target charging current or charging of the target battery is stopped.

[0103] Here, the adaptation of SOC to the first charging upper limit can be that SOC is the same as the first charging upper limit, or that SOC is close to the first charging upper limit. The target charging current can be any suitable current, and the target charging current should be less than the current charging current. In some embodiments, the set charging current can be directly used as the target charging current, or the target charging current can be determined based on the charging time, temperature, etc. For example, the target charging current is determined based on the maximum temperature difference, average temperature, etc. between the temperatures at multiple locations of the target battery. For example, the greater the maximum temperature difference, the smaller the target charging current. For another example, different average temperatures or different maximum temperature differences correspond to different charging currents. During implementation, the charging current is adjusted or charging is stopped so that the SOC of the target battery does not exceed the first charging upper limit.

[0104] Step S132: During parking, when it is detected that the state of charge of the target battery matches the target discharge lower limit, a preset prompt is provided to prompt the user to charge the target battery; wherein the target discharge lower limit is determined based on the first discharge lower limit.

[0105] Here, the target discharge lower limit should not be less than the first discharge lower limit, and the target discharge lower limit can be determined in any appropriate manner. In some embodiments, the first discharge lower limit can be used as the target discharge lower limit. For example, the first discharge lower limit The sum of the first and second preset values ​​is used as the target discharge lower limit. For example, the target discharge lower limit is (first +10%). The SOC and the target discharge lower limit may be adapted so that the SOC and the target discharge lower limit are the same or close to each other.

[0106] The prompting method may include, but is not limited to, any suitable method such as voice or text. For example, a user may be prompted to charge via a central control screen or instrument panel. Another example is a vehicle voice prompt, which may be any suitable device capable of playing sound. During implementation, prompting the user to charge in a timely manner ensures that the target battery's SOC does not fall below the first lower discharge limit.

[0107] In the implementation mode of the present application, on the one hand, during the charging process, when the real-time monitoring state of charge is adapted to the first charging upper limit, the charging current is adjusted or charging is stopped in time, which can not only avoid the continuous oxidative decomposition of the electrode material in the high SOC state and reduce the loss of active lithium, but also prevent the battery from being in a high SOC state for a long time, inhibit the decomposition of the electrolyte to produce gas and cause the battery to expand, thereby achieving the purpose of extending the battery life while preventing the risk of overcharging and actively preventing thermal runaway; on the other hand, during the parking process, when the real-time monitoring state of charge is adapted to the target discharge lower limit, the user is reminded to charge in time, which can not only reduce the possibility of damage to the electrode structure caused by excessive deintercalation of lithium ions, but also prevent the electrolyte from decomposing and producing gas due to low voltage environment, reduce the loss rate of active materials, thereby extending the life of the battery, and at the same time, reduce the possibility of downtime due to exhaustion of power due to deep discharge, thereby affecting the user's car experience.

[0108] Figure 2 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 2 ,like Figure 2 As shown, the method includes steps S21 to S25, wherein:

[0109] Step S21: construct an initial capacity loss rate model.

[0110] Here, the initial capacity loss rate model can be any suitable representation of the relationship between the battery's temperature, capacity loss rate, charge / discharge interval, and power consumption. The initial capacity loss rate model can be any suitable neural network model, mathematical model, mapping table, etc. that can achieve this function.

[0111] In some embodiments, an initial capacity loss rate model can be constructed based on factors that affect the capacity loss rate of the battery. These factors may include at least temperature, power consumption, and charge / discharge interval. In some embodiments, these factors may also include, but are not limited to, charge rate, time, and the like.

[0112] In some embodiments, the initial capacity loss rate model is a modified Arrhenius model. The Arrhenius model was originally used to describe the change of chemical reaction rate with temperature and can be expressed by the following formula (2-1), namely:

[0113] (2-1);

[0114] in, represents the reaction rate, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates temperature.

[0115] The Arrhenius model was subsequently used to predict the calendar life and cycle life of batteries. However, the Arrhenius model did not consider the upper and lower limits of the charge and discharge range and the impact of power consumption on battery life. Therefore, in this application, the Arrhenius model was improved by introducing a charge upper limit. , discharge lower limit and power consumption Impact on battery life. In some embodiments, the initial capacity loss rate model can be expressed by the following formula (2-2), where:

[0116] (2-2);

[0117] in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

[0118] In the initial capacity loss rate model, the pre-exponential factor and battery activation energy is the temperature-related parameter to be identified, and the exponential coefficient of the battery's upper charging limit , the exponential coefficient of the battery's lower discharge limit, and the weight of the battery's upper charge limit and the weight of the battery's lower discharge limit In implementation, by determining the temperature-related parameter to be identified and the charge-discharge interval-related parameter to be identified, the target capacity loss rate model can be obtained.

[0119] In some implementations, to reduce the amount of calculation, the weight of the battery's upper charging limit may be set to 1.

[0120] Step S22: determining a target capacity loss rate model based on the data set and the initial capacity loss rate model; wherein the data set includes power consumption and capacity loss rate at different temperatures and different charge and discharge ranges.

[0121] Here, the data set can be any suitable data set. For example, the data set can be an existing historical data set. For another example, the data set can be a data set generated based on experimentally measured data. In some embodiments, the data set is the basis for establishing an initial capacity loss rate model, and the power consumption and capacity loss rate of the battery at different temperatures and different charge and discharge intervals can be obtained through experiments. During implementation, a series of combinations of temperature and charge and discharge intervals can be set to cover actual application scenarios, and repeated experiments can be performed by changing the temperature and charge and discharge intervals to obtain a diverse data set. The temperature can be any suitable temperature, for example, -20°C, -10°C, 0°C, 15°C, 25°C, etc. The charge and discharge interval can be any suitable interval. For example, [0%, 90%], [0%, 100%], [10%, 90%], [10%, 100%], etc.

[0122] In some embodiments, the dataset can be a data table. Preprocessing the experimental data to obtain this dataset can provide high-quality data support for subsequent model improvement, parameter fitting, and the like. Preprocessing may include, but is not limited to, filtering, calibration, and fitting. Filtering is primarily used to remove noise from the experimental data. During implementation, the experimental data can be filtered using a preset filtering algorithm to obtain a dataset. This filtering algorithm may include, but is not limited to, clipping filtering, averaging filtering, median filtering, sliding filtering, and dithering filtering. Calibration is primarily used to eliminate errors and drift in acquisition devices such as sensors. During implementation, the experimental data can be calibrated using a preset calibration algorithm to obtain a dataset. This calibration algorithm may include, but is not limited to, zero offset calibration, scale calibration, temperature compensation, and linearization. Fitting is primarily used to reduce errors and smooth data. In some embodiments, the data collected by the sensor may be affected by various factors, such as errors in the sensor itself and changes in environmental conditions. Therefore, fitting can correct errors in the data collected by the sensor and improve measurement accuracy. In some embodiments, under certain circumstances, the sensor may not be able to obtain complete data, resulting in missing values. Therefore, fitting can be used to predict missing values ​​based on existing data points, making the data more complete. In some embodiments, the sensor data may contain noise or sudden fluctuations. Therefore, fitting can be used to smooth the data and remove noise, making the data more stable and reliable.

[0123] The target capacity loss rate model may be determined in any appropriate manner.

[0124] In some embodiments, initial parameters of the initial capacity loss rate model can be first determined based on some data in the dataset, and then a target capacity loss rate model can be determined based on the initial parameters and the initial capacity loss rate model. For example, based on some data in the dataset, the initial parameters can be globally optimized to obtain target parameters, and the target parameters can be updated to the initial capacity loss rate model to obtain the target capacity loss rate model.

[0125] In some embodiments, an optimization algorithm is used to iteratively optimize the initial capacity loss rate model based on the data set to obtain a target capacity loss rate model. The optimization algorithm can be any suitable algorithm, such as a genetic algorithm, a particle swarm optimization algorithm, a Levenberg-Marquardt (LM) algorithm, a least squares method, etc.

[0126] Step S23: Acquire current information of the target battery of the vehicle, where the current information of the target battery includes the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery.

[0127] Step S24 : determining a first charge-discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery.

[0128] Step S25: Controlling the charge and discharge of the target battery based on the first charge and discharge interval.

[0129] Here, the above steps S23 to S25 correspond to the above steps S11 to S13 respectively. When implementing, please refer to the specific implementation of the above steps S11 to S13.

[0130] In the embodiments of the present application, on the one hand, according to the combination of different temperatures and different charge and discharge ranges, a variety of application scenarios can be covered, which improves the diversity and comprehensiveness of the application scenarios, so that the target capacity loss rate model can accurately predict the life of various batteries in various application scenarios, while improving the accuracy of the prediction results and the flexibility of the prediction; on the other hand, the model parameters of the initial capacity loss rate model are continuously optimized according to the data set to obtain the target capacity loss rate model, which not only enables the target capacity loss rate model to accurately capture the nonlinear law of battery degradation, thereby greatly reducing the prediction error of battery life, but also can quantify the impact of temperature, charge and discharge range, and power consumption on life, so that the prediction results are closer to reality. At the same time, through data set-driven model optimization, systematic improvements can be achieved in dimensions such as accuracy, life, safety and economy.

[0131] In some embodiments, step S22 includes steps S221 to S223, wherein:

[0132] Step S221: extracting a first data set in a third charge-discharge interval and a second data set at a target temperature from the data set.

[0133] Here, the third charge-discharge interval can be a single charge-discharge interval or at least two charge-discharge intervals. For example, a single charge-discharge interval can be used as the third charge-discharge interval. During implementation, all data within the third charge-discharge interval is used as the first data set, i.e., the charge-discharge intervals in the first data set are fixed.

[0134] The target temperature may be a certain temperature or at least two temperatures. For example, a certain temperature is used as the target temperature. During implementation, all data under the target temperature are used as the second data set, that is, the temperature in the second data set is fixed.

[0135] Step S222: Determine initial parameters of the initial capacity loss rate model based on the first data set and the second data set.

[0136] Here, the initial parameters may include but are not limited to at least one of temperature-related parameters, charge and discharge interval-related parameters, etc. The temperature-related parameters may include but are not limited to at least one of pre-exponential factors, battery activation energy, etc. The charge and discharge interval-related parameters may include but are not limited to at least one of the exponential coefficient of the upper limit of charge, the exponential coefficient of the lower limit of discharge, the weight of the upper limit of charge, the weight of the lower limit of discharge, etc. In some embodiments, the weight of the upper limit of charge can be set to 1, then the charge and discharge interval-related parameters may include but are not limited to at least one of the exponential coefficient of the upper limit of charge, the exponential coefficient of the lower limit of discharge, the weight of the lower limit of discharge, etc.

[0137] The initial parameters may be determined in any suitable manner. In some embodiments, the initial parameters may be obtained by fitting the first data set and the second data set. In some embodiments, the initial parameters may be determined based on the first data set and the second data set through deep learning.

[0138] Step S223: Determine a target capacity loss rate model based on the initial parameters and the initial capacity loss rate model.

[0139] Here, the target parameters can be determined based on the initial parameters, and then the target parameters can be updated into the initial capacity loss rate model to obtain the target capacity loss rate model. Alternatively, the initial parameters can be updated into the initial capacity loss rate model to obtain an updated initial capacity loss rate model, and then the target capacity loss rate model can be determined based on the updated initial capacity loss rate model.

[0140] In the implementation mode of the present application, on the one hand, part of the data set is extracted from the data set to preliminarily determine the initial parameters of the initial capacity loss rate model, which greatly reduces the amount of data and improves the modeling efficiency while ensuring accuracy; on the other hand, by optimizing the initial parameters to obtain the target capacity loss rate model, staged modeling is realized, ensuring the optimality of the model parameters and achieving a systematic breakthrough in accuracy, efficiency and applicability.

[0141] In some embodiments, the initial parameters of the initial capacity loss rate model include temperature-related parameters and charge-discharge interval-related parameters. Step S222 includes steps S2221 to S2223, wherein:

[0142] Step S2221: linearize the initial capacity loss rate model to obtain a linearized initial capacity loss rate model.

[0143] Here, the linearization process may include but is not limited to logarithmic linearization, power function transformation, piecewise linearization, etc. During implementation, the initial capacity loss rate model is linearized to facilitate subsequent parameter fitting.

[0144] In some embodiments, when the initial capacity loss rate model is the formula shown in (2-2), then the initial capacity loss rate model can be logarithmically linearized. The linearized initial capacity loss rate model can be expressed by the following formula (2-3), namely:

[0145] (2-3);

[0146] in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

[0147] Step S2222: Fit the linearized initial capacity loss rate model based on the first data set to determine temperature-related parameters.

[0148] Here, the temperature-dependent parameters include the pre-exponential factor and the battery activation energy. The fitting method can be any suitable method, such as linear regression, least squares method, extended Kalman filter, etc. In implementation, since the charge and discharge intervals in the first data set are fixed, the temperature-dependent parameters can be fitted using the fitting method by varying the temperature.

[0149] Step S2223: Fit the linearized initial capacity loss rate model based on the second data set to determine charge and discharge interval associated parameters.

[0150] Here, the charge-discharge interval associated parameters include an exponential coefficient for the upper charge limit, an exponential coefficient for the lower discharge limit, a weight for the upper charge limit, and a weight for the lower discharge limit. In some embodiments, the weight for the upper charge limit can be set to 1. Then, the charge-discharge interval associated parameters include an exponential coefficient for the upper charge limit, an exponential coefficient for the lower discharge limit, and a weight for the lower discharge limit.

[0151] The fitting method can be any appropriate method, such as linear regression, least squares method, extended Kalman filter, etc. In implementation, since the temperature in the second data set is fixed, the charge and discharge interval associated parameters are fitted using a fitting method by changing the upper charge limit and the lower discharge limit.

[0152] In the implementation manner of the present application, on the one hand, by linearizing the initial capacity loss rate model, the computational efficiency, stability and engineering applicability of the model can be significantly improved while retaining the key nonlinear characteristics; on the other hand, by fitting the linearized initial capacity loss rate model through different data sets to obtain corresponding parameters, the accuracy of the parameters is improved, and the optimal balance of the model in terms of accuracy, efficiency and applicability is achieved.

[0153] In some embodiments, step S223 includes step S2231 and step S2232, wherein:

[0154] Step S2231: Based on the third data set in the data set, with minimizing the objective function as the optimization goal, globally optimize the initial parameters to obtain the target parameters.

[0155] Here, the third data set may be the first data set and / or the second data set, or another data set in the data set. The third data set includes at least one sample, which is composed of temperature, capacity loss rate, charge and discharge interval, and power consumption.

[0156] The objective function may be any suitable function. In some embodiments, the objective function may be established based on the capacity loss rates predicted by the initial capacity loss rate model and the capacity loss rates in the third data set. In some embodiments, minimizing the objective function may be expressed by the following formula (2-4), namely:

[0157] (2-4);

[0158] in, represents the number of samples contained in the third data set, Indicates the The capacity loss rate measured for each sample is The initial capacity loss rate model predicts the The capacity loss rate of the samples, is the minimization function.

[0159] The target parameters include identified temperature-related parameters, identified charge-discharge interval-related parameters, and an identified power consumption attenuation exponent. In some embodiments, an optimization algorithm can be used to optimize the initial parameters based on the third dataset, with minimizing an objective function as the optimization goal, to obtain the target parameters. The optimization algorithm can be any suitable algorithm, such as a genetic algorithm, a particle swarm optimization algorithm, a Levenberg-Marquardt (LM) algorithm, or a least squares method.

[0160] In some embodiments, each parameter to be identified can be initialized and bounded, and its range can be set to prevent the optimized parameter from not conforming to its physical meaning. Then, an iterative optimization is performed based on the third data set according to the constructed iterative function until convergence is met. The iterative function can be any suitable function capable of expressing iteration. In some embodiments, the iterative function can be expressed by the following formula (2-5), namely:

[0161] (2-5);

[0162] in, represents the k-th parameter value, represents the Jacobian matrix of the residuals with respect to the parameters, represents the transpose of the Jacobian matrix, represents the damping factor, represents the residual vector, Represents the identity matrix.

[0163] The core idea of ​​this global optimization is to first make a linear approximation of the identified parameters within the domain, ignore the derivative terms of second order and above, and thus transform it into a linear least squares problem. It has the advantages of both the gradient method and the Newton method. When the residual is very small, the step size is equal to the Newton method step size. When the residual is very large, the step size is approximately equal to the gradient descent method step size.

[0164] Step S2232: Based on the target parameters, the initial capacity loss rate model is updated to obtain a target capacity loss rate model.

[0165] Here, the target capacity loss rate model can be obtained by updating the target parameters to the initial capacity loss rate model.

[0166] In the implementation manner of the present application, the target parameters of the target capacity loss rate model are determined by using a third data set and optimization objectives, which not only improves the target parameter identification accuracy and stability to ensure the optimization of the model parameters, but also enhances the generalization ability and cross-scenario adaptability of the target capacity loss rate model. At the same time, through the collaborative innovation of objective function design and optimization, an optimal balance between accuracy, real-timeness and applicability is achieved.

[0167] Based on the above embodiments, the present application also provides a battery management system. Figure 3 A schematic diagram of the structure of a battery management system provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the battery management system 30 includes a collection device 31 and a controller 32, wherein:

[0168] The acquisition device 31 is used to obtain current information of the target battery of the vehicle, where the current information of the target battery includes the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery;

[0169] The controller 32 is configured to determine a first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery; and control the charge and discharge of the target battery based on the first charge and discharge interval.

[0170] Here, the acquisition device 31 can be any suitable device capable of performing this function. For example, an acquisition circuit, multiple sensors, etc. In implementation, the acquisition device 31 and the controller 32 can be connected via communication or other means, such as hard wiring. In some embodiments, the acquisition device 31 can acquire target battery information upon receiving an acquisition instruction from the controller 32, or can acquire target battery information on a scheduled or real-time basis.

[0171] The controller 32 can be any suitable device capable of implementing this function. For example, a microcontroller unit (MCU) or a central processing unit (CPU). During implementation, the controller 32 can first obtain current information. For example, it can read current information from the acquisition device 31. Another example is receiving current information sent by the acquisition device 31.

[0172] The first charge and discharge interval is determined by the first discharge lower limit and the first charge limit During implementation, the controller 32 determines the first charge and discharge interval in the constructed interval, and the specific implementation of the aforementioned step S12 can be referred to.

[0173] The control of the target battery's charge and discharge may include, but is not limited to, adjusting charging parameters, stopping charging, prompting the user to charge, adjusting discharge parameters, etc. In implementation, the controller 32 controls the target battery's charge and discharge process, as described in the specific implementation of step S13 above.

[0174] In some embodiments, the controller 32 is further configured to: construct an initial capacity loss rate model; and determine a target capacity loss rate model based on the data set and the initial capacity loss rate model.

[0175] Here, the initial capacity loss rate model can be any suitable representation of the relationship between the battery's temperature, capacity loss rate, charge / discharge range, and power consumption. The initial capacity loss rate model can be any suitable neural network model, mathematical model, mapping table, etc. that can implement this function. In implementation, the controller 32 constructs the initial capacity loss rate model, as described in the specific implementation of step S21 above.

[0176] The dataset can be any suitable dataset. In some embodiments, this dataset forms the basis for establishing an initial capacity loss rate model. Experiments can be performed to obtain the power consumption and capacity loss rate of the battery at different temperatures and in different charge and discharge ranges. In implementation, the controller 32 determines the target capacity loss rate model, as described in the specific implementation of step S22 above.

[0177] The following describes the implementation process of the method provided in the embodiment of the present application from the two stages of the establishment stage and the use stage, wherein:

[0178] 1. The establishment phase mainly refers to the phase of building the target capacity loss rate model. It mainly includes the following processes:

[0179] 1) Obtain a data set through experiments. This data set can be a data table consisting of capacity loss rate, temperature, charge / discharge range, and power consumption. Experimental data is the foundation for model building, so it is necessary to obtain battery cycle test data at different temperatures and charge / discharge ranges. The specific implementation steps are as follows:

[0180] (1) Experimental condition setting

[0181] During the experiment, a series of temperature and charge / discharge range combinations are set to cover practical application scenarios. During implementation, the experiment is repeated by varying these parameters to obtain diverse data.

[0182] (2) Experimental data collection

[0183] Conduct a cyclic charge and discharge experiment on the battery under set conditions, and record the battery temperature, charge and discharge range, power consumption, and capacity loss rate. Specifically, before conducting the cyclic charge and discharge experiment, capacity calibration should be performed first. At room temperature (25°C), perform a standard capacity test according to national standards, and then control the temperature to the specified temperature for the cyclic experiment. During the cyclic experiment, the battery capacity is subjected to a standard capacity test and a reference performance test (RPT) after each interval of the same power consumption. At the same time, in order to ensure the accuracy of the experiment, there are also requirements for measurement accuracy. For example, the measurement accuracy is required to be no less than the preset accuracy, and the preset accuracy can be any appropriate accuracy, such as 0.1%, 0.05%, etc.

[0184] (3) Experimental data collation

[0185] The collected data is organized into a complete data table of capacity loss rate-temperature-charge and discharge range-power consumption, i.e., a data set, to provide high-quality data support for subsequent model improvement and parameter fitting. Figure 4 Schematic diagram of some experimental data provided in the examples of this application, such as Figure 4 As shown in the figure, the power consumption and capacity loss rate in different charge and discharge ranges at a fixed temperature of 25 degrees Celsius.

[0186] 2) Constructing an initial capacity loss rate model

[0187] In this application, the Arrhenius model is improved and the charging limit is introduced. , discharge lower limit The impact of power consumption on the capacity loss rate of the battery is considered to construct an initial capacity loss rate model, as shown in formula (2-2). Figure 5 A schematic diagram of the effect of a charge and discharge interval on the capacity loss rate of a battery provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the same ∆DOD, that is - Under the same power consumption conditions, the capacity loss rate at [10%, 100%] is significantly greater than the capacity loss rate at [0%, 90%], indicating that the upper and lower limits of the charge and discharge range have different impacts on battery life. This is because for lithium batteries, the upper and lower limits of the charge and discharge range primarily affect the loss of active material (LAM) and lithium inventory (LLI). During the charge and discharge process, the insertion and fracture of lithium ions impose severe repetitive stress on the electrodes, and the accumulation of microstructural damage leads to more cracks and LAM. LAM has a relatively large impact at low SOC, while LLI becomes more pronounced as SOC increases. Figure 6 A schematic diagram of the relationship between capacity loss rate and power consumption provided in an embodiment of the present application is shown as follows: Figure 6 As shown, at the same temperature and the same lower limit of discharge Under different ∆DOD conditions, the power consumption required to achieve a 20% capacity loss rate varies. A smaller ∆DOD is not necessarily better. A smaller ∆DOD results in more frequent charging and discharging, which in turn reduces battery life. Therefore, it is necessary to find an appropriate charge and discharge range and the various parameters to be identified.

[0188] 3) Fitting the parameters of the initial capacity loss rate model based on the data set

[0189] The accuracy and applicability of the model depend on the fitting of the parameters. This application adopts a method that combines staged fitting and global optimization to ensure the optimality of the model parameters. The specific implementation is as follows:

[0190] (1) Linearization of initial capacity loss rate model

[0191] By performing logarithmic linearization on the improved Arrhenius model in this application, the linearized initial capacity loss rate model shown in formula (2-3) can be obtained.

[0192] (2) Parameter fitting

[0193] According to the data set, data under a fixed charge and discharge range are first extracted (i.e., the first data set). Then, only the temperature is changed, and the temperature-related parameters are fitted using a linear regression method.

[0194] According to the data set, first extract the data at a fixed temperature (ie: the second data set), change the charging upper limit and discharge lower limit Fitting is performed to obtain the charge and discharge interval correlation parameters.

[0195] (3) Global parameter optimization

[0196] The LM algorithm is used to globally optimize the initial parameters above, with the objective of minimizing the objective function shown in formula (2-4) as the optimization goal. During implementation, the parameters are first initialized and bounded, giving the parameters a rough range to prevent the optimized parameters from not conforming to their physical meaning. Then, iterative optimization is performed according to the iterative function shown in formula (2-5) until convergence is met.

[0197] Figure 7 A schematic diagram of global optimization of an LM algorithm provided in an embodiment of the present application is shown as follows: Figure 7 As shown, it shows the iterative process of the algorithm from the starting point, according to the function gradient information, continuously climbing to the highest point (maximum value).

[0198] 2. Use phase

[0199] 1) Make dynamic charge and discharge interval decisions based on battery information, and regulate the battery's charge and discharge according to the decided charge and discharge intervals.

[0200] Based on the constructed target capacity loss rate model, a closed-loop regulation system can be formed through the following three processes:

[0201] (1) The current capacity loss rate, current temperature and current power consumption of the battery are obtained through the acquisition device, and the target capacity loss rate model is input to predict the charge and discharge interval.

[0202] (2) The target capacity loss rate model predicts the optimal charge and discharge range under the current temperature, current lifespan, and current power consumption. Before output, further judgment can be made based on user settings, safety margins, etc. For example, the predicted charge and discharge range needs to be controlled within the acceptable charge and discharge range set by the user and within the battery safety margin before it can be output.

[0203] (3) When the charge and discharge interval after the decision is input into the controller, the controller adjusts according to the current SOC, as follows:

[0204] When the vehicle is parked and the SOC is detected to be close to the lower discharge limit of the set charge and discharge range, the user will be reminded to find an opportunity to charge the battery to ensure that the battery is used within the charge and discharge range;

[0205] When charging, detect SOC=first When the battery is fully charged, the charging current can be reduced or charging can be stopped.

[0206] Figure 8 A schematic diagram of the capacity loss rate of a battery provided in an embodiment of the present application is shown as follows: Figure 8 As shown, the life of the battery using the dynamic charge and discharge interval regulation of the present application is significantly increased.

[0207] Figure 9 A schematic diagram of the implementation process of a battery charging and discharging control method provided in an embodiment of the present application Figure 3 ,like Figure 9 As shown, the control method includes steps S31 to S35, wherein:

[0208] Step S31, obtaining a data table (corresponding to the aforementioned data set) between capacity loss rate, temperature, charge and discharge range, and power consumption through battery experiments;

[0209] Step S32: improving the Arrhenius model to construct an initial capacity loss rate model;

[0210] Step S33: fitting the parameters of the initial capacity loss rate model according to the data table to obtain a target capacity loss rate model;

[0211] Step S34: inputting the acquired current information of the battery into a target capacity loss rate model to perform dynamic charge and discharge interval decision-making to obtain a first charge and discharge interval;

[0212] Here, the target capacity loss rate model determines the first charge and discharge interval according to current information of the battery and a preset upper charge limit or lower discharge limit.

[0213] Step S35: regulating the charge and discharge of the battery according to the first charge and discharge interval.

[0214] In an embodiment of the present application, on the one hand, the temperature, power consumption and capacity loss rate of the target battery are obtained in real time through an acquisition device integrated in the battery management system to achieve real-time monitoring and precise control of the battery; on the other hand, the controller determines the first charge and discharge interval of the target battery based on the current temperature, current power consumption and current capacity loss rate of the target battery. Since the first charge and discharge interval comprehensively considers the influence of temperature, power consumption and capacity loss rate, the accuracy of the charge and discharge interval is improved; on the other hand, the controller controls the SOC of the target battery within a reasonable first charge and discharge interval. Compared with the charge and discharge interval set by manual experience in the related art, firstly, the rationality, flexibility and intelligence of the charge and discharge interval regulation are improved; secondly, not only the battery life is greatly extended under different temperature conditions, thereby postponing the battery replacement cycle to reduce operation and maintenance costs, but also the safety risk is reduced, the uniformity of capacity distribution is improved and resource utilization is improved, thereby improving the reliability and efficiency of the battery management system; finally, the battery life is improved to better meet the user's usage needs, thereby improving the user's car experience.

[0215] Based on the above embodiments, the present application also provides a battery charging and discharging control device. Figure 10A schematic diagram of the structure of a battery charging and discharging control device provided in an embodiment of the present application is shown in FIG. Figure 10 As shown, the battery charging and discharging control device 40 includes an acquisition module 41, a determination module 42 and a control module 43, wherein:

[0216] An acquisition module 41 is configured to acquire current information of a target battery of the vehicle, the current information of the target battery including a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0217] a determination module 42, configured to determine a first charge-discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery;

[0218] The control module 43 is configured to control the charge and discharge of the target battery based on the first charge and discharge interval.

[0219] In some embodiments, the determination module 42 is further used to: determine the first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery and the current capacity loss rate of the target battery using the constructed target capacity loss rate model; wherein the target capacity loss rate model characterizes the relationship between the battery temperature, capacity loss rate, charge and discharge interval and power consumption.

[0220] In some embodiments, the determination module 42 is further used to: determine the second charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery using a target capacity loss rate model; and determine the first charge and discharge interval of the target battery based on the second charge and discharge interval of the target battery.

[0221] In some embodiments, the target capacity loss rate model is as follows:

[0222] ;

[0223] in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

[0224] In some embodiments, the first charge and discharge interval includes a first charging upper limit and a first discharging lower limit, and the control module 43 is further used for at least one of the following: during charging of the target battery, when it is detected that the charge state of the target battery is adapted to the first charging upper limit, the current charging current of the target battery is adjusted to the target charging current or charging of the target battery is stopped; during parking of the vehicle, when it is detected that the charge state of the target battery is adapted to the target discharge lower limit, a preset prompt method is used to prompt the user to charge the target battery; wherein, the target discharge lower limit is determined based on the first discharge lower limit.

[0225] In some embodiments, the control device 40 also includes a first determination module, which is used to: construct an initial capacity loss rate model; determine a target capacity loss rate model based on a data set and the initial capacity loss rate model; wherein the data set includes power consumption and capacity loss rate at different temperatures and different charge and discharge ranges.

[0226] In some embodiments, the first determination module is further used to: extract a first data set in a third charge and discharge interval and a second data set at a target temperature from the data set; determine initial parameters of an initial capacity loss rate model based on the first data set and the second data set; and determine a target capacity loss rate model based on the initial parameters and the initial capacity loss rate model.

[0227] In some embodiments, the initial parameters of the initial capacity loss rate model include temperature-related parameters and charge and discharge interval-related parameters. The first determination module is further used to: linearize the initial capacity loss rate model to obtain a linearized initial capacity loss rate model; fit the linearized initial capacity loss rate model based on the first data set to determine the temperature-related parameters; wherein the temperature-related parameters include a pre-exponential factor and a battery activation energy; fit the linearized initial capacity loss rate model based on the second data set to determine the charge and discharge interval-related parameters; wherein the charge and discharge interval-related parameters include an exponential coefficient of the upper limit of charging, an exponential coefficient of the lower limit of discharging, a weight of the upper limit of charging, and a weight of the lower limit of discharging.

[0228] In some embodiments, the first determination module is further used to: based on the third data set in the data set, globally optimize the initial parameters with minimizing the objective function as the optimization goal to obtain the target parameters; based on the target parameters, update the initial capacity loss rate model to obtain the target capacity loss rate model.

[0229] The description of the above device embodiment is similar to the description of the above method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of this application, please refer to the description of the method embodiment of this application for understanding.

[0230] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0231] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements any of the above methods when executing the computer program.

[0232] The present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the above method when executed by a processor. The computer-readable storage medium may be transient or non-transient.

[0233] The present application also provides a computer program product, comprising a computer program or instructions that, when executed by a processor, implement some or all of the steps in any of the above methods. The computer program product may be implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).

[0234] It should be noted that Figure 11 A hardware entity diagram of an electronic device provided in an embodiment of the present application is shown as follows: Figure 11 As shown, the hardware entity of the electronic device 500 includes: a processor 501, a communication interface 502 and a memory 503, wherein:

[0235] The processor 501 generally controls the overall operations of the electronic device 500 .

[0236] The communication interface 502 enables the electronic device to communicate with other terminals or servers through a network.

[0237] Memory 503 is configured to store instructions and applications executable by processor 501. It can also cache data to be processed or processed by processor 501 and various modules in electronic device 500 (e.g., image data, audio data, voice communication data, and video communication data). This can be implemented using flash memory (FLASH) or random access memory (RAM). Data can be transmitted between processor 501, communication interface 502, and memory 503 via bus 504.

[0238] It should be noted that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0239] The above embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art based on the present application are within the protection scope of the present application.

Claims

1. A method for controlling battery charging and discharging, characterized in that: include: Acquiring current information of a target battery of the vehicle, the current information of the target battery including a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; determining a first charge-discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; controlling the charge and discharge of the target battery based on the first charge and discharge interval; The determining, based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery, of a first charge-discharge interval of the target battery includes: The target capacity loss rate model is used to determine the first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery. The target capacity loss rate model characterizes the relationship between the battery temperature, capacity loss rate, charge and discharge interval, and power consumption. The target capacity loss rate model is as follows: ; in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

2. The control method according to claim 1, characterized in that: The method of determining a first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery using the constructed target capacity loss rate model includes: Determining a second charge-discharge interval of the target battery based on the target capacity loss rate model and the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery; Based on the second charge-discharge interval of the target battery, a first charge-discharge interval of the target battery is determined.

3. The control method according to claim 1, wherein: The first charge-discharge interval includes a first charge upper limit and a first discharge lower limit. Controlling the charge and discharge of the target battery based on the first charge-discharge interval includes at least one of the following: During the charging of the target battery, when it is detected that the state of charge of the target battery matches the first charging upper limit, adjusting the current charging current of the target battery to the target charging current or stopping charging the target battery; During parking of the vehicle, when it is detected that the state of charge of the target battery matches the target discharge lower limit, a preset prompt method is used to prompt the user to charge the target battery; wherein the target discharge lower limit is determined based on the first discharge lower limit.

4. The control method according to any one of claims 1 to 3, characterized in that: The control method further includes: Construct an initial capacity loss rate model; The target capacity loss rate model is determined based on a data set and the initial capacity loss rate model; wherein the data set includes power consumption and capacity loss rate at different temperatures and different charge and discharge ranges.

5. The control method according to claim 4, characterized in that: The determining the target capacity loss rate model based on the data set and the initial capacity loss rate model includes: extracting a first data set in a third charge-discharge interval and a second data set at a target temperature from the data set; Determining initial parameters of the initial capacity loss rate model based on the first data set and the second data set; The target capacity loss rate model is determined based on the initial parameters and the initial capacity loss rate model.

6. The control method according to claim 5, characterized in that: The initial parameters of the initial capacity loss rate model include temperature-related parameters and charge-discharge interval-related parameters. Determining the initial parameters of the initial capacity loss rate model based on the first data set and the second data set includes: performing linearization processing on the initial capacity loss rate model to obtain a linearized initial capacity loss rate model; Fitting the linearized initial capacity loss rate model based on the first data set to determine the temperature-related parameters; wherein the temperature-related parameters include a pre-exponential factor and an activation energy; The linearized initial capacity loss rate model is fitted based on the second data set to determine the charge and discharge interval associated parameters; wherein the charge and discharge interval associated parameters include an exponential coefficient of an upper charge limit, an exponential coefficient of a lower discharge limit, a weight of the upper charge limit, and a weight of the lower discharge limit.

7. The control method according to claim 5, characterized in that: The determining the target capacity loss rate model based on the initial parameters and the initial capacity loss rate model includes: Based on a third data set among the data sets, taking minimization of an objective function as an optimization goal, globally optimizing the initial parameters to obtain target parameters; Based on the target parameters, the initial capacity loss rate model is updated to obtain the target capacity loss rate model.

8. A battery management system, characterized in that: include: A collection device, configured to obtain current information of a target battery of a vehicle, wherein the current information of the target battery includes a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; a controller, configured to determine a first charge and discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; and control the charge and discharge of the target battery based on the first charge and discharge interval; The controller is further configured to determine a first charge and discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery using a constructed target capacity loss rate model; wherein the target capacity loss rate model characterizes the relationship between the battery temperature, capacity loss rate, charge and discharge interval, and power consumption, and the target capacity loss rate model is as follows: ; in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

9. A battery charging and discharging control device, characterized in that: include: an acquisition module, configured to acquire current information of a target battery of a vehicle, the current information of the target battery including a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; a determination module, configured to determine a first charge-discharge interval of the target battery based on a current temperature of the target battery, a current power consumption of the target battery, and a current capacity loss rate of the target battery; a control module, configured to control the charge and discharge of the target battery based on the first charge and discharge interval; The determination module is further configured to determine a first charge and discharge interval of the target battery based on the current temperature of the target battery, the current power consumption of the target battery, and the current capacity loss rate of the target battery using the constructed target capacity loss rate model; wherein the target capacity loss rate model characterizes the relationship between the battery temperature, capacity loss rate, charge and discharge interval, and power consumption, and the target capacity loss rate model is as follows: ; in, Indicates the capacity loss rate of the battery, represents the pre-exponential factor, represents the gas constant, represents the battery activation energy, Indicates the battery temperature, Indicates the upper limit of battery charge. Indicates the lower discharge limit of the battery. Indicates the battery consumption. The exponential coefficient representing the upper limit of battery charging, The exponential coefficient representing the lower discharge limit of the battery, The weight representing the upper limit of battery charge, Indicates the weight of the battery's lower discharge limit, Indicates the decay index of battery power consumption.

10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

11. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

12. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Battery charging and discharging method, electronic device and storage medium

    CN115149127A