Battery charging compensation method and device, equipment, storage medium and chip

By obtaining the first voltage and the second voltage of the battery module and performing voltage compensation based on the voltage change information, the problem of excessive charging current or voltage during battery charging affecting the battery life, and the safe and fast charging of the battery and the extended service life are achieved.

CN120016620APending Publication Date: 2025-05-16BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311525474.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, the battery will seriously affect the service life of the battery due to the charging current or charging voltage during the charging process, especially when the battery power is low.

Method used

By obtaining the first voltage and the second voltage of the battery module, voltage compensation is performed based on the voltage change information, and the target charging voltage of the battery module is obtained, thereby performing compensation processing during the charging process.

Benefits of technology

Through voltage compensation, the battery can be guaranteed to be safe and fast charging during the charging process, extend the battery life, and improve the safety and reliability of charging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120016620A_ABST
    Figure CN120016620A_ABST
Patent Text Reader

Abstract

The invention relates to a battery charging compensation method and device, equipment, a storage medium and a chip, and the method comprises the steps: obtaining a first voltage which comprises a negative electrode voltage of a battery module or an input charging voltage at two ends of the battery module; and performing voltage compensation based on the first voltage to obtain a target charging voltage of the battery module. In this way, the technical problem that the service life of the battery is seriously affected due to the fact that the charging current or the charging voltage is too large in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a battery charging compensation method, device, equipment, storage medium and chip. Background Art

[0002] With the continuous development of terminal devices, the functions of terminal devices are becoming more and more powerful. For example, the use of mobile terminals such as mobile phones has become an indispensable device in people's daily life. In order to ensure that users can use the terminal devices normally, the battery of the terminal device will be charged. However, during the charging process, the excessive charging current or charging voltage will have a serious adverse effect on the battery life. Especially in the scenario where the battery power is low, the above effect is particularly obvious. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a battery charging compensation method, device, equipment, storage medium and chip to solve the technical problems existing in the above-mentioned related art such as excessive charging current or charging voltage seriously affecting the battery life.

[0004] According to a first aspect of an embodiment of the present disclosure, a battery charging compensation method is provided, comprising:

[0005] Acquire a first voltage, where the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module;

[0006] Voltage compensation is performed based on the first voltage to obtain a target charging voltage of the battery module.

[0007] In some embodiments, before performing voltage compensation based on the first voltage, the method further includes:

[0008] Acquire a second voltage corresponding to the first voltage, where the second voltage includes a negative electrode voltage of a battery cell in the battery module or a voltage between two ends of a battery cell in the battery module;

[0009] The performing voltage compensation based on the first voltage to obtain a target charging voltage of the battery module includes:

[0010] The target charging voltage is obtained by performing voltage compensation on the first voltage based on voltage variation information between the first voltage and the second voltage.

[0011] In some embodiments, before acquiring the second voltage corresponding to the first voltage, the method further includes:

[0012] determining whether the first voltage is less than a preset voltage threshold;

[0013] The acquiring a second voltage corresponding to the first voltage comprises:

[0014] When the first voltage is less than the preset voltage threshold, acquiring a second voltage corresponding to the first voltage; or,

[0015] When the first voltage is greater than or equal to the preset voltage threshold, a second voltage corresponding to the first voltage is acquired after a preset time period.

[0016] In some embodiments, when the first voltage is less than the preset voltage threshold, performing voltage compensation on the first voltage based on voltage change information between the first voltage and the second voltage to obtain the target charging voltage includes any one of the following:

[0017] When the voltage change information indicates that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to a difference between the first voltage, the first compensation voltage, and the second compensation voltage;

[0018] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage;

[0019] When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage;

[0020] The first compensation voltage is a voltage drop value corresponding to the first falling edge, and the second compensation voltage is a voltage drop value corresponding to the second falling edge.

[0021] In some embodiments, when the first voltage is greater than or equal to the preset voltage threshold, performing voltage compensation on the first voltage based on voltage change information between the first voltage and the second voltage to obtain the target charging voltage includes any one of the following:

[0022] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to the first voltage;

[0023] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage;

[0024] When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage;

