Charging circuit, charging chip and electronic device

CN224862841UActive Publication Date: 2026-10-16BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522481284.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-21
Publication Date
2026-10-16
Estimated Expiration
2035-11-21

AI Technical Summary

Technical Problem

然而,使用功率管脚和电流镜进行采样容易引出采样误差,进而对电池模组造成充电损伤,影响电池模组的使用体验

Benefits of technology

[0053]In this embodiment, a differential sampling circuit samples the battery module to obtain sampling results, and the differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals of the at least two sampling terminals. That is, each sampling result in this embodiment is jointly determined by at least two sampling signals from at least two sampling terminals, and not by a single sampling signal obtained from a single sampling terminal. This reduces sampling errors and improves sampling accuracy, thereby not only enabling better control of the battery module during charging based on the sampling results, reducing charging losses and improving the user experience, but also resulting in greater consistency in charging control between different electronic devices due to reduced errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224862841U_ABST
    Figure CN224862841U_ABST
Patent Text Reader

Abstract

The present disclosure relates to a charging circuit, a charging chip and an electronic device. The charging circuit comprises a power input end configured to be connected with a battery module; a differential sampling circuit configured to be electrically connected with the battery module and to sample the battery module to obtain a sampling result; wherein the differential sampling circuit has at least two sampling ends; each sampling result is determined by sampling signals of the at least two sampling ends; and a charging control circuit electrically connected with the differential sampling circuit and the power input end respectively, and configured to control the power input end to charge the battery module based on the sampling result. The present disclosure can better control the battery module to charge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of charging technology, and in particular to a charging circuit, a charging chip, and an electronic device. Background Technology

[0002] In related technologies, charging the battery module of an electronic device typically includes at least a constant voltage charging phase and a cutoff charging phase. During both phases, power pins and a current mirror are usually used for sampling to control the charging process. However, using power pins and a current mirror for sampling can easily introduce sampling errors, which can damage the battery module during charging and negatively impact the user experience. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a charging circuit, a charging chip, and an electronic device that can better control the charging of battery modules.

[0004] According to a first aspect of the present disclosure, a charging circuit is provided, comprising:

[0005] Power input terminal, used for connecting to the battery module;

[0006] A differential sampling circuit is used to be electrically connected to the battery module and to sample the battery module to obtain sampling results;

[0007] The differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals from the at least two sampling terminals.

[0008] A charging control circuit is electrically connected to the differential sampling circuit and the power input terminal, respectively, and is used to control the power input terminal to charge the battery module based on the sampling result.

[0009] In this embodiment, sampling errors can be reduced and sampling accuracy can be improved. This not only enables better control of the battery module during charging based on the sampling results, reducing charging losses and improving the user experience of the battery module, but also improves the consistency of charging control between different electronic devices due to the reduction of errors.

[0010] In some embodiments, the differential sampling circuit further includes:

[0011] Voltage sampling output terminal, used to output voltage sampling results;

[0012] The charging circuit also includes:

[0013] A voltage logic comparison circuit, electrically connected to the voltage sampling output terminal, is used to compare the voltage sampling result and the voltage threshold to obtain a voltage comparison result.

[0014] The charging control circuit is electrically connected to the voltage logic comparison circuit and is used to control the power input terminal to charge the battery module based on the voltage comparison result.

[0015] In this embodiment, the charging circuit uses a voltage logic comparison circuit to compare the voltage sampling result with the voltage threshold, which can reduce the comparison error caused by the introduction of the comparator. Thus, this embodiment not only reduces sampling error but also comparison error, thereby improving charging accuracy.

[0016] In some embodiments, the at least two sampling ends include:

[0017] The first voltage sampling terminal is used to be electrically connected to the positive terminal of the battery module and to sample the first voltage analog signal.

[0018] The second voltage sampling terminal is used to be electrically connected to the negative terminal of the battery module and to sample the second voltage analog signal.

[0019] The differential sampling circuit is used to perform analog-to-digital conversion on the voltage difference between the first analog voltage signal and the second analog voltage signal to obtain the voltage sampling result.

[0020] In this embodiment, the differential sampling circuit performs analog-to-digital conversion based on the voltage difference between the first and second analog voltage signals to obtain the voltage sampling result. This not only reduces voltage sampling error but also allows it to work with the voltage logic comparison circuit to provide the voltage logic comparison circuit with a digital signal of the voltage sampling result. This enables the voltage logic comparison circuit to better use digital logic for comparison, thereby improving charging accuracy.

