A method and apparatus for determining the remaining charging time of a battery.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-11
- Publication Date
- 2026-08-14
AI Technical Summary
[0016]根据本申请实施例的第四方面,提供了一种电池系统,包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条程序代码,所述至少一条程序代码由所述一个或多个处理器加载并执行以实现如上述第一方面任一项所述的方法所执行的操作。
Smart Images

Figure CN117533196B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and more specifically, to a method and apparatus for determining the remaining charging time of a battery. Background Technology
[0002] With the development of the new energy industry, the frequency of electric vehicle charging is increasing. During the charging process, a more accurate display of the remaining charging time can improve the user experience. However, the relevant technologies generally calculate the remaining charging time of the battery based on the charging current. Although the calculation method is simple, the accuracy of the remaining charging time is low. Therefore, how to improve the accuracy of determining the remaining charging time of the battery is an urgent technical problem to be solved. Summary of the Invention
[0003] The embodiments of this application provide a method and apparatus for determining the remaining charging time of a battery. The technical solution provided by this application can improve the accuracy of determining the remaining charging time of a battery.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to a first aspect of the embodiments of this application, a method for determining the remaining charging time of a battery is provided. The method includes: acquiring current state parameters of a target battery, the current state parameters including the current state of charge value and the current battery temperature of the target battery; determining a first remaining charging time based on the current state parameters by looking up a charging strategy table, the charging strategy table including the correspondence between charging current and state parameters; determining a second remaining charging time based on the current state parameters by looking up a charging record table, the charging record table including historical charging data of each battery; and determining a target remaining charging time of the target battery based on the first remaining charging time and the second remaining charging time.
[0006] In some embodiments of this application, based on the foregoing scheme, determining the first remaining charging time by looking up the charging strategy table based on the current state parameters includes: looking up the current charging current corresponding to the current battery temperature and the current state of charge value in the charging strategy table; determining the current charging rate of the target battery based on the current charging current and the rated capacity of the target battery; and determining the first remaining charging time based on the current state of charge value and the current charging rate.
[0007] In some embodiments of this application, based on the aforementioned scheme, the historical charging data includes the first actual charging time consumed by the battery to complete charging under various state parameters. The step of determining the second remaining charging time by searching the charging record table includes: determining at least one piece of historical charging data that matches the current state parameter in the charging record table; extracting the first actual charging time from each piece of historical charging data as a reference remaining charging time; and determining the second remaining charging time based on each of the reference remaining charging times.
[0008] In some embodiments of this application, based on the foregoing scheme, determining the target remaining charging time of the target battery according to the first remaining charging time and the second remaining charging time includes: determining a first accuracy rate corresponding to the first remaining charging time; determining a second accuracy rate corresponding to the second remaining charging time; and determining the target remaining charging time of the target battery based on the first remaining charging time, the first accuracy rate, the second remaining charging time, and the second accuracy rate.
[0009] In some embodiments of this application, based on the foregoing scheme, the charging process of the target battery includes multiple charging stages. Determining the first accuracy rate corresponding to the first remaining charging time includes: starting from the charging stage where the target battery is currently located, sequentially selecting at least one completed charging stage to obtain at least one reference charging stage; determining a second actual charging time corresponding to each of the reference charging stages, and a first predicted charging time corresponding to each of the reference charging stages, wherein the first predicted charging time is a predicted charging time obtained by looking up the charging strategy table; for each reference charging stage, calculating the absolute value of a first difference between the second actual charging time and the first predicted charging time; and determining the first accuracy rate based on each of the first absolute values of the difference.
[0010] In some embodiments of this application, based on the foregoing scheme, determining the second accuracy rate corresponding to the second remaining charging time includes: determining a second predicted charging time corresponding to each of the reference charging stages, wherein the second predicted charging time is a predicted charging time obtained by looking up the charging record table; for each of the reference charging stages, calculating the absolute value of a second difference between the second actual charging time and the second predicted charging time; and determining the second accuracy rate based on each of the second absolute values of the difference.
[0011] In some embodiments of this application, based on the foregoing scheme, determining the target remaining charging time of the target battery based on the first remaining charging time, the first accuracy rate, the second remaining charging time, and the second accuracy rate includes: if the first accuracy rate is greater than the second accuracy rate, then the first remaining charging time is taken as the target remaining charging time; if the first accuracy rate is less than the second accuracy rate, then the second remaining charging time is taken as the target remaining charging time; if the first accuracy rate is equal to the second accuracy rate, then the average of the first remaining charging time and the second remaining charging time is taken as the target remaining charging time.
[0012] In some embodiments of this application, based on the foregoing scheme, the method further includes: if the target battery is currently in the first charging stage, then the first remaining charging time is taken as the target remaining charging time.
[0013] In some embodiments of this application, based on the foregoing scheme, the charging record table is stored in a server. After the target battery finishes charging, the method further includes: obtaining the third actual charging time of the target battery under the current state parameter; using the correspondence between the third actual charging time and the current state parameter as a new historical charging data entry, and storing it in the charging record table of the server.
[0014] According to a second aspect of the embodiments of this application, a device for determining the remaining charging time of a battery is provided. The device includes: an acquisition unit, configured to acquire current state parameters of a target battery, the current state parameters including the current state of charge value and the current battery temperature of the target battery; a first determination unit, configured to determine a first remaining charging time based on the current state parameters by looking up a charging strategy table, the charging strategy table including a correspondence between charging current and state parameters; a second determination unit, configured to determine a second remaining charging time based on the current state parameters by looking up a charging record table, the charging record table including historical charging data of each battery; and a third determination unit, configured to determine a target remaining charging time of the target battery based on the first remaining charging time and the second remaining charging time.
[0015] According to a third aspect of the embodiments of this application, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium stores at least one piece of program code, the at least one piece of program code being loaded and executed by a processor to perform the operations performed by the method described in any of the first aspects above.
[0016] According to a fourth aspect of the embodiments of this application, a battery system is provided, including one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, the at least one piece of program code being loaded and executed by the one or more processors to perform the operations performed by the method described in any of the first aspects above.
[0017] The technical solution of this application involves the following steps during the charging process: First, the current state parameters of the target battery are acquired, including the current state of charge (SBC) and current battery temperature. Second, based on the SBC parameters, a first remaining charging time is determined by looking up a charging strategy table, which includes the correspondence between charging current and SBC parameters. Third, based on the SBC parameters, a second remaining charging time is determined by looking up a charging record table, which includes historical charging data for each battery. Finally, the target remaining charging time of the target battery is determined based on the first and second remaining charging times. Therefore, this application determines the remaining charging time of the battery not only by referring to the charging strategy table but also by referring to the historical charging data of other batteries. This means that the target remaining charging time of the target battery is determined based on data from multiple dimensions, which improves the accuracy of determining the remaining charging time and enhances the user experience of the electric vehicle.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0020] Figure 1 A flowchart illustrating a method for determining the remaining charging time of a battery according to an embodiment of this application is shown.
[0021] Figure 2 A detailed flowchart illustrating a process for determining the target remaining charging time of a target battery based on a first remaining charging time and a second remaining charging time, according to an embodiment of this application, is shown.
[0022] Figure 3A detailed flowchart illustrating the determination of a first accuracy rate corresponding to the first remaining charging time according to an embodiment of this application is shown.
[0023] Figure 4 A schematic diagram of the charging stage according to an embodiment of this application is shown;
[0024] Figure 5 A block diagram of a device for determining the remaining charging time of a battery according to an embodiment of this application is shown;
[0025] Figure 6 A schematic diagram of a battery system according to an embodiment of this application is shown. Detailed Implementation
[0026] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0027] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0029] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such uses of these terms can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described.
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] The following detailed description of some embodiments of this application will be provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0033] See Figure 1 The diagram illustrates a method for determining the remaining charging time of a battery according to an embodiment of this application, specifically including the following steps S110 to S140:
[0034] Step S110: Obtain the current state parameters of the target battery, including the current state of charge value and the current battery temperature of the target battery.
[0035] It should be noted that the target battery is a battery that is currently being charged. This target battery can provide a power source for an electric vehicle; that is, it can be a vehicle power battery.
[0036] It should also be noted that the current status parameters include, but are not limited to, the target battery's current state of charge (SOC), current battery temperature, current fault level, current ambient temperature, and current health status. The current SOC is the ratio between the target battery's current charge level and its rated capacity. The current fault level is determined by the target battery system based on historical operating parameters (such as overvoltage, overtemperature, and overcurrent) and reflects the severity of the current fault.
[0037] It should also be noted that, due to numerous influencing factors during battery charging, the battery temperature is constantly changing, and the influencing logic is complex. Therefore, the obtained current battery temperature can be simplified. That is, the battery temperature at the start of charging can always be used as the battery temperature at all times during the charging process. Thus, the current battery temperature can be the battery temperature corresponding to the start of charging of the target battery.
[0038] See also Figure 1 Step S120: Based on the current state parameters, determine the first remaining charging time by looking up the charging strategy table, wherein the charging strategy table includes the correspondence between charging current and state parameters.
[0039] It should be noted that the charging strategy table includes the correspondence between charging current and state parameters, where the state parameters include battery temperature and state of charge value.
[0040] It should also be noted that the charging strategy table may be configured by the target battery manufacturer for the target battery. Through this charging strategy table, the maximum charging current allowed for the target battery at a certain temperature and a certain state of charge value can be found.
[0041] For example, the charging strategy table is recorded in the form shown in Table 1 below. The recorded current is the maximum charging current allowed by the battery under the corresponding state parameters (battery temperature and SOC), where SOC is the state of charge value.
[0042]
[0043]
[0044] Table 1
[0045] Table 1 only shows the maximum allowable charging current for battery temperatures within the range of [0℃, 25℃]. However, the temperature range can be expanded according to actual conditions, such as including the maximum allowable charging current for temperatures within the range of [-20℃, 55℃].
[0046] In some implementations, step S120 may be performed according to steps S121 to S123 as follows:
[0047] Step S121: Find the current charging current corresponding to the current battery temperature and the current state of charge value in the charging strategy table.
[0048] It should be noted that the target battery can be charged using a stepped constant current charging method during actual charging. The charging current used in each constant current charging stage is obtained by looking up the charging strategy table. Therefore, the charging current corresponding to the current battery temperature and the current state of charge value, determined by looking up the charging strategy table, is the current charging current of the target battery.
[0049] Step S122: Determine the current charging rate of the target battery based on the current charging current and the rated capacity of the target battery.
[0050] In this embodiment, the current charging rate of the target battery can be obtained by calculating the ratio of the current charging current to the rated capacity of the target battery.
[0051] Step S123: Determine the first remaining charging time based on the current state of charge value and the current charging rate.
[0052] In this embodiment, the first remaining charging time can be calculated using the following formula 1:
[0053] T1=(1-SOC1) / C1 Formula 1
[0054] Wherein, T1 represents the first remaining charging time, SOC1 represents the current state of charge value, and C1 represents the current charging rate.
[0055] In some implementations, the unit of the first remaining charging time T1 may be hours.
[0056] See also Figure 1 Step S130: Based on the current state parameters, determine the second remaining charging time by looking up the charging record table, which includes historical charging data for each battery.
[0057] It should be noted that in step S130, the configuration of each battery (e.g., rated capacity, battery type, charging method) is the same as that of the target battery. It is understood that since this application needs to refer to historical charging data in the charging record table when determining the target remaining charging time of the target battery, ensuring that each battery has the same configuration as the target battery improves the reliability of the historical charging data in the charging record table.
[0058] It should also be noted that the historical charging data includes, but is not limited to, the start and end times of a battery charge cycle, the battery state of charge (SOC) value at the start of charging, the relationship between SOC value and time during charging, the relationship between battery temperature and time during charging, the relationship between ambient temperature and time during charging, the relationship between fault level and time during charging, the ambient temperature at the start of charging, the battery temperature at the start of charging, the battery fault level at the start of charging, and the health status value at the start of charging, etc.
[0059] It should also be noted that the historical charging data included in the charging record table includes the first actual charging time consumed by the battery under various state parameters to complete charging. Here, "complete charging" as referred to in this application means the battery reaches a fully charged state. For example, if battery A took 3 hours to fully charge from a SOC of 50%, a battery temperature of 28°C, a battery fault level of 5, and an ambient temperature of 25°C, then this 3 hours is the first actual charging time of the battery under these conditions.
[0060] Table 2 below shows one possible recording format for the charging record table. Those skilled in the art can also design other specific recording formats. In particular, this application does not limit the specific format.
[0061]
[0062] Table 2
[0063] In some implementations, step S130 may be performed according to steps S131 to S133 as follows:
[0064] Step S131: Determine at least one historical charging data point in the charging record table that matches the current state parameter.
[0065] In this embodiment, the current state parameters include at least the target battery's current battery temperature, current state of charge (SOC), current fault level, and current ambient temperature. Each historical charging record in the charging log includes the first actual charging time at the given battery temperature, SOC, fault level, and ambient temperature.
[0066] The specific implementation of step S131 can be designed according to the specific type of each state parameter, and this application does not limit it here.
[0067] For example, a specific implementation of step S131 can be performed according to the following three steps, specifically including:
[0068] First, select M historical charging data from each historical charging data in the charging record table. Each of these M historical charging data includes a state of charge value that is the same as the current state of charge value of the target battery. M is a positive integer greater than 1.
[0069] Next, N historical charging data points are selected from M historical charging data points. The difference between the battery temperature and the current battery temperature of the target battery in each of the N historical charging data points is within a first preset temperature range. The difference between the ambient temperature and the current ambient temperature of the target battery in each of the N historical charging data points is within a second preset temperature range. The fault level in each of the N historical charging data points is the same as the current fault level of the target battery. N is a positive integer less than M.
[0070] Finally, these N historical charging records are used as at least one historical charging data that matches the current state parameter.
[0071] Step S132: Extract the first actual charging time from each piece of historical charging data as the reference remaining charging time.
[0072] In this embodiment, it can be understood that since each historical charging data in the charging record table includes the first actual charging time under each state parameter, after determining at least one historical charging data that matches the current state parameter, the corresponding first actual charging time can be extracted from each historical charging data in the at least one historical charging data.
[0073] Step S133: Determine the second remaining charging time based on each of the reference remaining charging times.
[0074] In step S133, the corresponding implementation methods include at least the following three:
[0075] In the first implementation, the weighted average of each reference remaining charging time is used as the second remaining charging time.
[0076] In the second implementation, the recorded time corresponding to each reference remaining charging time is obtained, and the reference remaining time corresponding to the recorded time closest to the current time is taken as the second remaining charging time.
[0077] In the third implementation, the maximum or minimum value among the various reference remaining charging times is taken as the second remaining charging time.
[0078] The following will explain the entity responsible for executing step S130.
[0079] In some implementations, the execution entity of step S130 includes a server and the battery BMS system of the target battery. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0080] In some implementations, the method for determining the remaining charging time of the battery in this application requires first establishing a data sharing system, including: establishing a data transmission channel to ensure that data can be transmitted between the vehicle-side battery management system (BMS), the T-BOX, and the server; data from the battery BMS can be continuously sent to the server, and the server can also send back key information; for example, battery temperature, ambient temperature, battery SOC, etc., read by the battery BMS can be sent to the T-BOX via CAN, so that the T-BOX can send the received data to the server, and the server can also send data to the T-BOX wirelessly, so that the T-BOX can transmit the received data to the battery BMS.
[0081] In some implementations, the charging record table in step S130 is stored in the server. It is understood that the server can communicate with the battery BMS system of each battery to obtain historical charging data of each battery to store and update the charging record table, so as to realize data mutual reference between batteries and improve the accuracy of calculating the remaining charging time of each battery.
[0082] The specific execution method of step S130 can be as follows: the battery BMS system sends the current status parameters of the target battery to the server. After the server receives the current status parameters of the target battery, it executes the above steps S131 to S133 to obtain the second remaining charging time. The server then sends the obtained second remaining charging time to the battery BMS system of the target battery wirelessly.
[0083] The specific execution method of step S130 can also be that when the target battery needs to calculate the second remaining time, after obtaining the current state parameters of the target battery, the battery BMS system of the target battery obtains the charging record table from the server, so that the battery BMS system of the target battery can obtain the second remaining charging time by executing the above steps S131 to S133.
[0084] The specific execution method of step S130 can also be as follows: the battery BMS system sends the current status parameters of the target battery to the server. After receiving the current status parameters of the target battery, the server obtains at least one piece of historical charging data by executing the above step S131. The server then sends the obtained at least one piece of historical charging data to the battery BMS system of the target battery wirelessly. Based on the received at least one piece of historical charging data, the battery BMS system of the target battery executes the above steps S132 to S133 to obtain the second remaining charging time.
[0085] In summary, step S130 has multiple implementations, which will not be elaborated upon here. Those skilled in the art can design specific implementations according to actual conditions. It is understood that since the state parameters of the battery change in real time during the charging process and many factors affect the state parameters, relying solely on the battery's charging current to calculate the remaining charging time is not accurate enough. However, calculating the remaining charging time of the battery based on actual charging data of other batteries, as described in this application, can improve the accuracy of the calculated remaining charging time.
[0086] See also Figure 1 Step S140: Determine the target remaining charging time of the target battery based on the first remaining charging time and the second remaining charging time.
[0087] In some implementations, the specific implementation of step S140 can be in accordance with Figure 2 Perform the steps shown:
[0088] See Figure 2 This document illustrates a detailed flowchart of a process for determining the target remaining charging time of a target battery based on the first remaining charging time and the second remaining charging time, according to an embodiment of this application. Specifically, it includes the following steps S141 to S143:
[0089] Step S141: Determine the first accuracy rate corresponding to the first remaining charging time.
[0090] Understandably, the higher the first accuracy rate, the more accurate the determined first remaining charging time will be as the target remaining charging time for the target battery.
[0091] In some implementations, the specific implementation of step S141 can be in accordance with Figure 3 Perform the steps shown.
[0092] See Figure 3The diagram illustrates a detailed flowchart of determining a first accuracy rate corresponding to the first remaining charging time according to an embodiment of this application, specifically including the following steps S1411 to S1444:
[0093] Step S1411: Starting from the current charging stage of the target battery, at least one completed charging stage is selected sequentially to obtain at least one reference charging stage.
[0094] In some embodiments, the target battery may be charged using a stepped constant current charging method. Therefore, under this condition, the charging process of the target battery includes multiple charging stages, which are multiple constant current charging stages. In each constant current charging stage, the battery capacity increment of the target battery is the same.
[0095] In some implementations, the charging process of the target battery may be divided into multiple charging stages according to the charging time, with each charging stage having the same charging time.
[0096] Specifically, in this embodiment, the specific setting of the multiple charging stages of the target battery is not limited.
[0097] See also Figure 3 In step S1412, a second actual charging time corresponding to each of the reference charging stages and a first predicted charging time corresponding to each of the reference charging stages are determined. The first predicted charging time is the predicted charging time obtained by looking up the charging strategy table.
[0098] To enable those skilled in the art to better understand the technical solution of this embodiment, the following will be combined with... Figure 4 Let's illustrate with examples.
[0099] See Figure 4 The diagram illustrates a charging phase according to an embodiment of this application.
[0100] Figure 4 The corresponding scenario is: the target battery needs to be charged from a state of 0% battery power to be fully charged.
[0101] Figure 4 The charging stages are divided according to the same battery capacity increment. Therefore, if the target battery needs to be fully charged from 0% capacity, it needs to go through 100 charging stages.
[0102] Figure 4 The charging time recorded is the actual charging time.
[0103] When the charging time is T, the remaining charging time of the target battery needs to be calculated using the technical solution of this application.
[0104] from Figure 4 It can be seen that the current time T is in charging stage 4. Assuming that charging stages 1-3 are selected as reference charging stages in sequence, the second actual charging time corresponding to charging stage 1 can be determined as t1-t0; the second actual charging time corresponding to charging stage 2 is t2-t1; and the second actual charging time corresponding to charging stage 3 is t3-t2.
[0105] The method for determining the first predicted charging time corresponding to charging stage 1 is as follows:
[0106] First, obtain the first state parameters of the target battery at time t0, and calculate the first remaining charging time of the target battery at time t0 using the same method as steps S121 to S123 above, as the first time. Second, obtain the second state parameters of the target battery at time t1, and calculate the first remaining charging time of the target battery at time t1 using the same method as steps S121 to S123 above, as the second time. Finally, subtract the first time from the second time to obtain the first predicted charging time corresponding to charging stage 1.
[0107] In the same way, the first predicted charging time corresponding to charging stage 2 and charging stage 3 can also be calculated by looking up the charging strategy table.
[0108] See also Figure 3 Step S1413: For each of the reference charging stages, calculate the absolute value of the first difference between the second actual charging time and the first predicted charging time.
[0109] Understandably, the larger the absolute value of the first difference corresponding to the reference charging stage, the less accurate the first predicted charging time obtained by looking up the charging strategy table.
[0110] See also Figure 3 Step S1414: Determine the first accuracy rate based on the absolute value of each of the first differences.
[0111] In step S1414, the specific implementation methods include at least the following two:
[0112] First implementation method:
[0113] First, the sum of the absolute values of each of the first differences is calculated as the first total value. Second, the correspondence between the total value and the accuracy rate is obtained, and the accuracy rate corresponding to the first total value is taken as the first accuracy rate. The larger the total value, the lower the accuracy rate.
[0114] Second implementation method:
[0115] Calculate the weighted average of the absolute values of each of the first differences, and use this as the first average. Next, obtain the correspondence between the average and the accuracy, and get the accuracy corresponding to the first average, which is then used as the first accuracy. Note that the larger the average, the smaller the accuracy.
[0116] See also Figure 3 Step S142: Determine the second accuracy rate corresponding to the second remaining charging time.
[0117] In some embodiments, step S142 may be specifically implemented according to steps S1421 to S1423 as follows:
[0118] Step S1421: Determine the second predicted charging time corresponding to each of the reference charging stages. The second predicted charging time is the predicted charging time obtained by looking up the charging record table.
[0119] To enable those skilled in the art to better understand this embodiment, the following will be combined with... Figure 4 Let's illustrate with examples.
[0120] Select Figure 4 Charging stages 1-3 are used as reference charging stages. The method for calculating the second predicted charging time corresponding to charging stage 1 is as follows:
[0121] First, obtain the first state parameters of the target battery at time t0, and calculate the second remaining charging time of the target battery at time t0 using the same method as steps S131 to S133 above, as the third time. Second, obtain the second state parameters of the target battery at time t1, and calculate the second remaining charging time of the target battery at time t1 using the same method as steps S131 to S133 above, as the fourth time. Finally, subtract the third time from the fourth time to obtain the second predicted charging time corresponding to charging stage 1.
[0122] In the same way, the second predicted charging time corresponding to charging stage 2 and charging stage 3 can also be calculated by looking up the charging record table.
[0123] Step S1422: For each of the reference charging stages, calculate the absolute value of the second difference between the second actual charging time and the second predicted charging time.
[0124] Step S1423: Determine the second accuracy rate based on the absolute values of each of the second differences.
[0125] In step S1423, the specific implementation methods include at least the following two:
[0126] First implementation method:
[0127] First, the sum of the absolute values of each of the second differences is calculated as the second total value. Second, the correspondence between the total value and the accuracy rate is obtained, and the accuracy rate corresponding to the second total value is taken as the second accuracy rate. The larger the total value, the lower the accuracy rate.
[0128] Second implementation method:
[0129] Calculate the weighted average of the absolute values of each of the second differences, and use this as the second average. Next, obtain the correspondence between the average and the accuracy, and get the accuracy corresponding to the second average, which is then used as the second accuracy. Note that the larger the average, the smaller the accuracy.
[0130] In some embodiments of this application, if the target battery is currently in the first charging stage, then a completed reference charging stage cannot be selected. Therefore, the specific implementation methods for determining the target remaining charging time of the target battery include at least the following three:
[0131] The first method: If the target battery is currently in the first charging stage, then the first remaining charging time is taken as the target remaining charging time.
[0132] The second method is to use the second remaining charging time as the target remaining charging time if the target battery is currently in the first charging stage.
[0133] The third method is to use the average of the first remaining charging time and the second remaining time as the target remaining charging time if the target battery is currently in the first charging stage.
[0134] See also Figure 3 Step S143: Based on the first remaining charging time, the first accuracy, the second remaining charging time, and the second accuracy, determine the target remaining charging time of the target battery.
[0135] The specific implementation methods of step S143 include at least the following two:
[0136] First implementation method:
[0137] If the first accuracy rate is greater than the second accuracy rate, then the first remaining charging time is taken as the target remaining charging time; if the first accuracy rate is less than the second accuracy rate, then the second remaining charging time is taken as the target remaining charging time; if the first accuracy rate is equal to the second accuracy rate, then the average of the first remaining charging time and the second remaining charging time is taken as the target remaining charging time.
[0138] Second implementation method:
[0139] First, the first accuracy and the second accuracy are normalized to obtain a first weight corresponding to the first remaining charging time and a second weight corresponding to the second remaining charging time.
[0140] Then calculate the target remaining charging time of the target battery according to the following formula 2:
[0141] T0=T1*P1+T2*P2 Formula 2
[0142] Where T0 represents the target remaining charging time of the target battery, T1 represents the first remaining charging time, P1 represents the first weight, T2 represents the second remaining charging time, and P2 represents the second weight.
[0143] In some embodiments of this application, the charging record table used by the target battery to calculate the second remaining charging time is stored on a server. Therefore, in order to expand the historical charging data in the charging record table stored on the server, the target battery can perform the following steps S150 to S160 after charging is completed:
[0144] Step S150: Obtain the third actual charging time of the target battery under the current state parameters.
[0145] It should be noted that the third actual charging time represents the actual charging time of the target battery from the moment corresponding to the current state parameter until it is fully charged.
[0146] Step S150: The correspondence between the third actual charging time and the current state parameter is taken as a new historical charging data and stored in the charging record table of the server.
[0147] Understandably, the server communicates with the battery management system (BMS) of each battery to collect the actual charging data of each battery. This allows the server to update its stored charging record table in real time, providing reference data for other batteries to calculate the remaining charging time during the charging process. This improves the accuracy of the remaining charging time determined by other batteries.
[0148] In some embodiments of the technical solutions provided in this application, during the charging process of the target battery, the current state parameters of the target battery are first obtained, including the current state of charge value and the current battery temperature; secondly, based on the current state parameters, a first remaining charging time is determined by looking up a charging strategy table, which includes the correspondence between charging current and state parameters; thirdly, based on the current state parameters, a second remaining charging time is determined by looking up a charging record table, which includes historical charging data for each battery; finally, based on the first remaining charging time and the second remaining charging time, the target remaining charging time of the target battery is determined. The technical solutions of this application achieve at least the following three technical effects:
[0149] Firstly, in this application, the determination of the remaining charging time of the battery is not only calculated by referring to the charging strategy table, but also by referring to the historical charging data of other batteries. Therefore, it can be understood that this application determines the target remaining charging time of the target battery based on data from multiple dimensions, which can improve the accuracy of determining the remaining charging time of the battery to a certain extent and enhance the user's experience of using electric vehicles.
[0150] Secondly, during the charging process, the target battery will refer to the first and second accuracy rates to determine the target remaining charging time of the target battery in real time, which will help electric vehicle customers to make reasonable time arrangements.
[0151] Thirdly, the technical solution based on this application can provide users with a more accurate display of the target remaining charging time, thereby improving product competitiveness.
[0152] Based on the same inventive concept, embodiments of this application provide a device for determining the remaining charging time of a battery, which can be used to execute the method for determining the remaining charging time of a battery in the above embodiments of this application. For details not disclosed in the embodiments of this application, please refer to the embodiments of the method for determining the remaining charging time of a battery described above.
[0153] See Figure 5 The diagram shows a block diagram of a device for determining the remaining charging time of a battery according to an embodiment of the present application.
[0154] like Figure 5 As shown, a battery remaining charging time determination device 500 according to an embodiment of this application includes: an acquisition unit 501, a first determination unit 502, a second determination unit 503, and a third determination unit 504.
[0155] The acquisition unit 501 is used to acquire the current state parameters of the target battery, including the current state of charge and current battery temperature; the first determination unit 502 is used to determine a first remaining charging time based on the current state parameters by looking up a charging strategy table, the charging strategy table including the correspondence between charging current and state parameters; the second determination unit 503 is used to determine a second remaining charging time based on the current state parameters by looking up a charging record table, the charging record table including historical charging data of each battery; and the third determination unit 504 is used to determine a target remaining charging time for the target battery based on the first remaining charging time and the second remaining charging time.
[0156] In some embodiments of this application, based on the foregoing scheme, the first determining unit 502 is further configured to: look up the current charging current corresponding to the current battery temperature and the current state of charge value in the charging strategy table; determine the current charging rate of the target battery based on the current charging current and the rated capacity of the target battery; and determine the first remaining charging time based on the current state of charge value and the current charging rate.
[0157] In some embodiments of this application, based on the aforementioned scheme, the historical charging data includes the first actual charging time consumed by the battery to complete charging under various state parameters. The second determining unit 503 is further configured to: determine at least one piece of historical charging data that matches the current state parameter in the charging record table; extract the first actual charging time from each piece of historical charging data as a reference remaining charging time; and determine the second remaining charging time based on each of the reference remaining charging times.
[0158] In some embodiments of this application, based on the foregoing scheme, the third determining unit 504 is further configured to: determine a first accuracy rate corresponding to the first remaining charging time; determine a second accuracy rate corresponding to the second remaining charging time; and determine a target remaining charging time of the target battery based on the first remaining charging time, the first accuracy rate, the second remaining charging time, and the second accuracy rate.
[0159] In some embodiments of this application, based on the foregoing scheme, the charging process of the target battery includes multiple charging stages. The third determining unit 504 is further configured to: starting from the charging stage where the target battery is currently located, sequentially select at least one completed charging stage to obtain at least one reference charging stage; determine a second actual charging time corresponding to each of the reference charging stages, and a first predicted charging time corresponding to each of the reference charging stages, wherein the first predicted charging time is a predicted charging time obtained by looking up the charging strategy table; for each of the reference charging stages, calculate a first absolute value of the difference between the second actual charging time and the first predicted charging time; and determine the first accuracy rate based on each of the first absolute values of the difference.
[0160] In some embodiments of this application, based on the foregoing scheme, the third determining unit 504 is further configured to: determine a second predicted charging time corresponding to each of the reference charging stages, wherein the second predicted charging time is a predicted charging time obtained by looking up the charging record table; for each of the reference charging stages, calculate a second absolute value of the difference between the second actual charging time and the second predicted charging time; and determine the second accuracy rate based on each of the second absolute values of the difference.
[0161] In some embodiments of this application, based on the foregoing scheme, the third determining unit 504 is further configured to: if the first accuracy rate is greater than the second accuracy rate, then take the first remaining charging time as the target remaining charging time; if the first accuracy rate is less than the second accuracy rate, then take the second remaining charging time as the target remaining charging time; if the first accuracy rate is equal to the second accuracy rate, then take the average of the first remaining charging time and the second remaining charging time as the target remaining charging time.
[0162] In some embodiments of this application, based on the foregoing scheme, the third determining unit 504 is further configured to: if the target battery is currently in the first charging stage, then use the first remaining charging time as the target remaining charging time.
[0163] In some embodiments of this application, based on the foregoing scheme, the third determining unit 504 is further configured to: after the target battery finishes charging, obtain the second actual charging time of the target battery under the current state parameter; and store the correspondence between the second actual charging time and the current state parameter as a new historical charging data in the charging record table of the server.
[0164] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations described above.
[0165] Based on the same inventive concept, this application also provides a battery system.
[0166] See Figure 6 The diagram illustrates a structural schematic of a battery system according to an embodiment of the present application. The battery system includes one or more memories 604, one or more processors 602, and at least one computer program (computer program instructions) stored in the memory 604 and executable on the processor 602. When the processor 602 executes the computer program, it implements the method described above.
[0167] Among them, Figure 6 In this document, a bus architecture (represented by bus 600) is used. Bus 600 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 602 and memory represented by memory 604. Bus 600 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 605 provides an interface between bus 600 and receiver 601 and transmitter 603. Receiver 601 and transmitter 603 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 602 is responsible for managing bus 600 and general processing, while memory 604 can be used to store data used by processor 602 during operation.
[0168] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0169] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0170] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0171] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer program instructions, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0172] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for determining the remaining charging time of a battery, characterized in that, The method includes: Obtain the current state parameters of the target battery, including the current state of charge and current battery temperature of the target battery; Based on the current state parameters, the first remaining charging time is determined by looking up the charging strategy table, which includes the correspondence between charging current and state parameters. Based on the current state parameters, the second remaining charging time is determined by looking up the charging record table, which includes historical charging data for each battery, and the charging process of the target battery includes multiple charging stages. Starting from the current charging stage of the target battery, at least one completed charging stage is selected sequentially to obtain at least one reference charging stage; Determine the second actual charging time corresponding to each of the reference charging stages, and the first predicted charging time corresponding to each of the reference charging stages, wherein the first predicted charging time is the predicted charging time obtained by looking up the charging strategy table. For each of the reference charging stages, calculate the absolute value of the first difference between the second actual charging time and the first predicted charging time; The first accuracy rate is determined based on the absolute value of each of the first differences; Determine the second accuracy rate corresponding to the second remaining charging time; The target remaining charging time of the target battery is determined based on the first remaining charging time, the first accuracy, the second remaining charging time, and the second accuracy.
2. The method according to claim 1, characterized in that, The step of determining the first remaining charging time based on the current state parameters by looking up the charging strategy table includes: Find the current charging current corresponding to the current battery temperature and the current state of charge value in the charging strategy table; Based on the current charging current and the rated capacity of the target battery, determine the current charging rate of the target battery; The first remaining charging time is determined based on the current state of charge value and the current charging rate.
3. The method according to claim 1, characterized in that, The historical charging data includes the first actual charging time consumed by the battery under various state parameters to complete charging. The step of determining the second remaining charging time by looking up the charging record table includes: Identify at least one historical charging data point in the charging record table that matches the current state parameter; Extract the first actual charging time from each of the historical charging data entries as the reference remaining charging time; The second remaining charging time is determined based on each of the aforementioned reference remaining charging times.
4. The method according to claim 1, characterized in that, Determining the second accuracy rate corresponding to the second remaining charging time includes: Determine a second predicted charging time corresponding to each of the reference charging stages, wherein the second predicted charging time is a predicted charging time obtained by looking up the charging record table; For each of the reference charging stages, calculate the absolute value of the second difference between the second actual charging time and the second predicted charging time; The second accuracy rate is determined based on the absolute value of each of the second differences.
5. The method according to claim 1, characterized in that, Determining the target remaining charging time of the target battery based on the first remaining charging time, the first accuracy rate, the second remaining charging time, and the second accuracy rate includes: If the first accuracy rate is greater than the second accuracy rate, then the first remaining charging time is taken as the target remaining charging time. If the first accuracy rate is less than the second accuracy rate, then the second remaining charging time is taken as the target remaining charging time. If the first accuracy rate is equal to the second accuracy rate, then the average of the first remaining charging time and the second remaining charging time is taken as the target remaining charging time.
6. The method according to claim 1 or 5, characterized in that, The method further includes: If the target battery is currently in the first charging stage, then the first remaining charging time is taken as the target remaining charging time.
7. The method according to claim 1, characterized in that, The charging record table is stored in a server. After the target battery has finished charging, the method further includes: Obtain the third actual charging time of the target battery under the current state parameters; The correspondence between the third actual charging time and the current status parameter is used as a new historical charging data entry and stored in the charging record table of the server.
8. A device for determining the remaining charging time of a battery, characterized in that, The device includes: An acquisition unit is used to acquire the current state parameters of the target battery, the current state parameters including the current state of charge value and the current battery temperature of the target battery; The first determining unit is used to determine the first remaining charging time based on the current state parameters by looking up a charging strategy table, wherein the charging strategy table includes the correspondence between charging current and state parameters. The second determining unit is configured to determine a second remaining charging time based on the current state parameters by looking up a charging record table, the charging record table including historical charging data for each battery, and the charging process of the target battery including multiple charging stages; starting from the charging stage where the target battery is currently located, at least one completed charging stage is selected sequentially to obtain at least one reference charging stage; determine a second actual charging time corresponding to each of the reference charging stages, and a first predicted charging time corresponding to each of the reference charging stages, the first predicted charging time being a predicted charging time obtained by looking up the charging strategy table; for each of the reference charging stages, calculate a first absolute value of the difference between the second actual charging time and the first predicted charging time; determine a first accuracy rate based on each of the first absolute values of the difference; and determine a second accuracy rate corresponding to the second remaining charging time. The third determining unit is configured to determine the target remaining charging time of the target battery based on the first remaining charging time, the first accuracy, the second remaining charging time, and the second accuracy.
Citation Information
Patent Citations
Vehicle-to-vehicle mutual learning charging remaining time prediction method and device based on big data
CN113147506A
Method for determining remaining charging duration of battery, vehicle and storage medium
CN116215309A