[0025] The second compensation voltage is a voltage drop value corresponding to the second falling edge.

[0026] In some embodiments, before acquiring the second voltage corresponding to the first voltage after a preset time period, the method further includes:

[0027] compensating the target charging voltage to a difference between the first voltage, the first compensation voltage, and the second compensation voltage;

[0028] The first compensation voltage is a voltage drop value corresponding to the first falling edge.

[0029] In some embodiments, the preset voltage threshold is an occurrence voltage corresponding to the first falling edge.

[0030] In some embodiments, the falling edge of the voltage difference between the second voltage and the first voltage is generated based on a charging control unit in the battery module, the charging control unit includes a first MOS tube and a second MOS tube arranged back to back, and a third MOS tube and a fourth MOS tube arranged back to back, the first compensation voltage is the voltage across the body diode in the second MOS tube, and the second compensation voltage is the voltage across the body diode in the fourth MOS tube.

[0031] In some embodiments, the method further comprises:

[0032] The battery module is charged based on the target charging voltage.

[0033] According to a second aspect of an embodiment of the present disclosure, a compensation device for battery charging is provided, comprising:

[0034] an acquisition module, configured to acquire a first voltage, wherein the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module;

[0035] The processing module is configured to perform voltage compensation based on the first voltage to obtain a target charging voltage of the battery module.

[0036] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant introduction in the aforementioned method embodiments, and the embodiments of the present disclosure are not limited thereto.

[0037] According to a third aspect of an embodiment of the present disclosure, there is provided a terminal device, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-mentioned battery charging compensation method.

[0038] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the battery charging compensation method provided in the first aspect of the present disclosure are implemented.

[0039] According to a fifth aspect of an embodiment of the present disclosure, there is provided a chip, comprising: a processor and an interface; the processor is used to read instructions to execute the steps of the above-mentioned battery charging compensation method.

[0040] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the terminal device obtains a first voltage, the first voltage includes the negative electrode voltage of the battery module or the input charging voltage at both ends of the battery module; voltage compensation is performed based on the first voltage to obtain the target charging voltage of the battery module. It can be seen that during the charging process, the terminal device actively compensates the first voltage of the battery module so as to charge the battery module quickly and safely based on the compensated target charging voltage, which can not only solve the technical problems existing in the existing related technologies such as the excessive charging current or charging voltage seriously affecting the service life of the battery, but also improve the safety and reliability of battery charging.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] Figure 1 The figure is a schematic diagram showing a framework of charging a terminal device according to an exemplary embodiment.

[0044] Figure 2 The figure is a schematic diagram of a return path for battery charging according to an exemplary embodiment.

[0045] Figure 3 The figure is a schematic diagram showing a change of voltage change information according to an exemplary embodiment.

[0046] Figure 4 The figure is a schematic diagram of another charging framework of a terminal device according to an exemplary embodiment.

[0047] Figure 5 The figure is a flow chart of a battery charging compensation method according to an exemplary embodiment.

[0048] Figure 6 The figure is a flow chart showing another battery charging compensation method according to an exemplary embodiment.

[0049] Figure 7 The figure is a schematic structural diagram of a battery charging compensation device according to an exemplary embodiment.

[0050] Figure 8 The diagram is a schematic structural diagram of a terminal device according to an exemplary embodiment.

[0051] Fig. 9 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION

[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0053] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0054] The terminal device involved in the present disclosure may be a mobile phone, a tablet computer, a computer with wireless transceiver function, or a wireless terminal or mobile terminal used in scenes such as virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, transportation safety, smart city, and smart home. For the convenience of description, the terminal devices involved in the present disclosure and the chips applicable to the terminal devices are collectively referred to as terminal devices. It should be understood that the embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the terminal devices.