[0021] In some embodiments, the voltage logic comparison circuit includes:

[0022] The voltage comparison output terminal is used to output the voltage comparison result;

[0023] The charging control circuit includes:

[0024] A constant voltage charging circuit is electrically connected to the voltage comparison output terminal and the power input terminal respectively, and is used to control the power input terminal to perform constant voltage charging on the battery module when the voltage comparison result indicates that the voltage sampling result is greater than or equal to the voltage threshold.

[0025] In this embodiment of the disclosure, the constant voltage charging circuit, based on voltage sampling results and voltage threshold, can more accurately control the battery module to perform constant voltage charging.

[0026] In some embodiments, the differential sampling circuit further includes:

[0027] The current sampling output terminal is used to output the current sampling results;

[0028] The charging circuit also includes:

[0029] A current logic comparison circuit, electrically connected to the current sampling output terminal, is used to compare the current sampling result and the current threshold to obtain a current comparison result.

[0030] The charging control circuit is electrically connected to the current logic comparison circuit and is used to control the power input terminal to charge the battery module based on the current comparison result.

[0031] In this embodiment, the charging circuit uses a current logic comparison circuit to compare the current sampling result with the current threshold, which can reduce the comparison error caused by the introduction of the comparator. Thus, this embodiment not only reduces sampling error but also comparison error, thereby improving charging accuracy.

[0032] In some embodiments, the at least two sampling ends include:

[0033] The first current sampling terminal and the second current sampling terminal are used to be connected to different positions of the connection lines of the battery module, respectively.

[0034] The first current sampling terminal is used to sample and obtain the first current analog signal;

[0035] The second current sampling terminal is used to sample and obtain the second current analog signal;

[0036] The differential sampling circuit is used to perform analog-to-digital conversion on the current difference between the first analog current signal and the second analog current signal to obtain the current sampling result.

[0037] In this embodiment, the differential sampling circuit performs analog-to-digital conversion based on the current difference between the first analog current signal and the second analog current signal to obtain the current sampling result. This not only reduces the current sampling error, but also works with the current logic comparison circuit to provide the current logic comparison circuit with the digital signal of the current sampling result. This allows the current logic comparison circuit to better use digital logic for comparison, thereby improving the charging accuracy.

[0038] In some embodiments, the current logic comparison circuit includes:

[0039] The current comparison output terminal is used to output the current comparison result;

[0040] The charging control circuit includes:

[0041] A charging cutoff circuit is electrically connected to the current comparison output terminal and the power input terminal, respectively, and is used to control the electrical connection between the power input terminal and the battery module to be disconnected when the current comparison result indicates that the current sampling result is less than the current threshold.

[0042] In this embodiment, the charging cutoff circuit, based on the current sampling results and the current threshold, can more accurately control the charging cutoff of the battery module.

[0043] According to a second aspect of the present disclosure, a charging chip is provided, comprising: a charging circuit as described in the first aspect above.

[0044] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0045] Battery module;

[0046] The charging circuit described in the first aspect above is connected to the battery module;

[0047] The charging interface is electrically connected to the power input terminal of the charging circuit and is used to provide a charging signal to the power input terminal to charge the battery module.

[0048] In some embodiments, the electronic device further includes:

[0049] An impedance component is connected to the battery module;

[0050] The first current sampling terminal in the charging circuit is connected to the first connection terminal of the impedance component, and is used to sample the current flowing through the first connection terminal to obtain a first current analog signal.

[0051] The second current sampling terminal in the charging circuit is connected to the second connection terminal of the impedance component, and is used to sample the current flowing through the second connection terminal to obtain a second current analog signal.

[0052] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0053] In this embodiment, a differential sampling circuit samples the battery module to obtain sampling results, and the differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals of the at least two sampling terminals. That is, each sampling result in this embodiment is jointly determined by at least two sampling signals from at least two sampling terminals, and not by a single sampling signal obtained from a single sampling terminal. This reduces sampling errors and improves sampling accuracy, thereby not only enabling better control of the battery module during charging based on the sampling results, reducing charging losses and improving the user experience, but also resulting in greater consistency in charging control between different electronic devices due to reduced errors.

[0054] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0056] Figure 1 This is a schematic diagram of the charging circuit of the present disclosure according to an exemplary embodiment. Figure 1 .

[0057] Figure 2 This is a schematic diagram illustrating a battery module with different charging stages according to an exemplary embodiment.

[0058] Figure 3 This is a schematic diagram of a conventional charging circuit according to an exemplary embodiment.

