Charging method and device, equipment and storage medium
By acquiring the current number of charges and the target number of charges range, and utilizing the negative correlation between the number of charges and the charging rate, the charging rate is gradually adjusted, thus solving the oscillation problem during charging mode switching and achieving stability and safety in battery charging.
Patent Information
- Application Number
- CN202511136747.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-11-21
AI Technical Summary
The current charging mode switching is prone to causing fluctuations in the battery charging rate, resulting in poor charging stability.
By acquiring the current number of charges and the target number range of the battery in the first charging mode, and utilizing the negative correlation between the number of charges and the charging rate, the target charging rate is determined. When the current number of charges is within the target number range, the charging rate is gradually adjusted to avoid oscillations. The charging is performed using a charging rate no higher than the original charging rate of the first charging mode and no lower than the original charging rate of the second charging mode.
While ensuring charging safety, it avoids charging rate fluctuations and improves battery charging stability.
Smart Images

Figure CN120999822A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of charging, in particular to a charging method, device, equipment and storage medium. BACKGROUND
[0002] Currently, there are various charging modes, and the charging rate of each charging mode is generally fixed, and the charging rates of different charging modes are different. In actual application, in the case of needing to switch the charging mode, the charging mode is directly switched in most cases, and the charging rates of the charging mode before and after switching may be quite different. Such operation easily causes the charging rate of the battery to fluctuate, resulting in poor charging stability of the battery. SUMMARY
[0003] The main purpose of the embodiments of the present application is to propose a charging method, device, equipment and storage medium, aiming to avoid the situation of charging rate fluctuation caused by switching the charging mode, and improve the charging stability of the battery.
[0004] The present application provides a charging method, comprising: in response to a target charging instruction for instructing to charge a battery in a first charging mode, acquiring a current charging frequency of the battery in the first charging mode and a target frequency interval; the minimum charging frequency of the target frequency interval is less than the maximum allowed charging frequency of the battery in the first charging mode; the maximum charging frequency of the target frequency interval is greater than the maximum allowed charging frequency; in the case that the current charging frequency is located in the target frequency interval, determining a target charging rate of the battery according to the current charging frequency and a corresponding relationship between the charging frequency and the charging rate of the battery; in the corresponding relationship, the charging frequency is negatively correlated with the charging rate; and charging the battery according to the target charging rate.
[0005] In an embodiment, the charging rate corresponding to the minimum charging frequency of the target frequency interval is less than or equal to a first original charging rate of the battery in the first charging mode, and the charging rate corresponding to the maximum charging frequency of the target frequency interval is greater than or equal to a second original charging rate of the battery in a second charging mode; the second charging mode is a charging mode without limiting the charging frequency; and the second original charging rate is less than the first original charging rate.
[0006] In an embodiment, after acquiring the current charging frequency of the battery in the first charging mode and the target frequency interval, the charging method further comprises: in the case that the current charging frequency is less than the minimum charging frequency, charging the battery by using the first original charging rate; and in the case that the current charging frequency is greater than the maximum charging frequency, charging the battery by using the second original charging rate.
[0007] In an embodiment, before determining the target charging rate of the battery according to the current charging number and the correspondence between the charging number and the charging rate of the battery, the charging method further comprises: determining an amplitude adjustment step of the charging rate corresponding to the charging number according to a ratio of a first difference value to a second difference value; the first difference value is a difference value of the first original charging rate relative to the second original charging rate, and the second difference value is a difference value of the maximum charging number relative to the minimum charging number; and generating the correspondence according to the charging number and the amplitude adjustment step of the charging rate corresponding to the charging number.
[0008] In an embodiment, the generating the correspondence according to the charging number and the amplitude adjustment step of the charging rate corresponding to the charging number comprises: for each charging number in the target number interval, adjusting a first charging MAP table of the battery corresponding to the charging number based on the amplitude adjustment step corresponding to the charging number to obtain a second charging MAP table corresponding to the charging number; the first charging MAP table is determined based on an original charging MAP table of the battery in the first charging mode; and generating the correspondence according to the second charging MAP table corresponding to each charging number; the charging rate corresponding to each charging number in the correspondence is the charging rate in the second charging MAP table corresponding to each charging number.
[0009] In an embodiment, the obtaining the current charging number and the target number interval of the battery in the first charging mode comprises: determining an interval length of the target number interval according to the maximum allowed charging number; determining a second end value of the target number interval according to a first end value of the target number interval pre-configured and the interval length; wherein the first end value is one of the minimum charging number and the maximum charging number, and the second end value is the other of the minimum charging number and the maximum charging number; and generating the target number interval according to the first end value and the second end value.
[0010] In an embodiment, the determining the interval length of the target number interval according to the maximum allowed charging number comprises: determining an interval length coefficient according to a material aging sensitive index of the battery, the first original charging rate and the second original charging rate; and determining the interval length according to the interval length coefficient and a difference value of the maximum allowed charging number relative to the first end value.
[0011] The application further provides a charging device, comprising an acquisition module, a determination module and a charging execution module; the acquisition module is configured to acquire a current charging frequency and a target frequency interval of a battery in a first charging mode in response to a target charging instruction indicating that the battery is charged in the first charging mode; a minimum charging frequency of the target frequency interval is less than a maximum allowed charging frequency of the battery in the first charging mode; a maximum charging frequency of the target frequency interval is greater than the maximum allowed charging frequency; the determination module is configured to determine a target charging rate of the battery according to the current charging frequency and a corresponding relationship between a charging frequency and a charging rate of the battery in a case where the current charging frequency is located in the target frequency interval; in the corresponding relationship, the charging frequency is negatively correlated with the charging rate; and the charging execution module is configured to charge the battery according to the target charging rate.
[0012] The application further provides a charging device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the above charging method when executing the computer program.
[0013] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above charging method.
[0014] The application provides a charging method, device, equipment and storage medium, by acquiring a target frequency interval with a minimum charging frequency less than a maximum allowed charging frequency of a battery in a first charging mode and a maximum charging frequency greater than the maximum allowed charging frequency, and charging the battery with a charging rate negatively correlated with a charging frequency in a case where a current charging frequency of the battery is located in the target frequency interval, so that the charging rate of the battery in the first charging mode is slowly transitioned from a large charging rate to a small charging rate on the basis of ensuring the charging safety of the battery in the first charging mode, thereby avoiding the case of charging rate shock when the battery is switched from a large rate charging mode to a small rate charging mode, and improving the charging stability of the battery. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 is a flowchart of the charging method provided by the embodiment of the application;
[0016] Figure 2 is a specific flowchart of the charging method provided by the embodiment of the application;
[0017] Figure 3 is an effect diagram of the charging method provided by the embodiment of the application;
[0018] Figure 4is a structural schematic diagram of a charging device provided by an embodiment of the present application.
[0019] Figure 5 is a structural schematic diagram of a charging device provided by an embodiment of the present application Figure 1 .
[0020] Figure 6 is a structural schematic diagram of a charging device provided by an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0022] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0023] The charging method provided by the embodiments of the present application is used to charge the battery in the charging device, and the charging device can be an electronic device or a vehicle. The charging method can be applied to the charging device or a component in the charging device, such as a battery management system (BMS) controller. The electronic device can be a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.; the server can be configured as a separate physical server, or as a server cluster or distributed system composed of multiple physical servers.
[0024] The charging method provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments.
[0025] Referring to Figure 1 , the charging method provided by the embodiments of the present application can include:
[0026] Step S101: in response to a target charging instruction indicating that the battery is charged in a first charging mode, obtaining a current charging frequency of the battery in the first charging mode and a target frequency interval; the minimum charging frequency of the target frequency interval is less than the maximum allowed charging frequency of the battery in the first charging mode; the maximum charging frequency of the target frequency interval is greater than the maximum allowed charging frequency.
[0027] Optionally, in the case that the default charging mode of the battery is the first charging mode, or in the case that the default charging mode of the battery is not set but the user selects to charge the battery through the first charging mode, the target charging instruction can be obtained by the following way, but not limited to:
[0028] In the case that the maximum available charging rate of the charging pile meets the charging rate requirement of the battery in the first charging mode, the target charging instruction of the battery can be obtained when the battery and the charging pile establish a connection;
[0029] After the battery and the charging pile establish a connection, the target charging instruction of the battery can be obtained in the case that the user triggers the operation of starting the charging control.
[0030] Optionally, the first charging mode can be a large-rate charging mode with limited charging frequency. In some embodiments, the first charging mode can also be referred to as a fast charging mode, a flash charging mode or a super charging mode. The super charging mode can also be referred to as a super frequency charging mode, which can be understood as charging the battery with a large charging rate in the super frequency charging mode, so that the charging time is shorter and the charging frequency is higher.
[0031] In actual implementation, the target number interval can be randomly set based on the maximum allowed charging number in the first charging mode; or the end values of the target number interval can be calculated based on the maximum allowed charging number in the first charging mode, to obtain the target number interval. For details, refer to the relevant description below, which is not described here. The embodiments of the present application do not limit the determination manner of the target number interval, as long as the minimum charging number in the target number interval is less than the maximum allowed charging number of the battery in the first charging mode, and the maximum charging number in the target number interval is greater than the maximum allowed charging number. In the embodiments of the present application, the minimum charging number in the target number interval is set to be less than the maximum allowed charging number of the battery in the first charging mode, so that the charging rate of the battery in the first charging mode can be reduced before the current charging number of the battery reaches the maximum allowed charging number, which can avoid reducing the charging rate of the battery in the first charging mode after the current charging number of the battery reaches the maximum allowed charging number, thereby affecting the charging safety. When the current charging number of the battery reaches the maximum allowed charging number, the first charging mode has not been fully used under the condition that the charging rate of the battery in the first charging mode is reduced before the current charging number of the battery reaches the maximum allowed charging number. Therefore, the allowed charging number of the battery in the first charging mode can be appropriately extended without affecting the charging safety, that is, the maximum charging number in the target number interval is set to be greater than the maximum allowed charging number, and the maximum charging number in the target number interval is regarded as a new maximum allowed charging number of the first charging mode after extension.
[0032] Optionally, in the case that the target number interval is a closed interval, the minimum charging number is equal to the first end value of the target number interval, and the maximum charging number is equal to the second end value of the target number interval, and the first end value is less than the second end value; in the case that the target number interval is an open interval, the minimum charging number is equal to the first end value plus 1, and the maximum charging number is equal to the second end value minus 1.
[0033] Optionally, the current charging number can be understood as the total charging number of the battery in the first charging mode corresponding to the target charging instruction. In actual implementation, a historical charging number record of charging the battery in the first charging mode can be obtained, and the historical charging number is added by 1 to obtain the current charging number of the battery in the first charging mode in response to the target charging instruction.
[0034] It should be noted that in the embodiments of the present application, the target charging instruction does not necessarily trigger the charging device to charge in the first charging mode, and the charging mode of the charging device for charging the battery in response to the target charging instruction is determined based on the comparison result of the current charging number of the battery in the first charging mode and the target number interval.
[0035] As can be known from the foregoing, the maximum charging number of the target number interval is the maximum allowed charging number of the new first charging mode after extension, and thus, if the current charging number is located in the target number interval or is less than the minimum charging number of the target number interval, the charging device can charge the battery in the first charging mode. However, it is worth noting that if the current charging number is less than the minimum charging number of the target number interval, it indicates that the remaining charging number of the battery in the first charging mode is sufficient, and thus, the charging can be performed based on the first original charging rate of the first charging mode without reducing the charging rate. If the current charging number is located in the target number interval, it indicates that the remaining charging number of the battery in the first charging mode is small, and to avoid the sudden drop of the charging rate caused by the direct switching of the first charging mode to the second charging mode, the charging rate of the battery in the first charging mode is gradually reduced from the first original charging rate to the second original charging rate of the second charging mode, achieving the effect of the disappearance of the first charging mode without feeling, and the charging can be performed based on the first charging mode by gradually reducing the charging rate through step S102. If the current charging number is greater than the maximum charging number of the target number interval, the charging number of the battery in the first charging mode has been used up, and the second charging mode can be used to charge the battery.
[0036] Step S102: In the case that the current charging number is located in the target number interval, determining the target charging rate of the battery according to the current charging number and the correspondence between the charging number and the charging rate of the battery. In the correspondence, the charging number is negatively correlated with the charging rate.
[0037] Optionally, the charging rate of the battery in the first charging mode can be adjusted based on the amplitude adjustment step corresponding to the charging rate and the charging number to obtain the correspondence between the charging number and the charging rate of the battery. The specific implementation can be referred to the related description below, which is not described here.
[0038] In actual implementation, the correspondence between the charging number and the charging rate of the battery can be but not limited to represented by any one of the following: a relationship formula of the charging number and the charging rate, a relationship chart of the charging number and the charging rate, and a relationship model of the charging number and the charging rate. In the case that the correspondence is the relationship formula of the charging number and the charging rate, in the case that the current charging number is located in the target number interval, the current charging number can be substituted into the relationship formula of the charging number and the charging rate to obtain the target charging rate. In the case that the correspondence is the relationship chart of the charging number and the charging rate, the target charging rate can be obtained by querying the preset relationship chart of the charging number and the charging rate according to the current charging number. In the case that the correspondence is the relationship model of the charging number and the charging rate, the target charging rate can be obtained by inputting the current charging number into the relationship model that has learned the correspondence between the charging number and the charging rate.
[0039] The embodiments of the present application do not limit the way of determining the target charging rate of the battery according to the current charging number and the corresponding relationship between the charging number and the charging rate of the battery, and can be determined according to actual conditions, as long as the determination logic of the target charging rate is met.
[0040] Step S103: charging the battery according to the target charging rate.
[0041] Optionally, in the case that the charging rate of the battery in the first charging mode is a fixed preset reference rate, the target charging rate can be a fixed charging rate, and in actual implementation, the battery can be directly charged at the target charging rate.
[0042] Optionally, in the case that the charging rate of the battery in the first charging mode is a preset reference rate in the charging MAP table, the target charging rate can be a charging rate in the charging MAP table, and in actual implementation, the battery can be directly charged by using the charging MAP table.
[0043] The embodiments of the present application obtain a target number interval with a minimum charging number less than the maximum allowed charging number of the battery in the first charging mode and a maximum charging number greater than the maximum allowed charging number, and charge the battery using a charging rate negatively related to the charging number when the current charging number of the battery is in the target number interval, so that the charging rate of the battery in the first charging mode can be slowly transitioned from a large charging rate to a small charging rate on the basis of ensuring the charging safety of the battery in the first charging mode, thereby avoiding the situation of charging rate shock when the battery is switched from a large-rate charging mode to a small-rate charging mode, and improving the charging stability of the battery.
[0044] In an embodiment, the charging rate corresponding to the minimum charging number of the target number interval is less than or equal to the first original charging rate of the battery in the first charging mode, and the charging rate corresponding to the maximum charging number of the target number interval is greater than or equal to the second original charging rate of the battery in the second charging mode; the second charging mode is a charging mode without limiting the charging number; and the second original charging rate is less than the first original charging rate.
[0045] Optionally, the second charging mode can be a small-rate charging mode without limiting the charging number. In some embodiments, the second charging mode can also be referred to as a conventional charging mode. Optionally, the first original charging rate of the battery in the first charging mode can be a preset reference rate of the battery in the first charging mode; and the second original charging rate of the battery in the second charging mode can be a preset reference rate of the battery in the second charging mode.
[0046] In actual implementation, when the battery is charged at a fixed preset reference rate in the target charging mode, the fixed preset charging rate can be determined as the target original charging rate of the battery in the target charging mode. When the battery is charged at a preset reference rate in the charging MAP table in the target charging mode, the preset reference rate in the charging MAP table can be determined as the target original charging rate of the battery in the target charging mode. The target charging mode includes the first charging mode and the second charging mode, and the target original charging rate includes the first original charging rate and the second original charging rate. The charging MAP table can include a charging MAP table corresponding to the first charging mode and a charging MAP table corresponding to the second charging mode.
[0047] It is worth mentioning that, when the first original charging rate is a preset reference rate in the charging MAP table corresponding to the first charging mode, and the second original charging rate is a preset reference rate in the charging MAP table corresponding to the second charging mode, the first original charging rate and the second original charging rate correspond to the same target charging parameter. Optionally, the target charging parameter includes the battery state of charge and the battery temperature.
[0048] In the case that the current charging number of the battery is in the target number interval, the battery is charged at a charging rate that is not higher than the original charging rate of the first charging mode, not lower than the original charging rate of the second charging mode, and negatively related to the charging number. In this way, the charging rate of the battery can be slowly transitioned from the original charging rate of the first charging mode to the original charging rate of the second charging mode on the basis of ensuring the charging safety of the battery in the first charging mode, so that the situation of charging rate shock caused by switching the battery from the first charging mode to the second charging mode can be avoided, and the charging stability of the battery is improved.
[0049] In an embodiment, after obtaining the current charging number and the target number interval of the battery in the first charging mode in the step S101, the charging method provided by the application further includes:
[0050] In the case that the current charging number is less than the minimum charging number, the battery is charged at the first original charging rate.
[0051] In the case that the current charging number is greater than the maximum charging number, the battery is charged at the second original charging rate.
[0052] In actual implementation, when the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both fixed charging rates, if the current charging number is less than the minimum charging number, the first original charging rate can be directly used to charge the battery; if the current charging number is greater than the maximum charging number, the second original charging rate can be directly used to charge the battery.
[0053] In actual implementation, when the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both fixed charging rates, if the current charging number is less than the minimum charging number, the first original charging rate can be directly used to charge the battery; if the current charging number is greater than the maximum charging number, the second original charging rate can be directly used to charge the battery.
[0054] In actual implementation, when the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both fixed charging rates, if the current charging number is less than the minimum charging number, the first original charging rate can be directly used to charge the battery; if the current charging number is greater than the maximum charging number, the second original charging rate can be directly used to charge the battery.
[0055] In an embodiment, before the step S102 of determining the target charging rate according to the current charging number and the correspondence between the charging number and the charging rate of the battery, the charging method provided by the embodiment further includes:
[0056] determining the amplitude adjustment step of the charging rate corresponding to the charging number according to the ratio of the first difference to the second difference, the first difference being the difference between the first original charging rate and the second original charging rate, and the second difference being the difference between the maximum charging number and the minimum charging number;
[0057] generating the correspondence between the charging number and the charging rate of the battery according to the charging number and the amplitude adjustment step of the charging rate corresponding to the charging number.
[0058] Optionally, the amplitude adjustment steps of the charging rates corresponding to different charging numbers can be the same or different; for each charging number, the amplitude adjustment step can be an adjustment step based on the first original charging rate or an adjustment step based on the charging rate corresponding to the last charging number; the charging rate corresponding to the minimum charging number can be the first original charging rate.
[0059] In actual implementation, the ratio of the first difference to the second difference can be determined as the amplitude adjustment step of the charging rate corresponding to each charging frequency; or the ratio of the first difference to the second difference can be determined as the amplitude adjustment step of the charging rate corresponding to the minimum charging frequency, and the amplitude adjustment step of the charging rate corresponding to the next charging frequency can be obtained by multiplying the coefficient on the basis of the amplitude adjustment step of the charging rate corresponding to the minimum charging frequency, and so on, so that different amplitude adjustment steps of the charging rate corresponding to each charging frequency can be obtained. The embodiments of the application do not limit the specific manner of determining the amplitude adjustment step of the charging rate corresponding to the charging frequency according to the ratio of the first difference to the second difference, and the amplitude adjustment step can be determined according to actual conditions.
[0060] According to the embodiments of the application, the amplitude adjustment step of the charging rate corresponding to the charging frequency is determined according to the ratio of the difference between the first original charging rate and the second original charging rate to the difference between the maximum charging frequency and the minimum charging frequency, and the corresponding relationship between the charging frequency and the charging rate of the battery is generated according to the charging frequency and the amplitude adjustment step of the charging rate corresponding to the charging frequency, which can improve the accuracy of determining the corresponding relationship and the accuracy of determining the target charging rate of the battery based on the corresponding relationship, so that the charging rate of the battery can be slowly transitioned from the original charging rate of the first charging mode to the original charging rate of the second charging mode on the basis of ensuring the charging safety of the battery in the first charging mode.
[0061] In the case where the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both fixed charging rates, the above-mentioned generation of the corresponding relationship according to the charging frequency and the amplitude adjustment step of the charging rate corresponding to the charging frequency can include:
[0062] For each charging frequency in the target frequency interval, the first original charging rate is adjusted based on the amplitude adjustment step of the charging rate corresponding to the charging frequency to determine the charging rate corresponding to the charging frequency.
[0063] The corresponding relationship between the charging frequency and the charging rate of the battery is generated according to the charging rate corresponding to each charging frequency.
[0064] In the case where the above-mentioned amplitude adjustment step is an adjustment step on the basis of the first original charging rate, for each charging frequency, the product of the amplitude adjustment step corresponding to the charging frequency and the first original charging rate can be determined as the charging rate corresponding to the charging frequency.
[0065] In the case that the amplitude adjustment step size is the adjustment step size based on the charging rate corresponding to the last charging number, for each charging number, the product of the amplitude adjustment step size corresponding to the charging number and the charging rate corresponding to the last charging number can be determined as the charging rate corresponding to the charging number.
[0066] In the case that the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both fixed charging rates, for each charging number in the target number interval, the first original charging rate is adjusted based on the amplitude adjustment step size of the charging rate corresponding to the charging number, to determine the charging rate corresponding to the charging number, and the correspondence between the charging number and the charging rate of the battery is generated according to the charging rate corresponding to each charging number, which can improve the accuracy of determining the correspondence between the charging number and the charging rate of the battery, and further improve the accuracy of determining the target charging rate of the battery based on the correspondence between the charging number and the charging rate of the battery, so as to slowly transition the charging rate of the battery from the original charging rate of the first charging mode to the original charging rate of the second charging mode while ensuring the charging safety of the battery in the first charging mode.
[0067] In the case that the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both charging rates in the charging MAP, the above generating the correspondence according to the charging number and the amplitude adjustment step size of the charging rate corresponding to the charging number can include:
[0068] For each charging number in the target number interval, the first charging MAP table of the battery corresponding to the charging number is adjusted based on the amplitude adjustment step size of the charging rate corresponding to the charging number, to obtain the second charging MAP table corresponding to the charging number; the first charging MAP table is determined based on the original charging MAP table of the battery in the first charging mode.
[0069] The correspondence is generated according to the second charging MAP table corresponding to each charging number; the charging rate corresponding to each charging number in the correspondence is the charging rate in the second charging MAP table corresponding to the charging number.
[0070] In actual implementation, in the case that the charging rate of the battery in the first charging mode and the charging rate of the battery in the second charging mode are both charging rates in the charging MAP, for each charging number in the target number interval, the first charging MAP table of the battery corresponding to the charging number can be adjusted based on the amplitude adjustment step size of the charging rate corresponding to the charging number, to obtain the second charging MAP table corresponding to the charging number.
[0071] In the case that the amplitude adjustment step is the adjustment step based on the original charging MAP table, the first charging MAP table is the original charging MAP table. For each charging number, the first original charging rate in the original charging MAP table can be updated to the product of the amplitude adjustment step corresponding to the charging number and the first original charging rate, to obtain the second charging MAP table corresponding to the charging number. It is worth mentioning that in the case that part of the charging rate in the original charging MAP table is equal to the corresponding charging rate in the second charging mode, the part of the charging rate remains unchanged, that is, the part of the charging rate remains consistent in the first charging MAP table and the second charging MAP table.
[0072] In the case that the amplitude adjustment step is the adjustment step based on the charging MAP table corresponding to the last charging number, the first charging MAP table is the charging MAP table corresponding to the last charging number, and in the case that the last charging number is the minimum charging number, the charging MAP table corresponding to the last charging number is the original charging MAP table. For each charging number, the first charging rate in the charging MAP table corresponding to the last charging number can be updated to the product of the amplitude adjustment step corresponding to the charging number and the first charging rate, to obtain the second charging MAP table corresponding to the charging number. It is worth mentioning that in the case that part of the charging rate in the first charging MAP table is equal to the corresponding charging rate in the second charging mode, the part of the charging rate remains unchanged, that is, the part of the charging rate remains consistent in the first charging MAP table and the second charging MAP table.
[0073] In actual implementation, since the charging rate corresponding to each charging number in the above-mentioned corresponding relationship is the charging rate in the second charging MAP table corresponding to each charging number, the corresponding relationship between the charging number of the battery and the charging MAP table can be directly determined as the corresponding relationship between the charging number of the battery and the charging rate; or the corresponding relationship between the charging number of the battery and the charging rate can be further extracted from the corresponding relationship between the charging number of the battery and the charging MAP table based on the target charging parameters such as the state of charge of the battery and the temperature of the battery.
[0074] In the case that the first original charging rate of the battery in the first charging mode and the second original charging rate of the battery in the second charging mode are both charging rates in the charging MAP table, the first charging MAP table corresponding to the charging times of the target times interval is adjusted based on the amplitude adjustment step corresponding to the charging times of the charging rate, to obtain the second charging MAP table corresponding to the charging times, and the correspondence between the charging times and the charging rate of the battery is generated according to the second charging MAP table corresponding to each charging time, which can improve the accuracy of determining the correspondence between the charging times and the charging rate of the battery, and further improve the accuracy of determining the target charging rate of the battery based on the correspondence between the charging times and the charging rate of the battery, so as to slowly transition the charging rate of the battery from the original charging rate of the first charging mode to the original charging rate of the second charging mode while ensuring the charging safety of the battery in the first charging mode.
[0075] In an embodiment, the current charging times of the battery in the first charging mode and the target times interval are obtained, including:
[0076] The interval length of the target times interval is determined according to the maximum allowed charging times;
[0077] The second end value of the target times interval is determined according to the first end value of the target times interval and the interval length, wherein the first end value is one of the minimum charging times and the maximum charging times, and the second end value is the other of the minimum charging times and the maximum charging times;
[0078] The target times interval is generated according to the first end value and the second end value.
[0079] In actual implementation, the interval length of the target times interval can be determined based on the maximum allowed charging times and a preset correspondence between the allowed charging times and the interval length, or the interval length of the target interval can be determined according to the maximum allowed charging times, the first end value of the target times interval and the interval length coefficient.
[0080] In an embodiment, the interval length of the target times interval can be determined by formula (1):
[0081]
[0082] Wherein, L represents the interval length of the target times interval, X represents the maximum allowed charging times, Y represents the first end value of the target times interval, and A represents the interval length coefficient.
[0083] The second end value of the target times interval can be determined by formula (2):
[0084] Z = Y + L (2)
[0085] wherein, Z represents the second end value of the target frequency interval.
[0086] Further, the generated target frequency interval can be any one of [Y, Z], (Y, Z), (Y, Z], [Y, Z).
[0087] It is worth mentioning that the above formula (1) is only an example of determining the interval length of the target interval according to the maximum allowed charging frequency, the pre-configured first end value of the target frequency interval, and the interval length coefficient. In actual implementation, the formula (1) can be added or deformed according to the actual situation to obtain other relationship formulas of the maximum allowed charging frequency, the pre-configured first end value of the target frequency interval, the interval length coefficient, and the interval length of the target interval.
[0088] The above formula (2) is only an example of determining the second end value of the target frequency interval according to the pre-configured first end value of the target frequency interval and the interval length. In actual implementation, the formula (2) can be added or deformed according to the actual situation to obtain other relationship formulas of the pre-configured first end value of the target frequency interval, the interval length, and the second end value of the target frequency interval.
[0089] The embodiments of the present application can improve the accuracy of determining the target frequency interval by determining the interval length of the target frequency interval according to the maximum allowed charging frequency, determining the second end value of the target frequency interval according to the pre-configured first end value of the target frequency interval and the interval length, and generating the target frequency interval according to the first end value and the second end value. Therefore, on the basis of ensuring the charging safety of the battery in the first charging mode, the charging rate of the battery can be slowly transitioned from the original charging rate of the first charging mode to the original charging rate of the second charging mode based on the target frequency interval, and the charging rate shock can be effectively avoided when the battery is switched from the first charging mode to the second charging mode, thereby improving the charging stability of the battery.
[0090] In an embodiment, the above determination of the interval length of the target frequency interval according to the maximum allowed charging frequency comprises:
[0091] determining the interval length coefficient according to the material aging sensitive index of the battery, the first original charging rate and the second original charging rate;
[0092] determining the interval length according to the interval length coefficient and the difference between the maximum allowed charging frequency and the first end value.
[0093] In an embodiment, the interval length coefficient can be determined by formula (3):
[0094]
[0095] wherein Cboost represents the first original charging rate, Cnormal represents the second original charging rate, and a represents a material aging sensitive index of the battery.
[0096] Further, the interval length can be determined in combination with formula (1) and formula (3).
[0097] It is worth mentioning that the above formula (3) is only an example of determining the interval length coefficient according to the material aging sensitive index of the battery, the first original charging rate and the second original charging rate. In actual implementation, the formula (3) can be added or deformed according to the actual situation to obtain other relationships of the material aging sensitive index of the battery, the first original charging rate, the second original charging rate and the interval length coefficient.
[0098] The above formula (1) is only an example of determining the interval length according to the interval length coefficient and the difference between the maximum allowed charging number and the first end value. In actual implementation, the formula (1) can be added or deformed according to the actual situation to obtain other relationships of the interval length coefficient, the difference between the maximum allowed charging number and the first end value and the interval length.
[0099] The embodiments of the present application can improve the accuracy of determining the interval length and the target number interval by determining the interval length coefficient according to the material aging sensitive index of the battery, the first original charging rate and the second original charging rate, and determining the interval length according to the interval length coefficient and the difference between the maximum allowed charging number and the first end value. Therefore, the charging rate of the battery can be slowly transitioned from the original charging rate of the first charging mode to the original charging rate of the second charging mode based on the target number interval while ensuring the charging safety of the battery in the first charging mode.
[0100] Please refer to Figure 2 The charging method provided by the embodiments of the present application can further include the following steps:
[0101] Step S201: In response to a target charging instruction indicating that the battery is charged in the first charging mode, the current charging number of the battery in the first charging mode and the target number interval are obtained.
[0102] Step S202: Determine whether the current charging number is within the target number interval.
[0103] If the current charging number is within the target number interval, step S203 is performed: determining the target charging rate of the battery according to the current charging number and the corresponding relationship between the charging number and the charging rate of the battery.
[0104] Step S204: Charge the battery according to the target charging rate.
[0105] If the current charging number is not in the target number interval, step S205 is performed: determining whether the current charging number is less than the minimum charging number;
[0106] If the current charging number is less than the minimum charging number, step S206 is performed: charging the battery using the first original charging rate;
[0107] If the current charging number is not less than the minimum charging number, step S207 is performed: charging the battery using the second original charging rate.
[0108] The specific implementation of the embodiment can refer to the description in the above-described embodiments, which will not be repeated here.
[0109] The embodiment of the present application obtains the target number interval with the minimum charging number being less than the maximum allowed charging number of the battery in the first charging mode and the maximum charging number being greater than the maximum allowed charging number, and in the case that the current charging number of the battery is in the target number interval, uses the charging rate that is not higher than the original charging rate of the first charging mode, not lower than the original charging rate of the second charging mode, and negatively related to the charging number to charge the battery, in the case that the current charging number is less than the minimum charging number, uses the first original charging rate to charge the battery, and in the case that the current charging number is greater than the maximum charging number, uses the second original charging rate to charge the battery, which can slowly transition the charging rate of the battery from the original charging rate of the first charging mode to the original charging rate of the second charging mode on the basis of ensuring the charging safety of the battery in the first charging mode, thereby avoiding the situation of charging rate shock when the battery is switched from the first charging mode to the second charging mode, and improving the charging stability of the battery.
[0110] In a specific embodiment, in the case that the above-described first charging mode is an overclocking charging mode, the charging method provided by the embodiment of the present application can further include the following steps:
[0111] Through cell testing, using a random state of charge (SOC) value, performing cycle charging test on the battery according to the overclocking charging MAP table corresponding to the overclocking charging mode, and determining the corresponding cycle charging number as the maximum allowed charging number of the battery in the overclocking charging mode when detecting that the cell voltage is lower than a safety value;
[0112] According to the maximum allowed charging number, determining the target number interval in the overclocking charging mode;
[0113] In response to a target charging instruction for indicating that the battery is charged using the overclocking charging mode, obtaining the current charging number of the battery in the overclocking charging mode;
[0114] When the current number of battery charges is within the target range, the overclocking mode is in a gradual reduction state; in the gradual reduction state, the overclocking effect gradually decreases as the current number of battery charges gradually increases.
[0115] If the current number of charges for the battery exceeds the maximum number of charges within the target range, the battery will end the overclocking charging mode and enter the normal charging mode.
[0116] like Figure 3 As shown, X represents the maximum allowable number of charges for the battery in overclocking mode, Y represents the minimum number of charges within the target range, and Z represents the maximum number of charges within the target range. Figure 3 As shown in L1, using existing charging methods, when the current number of charges is between the minimum and maximum allowed number of charges, the battery's overclocking effect remains at 1. Here, an overclocking effect of 1 indicates that the battery's charging rate is the first original charging rate in overclocking mode. This can be understood as consistently charging the battery at the first original charging rate in overclocking mode when the current number of charges is between the minimum and maximum allowed number of charges. However, when the current number of charges exceeds the maximum allowed number of charges, the battery's charging rate directly drops to the second original charging rate in normal charging mode. The switch from the first to the second original charging rate is very rapid, without any transition process. Such a switching of charging modes can easily cause fluctuations in the battery's charging rate, resulting in poor charging stability.
[0117] like Figure 3 As shown in L2, using the charging method provided in this application embodiment, when the current number of charges is within the target number range, the overclocking effect of the battery gradually decreases as the current number of charges increases. Specifically, when the current number of charges equals the minimum number of charges within the target number range, the overclocking effect of the battery is 1, and when the current number of charges equals the maximum number of charges within the target number range, the overclocking effect of the battery is 0. This can be understood as follows: when the current number of charges equals the minimum number of charges within the target number range, the battery's charging rate is the first original charging rate in the overclocking charging mode; as the current number of charges increases, the battery's charging rate gradually decreases until the current number of charges equals the maximum number of charges within the target number range, at which point the battery's charging rate decreases to the second original charging rate in the conventional charging mode. This ensures the charging safety of the battery in the first charging mode while gradually transitioning the battery's charging rate from the first original charging rate in the overclocking charging mode to the second original charging rate in the conventional charging mode, thereby avoiding charging rate oscillations due to switching charging modes and improving the charging stability of the battery.
[0118] In addition, since the charging rate and the charging time of the super frequency charging mode and the conventional charging mode are quite different, the use experience of the two modes is obviously different. Using the charging method provided in the embodiments of the present application, when the current charging number of the battery in the super frequency mode reaches the minimum charging number of the target number interval (i.e., the remaining available number of times of the super frequency charging mode is equal to the difference between the maximum allowed charging number and the minimum charging number), the charging rate of the battery in the super frequency charging mode is gradually reduced, and the maximum allowed number of times of use of the super frequency charging mode is simultaneously extended to the maximum charging number of the target number interval, until the current charging number of the battery in the super frequency mode reaches the maximum charging number of the target number interval, the charging rate of the battery is switched to the charging rate of the battery in the conventional charging mode, thereby ensuring the charging safety of the battery in the first charging mode, and realizing the slow transition of the charging rate of the battery from the first original charging rate of the super frequency charging mode to the second original charging rate of the conventional charging mode, which can achieve the effect of the disappearance of the super frequency charging mode, and further improve the use experience of the user.
[0119] Please refer to Figure 4 The embodiments of the present application also provide a charging device 400, which can implement the above charging method, and the device comprises an acquisition module 401, a determination module 402 and a charging execution module 403.
[0120] The acquisition module 401 is configured to acquire the current charging number of the battery in the first charging mode and a target number interval in response to a target charging instruction for instructing to charge the battery in the first charging mode; the minimum charging number of the target number interval is less than the maximum allowed charging number of the battery in the first charging mode; and the maximum charging number of the target number interval is greater than the maximum allowed charging number.
[0121] The determination module 402 is configured to determine the target charging rate of the battery according to the current charging number and the corresponding relationship between the charging number and the charging rate of the battery when the current charging number is located in the target number interval; and in the corresponding relationship, the charging number is negatively correlated with the charging rate.
[0122] The charging execution module 403 is configured to charge the battery according to the target charging rate.
[0123] The charging device provided in the embodiments of the present application can implement each step of the above charging method embodiments and achieve the same technical effects. To avoid repetition, details are not described here.
[0124] Please refer to Figure 5The embodiment of the present application further provides a charging device 500, comprising a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions executable on the processor 501, the programs or instructions are executed by the processor 501 to implement each step of the charging method embodiment described above, and the same technical effects can be achieved. To avoid repetition, this will not be repeated here. It should be noted that the charging device 500 in the embodiment of the present application includes a mobile charging device and a non-mobile charging device.
[0125] Figure 6 To realize the hardware structure of the charging device in the embodiment of the present application, the charging device comprises:
[0126] The processor 601 can be implemented in the form of a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits, etc., for executing related programs to realize the technical solutions provided by the embodiments of the present application.
[0127] The memory 602 can be implemented in the form of a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 602 can store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are saved in the memory 602 and executed by the processor 601 to implement the charging method of the present application.
[0128] The input / output interface 603 is used to realize information input and output.
[0129] The communication interface 604 is used to realize the communication interaction between the device and other devices, which can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0130] The bus 605 transmits information between various components (such as the processor 601, the memory 602, the input / output interface 603, and the communication interface 604) of the device.
[0131] The processor 601, the memory 602, the input / output interface 603, and the communication interface 604 are connected to each other through the bus 605 for internal communication connection.
[0132] The charging device provided by the embodiments of the present application can implement each step of the charging method embodiments described above and achieve the same technical effects. To avoid repetition, no further description is given here.
[0133] The embodiments of the present application also provide a computer readable storage medium, which stores a program or instructions. When the program or instructions are executed by a processor, each step of the charging method embodiments described above is implemented, and the same technical effects can be achieved. To avoid repetition, no further description is given here.
[0134] The processor is the processor in the charging device described in the above embodiments. The computer readable storage medium includes computer readable storage media such as computer readable only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0135] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to execute a program or instructions to implement each step of the charging method embodiments described above and achieve the same technical effects. To avoid repetition, no further description is given here.
[0136] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0137] The embodiments of the present application provide a computer program product stored in a storage medium. The program product is executed by at least one processor to implement each step of the charging method embodiments described above and achieve the same technical effects. To avoid repetition, no further description is given here.
[0138] It should be noted that in this document, the terms "comprising", "including", or any other variant thereof are intended to cover non-exclusive inclusion, so that processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed, or further include elements inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not delete the existence of another same element in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in a reverse order, for example, the described method can be performed in an order different from the described order, and various steps can be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0139] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0140] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
Claims
1. A charging method characterized by, The method comprises: obtaining a current charging frequency and a target frequency interval of the battery in the first charging mode in response to a target charging instruction indicating that the battery is charged in the first charging mode; the minimum charging frequency of the target frequency interval is less than the maximum allowed charging frequency of the battery in the first charging mode; and the maximum charging frequency of the target frequency interval is greater than the maximum allowed charging frequency; determining a target charging rate of the battery according to the current charging frequency and a corresponding relationship between the charging frequency and the charging rate of the battery, when the current charging frequency is in the target frequency interval; wherein, in the corresponding relationship, the charging frequency is negatively correlated with the charging rate; charging the battery according to the target charging rate.
2. The charging method according to claim 1, wherein The charging rate corresponding to the minimum charging frequency of the target frequency interval is less than or equal to a first original charging rate of the battery in the first charging mode, and the charging rate corresponding to the maximum charging frequency of the target frequency interval is greater than or equal to a second original charging rate of the battery in a second charging mode; The second charging mode is a charging mode without limiting the charging frequency; and the second original charging rate is less than the first original charging rate.
3. The charging method according to claim 2, wherein After obtaining the current charging frequency and the target frequency interval of the battery in the first charging mode, the charging method further comprises: charging the battery using the first original charging rate when the current charging frequency is less than the minimum charging frequency; charging the battery using the second original charging rate when the current charging frequency is greater than the maximum charging frequency.
4. The charging method according to claim 2, wherein Before determining the target charging rate of the battery according to the current charging frequency and the corresponding relationship between the charging frequency and the charging rate of the battery, the charging method further comprises: determining an amplitude adjustment step of the charging rate corresponding to the charging frequency according to a ratio of a first difference to a second difference; the first difference is a difference between the first original charging rate and the second original charging rate, and the second difference is a difference between the maximum charging frequency and the minimum charging frequency; generating the corresponding relationship according to the charging frequency and the amplitude adjustment step of the charging rate corresponding to the charging frequency.
5. The charging method according to claim 4, wherein The generating of the corresponding relationship according to the charging frequency and the amplitude adjustment step of the charging rate corresponding to the charging frequency comprises: adjusting a first charging MAP table of the battery corresponding to the charging frequency to obtain a second charging MAP table corresponding to the charging frequency based on the amplitude adjustment step corresponding to the charging frequency for each charging frequency of the target frequency interval; the first charging MAP table is determined based on an original charging MAP table of the battery in the first charging mode; generating the corresponding relationship according to the second charging MAP table corresponding to each charging frequency; the charging rate corresponding to each charging frequency in the corresponding relationship is the charging rate in the second charging MAP table corresponding to each charging frequency.
6. The charging method according to claim 2, wherein The current charging frequency and the target frequency interval of the battery in the first charging mode are obtained, including: According to the maximum allowed charging frequency, the interval length of the target frequency interval is determined; According to the first end value of the target frequency interval and the interval length, the second end value of the target frequency interval is determined; wherein the first end value is one of the minimum charging frequency and the maximum charging frequency, and the second end value is the other of the minimum charging frequency and the maximum charging frequency; According to the first end value and the second end value, the target frequency interval is generated.
7. The charging method according to claim 6, wherein According to the maximum allowed charging frequency, the interval length of the target frequency interval is determined, including: According to the material aging sensitive index of the battery, the first original charging rate and the second original charging rate, the interval length coefficient is determined; According to the interval length coefficient and the difference value of the maximum allowed charging frequency relative to the first end value, the interval length is determined.
8. A charging device, characterized by It includes an acquisition module, a determination module and a charging execution module; The acquisition module is used to obtain the current charging frequency and the target frequency interval of the battery in the first charging mode in response to a target charging instruction for indicating that the battery is charged in the first charging mode; the minimum charging frequency of the target frequency interval is less than the maximum allowed charging frequency of the battery in the first charging mode; the maximum charging frequency of the target frequency interval is greater than the maximum allowed charging frequency; The determination module is used to determine the target charging rate of the battery according to the current charging frequency and the corresponding relationship between the charging frequency and the charging rate of the battery when the current charging frequency is in the target frequency interval; wherein in the corresponding relationship, the charging frequency is negatively related to the charging rate; The charging execution module is used to charge the battery according to the target charging rate.
9. A charging device, characterized by The charging device includes a memory and a processor, the memory stores a computer program, and the processor implements the charging method of any one of claims 1-7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the charging method of any one of claims 1-7.