Charging methods, devices, electronic devices and computer-readable storage media
By real-time detection of the battery's negative electrode potential and adjustment of the charging current using error control, the problem of lithium plating on the negative electrode during fast charging is solved, thereby improving the battery's range and utilization rate.
Patent Information
- Application Number
- CN202210691912.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-06-17
AI Technical Summary
During fast charging, lithium plating at the negative electrode of the battery leads to the loss of active lithium, reducing the battery's range and utilization rate.
By real-time detection of the battery's negative electrode potential, a reference current value is obtained through error control. Combined with the preset correspondence between charging voltage and current, the target current value is determined and fed back to the charging equipment to adjust the charging current, thus avoiding lithium plating on the negative electrode.
It improves battery life and utilization, reduces lithium plating on the negative electrode, and enables safe and efficient fast charging.
Smart Images

Figure CN117293426B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a charging method, apparatus, electronic device and computer-readable storage medium. Background Technology
[0002] In recent years, fast charging technology has developed rapidly and has been widely used in mobile devices. Current fast charging methods can match the appropriate charging power for each stage of charging according to the battery's state, while also controlling the charging power based on software application operation and device temperature.
[0003] However, during fast charging, the battery is often in a high-charge state and high-rate charging state, which can easily cause lithium plating on the negative electrode, resulting in the loss of active lithium in the battery, thereby reducing the battery's range and utilization rate. Summary of the Invention
[0004] This application aims to provide a charging method, apparatus, electronic device, and computer-readable storage medium that can improve battery life and battery utilization.
[0005] The technical solution of this application is implemented as follows:
[0006] In a first aspect, embodiments of this application provide a charging method, including:
[0007] In fast charging mode, the current negative electrode potential is determined based on at least one current charging parameter; and a reference current value is obtained by error control of the difference between the current negative electrode potential and the preset negative electrode potential.
[0008] Based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, the maximum current value of the current stage is determined; N is a positive integer greater than or equal to 1.
[0009] Based on the current maximum current value and the reference current value, a target current value is determined; and the target current value is fed back to the charging device so that the charging device supplies power to the electronic device according to the target current value.
[0010] Secondly, embodiments of this application provide a charging device, comprising:
[0011] The determining unit is used to determine the maximum current value of the current stage based on at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages; N is a positive integer greater than or equal to 1.
[0012] The control unit is used to determine the current negative electrode potential based on at least one current charging parameter in fast charging mode; and to obtain a reference current value by performing error control on the difference between the current negative electrode potential and the preset negative electrode potential.
[0013] The charging unit is used to determine a target current value based on the current maximum current value and the reference current value; and to feed the target current value back to the charging device so that the charging device supplies power to the electronic device according to the target current value.
[0014] Thirdly, embodiments of this application provide an electronic device, including:
[0015] Memory, used to store executable data instructions;
[0016] The processor, when executing executable instructions stored in the memory, implements the charging method provided in the embodiments of this application.
[0017] Fourthly, embodiments of this application provide a computer-readable storage medium, comprising:
[0018] Fifthly, embodiments of this application provide a computer program product, including a computer program or instructions, characterized in that the computer program or instructions, when executed by a processor, implement the charging method provided in embodiments of this application.
[0019] This application provides a charging method, apparatus, electronic device, and computer-readable storage medium. By using at least one current charging parameter, the current negative electrode potential is determined, enabling real-time detection of the battery's negative electrode potential during fast charging. This allows for timely detection of the current negative electrode potential that may cause lithium plating and subsequent charging control. Furthermore, by controlling the error between the current negative electrode potential and a preset negative electrode potential, a reference current value is obtained. This reference current value can be used to reduce the error between the current and preset negative electrode potentials. Thus, when the current negative electrode potential is negative, it can be raised, reducing lithium plating at negative negative electrode potentials. Moreover, by determining the maximum current value at the current stage and based on the maximum current value and the reference current value, a target current value is determined. The reference current value obtained from error control can be further constrained by the maximum charging current that the battery's current health condition can withstand. The target current value is then fed back to the charging device, enabling the charging device to supply power to the electronic device according to the target current value. Through the above process, when the real-time negative electrode potential of the battery becomes negative during fast charging, the electronic device can promptly request the charging device to adjust to the target charging current, so that the negative electrode potential returns to the non-negative range, reducing the generation of lithium plating on the negative electrode, thereby greatly improving the battery's range and utilization rate. Attached Figure Description
[0020] Figure 1 A schematic diagram of an optional process for a charging method provided in an embodiment of this application;
[0021] Figure 2 A schematic diagram of an optional process for a charging method provided in an embodiment of this application;
[0022] Figure 3 A schematic diagram of an optional process for a charging method provided in an embodiment of this application;
[0023] Figure 4 A schematic diagram of an optional process for a charging method provided in an embodiment of this application;
[0024] Figure 5 A schematic diagram of an optional process for a charging method provided in an embodiment of this application;
[0025] Figure 6 A schematic diagram of an optional structure of the intelligent charging control module provided in an embodiment of this application;
[0026] Figure 7 A schematic diagram of an optional process for applying the charging method provided in this application embodiment to a real-world scenario;
[0027] Figure 8 A schematic diagram of an optional process for applying the charging method provided in this application embodiment to a real-world scenario;
[0028] Figure 9 This is a schematic diagram of an optional structure of the charging device provided in an embodiment of this application;
[0029] Figure 10 This is a schematic diagram of an optional structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0031] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0032] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0034] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0035] 1) A PI controller (Proportional Integral controller) is a linear controller that uses the given value and the actual output value to form a control deviation. The proportional and integral values of the deviation are then linearly combined to form the control quantity, which is used to control the controlled object.
[0036] 2) Charging rate: The charging rate is a measure of how fast a battery charges. It refers to the current required to charge the battery to its rated capacity within a specified time. It is numerically equal to a multiple of the battery's rated capacity, i.e., "charging current / battery rated capacity = charging rate".
[0037] 3) Fast Charging Protocol: When a phone and charger are connected via a data cable, the processing chips in both devices coordinate to find the most suitable voltage and current. Only after mutual authentication and a handshake can the fast charging function be truly activated. After activation, the power management chips on both the phone and charger adjust the output and input voltage and current according to the fast charging protocol; this is the function of the charging protocol. Different fast charging protocols have different control strategies for the charging process. Currently, fast charging protocols are generally divided into three categories: high voltage and low current, low voltage and high current, and dynamic adjustment.
[0038] In recent years, mobile terminal fast charging technology has developed rapidly, and various manufacturers have formulated fast charging protocols. As the charging rate and energy density of batteries used in mobile terminal electronic devices increase, the maximum output power allowed by fast charging protocols has also increased, with some even reaching 100 watts in maximum charging power. Taking low-voltage, high-current fast charging as an example, during the entire charging process, the terminal matches the corresponding charging power for each stage of charging based on the acquired battery information (such as voltage, charge level, or temperature data), in addition to controlling the charging power based on software application operation status and device temperature.
[0039] However, low temperature, high charging rate, and overcharging are the operating conditions under which lithium plating most easily occurs at the negative electrode during battery charging. The root cause of lithium plating is that the potential reaches the lithium potential, allowing lithium ions to undergo a chemical reaction and deposit on the negative electrode surface. High-rate charging at a high state of charge easily leads to lithium plating at the negative electrode, resulting in the loss of active lithium, capacity decay, and consequently, battery aging and reduced utilization. Reduced battery utilization leads to increasingly slower charging over time, meaning longer charging times. Furthermore, reduced battery utilization results in shorter battery life for electronic devices when fully charged, i.e., reduced battery range.
[0040] This application provides a charging method, apparatus, electronic device, and computer-readable storage medium, which can improve battery life and battery utilization, and shorten charging time. The following describes exemplary applications of the electronic device provided in this application. The electronic device provided in this application can be implemented as various types of user terminals such as laptops, tablets, desktop computers, set-top boxes, and mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices).
[0041] See Figure 1 , Figure 1 This is an optional flowchart illustrating the charging method provided in an embodiment of this application, which will be combined with... Figure 1 The steps shown are explained.
[0042] S101. In fast charging mode, determine the current negative electrode potential based on at least one current charging parameter; and obtain a reference current value by error control of the difference between the current negative electrode potential and the preset negative electrode potential.
[0043] In this embodiment of the application, the electronic device acquires at least one current charging parameter while in fast charging mode.
[0044] In some embodiments, at least one current charging parameter may include at least one of the following: current voltage value, battery temperature, battery capacity, battery charge level, and current current. The electronic device can obtain at least one raw charging parameter by driving a fuel gauge at the underlying level, and then convert or calculate the at least one raw charging parameter to obtain at least one current charging parameter.
[0045] In some embodiments, the electronic device may implement the charging method of the present application embodiments according to at least one preset control cycle. Each time the preset control cycle is reached, a preset charging flag bit representing fast charging is acquired; if the preset charging flag bit is true, it is determined that the electronic device is in a fast charging state.
[0046] For example, at least one preset control cycle can be 1 second, and the electronic device can read the preset charging flag bit once per second; when the preset charging flag bit is true, it is determined that the electronic device is in a fast charging state, so as to implement the charging method provided in the embodiments of this application.
[0047] In this embodiment, at least one current charging parameter characterizes the current state of charge of the battery in the electronic device. The electronic device can calculate the current negative electrode potential based on at least one current charging parameter.
[0048] In this embodiment, the preset negative electrode potential represents the critical potential value at which the battery enters the negative electrode lithium plating state. The electronic device calculates the difference between the current negative electrode potential and the preset negative electrode potential, and performs error control on the difference to obtain a reference current value.
[0049] In some embodiments, since the battery will enter the negative electrode lithium plating state when the negative electrode potential is 0V, the preset negative electrode potential can be 0V; or, considering that the battery itself is polarized, the preset negative electrode potential can also be set to a value greater than 0V. The specific choice depends on the actual situation, and this application embodiment does not limit it.
[0050] In some embodiments, the process by which an electronic device performs error control on the difference between the current negative potential and the preset negative potential to obtain a reference current value may include: obtaining the reference current value by performing proportional-integral control processing on the difference.
[0051] For example, an electronic device can use a PI controller to perform error control processing based on the difference, outputting a control quantity to reduce the difference as a reference current value. Alternatively, the electronic device can also use a proportional controller (P controller), a proportional-integral-differential controller (PID controller), etc., to perform error control on the difference to obtain a reference current value. The specific choice depends on the actual situation, and this application embodiment does not limit it.
[0052] In this embodiment, the goal of the error control process is to reduce the difference between the current negative electrode potential and the preset negative electrode potential. Therefore, when the current negative electrode potential is less than the preset negative electrode potential, the negative electrode potential is increased by decreasing the current, and the reference current value output by the error control is less than the current current in at least one of the current charging parameters. When the current negative electrode potential is greater than the preset negative electrode potential, the negative electrode potential is decreased by increasing the current, and the reference current value output by the error control is greater than the current current in at least one of the current charging parameters.
[0053] For example, if the preset negative electrode potential is 0V, and the current negative electrode potential is less than the preset negative electrode potential, it indicates that the current negative electrode potential is negative, which may cause lithium plating on the negative electrode. Therefore, the electronic device needs to reduce the current through an error control process to increase the negative electrode potential. Thus, when the current negative electrode potential is less than the preset negative electrode potential, the reference current value output by the error control is less than the current current in at least one of the current charging parameters.
[0054] Conversely, when the current negative electrode potential is greater than the preset negative electrode potential, it indicates that the current negative electrode potential is positive. Therefore, the electronic device can increase the current through the error control process to accelerate the charging speed. Thus, when the current negative electrode potential is greater than the preset negative electrode potential, the reference current value output by the error control is greater than the current current in at least one of the current charging parameters.
[0055] S102. Based on at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, determine the maximum current value of the current stage; N is a positive integer greater than or equal to 1.
[0056] In this embodiment, the fast charging process of the electronic device includes N charging stages, where the N charging stages are determined based on the standard parameters of the battery on the electronic device. For each of the N charging stages, the electronic device pre-records the correspondence between the charging voltage and the charging current for each charging stage, that is, N sets of preset correspondences between the charging voltage and the charging current in the N charging stages.
[0057] In this embodiment of the application, the electronic device can determine the current stage of the electronic device in N charging stages based on at least one current charging parameter, and then determine the charging current corresponding to the current stage according to N sets of preset correspondences, as the maximum current value of the current stage.
[0058] In some embodiments, the charging voltage in the preset correspondence can be determined based on the standard parameters of the battery at the factory. For example, it can include the standard voltage for each charging stage in the battery's standard parameters. Alternatively, the actual voltage value for each charging stage can be obtained by recording the battery's historical charging process, such as by recording the voltage change curve during at least one charging process, and used as the charging voltage in the preset correspondence. The specific choice depends on the actual situation, and this application embodiment does not limit the choice.
[0059] In some embodiments, the charging current in the preset correspondence may include the standard current for each charging stage in the battery standard parameters. Alternatively, it may be determined during the charging process by combining a reference current value used to maintain the real-time negative electrode potential above a preset negative electrode potential. In this way, the value of the charging current in the preset correspondence can dynamically change according to the battery state during each charging process.
[0060] S103. Based on the current maximum current value and the reference current value, determine the target current value; and feed the target current value back to the charging device so that the charging device supplies power to the electronic device according to the target current value.
[0061] In this embodiment, the electronic device constrains the reference current value output by the error control process based on the maximum current value at the current stage, controlling the reference current value below the maximum current value at the current stage to obtain the target current value. This avoids the reference current value output by the error control being too large, which could cause lithium plating on the battery's negative electrode.
[0062] In this embodiment, the electronic device and the charging device are interconnected via wired or wireless means. The charging device supplies power to the electronic device through the connection and interacts with the electronic device during the charging process. The electronic device feeds back a target current value to the connected charging device, so that the charging device adjusts the output current according to the target current value and uses the adjusted current to supply power to the electronic device.
[0063] In some embodiments, at least one current charging parameter includes at least one of battery capacity, battery temperature, and battery charge. After determining the target current value, the electronic device can also determine the system charging current value based on at least one of battery capacity, battery temperature, and battery charge. Combining the target current value and the system charging current value, an updated target current value is obtained and fed back to the charging device so that the charging device supplies power to the electronic device according to the updated target current value. In this way, by comprehensively deciding on the target current value obtained by controlling the real-time negative electrode potential and the system current value determined by other factors such as temperature and charge, the final updated current value fed back to the charging device can be obtained, which can further improve the accuracy of the electronic device in determining the charging current value, achieve efficient and safe charging, and improve charging efficiency and battery utilization.
[0064] In some embodiments, the method by which the electronic device combines the target current value and the system charging current value to obtain an updated target current value may include: using the minimum value between the target current value and the system charging current value as the updated target current value. Alternatively, the electronic device may also obtain the updated target current value through other comprehensive calculation methods, such as weighted averaging. The specific method chosen depends on the actual situation and is not limited in the embodiments of this application.
[0065] It is understood that the embodiments of this application provide a charging method, apparatus, electronic device, and computer-readable storage medium. By determining the current negative electrode potential through at least one current charging parameter, real-time detection of the battery's negative electrode potential is achieved during fast charging, enabling timely detection of the current negative electrode potential that may cause lithium plating and subsequent charging control. Furthermore, by performing error control on the difference between the current negative electrode potential and a preset negative electrode potential, a reference current value is obtained. This reference current value can be used to reduce the error between the current negative electrode potential and the preset negative electrode potential. Thus, when the current negative electrode potential is negative, it can be raised, reducing lithium plating at negative negative electrode potentials. Moreover, by determining the maximum current value at the current stage and, based on the maximum current value and the reference current value, a target current value is determined. The reference current value obtained from error control can be further constrained by the maximum charging current that the battery's current health condition can withstand, resulting in a target current value that is fed back to the charging device, allowing the charging device to supply power to the electronic device according to the target current value. Through the above process, when the real-time negative electrode potential of the battery becomes negative during fast charging, the electronic device can promptly request the charging device to adjust to the target charging current, so that the negative electrode potential returns to the non-negative range, reducing the generation of lithium plating on the negative electrode, thereby greatly improving the battery's range and utilization rate.
[0066] In some embodiments, each of the N preset correspondences includes a correspondence between charging voltage and charging current. The charging voltage includes a standard voltage value; each of the N preset correspondences may include a pre-recorded standard voltage value and charging current for each charging stage. Taking the i-th correspondence as an example, the i-th correspondence includes the standard voltage value V for the i-th charging stage. i With charging current I i Where i is a positive integer greater than 0 and less than N; i+1 is less than or equal to N.
[0067] In some embodiments, the standard voltage values in the N sets of preset correspondences gradually increase with the increase of the charging stage, that is, the standard voltage value of the i-th charging stage is less than the standard voltage value of the (i+1)-th charging stage, V i <V i+1 Furthermore, the charging current in the N pre-defined correspondences gradually decreases as the charging stage increases; that is, the charging current in the i-th charging stage is less than the charging current I in the (i+1)-th charging stage. i >I i+1 In other words, during a single charge, as the charging time increases, the battery voltage gradually increases and the charging current gradually decreases.
[0068] Here, in the N preset correspondences, the maximum value among the N charging currents, that is, the charging current I1 of the first charging stage, is less than the preset initial current value; the preset initial current value represents the maximum charging current allowed for fast charging. The maximum value among the N standard voltage values, that is, the charging voltage of the Nth charging stage, is less than the preset target voltage value; the preset target voltage value represents the minimum voltage required to stop the electronic device from the fast charging process.
[0069] Here, in the N sets of preset correspondences corresponding to the N charging stages, the standard voltage value can be determined according to the battery's preset factory standard parameters; correspondingly, the initial value of the charging current can be determined according to the standard current value corresponding to the standard voltage value in the battery's preset standard parameters. For example, the standard voltage value of each charging stage can be determined according to the battery's standard voltage-current charging curve, and the standard current value corresponding to the standard voltage value of each charging stage can be used as the initial value of the charging current for that charging stage. In some embodiments, the electronic device can also use a reference current value calculated based on the real-time negative electrode potential to update the value of the charging current in the correspondence corresponding to the current charging stage, so that the value of the charging current in the N sets of preset correspondences can be dynamically updated according to the actual state of the battery during charging. This will be described in detail in later embodiments.
[0070] In some embodiments, the charging current includes: a standard current value or a historical charging current value, based on Figure 1 Before S102, it was also possible to... Figure 2 As shown, execute S201 or S202 as follows:
[0071] S201. For the first fast charging process, obtain a set of preset correspondences between standard voltage values and standard current values for each of the N charging stages, and obtain N sets of preset correspondences.
[0072] In S201, for the first fast charging process, the electronic device acquires the preset N charging stages and the corresponding preset N sets of standard voltage values and standard current values as N sets of preset correspondences.
[0073] In some embodiments, when an electronic device establishes a wired or wireless connection with a charging device, the electronic device and the charging device first perform a charging protocol authentication and handshake process. The charging protocol typically includes a preset charging curve composed of voltage-current data. Thus, the electronic device can obtain the correspondence between preset standard voltage values and standard current values for each of the N charging stages of the battery on the electronic device from the preset charging curve sent to the charging device, as N sets of preset correspondences.
[0074] S202. For non-first fast charging processes, obtain the correspondence between a set of preset standard voltage values and historical charging current values for each of the N charging stages recorded in the previous fast charging process, and obtain N sets of preset correspondence.
[0075] In this embodiment of the application, if the reference current value is greater than the charging current corresponding to the current voltage value in the N sets of preset correspondences during each fast charging process, the electronic device will adjust the reference current value and update the charging current corresponding to the current voltage value in the N sets of preset correspondences for the corresponding charging stage of the next fast charging process.
[0076] Here, in S202, for non-first fast charging processes, the electronic device can obtain the correspondence between the preset standard voltage value and the historical charging current value in each of the N charging stages recorded in the previous fast charging process, as N sets of preset correspondence.
[0077] In S202, for the i-th charging stage out of N charging stages, the correspondence between the i-th set of standard voltage values and historical charging current values includes the correspondence between the i-th standard voltage value and the i-th historical charging current value in the i-th charging stage. It can be understood that the N preset correspondences contain N historical charging current values, and these N historical charging current values include current values obtained by adjusting the historical reference current value from the previous fast charging process.
[0078] It is understood that, in this embodiment of the application, for the first fast charging process, the maximum current value of the current stage is determined by using the current voltage value and the preset correspondence between the standard voltage value and the standard current value of the battery in the electronic device in each of the N charging stages. Known data from the charging protocol handshake process can be used to determine N sets of preset correspondences, eliminating the need for additional data collection, testing, and recording processes, thus improving the efficiency of charging control.
[0079] In some embodiments, at least one current charging parameter includes: the current voltage value. Based on the above... Figure 1 or Figure 2 In S102, the process of determining the maximum current value at the current stage based on at least one current charging parameter and N sets of preset correspondences can be as follows: Figure 3 As shown, this is achieved by executing the process S1021-S1023, and each step will be explained in detail.
[0080] S1021. When the current voltage value is less than the charging voltage in the first set of preset correspondences in N sets of preset correspondences, the preset initial current value is determined as the maximum current value of the current stage.
[0081] In S1021, the first set of preset correspondences corresponds to the first charging stage out of N charging stages. If the current voltage is less than the charging voltage of the first charging stage in the N preset correspondences, it indicates that the battery's charge is low and requires faster charging with a larger current. The electronic device determines the preset initial current value, which is the maximum allowable charging current for fast charging, as the maximum current value for the current stage. In other words, if the current voltage is less than the charging voltage V1 of the first charging stage in the N preset correspondences, the electronic device can be powered with a current not exceeding the preset initial current value to accelerate the charging speed.
[0082] S1022. If the current voltage value is greater than or equal to the charging voltage in the first group of preset correspondences, determine the target charging voltage corresponding to the current voltage value among the N charging voltages in the N groups of preset correspondences; the target charging voltage is the largest charging voltage among the N charging voltages that is less than the current voltage value, or the charging voltage that is equal to the current voltage value.
[0083] In step S1022, if the current voltage value is greater than or equal to the charging voltage in the first set of preset correspondences, the electronic device determines the target charging voltage corresponding to the current voltage value among the N charging voltages by comparing the current voltage value with the N charging voltages in the N sets of preset correspondences. Here, the target charging voltage is the largest charging voltage among the N charging voltages that is less than the current voltage value, or the charging voltage that is equal to the current voltage value.
[0084] For example, the electronic device can compare the current voltage value with N standard voltage values in N sets of preset correspondences. If the current voltage value is greater than or equal to the i-th standard voltage value and less than the (i+1)-th standard voltage value, the i-th standard voltage value is taken as the target charging voltage. Here, the i-th standard voltage value is the standard voltage value in the i-th set of preset correspondences corresponding to the i-th charging stage, and the (i+1)-th charging voltage is the standard voltage value in the (i+1)-th set of preset correspondences corresponding to the (i+1)-th charging stage.
[0085] In some embodiments, when the current voltage value is greater than or equal to the Nth charging voltage and less than the preset target voltage value, the Nth charging voltage is used as the target charging voltage.
[0086] Here, when the current voltage value is greater than or equal to the Nth charging voltage, which corresponds to the Nth charging stage in the Nth preset correspondence, the electronic device compares the current voltage value with the preset target voltage value. If the current voltage value is less than the preset target voltage value, it indicates that the current charging stage of the electronic device belongs to the last stage of the N charging stages, i.e., the Nth charging stage, and has not yet reached the minimum voltage for exiting fast charging. The electronic device then uses the Nth charging voltage as the target charging voltage corresponding to the current voltage value.
[0087] It should be noted that in some embodiments, as the charging time increases, the current voltage value gradually rises. When the current voltage value is greater than or equal to a preset target voltage value, it indicates that the battery in the electronic device has reached the minimum voltage for exiting fast charging. The electronic device then requests the charging device to exit fast charging and continue charging in normal charging mode.
[0088] S1023. Use the charging current corresponding to the target charging voltage as the maximum current value for the current stage.
[0089] In S1023, since each of the N preset correspondences contains a correspondence between charging voltage and charging current, the electronic device can use the charging current corresponding to the target charging voltage as the maximum current value for the current stage from the preset correspondence corresponding to the target charging voltage.
[0090] For example, when the current voltage value is greater than or equal to the standard voltage value of the i-th charging stage, and less than the standard voltage value of the (i+1)-th charging stage, the charging current of the i-th charging stage is taken as the maximum current value of the current stage. Here, combining S201 and S202 above, it can be seen that for the first fast charging process, the charging current I of the i-th charging stage is... i Let I be the standard current value for the i-th charging stage; for the first fast charging process, the charging current I for the i-th charging stage is... i This could be the i-th historical charging current value corresponding to the i-th charging stage recorded during the previous fast charging process. Here, the i-th historical charging current value can be obtained by adjusting the reference current value of the i-th charging stage during the previous fast charging process.
[0091] In some embodiments, the electronic device may determine, in each of M consecutive control cycles, that the current voltage value in each control cycle is greater than or equal to the i-th charging voltage V among N charging voltages. i And all of them are less than the charging voltage V of the (i+1)th one. i+1 In the case of M, the i-th charging voltage is determined as the target charging voltage; where M is a positive integer greater than 1.
[0092] For example, when M equals 4, if the electronic device detects for 4 consecutive seconds that the current voltage value is greater than or equal to the standard voltage value of the i-th charging stage and less than the standard voltage value of the (i+1)-th charging stage, then the standard voltage value of the i-th charging stage is taken as the target voltage value, and the charging current of the i-th charging stage is taken as the maximum current value of the current stage. This avoids errors caused by individual data fluctuations.
[0093] In some embodiments, based on the above Figures 1-3 Any of them, S103 can be as follows Figure 4 As shown, this is achieved by executing the process S1031-S1034, and each step will be explained in detail.
[0094] S1031. If the reference current value is greater than the maximum current value at the current stage, adjust the reference current value according to the preset adjustment step size to obtain the initial target current value.
[0095] In S1031, if the reference current value is greater than the maximum current value of the current stage, it indicates that the reference current value is higher than the maximum charging current that the current charging stage can withstand. The electronic device gradually reduces the reference current value according to a preset adjustment step size to prevent excessive charging current from causing lithium plating on the battery negative electrode.
[0096] In some embodiments, if the reference current value cannot be divided by a preset adjustment step size, the electronic device reduces the reference current value to a first maximum value that can be divided by the preset adjustment step size to obtain an initial target current value.
[0097] In some embodiments, if the reference current value is divisible by a preset adjustment step size, the electronic device reduces the reference current value by the preset adjustment step size to obtain an initial target current value.
[0098] In this embodiment, the preset adjustment step size can be determined based on the values of N charging currents in N sets of preset correspondences. For example, the preset adjustment step size can be 500mA, or other values can be taken according to the actual situation; this embodiment does not limit the value.
[0099] S1032. Based on the next stage charging current in N sets of preset correspondences, determine the minimum current value for the current stage.
[0100] In this embodiment of the application, the electronic device can determine the minimum current value of the current stage by considering the charging current of the next stage in N preset correspondences, so as to further constrain the range of the reference current value by using the minimum current value of the current stage.
[0101] In some embodiments, at the initial moment of entering the fast charging process, the electronic device uses the difference between a preset initial current value and a preset current range as the initial value of the minimum current value for the current stage.
[0102] For example, the preset current range can be 1A. If the maximum current value in the current stage is the preset initial current value, the electronic device directly subtracts 1A from the preset initial current value to obtain the initial value of the minimum current value in the current stage.
[0103] In some embodiments, during fast charging, the electronic device can determine the next stage charging current I from N sets of preset correspondences. i+1 The electronic device calculates the charging current I for the next stage. i+1 The second maximum value that can be divided by the preset adjustment step size is obtained, and the preset adjustment step size is subtracted from the second maximum value to obtain the initial minimum current value. The initial minimum current value is then compared with the charging current I of the Nth stage. N The maximum value among them is used as the minimum current value for the current stage.
[0104] For example, the above process can be shown in formula (1) as follows:
[0105] min_current=max{(I i+1 / 500)-500,I N} (1)
[0106] In formula (1), 500 is the preset adjustment step size, (I i+1 / 500) is the charging current I for the next stage. i+1 The second maximum value that can be divided by the preset adjustment step size, where “ / ” in formula (1) represents divisibility, I N This is the charging current for stage N.
[0107] S1033. When the initial target current value is greater than or equal to the minimum current value of the current stage, the initial target current value shall be used as the target current value.
[0108] In S1033, when the initial target current value is greater than or equal to the minimum current value of the current stage, it indicates that the initial target current value obtained by reducing the reference current value will not be too low, and the electronic device will use the initial target current value as the target current value.
[0109] S1034. Feed back the target current value to the charging device so that the charging device supplies power to the electronic device according to the target current value.
[0110] It is understood that in this embodiment of the application, when the reference current value obtained by error control is greater than the maximum current value of the current stage, the electronic device adjusts the reference current value according to the preset adjustment step size to obtain the initial target current value, and then obtains the target current value. This realizes the effective constraint of the reference current output range based on the maximum current value and the minimum current value of the current stage, preventing excessive current feedback to the charging device from causing lithium plating on the negative electrode, thereby improving the battery utilization rate.
[0111] In some embodiments, based on Figure 4 Before S1033, S301 can also be executed, as follows:
[0112] S301. If the reference current value is less than or equal to the maximum current value of the current stage, the reference current value shall be used as the initial target current value.
[0113] In step S301, if the reference current value is less than or equal to the maximum current value of the current stage, it indicates that the reference current obtained through error control will not cause lithium plating on the negative electrode due to excessive current. The electronic device uses the reference current value as the initial target current value. Then, based on the magnitude of the reference current value, step S1033 is executed to determine the target current value. Feedback is sent to the charging device based on the target current value, causing the charging device to output a current of the corresponding magnitude to supply power to the electronic device until the voltage of the electronic device rises to the standard voltage value corresponding to the (i+1)th charging stage. The next charging stage is then processed according to the above method.
[0114] For example, in the (i+1)th charging stage, the electronic device can determine the maximum current value of the (i+1)th charging stage according to the method in S201 or S202, and compare the current voltage value of the (i+1)th charging stage with the (i+1)th standard voltage value corresponding to the (i+1)th charging stage. If the current voltage value of the (i+1)th charging stage is greater than or equal to the (i+1)th standard voltage value V... i+1 Then, the reference current value of the (i+1)th charging stage is further compared with the maximum current value of the (i+1)th charging stage. If the reference current value of the (i+1)th charging stage is less than or equal to the maximum current value of the (i+1)th charging stage, the reference current value of the (i+1)th charging stage is used as the initial target current value of the (i+1)th charging stage, thus obtaining the target current value of the (i+1)th charging stage. Based on the target current value of the (i+1)th charging stage, the charging device is fed back, and the current fed back by the charging device is used to charge to the next charging stage (i+2) for the next round of processing. If the reference current value of the (i+1)th charging stage is greater than the maximum current value of the (i+1)th charging stage, the reference current value of the (i+1)th charging stage is adjusted according to the preset adjustment step size to obtain the initial target current value of the (i+1)th charging stage, and further obtain the target current value of the (i+1)th charging stage. The above process is repeated until N charging stages are completed. When the current voltage value in the Nth charging stage is greater than the preset target voltage value, fast charging is completed and exited, and charging is performed in normal charging mode.
[0115] In some embodiments, based on Figure 4 After S1033, it is also possible to... Figure 5 As shown, S401 is executed as follows:
[0116] S401. When the initial target current value is less than or equal to the maximum current value of the current stage, record the historical charging current value corresponding to the standard voltage value of the current stage in N sets of preset correspondences.
[0117] In step S401, for each adjusted initial target current value, the electronic device further compares the initial target current value with the current stage's maximum current value. If the initial target current value is less than or equal to the current stage's maximum current value, the electronic device records the initial target current value as the historical charging current value corresponding to the current stage's standard voltage value in N preset correspondences. That is, using the adjusted initial target current value, the charging current corresponding to the current stage's standard voltage value in the N preset correspondences is updated, and the updated N preset correspondences are used for the next fast charging process.
[0118] Understandably, updating N sets of preset correspondences based on the target current value for each fast charging process ensures that the charging voltage-current relationship is updated in real time as the battery's charging state changes during use. This guarantees that, regardless of the state, the N sets of preset correspondences accurately reflect the maximum charging current that the battery in the electronic device can withstand at each charging stage. Thus, controlling the charging current based on the maximum charging current determined by the N sets of preset correspondences effectively prevents the battery from entering a negative electrode lithium plating state, improving battery utilization.
[0119] The following will describe an exemplary application of the embodiments of this application in a real-world application scenario.
[0120] Taking a mobile phone as the electronic device and a charger as the charging device, the charging method provided in this application embodiment can be implemented as a Smart Charge Control Module (SCCM) in the mobile phone. The SCCM can be integrated into the mobile phone's application processor (AP), and each SCCM operation corresponds to a thread. The SCCM thread is created when the mobile phone is powered on. When the mobile phone is not charging, this thread is blocked to avoid power consumption issues caused by excessive computation. When the mobile phone is charging, the SCCM thread is awakened. In some embodiments, the SCCM thread's execution cycle is set to 1 second, meaning it is awakened once every 1 second. Here, 1 second is equivalent to the aforementioned preset control cycle.
[0121] In some embodiments, Figure 6 This diagram illustrates an exemplary structure of the Smart Charging Control Module (SCCM) on a mobile phone with a dual-cell battery. The input section 61 of the SCCM module includes: voltage_1, temperature_1, cell_capacity_1, and solenoid_1 for cell 1; voltage_2, temperature_2, cell_capacity_2, and solenoid_2 for cell 2; and current. All of these data can be converted or calculated from data obtained by reading the battery level from the phone's underlying driver.
[0122] Input section 61 also includes: the maximum current value (max_current) and the minimum current value (min_current) of the current stage. max_current and min_current change dynamically according to the battery status and the mobile phone charging process, and are used to limit the range of the target current value (target_current) in output section 62.
[0123] Input section 61 also includes: a preset charging flag (charging_flag). The charging_flag is a value that is either 0 or 1. When the phone enters fast charging mode, the charging_flag is 1, and the SCCM only takes effect. The calculated target_current is a non-zero value and participates in the decision-making of the charging process.
[0124] The output section 62 of the SCCM module includes: a target current value (target_current), which is the charging current calculated by the SCCM based on the battery state at that moment. This charging current, while ensuring that the negative electrode potential of the battery cell is non-negative at that moment, achieves the maximum value within the limits of max_current and min_current, i.e., striving for the maximum charging rate. The final charging current value of the mobile phone, that is, the updated current value mentioned above, depends on the minimum value between target_current and the charging current determined by other factors such as temperature (i.e., the system current value mentioned above).
[0125] In some embodiments, during the software debugging phase of the SCCM module, debugging information (debug) and error messages (error_code) can be added to the output section as a debugging reference. The specific selection depends on the actual situation, and this application does not limit the scope of the embodiments.
[0126] In some embodiments, based on Figure 6 The process by which the intelligent charging control module calculates the negative electrode potential and the target current value can be as follows: Figure 7As shown. When the k-th control cycle arrives, such as at the k-th second, the SCCM calculates the real-time negative electrode potential y(k) of the battery cell based on the parameters input from input section 61, such as voltage, temperature, capacity, charge, and current. This is the current negative electrode potential mentioned above. The SCCM subtracts the target negative electrode potential r(k) from the real-time negative electrode potential y(k) to obtain the error e(k). Here, the target negative electrode potential r(k) is equivalent to the preset negative electrode potential, and r(k) can be 0V. The SCCM performs error control and target current extremum processing based on the error e(k), including: using the error e(k) as the input of the PI controller; the PI controller performs error control processing based on the error e(k), outputting a reference current; combining the reference current with the max_current and min_current values of input section 61 to perform target current extremum processing (Saturation), outputting the target current value target_current(k). Thus, the target current value target_current(k) used in the final decision-making process of the charging process is obtained. Through the charging decision-making process, the target current value is combined with the system current value calculated based on system power, temperature, etc., to obtain an updated current value, which is then fed back to the charging device. In the next moment, the SCCM calculates the cell negative electrode potential and the target current value target_current in real time based on various externally input parameters. This cycle continues until fast charging is completed.
[0127] In some embodiments, taking the fast charging protocol between a mobile phone and a charger as an example, the fast charging protocol contains a preset charging curve composed of several sets of "voltage-current" data. In order to make the target_current of the SCCM show a decreasing trend throughout the charging process and not deviate too much from the actual charging current of the mobile phone, the method in the embodiments of this application can be used to make max_current and min_current follow the standard voltage value of the preset charging curve.
[0128] For example, at the initial moment of entering the fast charging process, the mobile phone sends a preset charging curve to the charger as follows: (V1, I1), (V2, I2), (V3, I3), (V4, I4), (V5, I5). Here, the preset charging curve corresponds to the preset standard voltage value and standard current value of the battery in the aforementioned electronic device in each of the N charging stages. Wherein, V1 <V2<V3<V4<V5,I1> I2>I3>I4>I5. This represents 5 preset correspondences for 5 preset charging stages, with N equal to 5. Where V... max It is the minimum battery voltage that causes the phone to exit fast charging, satisfying V max>V5. I0 is the maximum charging current allowed for fast charging of the mobile phone, satisfying I0>I1, and I0 is equivalent to the preset initial current value mentioned above. Here, for dual-cell or multi-cell batteries, the voltage value can be the largest single-cell voltage value among the two or more cells. For the initial state of the mobile phone entering fast charging, that is, when the current voltage value is less than V1, the initial value of the current stage maximum current value max_current is set to the maximum charging current allowed for fast charging of the mobile phone I0; the initial value of the current stage minimum current value min_current is set to the value of I0-1 (A). For the first fast charging process, the electronic device determines the standard voltage value and the corresponding charging current in each of the N preset correspondences according to the preset charging curve. For example, as shown in Table 1, as follows:
[0129] Table 1
[0130] i 0 1 2 3 4 5 6 <![CDATA[V i ]]> - 4160 4240 4320 4430 4480 4490 <![CDATA[I i (mA)]]> 7100 6000 5200 4400 2600 1000 - max_current 7100 6000 5200 4400 2600 1000 - min_current 5500 4500 3500 2000 1000 1000 -
[0131] As shown in Table 1, V i and I i This represents the standard voltage value and charging current included in each of the N preset correspondences. Here, taking the first fast charging process as an example, as shown in Table 1, the charging voltage V in the i-th preset correspondence corresponding to the i-th charging stage is... i The standard voltage value V for the i-th charging stage in the preset charging curve. i And the charging current in the i-th preset correspondence is the standard current value I of the i-th charging stage in the preset charging curve. i .
[0132] It can be seen that for the first fast charging process, in the pre-charging stage (i=0) of entering the fast charging process, the initial value of max_current is the preset initial current value I0, which is 7100mA; correspondingly, the initial value of min_current can be 7100mA-1000mA (1A), which is 6100mA (not shown in Table 1). For N charging stages i∈(1,2,3,4,5), the electronic device calculates the current according to the preset V in the preset charging curve. i and I i The standard current value I for each charging stage i As the max_current of this charging phase, and using the above formula (1), max{(I i+1 / 500)-500,I N}, thus obtaining min_current. It can be seen that the min_current shown in Table 1 when i=0 is obtained by calculating the maximum value of I1 (6000mA) that can be divided by the preset adjustment step size (500mA) (6000mA), subtracting the calculated result of 500mA (5500mA); and taking the maximum value (5500mA) between the calculated result (5500mA) and the charging current I5 (1000mA) in the Nth (N=5) stage (5500mA).
[0133] In some embodiments, based on the N preset correspondences of the first fast charging process shown in Table 1, the mobile phone charging process can be as follows: Figure 8 As shown below:
[0134] During the pre-charge state, the phone is charged with the maximum current value I0 at the current stage, causing the battery voltage to gradually increase. Starting from the first charging stage (i=1) of the preset N charging stages, after the phone has passed M consecutive preset control cycles (for example, M equals 4, i.e., 4 consecutive seconds), it detects that the current voltage value V is greater than or equal to the standard voltage value V of the i-th charging stage. i (V≥V i In the case of N preset correspondences, V i The corresponding charging current I i This represents the maximum current value at the current stage.
[0135] It should be noted here that for the first fast charging process, the charging current I... i This is the standard current value for the i-th charging stage; for non-first fast charging processes, the charging current I is... i It can be the i-th historical charging current value recorded in the i-th preset correspondence of the i-th charging stage during the previous fast charging process.
[0136] like Figure 8 As shown, when the reference current value I is greater than the maximum current value in the current stage ( Figure 8 I in i In the case of i, the mobile phone determines whether i is greater than N. If i is not greater than N, it determines whether the reference current value I is divisible by the preset adjustment step size (500) (I%500=0, that is, the remainder of I divided by 500 is 0). If I is divisible by 500, I is reduced by 500; if I is not divisible by 500, I is taken down to the maximum value divisible by 500 (I=(I / 500)*500, which is equivalent to the first maximum value mentioned above), thereby updating the value of I and obtaining the initial target current value I.
[0137] After one adjustment, the initial target current value I is still greater than the maximum current value at the current stage. Figure 8 I in i In the case of ), in the next preset control cycle, the next adjustment is performed based on the real-time measured current voltage value, until the initial target current value I is less than or equal to the maximum current value of the current stage. Figure 8 I in i In the case of ), the initial target current value I is recorded as the historical charging current value (I) corresponding to the standard voltage value of the current stage in N sets of preset correspondences. i =I), so that the updated N sets of preset correspondences can be used for the processing of the next corresponding charging stage. The mobile phone enters the next stage (i=i+1) of charging control processing.
[0138] like Figure 8 As shown, when the reference current value I is less than or equal to the maximum current value in the current stage ( Figure 8 I in i In the case of (i=i+1), the phone directly enters the next stage of charging control processing.
[0139] The above process is repeated until i is greater than N, at which point it is determined whether the current voltage value V is greater than the preset target voltage value V. max When the current voltage value V is greater than the preset target voltage value V max This indicates that the fast charging process causes the phone's battery voltage to reach the minimum voltage required to exit the fast charging process, at which point the phone ends fast charging and enters normal charging mode.
[0140] It is understood that the charging method provided in this application embodiment can extend the time a user can use the mobile phone battery. When the battery health drops to the same level, the charging method provided in this application embodiment can allow the user to charge and discharge the mobile phone more times, thus delaying the time for the user to replace the battery.
[0141] This application also provides a charging device. Figure 9 This is a schematic diagram of the structure of the charging device provided in the embodiments of this application; as shown Figure 9 As shown, the charging device 1 includes:
[0142] The determining unit 11 is used to determine the maximum current value of the current stage based on at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages; N is a positive integer greater than or equal to 1.
[0143] The control unit 12 is used to determine the current negative electrode potential based on at least one current charging parameter in fast charging mode; and to obtain a reference current value by performing error control on the difference between the current negative electrode potential and the preset negative electrode potential.
[0144] The charging unit 13 is used to determine a target current value based on the current maximum current value and the reference current value; and to feed back the target current value to the charging device so that the charging device supplies power to the electronic device according to the target current value.
[0145] In some embodiments, the charging voltage includes: a standard voltage value; the i-th set of the N preset correspondences includes: the correspondence between the standard voltage value and the charging current for the i-th charging stage; i is a positive integer greater than 0 and less than N; i+1 is less than or equal to N; wherein,
[0146] The standard voltage value of the i-th charging stage is less than the standard voltage value of the (i+1)-th charging stage; the charging current of the i-th charging stage is greater than the charging current of the (i+1)-th charging stage; the standard voltage value of the N-th charging stage is less than the preset target voltage value; the preset target voltage value represents the minimum voltage for exiting fast charging; the charging current of the 1-th charging stage is less than the preset initial current; the preset initial current value represents the maximum charging current allowed for fast charging.
[0147] In some embodiments, the charging current includes a standard current value or a historical charging current value; the charging device 1 further includes an acquisition unit, which is used to acquire, for the first fast charging process, a set of preset correspondences between a standard voltage value and a standard current value corresponding to each of the N charging stages before determining the maximum current value of the current stage based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in the N charging stages, thereby obtaining the N sets of preset correspondences;
[0148] For non-first fast charging processes, obtain the correspondence between a set of preset standard voltage values and historical charging current values for each of the N charging stages recorded in the previous fast charging process, and obtain the N sets of preset correspondence.
[0149] Wherein, for the i-th charging stage among the N charging stages, the correspondence between the i-th standard voltage value and the historical charging current value includes: the correspondence between the i-th standard voltage value and the i-th historical charging current value of the i-th charging stage; the historical charging current value includes the current value obtained by adjusting the historical reference current value in the previous fast charging process.
[0150] In some embodiments, the at least one current charging parameter includes: a current voltage value; the determining unit 11 is further configured to, when the current voltage value is less than the charging voltage in the first set of preset correspondences in the N sets of preset correspondences, determine the preset initial current value as the maximum current value of the current stage; the first set of preset correspondences is the preset correspondence corresponding to the first charging stage in the N charging stages; when the current voltage value is greater than or equal to the charging voltage in the first set of preset correspondences, determine the target charging voltage corresponding to the current voltage value in the N charging voltages of the N sets of preset correspondences; the target charging voltage is the maximum charging voltage less than the current voltage value in the N charging voltages, or the charging voltage equal to the current voltage value; and use the charging current corresponding to the target charging voltage as the maximum current value of the current stage.
[0151] In some embodiments, the determining unit 11 is further configured to, when the current voltage value is greater than or equal to the Nth charging voltage and less than the preset target voltage value, use the Nth charging voltage as the target charging voltage; the Nth charging voltage is the charging voltage in the Nth preset correspondence relationship corresponding to the Nth charging stage in the N charging stages.
[0152] In some embodiments, the determining unit 11 is further configured to: adjust the reference current value according to a preset adjustment step size to obtain an initial target current value when the reference current value is greater than the current stage maximum current value; determine the current stage minimum current value based on the next stage charging current in the N sets of preset correspondences; and use the initial target current value as the target current value when the initial target current value is greater than or equal to the current stage minimum current value.
[0153] In some embodiments, the charging unit 13 is further configured to, before determining the minimum current value of the current stage based on the next stage charging current in the N sets of preset correspondences, use the reference current value as the initial target current value if the reference current value is less than or equal to the maximum current value of the current stage.
[0154] In some embodiments, the charging unit 13 is further configured to, when the reference current value is not divisible by the preset adjustment step, reduce the reference current value to a first maximum value divisible by the preset adjustment step to obtain the initial target current value; and when the reference current value is divisible by the preset adjustment step, reduce the reference current value by the preset adjustment step to obtain the initial target current value.
[0155] In some embodiments, the charging unit 13 is further configured to determine the second maximum value of the next stage charging current divided by the preset adjustment step size, and subtract the preset adjustment step size from the second maximum value to obtain the initial minimum current value; and take the maximum value between the initial minimum current value and the charging current of the Nth stage as the current stage minimum current value.
[0156] In some embodiments, the charging unit 13 is further configured to, when the initial target current value is less than or equal to the current stage maximum current value, record, in the N sets of preset correspondences, the historical charging current value corresponding to the standard voltage value of the current stage when the initial target current value is less than or equal to the current stage maximum current value.
[0157] In some embodiments, the control unit 12 is further configured to obtain the reference current value by performing proportional-integral control processing on the difference; wherein, when the current negative electrode potential is less than the preset negative electrode potential, the reference current value is less than the current current in the at least one current charging parameter; when the current negative electrode potential is greater than the preset negative electrode potential, the reference current value is greater than the current current in the at least one current charging parameter.
[0158] In some embodiments, the at least one current charging parameter includes at least one of battery capacity, battery temperature, and battery charge; after determining the target current value based on the current maximum current value and the reference current value, the charging unit 13 is further configured to determine the system current value based on at least one of the battery capacity, battery temperature, and battery charge; combine the target current value and the system current value to obtain an updated current value, and feed the updated current value back to the charging device so that the charging device supplies power to the electronic device according to the updated current value.
[0159] In some embodiments, the charging unit 13 is further configured to, before determining the current negative electrode potential based on at least one current charging parameter in the fast charging state, acquire a preset charging flag bit characterizing fast charging when a preset control cycle is reached; and determine that the electronic device is in a fast charging state when the preset charging flag bit is true.
[0160] In some embodiments, the determining unit 11 is further configured to determine the i-th charging voltage as the target charging voltage in each control cycle of M consecutive control cycles, provided that the current voltage value in each control cycle is greater than or equal to the i-th charging voltage among the N charging voltages and is less than the (i+1)-th charging voltage; wherein M is a positive integer greater than 1.
[0161] It should be noted that the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0162] In some embodiments, this application also provides an electronic device. Figure 10 This is a schematic diagram of an optional structure of an electronic device provided in an embodiment of this application. For example... Figure 10 As shown, electronic device 2 is connected to charging device 3. Electronic device 2 includes a memory 22 and a processor 23. The memory 22 and the processor 23 are connected via a communication bus 24. The memory 22 is used to store executable instructions. The processor 23 is used to implement the method provided in the embodiments of this application, such as the charging method provided in the embodiments of this application, when executing the executable instructions stored in the memory 22.
[0163] This application provides a computer-readable storage medium storing executable charging instructions, which, when executed by a processor 23, implement the method provided in this application, such as the charging method provided in this application.
[0164] In some embodiments of this application, the storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a device that includes one or any combination of the above-mentioned memories.
[0165] In some embodiments of this application, the executable charging instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0166] As an example, executable charging instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., files that store one or more modules, subroutines, or code sections).
[0167] As an example, executable charging instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0168] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0169] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0170] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0171] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the functions specified in one or more boxes. The above description is only a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A charging method, characterized in that, include: In fast charging mode, the current negative electrode potential is determined based on at least one current charging parameter; The reference current value is obtained by performing proportional-integral control processing on the difference between the current negative electrode potential and the preset negative electrode potential; Based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, determine the maximum current value in the current stage. N is a positive integer greater than or equal to 1; Based on the current maximum current value, the reference current value output by the error control process is constrained, and the reference current value is controlled below the current maximum current value to determine the target current value. The target current value is then fed back to the charging device so that the charging device supplies power to the electronic device according to the target current value. The charging current includes a standard current value or a historical charging current value. Before determining the maximum current value of the current stage based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, for non-first fast charging processes, a set of preset correspondences between standard voltage values and historical charging current values corresponding to each of the N charging stages recorded in the previous fast charging process is obtained to obtain the N sets of preset correspondences. The historical charging current value includes a current value obtained by adjusting the historical reference current value in the previous fast charging process. The step of constraining the reference current value output by the error control process based on the current stage maximum current value, and controlling the reference current value below the current stage maximum current value, to determine the target current value includes: If the reference current value is greater than the maximum current value at the current stage, the reference current value is adjusted according to a preset adjustment step size to obtain an initial target current value. If the reference current value is less than or equal to the maximum current value of the current stage, the reference current value shall be used as the initial target current value. Based on the next stage charging current in the N sets of preset correspondences, determine the minimum current value for the current stage; When the initial target current value is greater than or equal to the minimum current value of the current stage, the initial target current value is used as the target current value; If the initial target current value is less than or equal to the current maximum current value, the initial target current value is recorded as the historical charging current value corresponding to the standard voltage value of the current stage in the N sets of preset correspondences.
2. The method according to claim 1, characterized in that, The charging voltage includes a standard voltage value; the i-th set of the N preset correspondences includes the correspondence between the standard voltage value and the charging current for the i-th charging stage; i is a positive integer greater than 0 and less than N; i+1 is less than or equal to N; where, The standard voltage value of the i-th charging stage is less than the standard voltage value of the (i+1)-th charging stage; the charging current of the i-th charging stage is greater than the charging current of the (i+1)-th charging stage; the standard voltage value of the N-th charging stage is less than the preset target voltage value; the preset target voltage value represents the minimum voltage for exiting fast charging; the charging current of the 1-th charging stage is less than the preset initial current; the preset initial current value represents the maximum charging current allowed for fast charging.
3. The method according to claim 1 or 2, characterized in that, Before determining the maximum current value for the current stage based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, the method further includes: For the first fast charging process, obtain a set of preset correspondences between standard voltage values and standard current values for each of the N charging stages, and obtain the N sets of preset correspondences. Wherein, for the i-th charging stage among the N charging stages, the correspondence between the i-th standard voltage value and the historical charging current value includes: the correspondence between the i-th standard voltage value and the i-th historical charging current value of the i-th charging stage; the historical charging current value includes the current value obtained by adjusting the historical reference current value in the previous fast charging process; i is a positive integer greater than 0 and less than N; i+1 is less than or equal to N.
4. The method according to claim 1 or 2, characterized in that, The at least one current charging parameter includes: the current voltage value; determining the maximum current value for the current stage based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages includes: If the current voltage value is less than the charging voltage in the first set of preset correspondences among the N sets of preset correspondences, the preset initial current value is determined as the maximum current value of the current stage; the first set of preset correspondences is the preset correspondence corresponding to the first charging stage among the N charging stages; If the current voltage value is greater than or equal to the charging voltage in the first set of preset correspondences, determine the target charging voltage corresponding to the current voltage value among the N charging voltages in the N sets of preset correspondences; the target charging voltage is the largest charging voltage among the N charging voltages that is less than the current voltage value, or the charging voltage that is equal to the current voltage value. The charging current corresponding to the target charging voltage is taken as the maximum current value at the current stage.
5. The method according to claim 4, characterized in that, Determining the target charging voltage corresponding to the current voltage value among the N charging voltages in the N sets of preset correspondences includes: When the current voltage value is greater than or equal to the Nth charging voltage and less than the preset target voltage value, the Nth charging voltage is taken as the target charging voltage; the Nth charging voltage is the charging voltage in the Nth preset correspondence relationship corresponding to the Nth charging stage in the N charging stages.
6. The method according to claim 1, characterized in that, The step of adjusting the reference current value according to a preset adjustment step size to obtain an initial target current value includes: If the reference current value is not divisible by the preset adjustment step size, the reference current value is reduced to the first maximum value divisible by the preset adjustment step size to obtain the initial target current value. If the reference current value is divisible by a preset adjustment step size, the reference current value is reduced by the preset adjustment step size to obtain the initial target current value.
7. The method according to claim 1, characterized in that, The step of determining the minimum current value for the current stage based on the next stage charging current in the N sets of preset correspondences includes: Determine the second maximum value of the next stage charging current divided by the preset adjustment step size, and subtract the preset adjustment step size from the second maximum value to obtain the initial minimum current value; The maximum value between the initial minimum current value and the charging current of the Nth stage is taken as the minimum current value of the current stage.
8. The method according to any one of claims 1, 2, 5, 6, and 7, characterized in that, When the current negative electrode potential is less than the preset negative electrode potential, the reference current value is less than the current current in the at least one current charging parameter; When the current negative electrode potential is greater than the preset negative electrode potential, the reference current value is greater than the current current in the at least one current charging parameter.
9. The method according to any one of claims 1, 2, 5, 6, and 7, characterized in that, The at least one current charging parameter includes at least one of battery capacity, battery temperature, and battery charge; after determining the target current value based on the current maximum current value and the reference current value, the method further includes: The system current value is determined based on at least one of the battery capacity, battery temperature, and battery charge. By combining the target current value and the system current value, an updated current value is obtained, and the updated current value is fed back to the charging device so that the charging device supplies power to the electronic device according to the updated current value.
10. The method according to claim 1 or 5, characterized in that, Before determining the current negative electrode potential based on at least one current charging parameter during fast charging, the method further includes: When the preset control cycle is reached, a preset charging flag bit representing fast charging is acquired; If the preset charging flag is true, the electronic device is determined to be in fast charging mode.
11. The method according to claim 4, characterized in that, Determining the target charging voltage corresponding to the current voltage value among the N charging voltages in the N sets of preset correspondences includes: In each of the M consecutive control cycles, if the current voltage value in each control cycle is greater than or equal to the i-th charging voltage among the N charging voltages, and is less than the (i+1)-th charging voltage, then the i-th charging voltage is determined to be the target charging voltage; where M is a positive integer greater than 1.
12. A charging device, characterized in that, include: The determining unit is used to determine the maximum current value of the current stage based on at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages. N is a positive integer greater than or equal to 1; The control unit is used to determine the current negative electrode potential based on at least one current charging parameter during fast charging. The reference current value is obtained by performing proportional-integral control processing on the difference between the current negative electrode potential and the preset negative electrode potential; The charging unit is used to constrain the reference current value output by the error control process based on the maximum current value of the current stage, control the reference current value below the maximum current value of the current stage, and determine the target current value. The target current value is then fed back to the charging device so that the charging device supplies power to the electronic device according to the target current value. The charging current includes a standard current value or a historical charging current value. Before determining the maximum current value of the current stage based on the at least one current charging parameter and N sets of preset correspondences between charging voltage and charging current in N charging stages, the control unit is further configured to, for non-first fast charging processes, obtain a set of preset correspondences between a standard voltage value and a historical charging current value recorded in the previous fast charging process, corresponding to each of the N charging stages, to obtain the N sets of preset correspondences. The historical charging current value includes a current value obtained by adjusting the historical reference current value in the previous fast charging process. If the reference current value is greater than the maximum current value at the current stage, the reference current value is adjusted according to a preset adjustment step size to obtain an initial target current value. If the reference current value is less than or equal to the maximum current value of the current stage, the reference current value shall be used as the initial target current value. Based on the next stage charging current in the N sets of preset correspondences, determine the minimum current value for the current stage; When the initial target current value is greater than or equal to the minimum current value of the current stage, the initial target current value is used as the target current value; If the initial target current value is less than or equal to the current maximum current value, the initial target current value is recorded as the historical charging current value corresponding to the standard voltage value of the current stage in the N sets of preset correspondences.
13. An electronic device connected to a charging device, characterized in that, include: Memory, used to store executable data instructions; A processor, when executing executable instructions stored in the memory, implements the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, It stores executable instructions for causing a processor to execute, thereby implementing the method of any one of claims 1 to 11.
Citation Information
Patent Citations
Quick charging method, charging device, electronic equipment and charging system
CN112152271A
Quick charging method for battery, and computer equipment
CN112615075A
Method and device for determining limit fast charging current of battery cell, electronic equipment and medium
CN113036887A