[0055] The following description takes the terminal device as a mobile terminal (such as a mobile phone) as an example, but it does not constitute a limitation. Figure 1 FIG. 1 is a schematic diagram showing a charging framework of a terminal device according to an exemplary embodiment. Figure 1 The framework schematic diagram shown may include: a terminal mainboard structure 100 and a battery module 200. The terminal mainboard structure 100 may refer to the structure of other functional modules in the terminal device except the battery module 200. The battery module 200 may include a battery cell 201 and a charging control unit 202. The charging control unit 202 is mainly used to perform charging control on the battery cell 201. The present disclosure does not limit the internal structure of the charging control unit 202. For example, in order to meet the requirements of safety regulations, a protective field effect transistor (MOS tube) needs to be added to the charging return path of the battery module 200. Specifically, as shown in the figure, the charging control unit 202 may include a field effect transistor (MOS tube) control unit 203, a first MOS tube Q1, a second MOS tube Q2, a third MOS tube Q3 and a fourth MOS tube Q4. Those skilled in the art will understand that Figure 1 The illustrated framework structure does not constitute a limitation on the terminal device, which may include more or fewer components than those illustrated, or the components may be replaced by other devices with the same functions, or some components may be combined, etc.

[0056] Among them, the first MOS tube Q1 and the second MOS tube Q2 are a group of overcharge protection devices, and the third MOS tube Q3 and the fourth MOS tube Q4 are a group of over-discharge protection devices. Moreover, the first MOS tube Q1 and the second MOS tube Q2, the third MOS tube Q3 and the fourth MOS tube Q4 must be arranged back to back, for example, the source and source of the two MOS tubes are connected in the figure. The power supply of the above-mentioned MOS tube control unit comes from the battery cell 201. When the battery power is low (that is, the power of the battery cell 201 is less than the preset power), it is not enough to control the MOS tube control unit 203 to turn on (or open) the four MOS tubes Q1~Q4, or the four MOS tubes Q1~Q4 are not completely turned on due to factors such as charging protection considerations, which will cause a voltage difference between the input voltage and the output voltage on the charging return path, that is, there is a voltage difference between the terminal negative electrode voltage and the battery cell negative electrode voltage. Among them, the above-mentioned charging return path can be referred to. Figure 2 As shown, the first voltage V1 in the figure represents the negative electrode voltage of the terminal device (also known as the terminal ground voltage), that is, the output voltage of the charging return path. The second voltage V2 in the figure represents the negative electrode voltage of the battery cell 201 (also known as the battery cell ground voltage), that is, the input voltage of the charging return path.

[0057] During implementation, when the battery power is low, the input voltage Vcc of the MOS tube control unit 203 is small, which can turn on some MOS tubes, for example, the first MOS tube Q1 and the third MOS tube Q3 can be turned on, but all four MOS tubes Q1 to Q4 cannot be turned on, resulting in V2 in the charging return path being greater than V1. As the battery power increases, Vcc increases, and the above four MOS tubes Q1 to Q4 can be fully turned on. At this time, the voltage difference ΔV=V2-V1 in the charging return path will gradually decrease and approach 0. Please refer to Figure 3 FIG. 1 is a schematic diagram showing a change of voltage change information according to an exemplary embodiment. Figure 3 Specifically, a schematic diagram showing the voltage difference between the second voltage (V2) and the first voltage (V1) on the charging return path as Vcc changes. Figure 3 The VF1 shown refers to the voltage drop value corresponding to the first falling edge of the voltage difference, and in this example, it can specifically refer to the voltage value between the two ends of the internal diode D2 in the second MOSFET Q2. The present disclosure does not limit the implementation method of obtaining the voltage value (VF1), for example, it can be provided by the equipment manufacturer, or obtained by the terminal equipment or the user's self-test, etc. VF2 refers to the voltage drop value corresponding to the second falling edge of the voltage difference, and in this example, it can specifically refer to the voltage value between the two ends of the internal diode D4 in the fourth MOSFET Q4. The implementation method of obtaining the voltage value (VF2) disclosed in the present disclosure can refer to the relevant description of the acquisition of VF1 mentioned above, which will not be repeated here.