[0059] Figure 4 This is a schematic diagram of the charging circuit of the present disclosure according to an exemplary embodiment. Figure 2 .

[0060] Figure 5 This is a schematic diagram illustrating the charging voltage and charging current curves according to an exemplary embodiment.

[0061] Figure 6 This is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0062] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0063] This disclosure provides a charging circuit applicable to scenarios where the battery module is controlled to perform different charging methods based on sampling results. For example, the charging circuit can control the battery module to perform constant voltage charging based on the sampling results. As another example, the charging circuit can control the battery module to stop charging based on the sampling results, thus achieving charging cutoff for the battery module.

[0064] Figure 1 This is a schematic diagram illustrating a charging circuit of the present disclosure according to an exemplary embodiment. Figure 1 As shown, the charging circuit includes:

[0065] The power input terminal 101 is used for connecting the battery module 102;

[0066] A differential sampling circuit 103 is electrically connected to the battery module 102 and samples the battery module 102 to obtain sampling results; wherein, the differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals of the at least two sampling terminals;

[0067] The charging control circuit 104 is electrically connected to the differential sampling circuit 103 and the power input terminal 101, respectively, and is used to control the power input terminal to charge the battery module based on the sampling result.

[0068] In this embodiment of the disclosure, the power input terminal can be used to transmit a power signal, which can be used to charge the battery module.

[0069] It should be noted that when the charging circuit needs to charge the battery module, the power input terminal can be electrically connected to an external power source to obtain the power signal provided by the external power source and transmit the power signal to the battery module.

[0070] The aforementioned battery module can be used to power power modules of electronic devices with charging circuits. These power modules include, but are not limited to, audio modules, display modules, or camera modules; the embodiments disclosed herein are not restrictive.

[0071] It should be noted that the battery module may be composed of lithium-ion batteries or lithium-ion polymer batteries, and this disclosure does not limit this.

[0072] In this embodiment of the disclosure, such as Figure 2 As shown, the battery module may include charging stages such as trickle charging 1, pre-charging 2, constant current charging 3, constant voltage charging 4, and charging cutoff 5. The charging circuit of this embodiment controls the battery module to charge and is applicable to the constant voltage charging stage and the charging cutoff stage.

[0073] The differential sampling circuit described above is used to sample the battery module and output the sampling results. Here, the sampling signals may include different types of sampling signals associated with the battery module, and different sampling results can be obtained based on different types of sampling signals.

[0074] For example, the sampling signal may include a voltage sampling signal, and the corresponding sampling result may include a voltage sampling result.

[0075] For example, the sampling signal may include a current sampling signal, and the corresponding sampling result may include the current sampling result.

[0076] In this embodiment of the disclosure, the differential sampling circuit has at least two sampling terminals, and each sampling result is determined by the sampling signals of at least two sampling terminals.

[0077] In other words, when the sampling results include voltage sampling results, the voltage sampling results are determined by the sampling signals from at least two sampling terminals; when the sampling results include current sampling results, the current sampling results are also determined by the sampling signals from at least two sampling terminals.

[0078] It should be noted that each sampling result in this embodiment is determined by at least two sampling signals from at least two sampling ends, and not by a single sampling signal from a single sampling end.

[0079] In this embodiment of the disclosure, after the differential sampling circuit outputs the sampling results, the charging control circuit controls the battery module to charge based on the sampling results. Here, if the sampling results include voltage sampling results, the charging control circuit can determine whether the battery module is undergoing constant voltage charging, i.e., whether the battery module has entered the constant voltage charging stage, based on the voltage sampling results; if the sampling results include current sampling results, the charging control circuit can determine whether the battery module is undergoing cutoff charging, i.e., whether the battery module has entered the cutoff charging stage, based on the current sampling results.

[0080] For example, Figure 3 This is a schematic diagram of a conventional charging circuit according to an exemplary embodiment. Figure 3As shown, in voltage comparator 301, one connection terminal, vbat, is connected to battery module 303 via a power pin to obtain the sampled voltage, while the other connection terminal, vbat_cv, is the set voltage threshold. In current comparator 302, one connection terminal, Ichg, is connected to a current mirror on the charging path to obtain the sampled current, while the other connection terminal, Iterm, is the set current threshold. The existing charging control circuit 304 is electrically connected to voltage comparator 301 and current comparator 302, and controls the battery module to charge based on the comparison results of the two comparators. It is evident that the existing charging circuit either samples based on the power pin or the current mirror, both of which suffer from large sampling errors due to the reliance on a single sampling method.

[0081] Based on this, embodiments of this disclosure propose setting a differential sampling circuit to sample the battery module and obtain sampling results, wherein the differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals of the at least two sampling terminals. That is, each sampling result in embodiments of this disclosure is jointly determined by at least two sampling signals from at least two sampling terminals, and not by a single sampling signal obtained from a single sampling terminal. This reduces sampling errors and improves sampling accuracy, thereby not only enabling better control of the battery module during charging based on the sampling results, reducing charging losses and improving the user experience of the battery module; but also resulting in higher consistency in charging control between different electronic devices due to reduced errors.

[0082] In some embodiments, such as Figure 1 and Figure 4 As shown, the differential sampling circuit 103 further includes:

[0083] The voltage sampling output terminal V is used to output the voltage sampling result;

[0084] The charging circuit also includes:

[0085] The voltage logic comparison circuit 105 is electrically connected to the voltage sampling output terminal V and is used to compare the voltage sampling result and the voltage threshold to obtain the voltage comparison result.

[0086] The charging control circuit 104 is electrically connected to the voltage logic comparison circuit 105 and is used to control the power input terminal to charge the battery module based on the voltage comparison result.

[0087] In this embodiment of the disclosure, the differential sampling circuit can first perform voltage sampling through at least two sampling terminals, and then output the voltage sampling result to the voltage logic comparison circuit through the voltage sampling output terminal.

[0088] It should be noted that the voltage sampling result is determined by at least two sampled voltages sampled from at least two sampling terminals.

[0089] In this embodiment of the disclosure, the voltage logic comparison circuit can use digital logic to compare the voltage sampling result and the voltage threshold to obtain the voltage comparison result. Therefore, this embodiment of the disclosure is not as... Figure 3 Instead of using a comparator to compare voltages in the existing charging circuit shown, this circuit directly uses digital logic for comparison, which reduces the error caused by introducing a comparator.

[0090] The charging control circuit described above can control the power input terminal to charge the battery module based on the voltage comparison result. Here, the voltage comparison result can be characterized as a voltage sampling result greater than or equal to a voltage threshold; it can also be characterized as a voltage sampling result less than a voltage threshold.

[0091] It should be noted that the battery module can be charged in different ways depending on the voltage comparison results.

[0092] For example, when the voltage comparison result indicates that the voltage sampling result is greater than or equal to the voltage threshold, the battery module can be controlled to perform constant voltage charging; when the voltage comparison result indicates that the voltage sampling result is less than the voltage threshold, the battery module can be controlled not to start constant voltage charging and continue to maintain the current charging mode (e.g., constant current charging).

[0093] Here, when the battery module is charged with constant current, the charging voltage will increase, and the voltage sampling result will rise to be greater than or equal to the voltage threshold.

[0094] It is understood that in this embodiment of the present disclosure, the charging circuit uses a voltage logic comparison circuit to compare the voltage sampling result with the voltage threshold, which can reduce the comparison error caused by the introduction of the comparator. Thus, this embodiment of the present disclosure can reduce not only sampling error but also comparison error, thereby improving charging accuracy.

[0095] In some embodiments, such as Figure 1 and Figure 4 As shown, the at least two sampling ends include:

[0096] The first voltage sampling terminal A is used to be electrically connected to the positive terminal of the battery module 102 and to sample the first voltage analog signal.

[0097] The second voltage sampling terminal B is used to be electrically connected to the negative terminal of the battery module 102 and to sample the second voltage analog signal.

[0098] The differential sampling circuit 103 is used to perform analog-to-digital conversion on the voltage difference between the first voltage analog signal and the second voltage analog signal to obtain the voltage sampling result.

[0099] In this embodiment of the disclosure, the differential sampling circuit has two voltage sampling terminals, and obtains a first voltage analog signal and a second voltage analog signal based on the two voltage sampling terminals.

[0100] It should be noted that the first voltage analog signal can be a positive voltage signal, and the second voltage analog signal can be a negative voltage signal.

[0101] In this embodiment of the disclosure, the differential sampling circuit is used to first perform difference processing on the first voltage analog signal and the second voltage analog signal to obtain the voltage difference, and then perform analog-to-digital conversion on the voltage difference to obtain the voltage sampling result.

[0102] In other words, the differential sampling circuit of this embodiment can not only obtain the voltage difference, but also realize analog-to-digital conversion, thereby enriching the functions of the differential sampling circuit.