[0058] The voltage difference ΔV in the charging return path will cause the charging voltage (V bat ) is greater than the actual cell voltage, which will harm the battery life. In particular, if high-power charging is used in a scenario where the battery power is low, this will cause great harm to the battery. To solve the above problems, the present disclosure proposes a battery charging compensation method, device, equipment, storage medium and chip. First, a possible framework schematic diagram applicable to the present disclosure is introduced. Please refer to Figure 4 FIG. 1 is a schematic diagram showing another charging framework of a terminal device according to an exemplary embodiment. Figure 4 The framework diagram shown may include: a terminal mainboard structure 100, a battery module 200, and a detection control module 300. The introduction of the terminal mainboard structure 100 and the battery module 200 may refer to the aforementioned Figure 1 The above detection control module 300 can be subdivided into a detection module and a control module, or can be arranged as one module. The figure only shows one module as an example, but it does not constitute a limitation.

[0059] The above-mentioned detection control module 300 is mainly used to detect the first voltage V1 of the battery module 200 and whether there is a falling edge on the charging return path (that is, to detect whether the voltage difference ΔV on the charging return path has a falling edge) and other information, and feed the above information back to the terminal mainboard structure 100 (such as the processor of the terminal device) for processing, so as to further control the charging current or charging voltage of the battery module 200. How the terminal mainboard structure 100 controls the actual charging parameters of the battery module 200 based on the first voltage V1 of the battery module 200 and whether there is a falling edge on the charging return path will be described in detail below in this disclosure and will not be elaborated here. The present disclosure does not limit the internal structure of the above-mentioned detection control module 300, and it can be customized according to actual conditions. For the content not introduced in this embodiment, please refer to the aforementioned Figures 1 to 3 The relevant introduction in the embodiments will not be repeated here.

[0060] See also Figure 5 FIG. 1 is a flow chart showing a method for compensating battery charging according to an exemplary embodiment. Figure 5 The method shown can be applied to a terminal device, and the method may include the following implementation steps:

[0061] S501. Obtain a first voltage, where the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module.

[0062] The above-mentioned first voltage in the present disclosure may refer to the negative electrode voltage of the battery module 200 in the terminal device, or may refer to the input charging voltage between the two ends of the battery module 200, which can be determined according to actual needs and is not limited in the present disclosure.

[0063] In specific implementation, the present disclosure can obtain the above-mentioned first voltage in real time or periodically according to actual needs; or, the present disclosure can obtain the above-mentioned first voltage when it is detected that the battery cell power of the battery module 200 is less than the preset power, that is, the battery module 200 can perform the above-mentioned step S501 in a low-power charging scenario. The preset power is a custom setting of the terminal device according to actual needs, such as 20% of the total power, etc., which is not limited by the present disclosure.

[0064] The present disclosure does not limit the implementation method for obtaining the above-mentioned first voltage. For example, the first voltage can be obtained through detection by the detection control module 300 in the terminal device, or can be obtained from other devices (such as a voltage detection meter or other terminals, etc.) through the network.

[0065] S502: Perform voltage compensation based on the first voltage to obtain a target charging voltage of the battery module.

[0066] The present disclosure does not limit the specific implementation of the above-mentioned voltage compensation. For example, in an example implementation, the present disclosure can obtain a second voltage corresponding to the above-mentioned first voltage. The second voltage can refer to the negative electrode voltage of the battery cell in the battery module 200, or can refer to the battery cell voltage between the two ends of the battery cell in the battery module 200. The present disclosure does not limit the implementation of obtaining the above-mentioned second voltage. For example, it can also be obtained by detection by the detection control module 300 in the terminal device. After obtaining the above-mentioned second voltage, the above-mentioned first voltage can be voltage compensated based on the voltage change information between the above-mentioned first voltage and the second voltage, so as to obtain the target charging voltage of the battery module 200; that is, voltage compensation is performed based on the voltage change information on the charging return circuit in the battery module 200 (that is, the change in the voltage difference between the above-mentioned second voltage and the first voltage).

[0067] In one embodiment, the present disclosure may also determine / judge whether the first voltage is less than a preset voltage threshold before obtaining the second voltage. The preset voltage threshold is a voltage threshold that is customized by the terminal device according to actual needs, which is usually the voltage corresponding to the occurrence of the first falling edge of the voltage difference between the second voltage and the first voltage, for example Figure 3 Vth1, etc.