[0103] It is understood that in the embodiments of this disclosure, the differential sampling circuit performs analog-to-digital conversion based on the voltage difference between the first voltage analog signal and the second voltage analog signal to obtain the voltage sampling result. This not only reduces the voltage sampling error, but also works with the voltage logic comparison circuit to provide the voltage logic comparison circuit with the digital signal of the voltage sampling result, enabling the voltage logic comparison circuit to better use digital logic for comparison and improving charging accuracy.

[0104] In some embodiments, such as Figure 1 and Figure 4 As shown, the voltage logic comparator circuit 105 includes:

[0105] The voltage comparison output terminal C is used to output the voltage comparison result;

[0106] The charging control circuit 104 includes:

[0107] The constant voltage charging circuit 106 is electrically connected to the voltage comparison output terminal C and the power input terminal 101, respectively, and is used to control the power input terminal 101 to perform constant voltage charging on the battery module 102 when the voltage comparison result indicates that the voltage sampling result is greater than or equal to the voltage threshold.

[0108] In this embodiment of the disclosure, the voltage comparison output terminal of the voltage logic comparison circuit can output the voltage comparison result to the constant voltage charging circuit, so that the constant voltage charging circuit can control the battery module to enter constant voltage charging based on the voltage comparison result.

[0109] It should be noted that the constant voltage charging circuit can also prevent constant voltage charging from starting if the voltage sampling result is less than the voltage threshold, thus preventing the battery module from entering the constant voltage charging stage.

[0110] Here, as Figure 4As shown, the constant voltage charging circuit 106 consists of at least a constant voltage control circuit 106a, a first switching module Q1, and a second switching module Q2. The first switching module Q1 and the second switching module Q2 are connected to the connection line between the power input terminal 101 and the battery module 102. The constant voltage control circuit 106a, electrically connected to the first switching module Q1 and the second switching module Q2, is used to control the switching states of the two switching modules to achieve constant voltage charging.

[0111] It is understood that, in the embodiments of this disclosure, the constant voltage charging circuit, based on the voltage sampling results and voltage threshold, can more accurately control the battery module to perform constant voltage charging.

[0112] In some embodiments, such as Figure 1 and Figure 4 As shown, the differential sampling circuit 103 further includes:

[0113] The current sampling output terminal I is used to output the current sampling result;

[0114] The charging circuit also includes:

[0115] The current logic comparison circuit 107 is electrically connected to the current sampling output terminal I and is used to compare the current sampling result and the current threshold to obtain the current comparison result.

[0116] The control circuit 104 is electrically connected to the current logic comparison circuit 107 and is used to control the power input terminal to charge the battery module based on the current comparison result.

[0117] In this embodiment of the disclosure, the differential sampling circuit can first sample the current through at least two sampling terminals, and then output the current sampling result to the current logic comparison circuit through the current sampling output terminal.

[0118] It should be noted that the current sampling result is determined by at least two sampled currents sampled from at least two sampling terminals.

[0119] In this embodiment of the disclosure, the current logic comparison circuit can use digital logic to compare the current sampling result and the current threshold to obtain the current comparison result. It is evident that this embodiment of the disclosure is not as... Figure 3 Instead of using a comparator to compare currents in the existing charging circuit shown, this circuit directly uses digital logic for comparison, which reduces the error caused by introducing a comparator.

[0120] The charging control circuit described above can control the power input terminal to charge the battery module based on the current comparison result. Here, the current comparison result can be characterized as the current sampling result being greater than or equal to the current threshold; it can also be characterized as the current sampling result being less than the voltage threshold.

[0121] It should be noted that the battery module can be charged in different ways depending on the different current comparison results.

[0122] For example, when the current comparison result indicates that the current sampling result is greater than or equal to the voltage threshold, the battery module can be controlled to continue constant voltage charging instead of entering the charging cutoff state; when the current comparison result indicates that the current sampling result is less than the current threshold, the battery module can be controlled to enter the charging cutoff state.

[0123] It is understood that in this embodiment of the present disclosure, the charging circuit uses a current logic comparison circuit to compare the current sampling result with the current threshold, which can reduce the comparison error caused by the introduction of the comparator. Thus, this embodiment of the present disclosure can reduce not only sampling error but also comparison error, thereby improving charging accuracy.

[0124] In some embodiments, such as Figure 1 and Figure 4 As shown, the at least two sampling ends include:

[0125] The first current sampling terminal D and the second current sampling terminal E are used to be connected to different positions of the connection line of the battery module 102 respectively.