[0068] When the first voltage is less than the preset voltage threshold, the present disclosure can continue to obtain the second voltage and perform voltage compensation based on the voltage change information between the first voltage and the second voltage. The present disclosure does not limit the specific implementation of the voltage compensation. For example, it can include but is not limited to any of the following implementations according to actual conditions:

[0069] In one embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage does not have a first falling edge, the target charging voltage of the battery module 200 may be compensated to the difference between the first voltage, the first compensation voltage and the second compensation voltage, and the compensation formula may be as shown in the following formula (1):

[0070] V bat =V1-VF1-VF2 formula (1)

[0071] Among them, V batrepresents the target charging voltage of the battery module 200, V1 represents the above-mentioned first voltage, VF1 represents the above-mentioned first compensation voltage, and VF2 represents the above-mentioned second compensation voltage. The above-mentioned first compensation voltage may refer to the voltage drop value corresponding to the first falling edge of the voltage difference between the above-mentioned second voltage and the above-mentioned first voltage, and the above-mentioned second compensation voltage may refer to the voltage drop value corresponding to the second falling edge of the voltage difference between the above-mentioned second voltage and the above-mentioned first voltage. The above-mentioned first compensation voltage and the above-mentioned second compensation voltage are usually known / obtained in advance by the terminal device, which can be referred to above Figure 3 The relevant introduction in the embodiments will not be repeated here.

[0072] In another embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, the target charging voltage of the battery module 200 may be compensated to the difference between the first voltage and the second compensation voltage, and the compensation formula may be as shown in the following formula (2):

[0073] V bat =V1-VF2 Formula (2)

[0074] Among them, V bat represents the target charging voltage of the battery module 200, V1 represents the first voltage, and VF2 represents the second compensation voltage. The second compensation voltage may refer to the voltage drop value corresponding to the second falling edge of the voltage difference between the second voltage and the first voltage.

[0075] In another embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a second falling edge, the target charging voltage of the battery module 200 may be compensated to the first voltage, and the compensation formula may be as shown in the following formula (3):

[0076] V bat =V1 Formula (3)

[0077] Among them, V bat represents the target charging voltage of the battery module 200, and V1 represents the first voltage.

[0078] On the contrary, when the above-mentioned first voltage is greater than or equal to the preset voltage threshold, the present disclosure can wait / after a preset time period before obtaining the above-mentioned second voltage, and perform voltage compensation based on the voltage change information between the above-mentioned first voltage and the second voltage. The above-mentioned preset time period is customized by the terminal device according to actual needs. It can usually be the charging time corresponding to the time when the battery module 200 starts charging from low power to the time when the voltage difference between the above-mentioned second voltage and the above-mentioned first voltage has the first falling edge (Vth1). For example, it can be 1 minute, etc. The present disclosure does not make too many restrictions and details on this. Similarly, the present disclosure does not limit the specific implementation method of the above-mentioned voltage compensation. For example, it can include but is not limited to any one of the following implementation methods according to actual conditions:

[0079] In one embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage does not have a first falling edge, the target charging voltage of the battery module 200 may be compensated to the first voltage, and the compensation formula may be as shown in the following formula (4):

[0080] V bat =V1 Formula (4)

[0081] Among them, V bat represents the target charging voltage of the battery module 200, and V1 represents the first voltage.

[0082] In another embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, the target charging voltage of the battery module 200 may be compensated to the difference between the first voltage and the second compensation voltage, and the compensation formula may be as shown in the following formula (5):

[0083] V bat =V1-VF2 Formula (5)

[0084] Among them, V bat represents the target charging voltage of the battery module 200, V1 represents the first voltage, and VF2 represents the second compensation voltage. The second compensation voltage may refer to the voltage drop value corresponding to the second falling edge of the voltage difference between the second voltage and the first voltage.

[0085] In another embodiment, when the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a second falling edge, the target charging voltage of the battery module 200 may be compensated to the first voltage, and the compensation formula may be as shown in the following formula (6):

[0086] V bat =V1 Formula (6)

[0087] Among them, V bat represents the target charging voltage of the battery module 200, and V1 represents the first voltage.