[0126] The first current sampling terminal D is used to sample and obtain the first current analog signal;

[0127] The second current sampling terminal E is used to sample and obtain the second current analog signal;

[0128] The differential sampling circuit 103 is used to perform analog-to-digital conversion on the current difference between the first current analog signal and the second current analog signal to obtain the current sampling result.

[0129] In this embodiment of the disclosure, the differential sampling circuit has two current sampling terminals, and obtains a first current analog signal and a second current analog signal based on the two current sampling terminals.

[0130] It should be noted that, as Figure 4 As shown, impedance component 108 is connected to battery module 102. Either the first current sampling terminal D and the second current sampling terminal E can be connected to the connection line between the negative terminal of battery module 102 and impedance component 108.

[0131] In this embodiment of the disclosure, the differential sampling circuit is used to first perform difference processing on the first current analog signal and the second current analog signal to obtain the current difference, and then perform analog-to-digital conversion on the current difference to obtain the current sampling result.

[0132] In other words, the differential sampling circuit of this embodiment can not only obtain the current difference, but also realize analog-to-digital conversion, thereby enriching the functions of the differential sampling circuit.

[0133] For example, the differential adoption module may include a 15-bit differential analog-to-digital converter, which is not limited in this embodiment of the disclosure.

[0134] It is understood that in the embodiments of this disclosure, the differential sampling circuit performs analog-to-digital conversion based on the current difference between the first current analog signal and the second current analog signal to obtain the current sampling result. This not only reduces the current sampling error, but also works with the current logic comparison circuit to provide the current logic comparison circuit with the digital signal of the current sampling result, enabling the current logic comparison circuit to better use digital logic for comparison and improving charging accuracy.

[0135] In some embodiments, such as Figure 1 and Figure 4 As shown, the current logic comparison circuit 107 includes:

[0136] The current comparison output terminal F is used to output the current comparison result;

[0137] The charging control circuit 104 includes:

[0138] The charging cutoff circuit 109 is electrically connected to the current comparison output terminal F and the power input terminal 101, respectively, and is used to control the electrical connection between the power input terminal 101 and the battery module 102 to be disconnected when the current comparison result indicates that the current sampling result is less than the current threshold.

[0139] In this embodiment of the present disclosure, the current comparison output terminal of the current logic comparison circuit can output the current comparison result to the charging cut-off circuit, so that the charging cut-off circuit can control the battery module to cut off charging based on the current comparison result.

[0140] It should be noted that the charging cutoff circuit can also prevent the charging cutoff from starting if the voltage sampling result is less than the voltage threshold, thus preventing the battery module from entering the charging cutoff stage, meaning the battery module remains in the constant voltage charging stage.

[0141] Here, as Figure 4 As shown, the charging cutoff circuit can be composed of at least a cutoff control circuit 109a and a third switch module Q3. The third switch module Q3 can be connected to the connection line between the second switch module Q2 and the battery module 102. The cutoff control circuit 109a, electrically connected to the third switch module Q3, is used to control the switching state of the third switch module Q3 to achieve charging cutoff.

[0142] Here, as Figure 4As shown, a fourth switch module Q4 can also be provided between the power input terminal 101 and the first switch module Q1. An inductor 110 can also be provided on the connection line between the third switch module Q3 and the second switch module Q2.

[0143] It should be noted that when the current sampling result is less than the current threshold, the charging cut-off circuit can control the third switch module Q3 to disconnect the electrical connection between the power input terminal 101 and the battery module 102, so as to achieve charging cut-off.

[0144] It is understood that, in the embodiments of this disclosure, the charging cut-off circuit, based on the current sampling results and the current threshold, can more accurately control the charging cut-off of the battery module.

[0145] To better understand the charging circuit of one or more embodiments of this application, examples of embodiments of this disclosure are as follows:

[0146] Figure 5 This is a schematic diagram illustrating the charging voltage and charging current curves according to an exemplary embodiment. Figure 5 As shown, when the battery module reaches 100% charge and charging stops, the battery voltage is the cutoff voltage and the battery current is the cutoff current.

[0147] The sampling errors of existing charging circuits, the errors introduced by comparators, and the setting errors can easily lead to poor consistency in the cutoff voltage and cutoff current tested on different electronic devices, resulting in positive or negative deviations from the expected target values. For example, the voltage error may be 0.5%, and the current error may be 12% or 20%.

[0148] Specifically, a positive bias in the cutoff voltage results in an overvoltage at cutoff, causing irreversible damage and impacting battery life. A negative bias in the cutoff voltage results in a lower battery voltage at cutoff, meaning the battery is not fully charged, thus affecting battery life. A positive bias in the cutoff current results in a higher battery current at cutoff, also affecting battery life. A negative bias in the cutoff current results in a lower battery current at cutoff, causing irreversible damage and impacting battery life.

[0149] Based on this, embodiments of this disclosure propose using a differential sampling circuit to sample the battery module, which can reduce sampling errors. Furthermore, embodiments of this disclosure also propose using voltage logic comparison circuits and current logic comparison circuits for comparison, which can reduce comparison errors. Thus, the voltage and current at the point of battery full charge cutoff in embodiments of this disclosure can be close to the cutoff current and cutoff voltage required by the battery specifications, thereby reducing not only the error in the cutoff voltage but also the error in the cutoff current, improving consistency between different devices.

[0150] This disclosure also proposes a charging chip, which includes a charging circuit as described in one or more of the above embodiments.

[0151] It is understood that in this embodiment of the present disclosure, the charging chip includes a charging circuit. The charging circuit can reduce sampling errors and improve sampling accuracy. This not only enables better control of the battery module during the charging process based on the sampling results, reducing charging losses to the battery module and improving the user experience of the battery module, but also makes the charging control between different electronic devices more consistent due to the reduction of errors.

[0152] This disclosure also proposes an electronic device, which includes:

[0153] Battery module;

[0154] The charging circuit of one or more embodiments described above is connected to the battery module;

[0155] The charging interface is electrically connected to the power input terminal of the charging circuit and is used to provide a power signal to the power input terminal to charge the battery module.

[0156] In this embodiment of the disclosure, the power input terminal, the charging control circuit, and the differential sampling circuit in the charging circuit are all connected to the battery module. The charging control circuit may include a constant voltage charging circuit connected to the battery module for controlling the battery module to perform constant voltage charging; the charging control circuit may also include a charging cut-off circuit connected to the battery module for controlling the electrical connection between the power input terminal and the battery module to be disconnected.

[0157] It is understood that, in the embodiments of this disclosure, the electronic device includes a charging circuit. The charging circuit can reduce sampling errors and improve sampling accuracy. This not only enables better control of the battery module during the charging process based on the sampling results, reducing charging losses to the battery module and improving the user experience of the battery module, but also makes the charging control between different electronic devices more consistent due to the reduction of errors.

[0158] In some embodiments, such as Figure 4 As shown, the electronic device further includes:

[0159] Impedance component 108 is connected to the battery module 102;

[0160] The first current sampling terminal D in the charging circuit is connected to the first connection terminal of the impedance component 108, and is used to sample the current flowing through the first connection terminal to obtain a first current analog signal.

[0161] The second current sampling terminal E in the charging circuit is connected to the second connection terminal of the impedance component 108, and is used to sample the current flowing through the second connection terminal to obtain a second current analog signal.

[0162] In this embodiment of the disclosure, the differential sampling circuit can sample the current flowing through the impedance component, thereby obtaining the sampled current.

[0163] It should be noted that during the constant voltage charging stage, the charging current will become smaller and smaller, and the sampling current obtained by the differential sampling circuit will also decrease. This allows us to determine whether the reduced sampling current is below the current threshold.

[0164] Here, when the battery module is in the constant voltage charging stage, the differential sampling circuit can be controlled to start current sampling. This allows current sampling to be performed only when needed, thereby saving power consumption.

[0165] The impedance components mentioned above may include inductor components or resistor components, etc., and the embodiments disclosed herein are not limited thereto.

[0166] It is understood that, in this embodiment of the present disclosure, the differential sampling circuit can determine the current sampling result based not only on the signals sampled at the two voltage sampling terminals, but also on the signals sampled at the two current sampling terminals. In this way, while reducing voltage sampling errors, it can also reduce current sampling errors, thereby further improving charging accuracy.

[0167] Figure 6 This is a structural block diagram of an electronic device according to an exemplary embodiment. For example, electronic device 600 may be a mobile phone, tablet computer, or laptop.

[0168] Reference Figure 6 The electronic device 600 may include one or more of the following components: processing component 602, memory 604, power supply component 606, multimedia component 608, audio component 610, input / output (I / O) interface 612, sensor component 614, and communication component 616.