[0088] It should be noted that the first voltage and the second voltage obtained in the present disclosure may refer to voltage values ​​within a preset time period, or may refer to voltage values ​​at the current moment, which may be determined according to actual conditions, and the present disclosure does not make too many restrictions or details on this. Usually in this embodiment, the first voltage and the second voltage may refer to voltage values ​​within the corresponding preset time period, which facilitates the statistical calculation of voltage change information between the second voltage and the first voltage.

[0089] In an optional embodiment, before the second voltage is obtained after waiting / after a preset time, the target charging voltage of the battery module 200 may be compensated to the difference between the first voltage, the first compensation voltage and the second compensation voltage to ensure the reliability and safety of charging of the battery module 200. The compensation formula may be as shown in the following formula (7):

[0090] V bat =V1-VF1-VF2 Formula (7)

[0091] Among them, V bat represents the target charging voltage of the battery module 200, V1 represents the first voltage, VF1 represents the first compensation voltage, and VF2 represents the second compensation voltage. For the relevant introduction of the first compensation voltage and the second compensation voltage, please refer to the relevant introduction in the above embodiment, which will not be repeated here.

[0092] In yet another embodiment, after obtaining the target charging voltage of the battery module 200 , the present disclosure can safely and reliably charge the battery module 200 based on the target charging voltage.

[0093] To facilitate a better understanding of the embodiments of the present disclosure, an example is given below. Figure 6 FIG. 1 is a flow chart showing a method for compensating battery charging according to an exemplary embodiment. Figure 6 The method shown can be applied to a terminal device, and the method may include the following implementation steps:

[0094] S601 . Obtain a first voltage V1 , where the first voltage includes a negative electrode voltage of a battery module 200 or an input charging voltage across two ends of the battery module 200 .

[0095] S602: Determine whether the first voltage V1 is less than a preset voltage threshold.

[0096] When the first voltage is less than the preset voltage threshold, step S603 may be continued; otherwise, step S608 may be continued. The preset voltage threshold is a voltage threshold that is customized by the terminal device according to actual needs, which is usually the voltage corresponding to the occurrence of the first falling edge of the voltage difference between the second voltage and the first voltage, for example Figure 3 Vth1, etc.

[0097] S603: Set the target charging voltage V bat The compensation is the difference between the first voltage, the first compensation voltage and the second compensation voltage, that is, V bat =V1-VF1-VF2.

[0098] Among them, V bat represents the target charging voltage of the battery module 200 , V1 represents the first voltage, VF1 represents the first compensation voltage, and VF2 represents the second compensation voltage.

[0099] S604, detecting whether the voltage change information between the second voltage and the first voltage has a first falling edge, wherein the second voltage includes the negative electrode voltage of the battery cell in the battery module 200 or the voltage between the two ends of the battery cell in the battery module 200.

[0100] When the voltage change information indicates that the first falling edge occurs, step S605 may be continued to be executed; otherwise, step S604 may be repeated.

[0101] S605: Set the target charging voltage V bat The compensation voltage is the difference between the first voltage and the second compensation voltage, that is, V bat =V1-VF2.

[0102] S606: Detect whether the voltage change information between the second voltage and the first voltage has a second falling edge.

[0103] When the voltage change information shows a second falling edge, step S607 may be continued to be executed; otherwise, the process returns to step S605.

[0104] S607: Set the target charging voltage V bat compensation for the first voltage, namely V bat =V1.

[0105] S608: Set the target charging voltage V bat The compensation is the difference between the first voltage, the first compensation voltage and the second compensation voltage, that is, V bat =V1-VF1-VF2.

[0106] S609: Wait for a preset time period Twait.

[0107] S610, detecting whether the voltage change information between the second voltage and the first voltage has a first falling edge, that is, detecting whether the voltage change information has a falling edge. The second voltage includes the negative electrode voltage of the battery cell in the battery module 200 or the voltage between the two ends of the battery cell in the battery module 200.

[0108] When the voltage change information indicates that the first falling edge occurs, step S605 may be continued to be executed; otherwise, step S611 may be continued to be executed.

[0109] S611: Set the target charging voltage V bat compensation for the first voltage, namely V bat =V1.

[0110] S612, based on the target charging voltage V bat , the battery module 200 continues to be charged.