[0169] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 602 may include one or more processors 620 to execute instructions. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0170] Memory 604 is configured to store various types of data to support operation on electronic device 600. Examples of such data include at least one of the following: instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, and videos. Memory 604 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 storage, flash memory, magnetic disk, or optical disk.

[0171] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.

[0172] Multimedia component 608 includes a screen that provides an output interface between electronic device 600 and 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 touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When electronic device 600 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0173] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when electronic device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0174] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0175] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 may detect the on / off state of electronic device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or one of its components, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.

[0176] Communication component 616 is configured to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.

[0177] In an exemplary embodiment, the electronic device 600 may 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.

[0178] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0179] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A charging circuit, characterized in that, include: Power input terminal, used for connecting to the battery module; A differential sampling circuit is used to be electrically connected to the battery module and to sample the battery module to obtain sampling results; The differential sampling circuit has at least two sampling terminals; each sampling result is determined by the sampling signals from the at least two sampling terminals. A charging control circuit is electrically connected to the differential sampling circuit and the power input terminal, respectively, and is used to control the power input terminal to charge the battery module based on the sampling result.

2. The charging circuit according to claim 1, characterized in that, The differential sampling circuit further includes: Voltage sampling output terminal, used to output voltage sampling results; The charging circuit also includes: A voltage logic comparison circuit, electrically connected to the voltage sampling output terminal, is used to compare the voltage sampling result and the voltage threshold to obtain a voltage comparison result. The charging control circuit is electrically connected to the voltage logic comparison circuit and is used to control the power input terminal to charge the battery module based on the voltage comparison result.

3. The charging circuit according to claim 2, characterized in that, The at least two sampling ends include: The first voltage sampling terminal is used to be electrically connected to the positive terminal of the battery module and to sample the first voltage analog signal. The second voltage sampling terminal is used to be electrically connected to the negative terminal of the battery module and to sample the second voltage analog signal. The differential sampling circuit is used to perform analog-to-digital conversion on the voltage difference between the first analog voltage signal and the second analog voltage signal to obtain the voltage sampling result.

4. The charging circuit according to claim 2, characterized in that, The voltage logic comparator circuit includes: The voltage comparison output terminal is used to output the voltage comparison result; The charging control circuit includes: A constant voltage charging circuit is electrically connected to the voltage comparison output terminal and the power input terminal respectively, and is used to control the power input terminal to perform constant voltage charging on the battery module when the voltage comparison result indicates that the voltage sampling result is greater than or equal to the voltage threshold.

5. The charging circuit according to any one of claims 1 to 4, characterized in that, The differential sampling circuit further includes: The current sampling output terminal is used to output the current sampling results; The charging circuit also includes: A current logic comparison circuit, electrically connected to the current sampling output terminal, is used to compare the current sampling result and the current threshold to obtain a current comparison result. The charging control circuit is electrically connected to the current logic comparison circuit and is used to control the power input terminal to charge the battery module based on the current comparison result.

6. The charging circuit according to claim 5, characterized in that, The at least two sampling ends include: The first current sampling terminal and the second current sampling terminal are used to be connected to different positions of the connection lines of the battery module, respectively. The first current sampling terminal is used to sample and obtain a first current analog signal; The second current sampling terminal is used to sample and obtain the second current analog signal; The differential sampling circuit is used to perform analog-to-digital conversion on the current difference between the first analog current signal and the second analog current signal to obtain the current sampling result.

7. The charging circuit according to claim 5, characterized in that, The current logic comparison circuit includes: The current comparison output terminal is used to output the current comparison result; The charging control circuit includes: A charging cutoff circuit is electrically connected to the current comparison output terminal and the power input terminal, respectively, and is used to control the electrical connection between the power input terminal and the battery module to be disconnected when the current comparison result indicates that the current sampling result is less than the current threshold.

8. A charging chip, characterized in that, include: The charging circuit as described in any one of claims 1 to 7.

9. An electronic device, characterized in that, include: Battery module; The charging circuit as described in any one of claims 1 to 7 is connected to the battery module; The charging interface is electrically connected to the power input terminal of the charging circuit and is used to provide a charging signal to the power input terminal to charge the battery module.

10. The electronic device according to claim 9, characterized in that, The electronic device also includes: An impedance component is connected to the battery module; The first current sampling terminal in the charging circuit is connected to the first connection terminal of the impedance component, and is used to sample the current flowing through the first connection terminal to obtain a first current analog signal. The second current sampling terminal in the charging circuit is connected to the second connection terminal of the impedance component, and is used to sample the current flowing through the second connection terminal to obtain a second current analog signal.