[0111] By implementing the embodiment of the present disclosure, the terminal device obtains a first voltage, which includes the negative electrode voltage of the battery module or the input charging voltage at both ends of the battery module; voltage compensation is performed based on the first voltage to obtain the target charging voltage of the battery module. It can be seen that during the charging process, the terminal device actively compensates the first voltage of the battery module so as to charge the battery module quickly and safely based on the compensated target charging voltage. This can not only solve the technical problems existing in the existing related technologies such as the excessive charging current or charging voltage seriously affecting the service life of the battery, but also improve the safety and reliability of battery charging.

[0112] Based on the above examples, see Figure 7 FIG. 1 is a schematic diagram showing a structure of a battery charging compensation device according to an exemplary embodiment. Figure 7 The device shown can be applied to a terminal device, and the device may include an acquisition module 701 and a processing module 702. Among them:

[0113] The acquisition module 701 is configured to acquire a first voltage, where the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module;

[0114] The processing module 702 is configured to perform voltage compensation based on the first voltage to obtain a target charging voltage of the battery module.

[0115] In some embodiments, the acquisition module 701 is further configured to acquire a second voltage corresponding to the first voltage, where the second voltage includes a negative electrode voltage of a battery cell in the battery module or a voltage between two ends of a battery cell in the battery module;

[0116] The processing module 702 is configured to perform voltage compensation on the first voltage based on voltage variation information between the first voltage and the second voltage to obtain the target charging voltage.

[0117] In some embodiments, the processing module 702 is further configured to determine whether the first voltage is less than a preset voltage threshold;

[0118] The acquisition module 701 is configured to acquire a second voltage corresponding to the first voltage when the first voltage is less than the preset voltage threshold; or to acquire a second voltage corresponding to the first voltage after a preset time period when the first voltage is greater than or equal to the preset voltage threshold.

[0119] In some embodiments, when the first voltage is less than the preset voltage threshold, the processing module 702 is configured to perform any one of the following:

[0120] When the voltage change information indicates that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to a difference between the first voltage, the first compensation voltage, and the second compensation voltage;

[0121] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage;

[0122] When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage;

[0123] The first compensation voltage is a voltage drop value corresponding to the first falling edge, and the second compensation voltage is a voltage drop value corresponding to the second falling edge.

[0124] In some embodiments, when the first voltage is greater than or equal to the preset voltage threshold, the processing module 702 is configured to perform any one of the following:

[0125] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to the first voltage;

[0126] When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage;

[0127] When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage;

[0128] The second compensation voltage is a voltage drop value corresponding to the second falling edge.

[0129] In some embodiments, before acquiring the second voltage corresponding to the first voltage after a preset time, the processing module 702 is further configured to compensate the target charging voltage to the difference between the first voltage, the first compensation voltage and the second compensation voltage;

[0130] The first compensation voltage is a voltage drop value corresponding to the first falling edge.

[0131] In some embodiments, the preset voltage threshold is an occurrence voltage corresponding to the first falling edge.

[0132] In some embodiments, the falling edge of the voltage difference between the second voltage and the first voltage is generated based on a charging control unit in the battery module, the charging control unit includes a first MOS tube and a second MOS tube arranged back to back, and a third MOS tube and a fourth MOS tube arranged back to back, the first compensation voltage is the voltage across the body diode in the second MOS tube, and the second compensation voltage is the voltage across the body diode in the fourth MOS tube.

[0133] In some embodiments, the processing module 702 is further configured to charge the battery module based on the target charging voltage.

[0134] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0135] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the battery charging compensation method provided by the present disclosure are implemented.

[0136] Figure 8800 is a schematic diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other terminal devices.

[0137] Reference Figure 8 The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0138] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned battery charging compensation method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0139] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0140] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0141] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0142] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0143] The input / output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0144] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0145] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0146] In an exemplary embodiment, the device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned battery charging compensation method.

[0147] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to complete the above-mentioned upper battery charging compensation method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0148] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned battery charging compensation method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned battery charging compensation method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned battery charging compensation method.

[0149] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned battery charging compensation method when executed by the programmable device.

[0150] See also Fig. 9 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Fig. 9 The chip 900 shown includes a processor 901 and an interface 902. Optionally, it may also include a memory 903. The number of the processor 901 may be one or more, and the number of the interface 902 may be multiple.

[0151] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure:

[0152] The interface 902 is used to receive or output signals;

[0153] The processor 901 is used to execute part or all of the contents of the battery charging compensation method embodiment.

[0154] Understandably, the processor in the embodiment of the present disclosure may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0155] It is understandable that the memory in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

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

[0157] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0158] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A battery charging compensation method, characterized in that: include: Acquire a first voltage, where the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module; Voltage compensation is performed based on the first voltage to obtain a target charging voltage of the battery module.

2. The method according to claim 1, characterized in that Before performing voltage compensation based on the first voltage, the method further includes: Acquire a second voltage corresponding to the first voltage, where the second voltage includes a negative electrode voltage of a battery cell in the battery module or a voltage between two ends of a battery cell in the battery module; The performing voltage compensation based on the first voltage to obtain a target charging voltage of the battery module includes: The target charging voltage is obtained by performing voltage compensation on the first voltage based on voltage variation information between the first voltage and the second voltage.

3. The method according to claim 2, characterized in that Before acquiring the second voltage corresponding to the first voltage, the method further includes: determining whether the first voltage is less than a preset voltage threshold; The acquiring a second voltage corresponding to the first voltage comprises: When the first voltage is less than the preset voltage threshold, acquiring a second voltage corresponding to the first voltage; or, When the first voltage is greater than or equal to the preset voltage threshold, a second voltage corresponding to the first voltage is acquired after a preset time period.

4. The method according to claim 3, characterized in that When the first voltage is less than the preset voltage threshold, performing voltage compensation on the first voltage based on voltage change information between the first voltage and the second voltage to obtain the target charging voltage includes any one of the following: When the voltage change information indicates that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to a difference between the first voltage, the first compensation voltage, and the second compensation voltage; When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage; When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage; The first compensation voltage is a voltage drop value corresponding to the first falling edge, and the second compensation voltage is a voltage drop value corresponding to the second falling edge.

5. The method according to claim 3, characterized in that: When the first voltage is greater than or equal to the preset voltage threshold, performing voltage compensation on the first voltage based on voltage change information between the first voltage and the second voltage to obtain the target charging voltage includes any one of the following: When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage does not have a first falling edge, compensating the target charging voltage to the first voltage; When the voltage change information is used to indicate that the voltage difference between the second voltage and the first voltage has a first falling edge, compensating the target charging voltage to the difference between the first voltage and the second compensation voltage; When the voltage change information is used to indicate that a voltage difference between the second voltage and the first voltage has a second falling edge, compensating the target charging voltage to the first voltage; The second compensation voltage is a voltage drop value corresponding to the second falling edge.

6. The method according to claim 5, characterized in that Before acquiring the second voltage corresponding to the first voltage after a preset time period, the method further includes: compensating the target charging voltage to a difference between the first voltage, the first compensation voltage, and the second compensation voltage; The first compensation voltage is a voltage drop value corresponding to the first falling edge.

7. The method according to any one of claims 4 to 6, characterized in that: The preset voltage threshold is the voltage corresponding to the first falling edge.

8. The method according to any one of claims 4 to 6, characterized in that: The falling edge of the voltage difference between the second voltage and the first voltage is generated based on the charging control unit in the battery module, the charging control unit includes a first MOS tube and a second MOS tube arranged back to back, and a third MOS tube and a fourth MOS tube arranged back to back, the first compensation voltage is the voltage across the body diode in the second MOS tube, and the second compensation voltage is the voltage across the body diode in the fourth MOS tube.

9. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: The battery module is charged based on the target charging voltage.

10. A battery charging compensation device, characterized in that: include: an acquisition module, configured to acquire a first voltage, wherein the first voltage includes a negative electrode voltage of a battery module or an input charging voltage across the battery module; The processing module is configured to perform voltage compensation based on the first voltage to obtain a target charging voltage of the battery module.

11. A terminal device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

13. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 9.