Sampling circuit and battery control circuit

By combining a shunt and a sampling unit, dual-channel current sampling of the battery is achieved without using a Hall current sensor, reducing cost and space occupation, improving battery safety and sampling accuracy, and enhancing the reliability and integration of battery control.

CN223501943UActive Publication Date: 2025-10-31CONTEMPORARY AMPEREX TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422648453.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-10-31
Estimated Expiration
2034-10-31

AI Technical Summary

Technical Problem

Hall current sensors are expensive and take up a lot of space, which increases the cost of battery structure design and wastes space.

Method used

A combination of shunt and sampling unit is adopted. The battery current is obtained by the ratio of the voltage across the shunt to the resistance. GPIO resources are used for current sampling, avoiding the use of Hall current sensors. Voltage and temperature sampling functions are integrated to improve sampling accuracy and robustness.

Benefits of technology

It reduces the cost of current sampling and the space occupied by the circuit, improves battery safety and sampling accuracy, and enhances the reliability and integration of battery control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223501943U_ABST
    Figure CN223501943U_ABST
Patent Text Reader

Abstract

The utility model relates to a sampling circuit and a battery control circuit, which are applied to the technical field of batteries. The sampling circuit comprises a sampling unit and a diverter. The first end and the second end of the diverter are connected with a general sampling port of the sampling unit, the first end of the diverter is further connected with a first sampling port of the sampling unit, and the second end of the diverter is further connected with a second sampling port of the sampling unit and the battery; the first sampling port and the second sampling port of the sampling unit are used for sampling to obtain a first current of the battery, and the general sampling port of the sampling unit is used for sampling to obtain a second current of the battery. By adopting the sampling circuit provided by the invention, the current sampling cost and the circuit space occupation can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and in particular to a sampling circuit and a battery control circuit. Background Technology

[0002] With the rapid development of new energy vehicles, functional safety has become the primary concern for users. To meet the functional safety requirements of the entire vehicle, two sampling circuits are needed to sample the battery's operating current. Typically, in these two sampling circuits, one uses a current sampling chip to sample the current, while the other uses a Hall effect current sensor. Thus, the current sampled from one circuit can be used for redundancy verification of the current sampled from the other.

[0003] However, Hall current sensors are expensive, and they require space to be reserved in the battery structure, resulting in a large space occupation. Utility Model Content

[0004] Therefore, it is necessary to provide a sampling circuit and battery control circuit that can reduce the cost of current sampling and the space occupied by the circuit, in order to address the above-mentioned technical problems.

[0005] In a first aspect, this application provides a sampling circuit, the sampling circuit comprising: a sampling unit and a shunt; a first end and a second end of the shunt are connected to a general sampling port of the sampling unit, the first end of the shunt is also connected to a first sampling port of the sampling unit, and the second end of the shunt is also connected to a second sampling port of the sampling unit and a battery; the first sampling port and the second sampling port of the sampling unit are used to sample and obtain a first current of the battery, and the general sampling port of the sampling unit is used to sample and obtain a second current of the battery.

[0006] In the above embodiments, without using a Hall current sensor, two-way current sampling of the battery can be achieved based on the first sampling port, the second sampling port, and the general sampling port of the sampling unit. This solves the problems of high cost and large space occupation caused by using a Hall current sensor for current sampling. Therefore, there is no need to occupy the battery circuit structure. While reducing cost and space occupation, the normal operation of the battery can still be guaranteed based on the sampled current, thus improving the battery safety.

[0007] In one embodiment, the general sampling port includes a general-purpose input / output port (GPIO).

[0008] In the above embodiments, current sampling can be directly implemented based on the GPIO of the sampling unit 2042 without adding additional hardware design, using one GPIO resource for current sampling, which can reduce the development cost and complexity of the sampling circuit.

[0009] In one embodiment, the shunt includes a first sub-shunt and a second sub-shunt. A first end of the shunt includes a first end of the first sub-shunt and a first end of the second sub-shunt, and a second end of the shunt includes a second end of the first sub-shunt and a second end of the second sub-shunt. The first end of the first sub-shunt is connected to a first sampling port of the sampling unit, and the second end of the first sub-shunt is connected to a second sampling port of the sampling unit and the battery. The first and second ends of the second sub-shunt are connected to a general sampling port of the sampling unit, and the second end of the second sub-shunt is also connected to the battery.

[0010] In the above embodiments, by sampling the two currents based on the first sub-shunt and the second sub-shunt respectively, the sampling processes of the two currents are made independent, avoiding mutual interference between the sampling processes of the two currents, which can improve the accuracy of the sampled current and further improve the accuracy of battery safety control.

[0011] In one embodiment, the sampling unit further includes a voltage sampling port; the voltage sampling port of the sampling unit is connected to the battery, and the general sampling port of the sampling unit is also connected to the battery; the general sampling port of the sampling unit is also used to sample and obtain the temperature of the battery.

[0012] In the above embodiments, the battery current, temperature and voltage can be sampled by the sampling unit. This avoids the large circuit space required by using voltage and temperature sampling chips in the circuit design, resulting in a smaller circuit space and higher integration.

[0013] In one embodiment, the sampling unit includes a first sampling subunit and a second sampling subunit. The first sampling port of the sampling unit includes a first input terminal of the first sampling subunit, the second sampling port of the sampling unit includes a second input terminal of the first sampling subunit, and the general sampling port of the sampling unit includes the general sampling port of the second sampling subunit. The first end of the shunt is connected to the first input terminal of the first sampling subunit, the second end of the shunt is connected to the second input terminal of the first sampling subunit and the battery, and the first and second ends of the shunt are also connected to the general sampling port of the second sampling subunit.

[0014] In the above embodiments, by using different sampling sub-units to sample the battery current in the two lines respectively, the battery current can be sampled using the current sampling function provided by the other line when one line cannot provide the current sampling function, thereby improving the robustness of the sampling circuit.

[0015] In one embodiment, the second sampling subunit further includes a voltage sampling port; the voltage sampling port of the second sampling subunit is connected to the battery, and the general sampling port of the second sampling subunit is also connected to the battery; the general sampling port of the second sampling subunit is also used to sample and obtain the temperature of the battery.

[0016] In the above embodiments, by using different ports of the second sampling subunit to sample the battery temperature and voltage, the accuracy of the sampled battery temperature and voltage can be improved, and the accuracy of battery safety control based on battery temperature and voltage can be further improved.

[0017] In one embodiment, the splitter includes a third sub-splitter, a first end of which includes the first end of the third sub-splitter, and a second end of which includes the second end of the third sub-splitter; the first end of the third sub-splitter is connected to a first input terminal of the first sampling sub-unit, the second end of the third sub-splitter is connected to a second input terminal of the first sampling sub-unit, and the first and second ends of the third sub-splitter are also connected to a general sampling port of the second sampling sub-unit.

[0018] In the above embodiments, compared with using two sub-shunts to sample the battery current, using one sub-shunt to sample the battery current can reduce the cost of sampling the battery current.

[0019] In one embodiment, the splitter includes a first sub-splitter and a second sub-splitter. A first end of the splitter includes a first end of the first sub-splitter and a first end of the second sub-splitter. A second end of the splitter includes a second end of the first sub-splitter and a second end of the second sub-splitter. The first end of the first sub-splitter is connected to a first input end of the first sampling sub-unit, the second end of the first sub-splitter is connected to a second input end of the first sampling sub-unit, and the first and second ends of the second sub-splitter are connected to a general sampling port of the second sampling sub-unit.

[0020] In the above embodiments, by setting different sub-shunts and corresponding sampling sub-units to perform the current sampling process separately, the sampling processes of the two currents are made independent, avoiding mutual interference between the two current sampling processes, which can improve the accuracy of the sampled current and further improve the accuracy of battery safety control.

[0021] In one embodiment, the sampling circuit further includes an amplifier; the first and second ends of the shunt are respectively connected to the general sampling port of the sampling unit through the amplifier.

[0022] In the above embodiments, by amplifying the minute voltage generated at both ends of the shunt, and obtaining the voltage difference based on the amplified voltage, and then obtaining the second current of the battery based on the voltage difference, the accuracy of the sampled current can be improved, and the accuracy of battery safety control can be further improved.

[0023] In one embodiment, the sampling circuit further includes: a first current limiting device and a second current limiting device; the first end of the shunt is connected to the general sampling port of the sampling unit through the first current limiting device and the amplifier, and the second end of the shunt is connected to the general sampling port of the sampling unit through the second current limiting device and the amplifier.

[0024] In the above embodiments, by setting a first current limiting device and a second current limiting device, the situation where the battery current is too large and burns out the shunt can be avoided, thereby improving the safety and stability of the sampling circuit.

[0025] Secondly, this application provides a battery control circuit, which includes a main control unit and a sampling circuit as described in the first aspect or any one of the first aspects.

[0026] The aforementioned sampling circuit and battery control circuit, after the battery current passes through the shunt, can obtain the voltage at one end of the shunt based on the first sampling port of the sampling unit, and the voltage at the other end of the shunt based on the second sampling port of the sampling unit. Then, based on the ratio of the voltage difference across the shunt to the resistance of the shunt, the first current of the battery can be obtained. Simultaneously, the voltage across the shunt can be obtained based on the universal sampling port of the sampling unit, thus obtaining the second current of the battery. That is, the first and second sampling ports of the sampling unit are used to sample and obtain the first current of the battery, and the universal sampling port is used to sample and obtain the second current of the battery. Therefore, without using a Hall current sensor, two-way current sampling of the battery can be achieved based on the first and second sampling ports and the universal sampling port of the sampling unit. This solves the problems of high cost and large space occupation caused by using a Hall current sensor for current sampling, thus eliminating the need for additional battery circuit structure. While reducing current sampling cost and circuit space occupation, the normal operation of the battery can still be ensured based on the sampled current, improving battery safety. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a block diagram illustrating the structure for implementing dual-channel current sampling in one embodiment;

[0029] Figure 2 This is a block diagram of the battery control circuit in one embodiment;

[0030] Figure 3 This is a block diagram of the sampling circuit in one embodiment;

[0031] Figure 4 Here is a block diagram of the sampling circuit in another embodiment;

[0032] Figure 5 Here is a block diagram of the sampling circuit in another embodiment;

[0033] Figure 6 Here is a block diagram of another battery control circuit;

[0034] Figure 7 This is a schematic diagram of a battery control circuit.

[0035] Figure 8 Here is a block diagram of another battery control circuit;

[0036] Figure 9 This is a schematic diagram of another battery control circuit.

[0037] Figure 10 Here is a block diagram of another battery control circuit;

[0038] Figure 11 This is a schematic diagram of another battery control circuit.

[0039] Figure 12 Here is a block diagram of another battery control circuit;

[0040] Figure 13 This is a schematic diagram of another battery control circuit.

[0041] Figure 14 This is a block diagram of another battery control circuit. Detailed Implementation

[0042] The embodiments of the technical solution of this application will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of this application and are therefore merely examples, and should not be used to limit the scope of protection of this application.

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0044] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0045] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0046] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0047] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0048] When sampling the battery current through one channel using a Hall current sensor and another channel using a current sampling chip, the following methods can be used: Figure 1The circuit structure shown implements dual-channel current sampling. In one current sampling channel, the current sampling chip is connected to the battery via a shunt, thus sending the detected first current from the battery to the main control unit. In the other current sampling channel, the Hall current sensor can be directly connected to the battery, sending the detected second current from the battery to the main control unit. Therefore, the main control unit can verify the second current based on the first current, or vice versa, to ensure the reliability of the current sampling, guarantee the normal operation of the battery, and improve battery safety.

[0049] exist Figure 1 In this system, the voltage sampling chip and / or temperature sampling chip can be connected to the battery separately. The voltage and / or temperature sampling chips then send the sampled battery voltage and / or temperature to the main control unit. Based on the battery voltage and / or temperature, the main control unit can perform safety control on the battery to ensure its normal operation and improve its safety. In some cases, the voltage and temperature sampling chips can be integrated into a single chip, with different sampling ports on this single chip used to sample the battery voltage and temperature.

[0050] As mentioned above, Hall current sensors are costly, and their placement within the battery structure requires significant space, resulting in a large footprint. Therefore, a solution could be to design a sampling circuit to sample the battery's current from two sources without using a Hall current sensor. This addresses the high cost and large space requirements associated with Hall current sensors, allowing for improved battery safety while still ensuring normal operation based on the sampled current. Furthermore, this sampling circuit can be configured to include both voltage and temperature sampling capabilities, increasing the circuit's integration and avoiding the large space requirements associated with separate voltage and temperature sampling chips, thus reducing the overall footprint of the circuit design.

[0051] In view of this, such as Figure 2 As shown, a structural block diagram of a battery control circuit is provided. The battery control circuit 20 includes a main control unit 202 and a sampling circuit 204. The sampling circuit 204 is used to sample and obtain a first current and a second current of the battery 30, and send the first current and the second current of the battery 30 to the main control unit 202. Thus, the main control unit 202 can verify the second current based on the first current, or verify the first current based on the second current, so as to ensure the reliability of current sampling, ensure the normal operation of the battery, and improve the safety of the battery.

[0052] In some situations, when a fault occurs in a line containing a certain current, the main control unit 202 can implement safe battery usage control based on a first current or a second current in a line that is not faulty, thereby improving the robustness of the circuit. For example, if there is an abnormal connection between the line and the battery, it can be determined that the abnormal line is faulty. Or, for example, if the line is damaged by external force, it can be determined that the line is faulty. The cause of the line fault can also be other situations, which are not limited in this embodiment.

[0053] The meanings of the first current and the second current are related to the state of the battery. For example, when the battery is charging, the first current and the second current refer to the battery current sampled during the charging process; when the battery is discharging, the first current and the second current refer to the battery current sampled during the discharging process.

[0054] The battery 30 may include at least one battery pack. The first current and the second current may refer to the current of each battery pack, or the total current of all battery packs, or other forms of current. This embodiment does not make specific limitations.

[0055] The sampling circuit 204 can be implemented using various possible circuit structures, as long as it can achieve the purpose of sampling the current of the battery 206 in two ways.

[0056] In one embodiment, such as Figure 3As shown, a block diagram of a sampling circuit is provided, wherein the sampling circuit 204 includes a sampling unit 2042 and a shunt 2044. The first and second ends of the shunt 2044 are connected to the general sampling port of the sampling unit 2042. The first end of the shunt 2044 is also connected to the first sampling port of the sampling unit 2042, and the second end of the shunt 2044 is also connected to the second sampling port of the sampling unit 2042 and the battery 30. Therefore, after the battery current passes through the shunt 2044, the voltage at one end of the shunt 2044 can be obtained based on the first sampling port of the sampling unit 2042, and the voltage at the other end of the shunt 2044 can be obtained based on the second sampling port of the sampling unit 2042. Furthermore, based on the ratio of the voltage difference across the shunt 2044 to the resistance of the shunt 2044, the first current of the battery can be obtained. Simultaneously, the second current of the battery can be obtained based on the voltage across the shunt 2044 obtained through the general sampling port of the sampling unit 2042. Specifically, the first and second sampling ports of the sampling unit 2042 are used to sample the first current of the battery 30, and the general sampling port of the sampling unit 2042 is used to sample the second current of the battery 30. Therefore, without using a Hall current sensor, two-way current sampling of the battery can be achieved based on the first and second sampling ports and the general sampling port of the sampling unit. This solves the problems of high cost and large space occupation caused by using a Hall current sensor for current sampling, thus eliminating the need for additional battery circuitry. While reducing current sampling cost and circuit space occupation, the normal operation of the battery can still be ensured based on the sampled current, improving battery safety.

[0057] In some embodiments, the general-purpose sampling port of the sampling unit 2042 refers to the general-purpose port configured in the sampling unit 2042. The general-purpose sampling port of the sampling unit 2042 may include the general-purpose input / output (GPIO) port of the sampling unit 2042. Therefore, current sampling can be implemented directly based on the GPIO of the sampling unit 2042 without adding additional hardware design, using only one GPIO resource for current sampling, which can reduce the development cost and complexity of the sampling circuit.

[0058] In some embodiments, the sampling unit 2042 further includes a voltage sampling port connected to the battery 30. A general-purpose sampling port of the sampling unit 2042 is also connected to the battery 30 and is used to sample the battery temperature. Therefore, the sampling unit 2042 can sample not only the battery current but also the battery temperature and voltage. This avoids the large circuit space required by using voltage and temperature sampling chips in circuit design, resulting in a smaller circuit footprint and higher integration.

[0059] In some embodiments, such as Figure 4 As shown, the sampling circuit 204 may further include an amplifier 2046. The first and second terminals of the shunt 2044 are respectively connected to the general sampling port of the sampling unit 2042 through the amplifier 2046. Therefore, by amplifying the small voltage generated across the shunt 2044, and then obtaining the voltage difference based on the amplified voltage, and finally obtaining the second current of the battery based on the voltage difference, the accuracy of the sampled current can be improved, further enhancing the accuracy of battery safety control.

[0060] In one embodiment, such as Figure 5 As shown, the sampling circuit 204 may further include a first current-limiting device 2048 and a second current-limiting device 2050. The first end of the shunt 2044 is connected to the general sampling port of the sampling unit 2042 through the first current-limiting device 2048 and the amplifier 2046, and the second end of the shunt 2044 is connected to the general sampling port of the sampling unit 2042 through the second current-limiting device 2050 and the amplifier 2046. Therefore, by setting the first current-limiting device 2048 and the second current-limiting device 2050, the situation where the battery current is too high and burns out the shunt can be avoided, improving the safety and stability of the sampling circuit.

[0061] The current-limiting devices include, but are not limited to, superconducting current limiters, magnetic current limiters, solid-state current limiters, or resistors. Thus, when the current-limiting device is a superconducting current limiter, the properties of the superconducting material can be used to achieve current limiting; when the current-limiting device is a magnetic current limiter, the magnetic element can be used to regulate the current; and when the current-limiting device is a resistor, the resistor can be used to achieve current limiting.

[0062] The shunt 2044 can contain various possible components, as long as the battery current, after passing through the shunt 2044, generates a voltage across the shunt 2044.

[0063] In one embodiment, such as Figure 6As shown, the shunt 2044 may include a first sub-shunt 602 and a second sub-shunt 604. The first end of the shunt 2044 includes the first end of the first sub-shunt 602 and the first end of the second sub-shunt 604, and the second end of the shunt 2044 includes the second end of the first sub-shunt 602 and the second end of the second sub-shunt 604. The first sub-shunt 602 and the second sub-shunt 604 can refer to devices that generate a voltage across their terminals after current flows through them. For example, both the first sub-shunt 602 and the second sub-shunt 604 can be resistors, or other types of devices; this embodiment does not impose specific limitations.

[0064] exist Figure 6 In this circuit, the first end of the first sub-shunt 602 is connected to the first sampling port of the sampling unit 2042, and the second end of the first sub-shunt 602 is connected to the second sampling port of the sampling unit 2042 and the battery. The first and second ends of the second sub-shunt 604 are connected to the general sampling port of the sampling unit 2042, and the second end of the second sub-shunt 604 is also connected to the battery 30. Thus, after the battery current passes through the first sub-shunt 602, the voltage at one end of the first sub-shunt 602 can be obtained based on the first sampling port of the sampling unit 2042, and the voltage at the other end of the first sub-shunt 602 can be obtained based on the second sampling port of the sampling unit 2042. Furthermore, based on the ratio of the voltage difference between the two ends of the first sub-shunt 602 to the resistance of the first sub-shunt 602, the first current of the battery can be obtained. Simultaneously, after the battery current passes through the second sub-shunt 604, the voltage across the second sub-shunt 604 can be obtained through the general sampling port of the sampling unit 2042. Then, based on the ratio of the voltage difference across the second sub-shunt 604 to its resistance, the second current of the battery can be obtained. Therefore, by sampling two current paths based on the first and second sub-shunts respectively, the sampling processes of the two current paths are independent, avoiding mutual interference and improving the accuracy of the sampled current. This further enhances the accuracy of battery safety control.

[0065] Taking the general-purpose sampling port of sampling unit 2042 as GPIO as an example, such as Figure 7The diagram illustrates the structure of a battery control circuit. The battery control circuit 20 includes a sampling unit 2042, a shunt 2044, an amplifier 2046, a first current-limiting device 2048, and a second current-limiting device 2050. The V1+ terminal of the shunt 2044 represents the first terminal of the first sub-shunt 602, and the V1- terminal represents the second terminal of the first sub-shunt 602; the V1- terminal is connected to the battery (not shown in the diagram). The V2+ terminal of the shunt 2044 represents the first terminal of the second sub-shunt 604, and the V2- terminal represents the second terminal of the second sub-shunt 604; the V2- terminal is connected to the battery (not shown in the diagram). The V3+ terminal of the sampling unit 2042 represents the first sampling port of the sampling unit 2042, and the V3- terminal represents the second sampling port of the sampling unit 2042. In this embodiment, the first current limiting device 2048 and the second current limiting device 2050 can be current limiting resistors; the first sub-shunt 602 and the second sub-shunt 604 can be of the same type or different types, which is not limited in this embodiment. For example, the first sub-shunt 602 and the second sub-shunt 604 can both be resistors.

[0066] exist Figure 7 In this circuit, the V1+ terminal of the shunt 2044 is connected to the V3+ terminal of the sampling unit 2042, the V1- terminal of the shunt 2044 is connected to the V3- terminal of the sampling unit 2042, the V2+ terminal of the shunt 2044 is connected to the GPIO of the sampling unit 2042 through the first current limiting device 2048 and the amplifier 2046, and the V2- terminal of the shunt 2044 is connected to the GPIO of the sampling unit 2042 through the second current limiting device 2050 and the amplifier 2046. Therefore, after the battery current passes through the first sub-shunt 602 containing the V1+ and V1- terminals, the voltage at one end of the first sub-shunt 602 can be obtained based on the V3+ terminal of the sampling unit 2042, and the voltage at the other end of the first sub-shunt 602 can be obtained based on the V3- terminal of the sampling unit 2042, thereby obtaining the first current of the battery. Simultaneously, after the battery current passes through the second sub-shunt 604 located at the V2+ and V2- terminals, the voltage across the second sub-shunt 604 can be obtained based on the GPIO of the sampling unit 2042, thereby obtaining the battery's second current. Furthermore, the sampling unit 2042 sends the battery's first and second currents to the main control unit 202. The main control unit 202 performs a current verification process based on the first and second currents, ensuring the reliability of the current sampling.

[0067] The sampling unit 2042 can contain various possible devices, as long as they achieve the purpose of sampling the battery current in two ways.

[0068] In one embodiment, such as Figure 8As shown, the sampling unit 2042 includes a first sampling subunit 802 and a second sampling subunit 804. The first sampling port of the sampling unit 2042 includes the first input terminal of the first sampling subunit 802, the second sampling port of the sampling unit 2042 includes the second input terminal of the first sampling subunit 802, and the general sampling port of the sampling unit 2042 includes the general sampling port of the second sampling subunit 804. The first end of the shunt 2044 is connected to the first input terminal of the first sampling subunit 802, the second end of the shunt 2044 is connected to the second input terminal of the first sampling subunit 802 and the battery 30, and the first and second ends of the shunt 2044 are also connected to the general sampling port of the second sampling subunit 804.

[0069] based on Figure 8 The structure shown allows for the following calculations: After the current from battery 30 passes through shunt 2044, the voltage at one end of shunt 2044 can be obtained based on the first input terminal of the first sampling subunit 802, and the voltage at the other end of shunt 2044 can be obtained based on the second input terminal of the first sampling subunit 802. Therefore, the first current of the battery can be obtained based on the voltage across shunt 2044. Simultaneously, the voltage across shunt 2044 can be obtained based on the general sampling port of the second sampling subunit 804, and the second current of the battery can be obtained based on the voltage across shunt 2044. Thus, by employing different sampling subunits to sample the battery current in two separate paths, the robustness of the sampling circuit can be improved if one path cannot provide current sampling functionality, allowing the use of the current sampling functionality provided by the other path.

[0070] In one embodiment, the second sampling subunit 804 further includes a voltage sampling port connected to the battery 30. A general-purpose sampling port of the second sampling subunit 804 is also connected to the battery 30 and is used to sample and obtain the battery temperature. Therefore, the battery voltage can be obtained based on the voltage sampling port of the second sampling subunit 804, and the battery temperature can be obtained based on the general-purpose sampling port. Thus, by using different ports of the second sampling subunit 804 to sample the battery temperature and voltage, the accuracy of the sampled battery temperature and voltage can be improved, further enhancing the accuracy of battery safety control based on battery temperature and voltage.

[0071] In some embodiments, the first sampling subunit 802 may refer to a current sampling chip specifically for sampling the battery, and the second sampling subunit 804 may refer to an integrated chip with voltage sampling and temperature sampling functions. Thus, the first current of the battery is obtained based on the current sampling chip, and the voltage and / or temperature of the battery are obtained based on the integrated chip, thereby improving the integration of the sampling function of the sampling unit.

[0072] Based on the above, it can be seen that the sampling process of the two currents of the battery can be realized by the two sub-shunts contained in the shunt 2044. In some cases, the sampling process of the two currents of the battery can also be realized by the one sub-shunt contained in the shunt 2044.

[0073] In one embodiment, the shunt 2044 includes a third sub-shunt, with a first end of the shunt 2044 including the first end of the third sub-shunt and a second end of the shunt 2044 including the second end of the third sub-shunt. The first and second ends of the third sub-shunt are connected to a universal sampling port of the sampling unit 2042. The first end of the third sub-shunt is also connected to the first sampling port of the sampling unit 2042, and the second end of the third sub-shunt is also connected to the second sampling port of the sampling unit 2042 and the battery 30. Therefore, after the battery current passes through the third sub-shunt, the voltage at one end of the third sub-shunt can be obtained based on the first sampling port of the sampling unit 2042, and the voltage at the other end of the third sub-shunt can be obtained based on the second sampling port of the sampling unit 2042. Furthermore, based on the ratio of the voltage difference across the third sub-shunt to the resistance of the third sub-shunt, the first current of the battery can be obtained. Simultaneously, the voltage across the third sub-shunt can be obtained based on the universal sampling port of the sampling unit 2042, thereby obtaining the second current of the battery.

[0074] Taking the general-purpose sampling port of sampling unit 2042 as GPIO as an example, such as Figure 9 As shown, a schematic diagram of a battery control circuit is provided. The battery control circuit 20 includes a sampling unit 2042, a shunt 2044, an amplifier 2046, a first current limiting device 2048, and a second current limiting device 2050. The first current limiting device 2048 and the second current limiting device 2050 can refer to resistors.

[0075] The shunt 2044 includes a third sub-shunt 902. The V5+ terminal of the shunt 2044 represents the first terminal of the third sub-shunt 902, and the V5- terminal of the shunt 2044 represents the second terminal of the third sub-shunt 902. The V5- terminal is connected to the battery (not shown in the figure). The V3+ terminal of the sampling unit 2042 represents the first sampling port of the sampling unit 2042, and the V3- terminal of the sampling unit 2042 represents the second sampling port of the sampling unit 2042.

[0076] exist Figure 9 In the sample unit 2042, the V5+ terminal of the current shunt 2044 is connected to the V3+ terminal of the current sampling unit 2042, and the V5- terminal of the current shunt 2044 is connected to the V3- terminal of the current sampling unit 2042. The V5+ terminal of the current shunt 2044 is connected to the GPIO of the current sampling unit 2042 through the first current limiting device 2048 and the amplifier 2046, and the V5- terminal of the current shunt 2044 is connected to the GPIO of the current sampling unit 2042 through the second current limiting device 2050 and the amplifier 2046. Therefore, after the battery current passes through the third sub-shunt 902 located at the V5+ and V5- terminals, the voltage at one end of the third sub-shunt 902 can be obtained based on the V3+ terminal of the sampling unit 2042, and the voltage at the other end of the third sub-shunt 902 can be obtained based on the V3- terminal of the sampling unit 2042, thus obtaining the battery's first current. Simultaneously, the voltage across the third sub-shunt 902 can be obtained based on the GPIO of the sampling unit 2042, thus obtaining the battery's second current. Further, the sampling unit 2042 sends the battery's first and second currents to the main control unit 202. The main control unit 202 can perform a current verification process based on the first and second currents to ensure the normal operation of the battery and improve battery safety.

[0077] Furthermore, in Figure 8 Based on this, in one embodiment, such as Figure 10 As shown, the first end of the third sub-shunt 902 is connected to the first input end of the first sampling sub-unit 802, and the second end of the third sub-shunt 902 is connected to the second input end of the first sampling sub-unit 802. The first and second ends of the third sub-shunt 902 are also connected to the universal sampling port of the second sampling sub-unit 804. Therefore, the first current of the battery can be obtained by sampling based on the first and second input ends of the first sampling sub-unit 802, and the second current of the battery can be obtained by sampling based on the universal sampling port of the second sampling sub-unit 804. Compared with using two sub-shunts to sample the battery current, using only one sub-shunt to sample the battery current reduces the cost of sampling the battery current.

[0078] Taking the general-purpose sampling port of the second sampling subunit 804 as GPIO as an example, such as Figure 11The diagram shows a schematic of a battery control circuit. The battery control circuit 20 includes a first sampling subunit 802, a second sampling subunit 804, a shunt 2044, an amplifier 2046, a first current limiting device 2048, and a second current limiting device 2050. The first current limiting device 2048 and the second current limiting device 2050 can refer to resistors. The shunt 2044 includes a third sub-shunt 902. The V5+ terminal of the shunt 2044 represents the first terminal of the third sub-shunt 902, and the V5- terminal of the shunt 2044 represents the second terminal of the third sub-shunt 902. The V5- terminal of the third sub-shunt 902 is also connected to a battery (not shown in the diagram).

[0079] exist Figure 11 In this circuit, the V5+ terminal is connected to the first input terminal of the first sampling subunit 802, and the V5- terminal is connected to the second input terminal of the first sampling subunit 802. The V5+ terminal is connected to the GPIO of the second sampling subunit 804 through the first current limiting device 2048 and the amplifier 2046, and the V5- terminal is connected to the GPIO of the second sampling subunit 804 through the second current limiting device 2050 and the amplifier 2046. Therefore, after the battery current passes through the third sub-shunt 902 containing the V5+ and V5- terminals, the voltage at one end of the third sub-shunt 902 can be obtained based on the first input terminal of the first sampling subunit 802, and the voltage at the other end of the third sub-shunt 902 can be obtained based on the second input terminal of the first sampling subunit 802, thus obtaining the first current of the battery. Simultaneously, the voltage across the third sub-shunt 902 can also be obtained based on the GPIO of the second sampling subunit 804, thus obtaining the second current of the battery. Furthermore, the sampling unit 2042 sends the first current and the second current of the battery to the main control unit 202. The main control unit 202 can perform a current verification process based on the first current and the second current to ensure the normal operation of the battery and improve the battery safety.

[0080] based on Figure 9 and Figure 10 It can be seen that the dual-current sampling process of the battery can be realized based on the circuit connection between one sub-shunt included in the shunt 2044 and the first sampling sub-unit 802 and the second sampling sub-unit 804. In some cases, when the shunt 2044 includes two sub-shunts, the dual-current sampling process of the battery can be realized based on the circuit connection between the two sub-shunts and the first sampling sub-unit 802 and the second sampling sub-unit 804.

[0081] In one embodiment, such as Figure 12As shown, the splitter 2044 includes a first sub-splitter 602 and a second sub-splitter 604. A first end of the splitter 2044 includes the first end of the first sub-splitter 602 and the first end of the second sub-splitter 604. A second end of the splitter 2044 includes the second end of the first sub-splitter 602 and the second end of the second sub-splitter 604. The first end of the first sub-splitter 602 is connected to the first input end of the first sampling sub-unit 802, and the second end of the first sub-splitter 602 is connected to the second input end of the first sampling sub-unit 802. The first and second ends of the second sub-splitter 604 are connected to the general sampling port of the second sampling sub-unit 804.

[0082] based on Figure 12 The structure shown allows for the following: after the battery current passes through the first sub-shunt 602, the voltage at one end of the first sub-shunt 602 can be obtained based on the first input terminal of the first sampling sub-unit 802, and the voltage at the other end of the first sub-shunt 602 can be obtained based on the second input terminal of the first sampling sub-unit 802. Therefore, the first battery current can be obtained based on the voltages across the first sub-shunt 602. Simultaneously, after the battery current passes through the second sub-shunt 604, the voltage across the second sub-shunt 604 can be obtained based on the GPIO of the second sampling sub-unit 804, thus obtaining the second battery current. Therefore, by setting different sub-shunts and corresponding sampling sub-units to perform the current sampling process independently, the sampling processes of the two current paths are made independent, avoiding mutual interference between the two current sampling processes. This improves the accuracy of the sampled current and further enhances the accuracy of battery safety control.

[0083] Taking the general-purpose sampling port of the second sampling subunit 804 as GPIO as an example, in Figure 7 On the basis of, such as Figure 13 The diagram shows a schematic of a battery control circuit. The battery control circuit 20 includes a first sampling subunit 802, a second sampling subunit 804, a shunt 2044, an amplifier 2046, a first current limiting device 2048, and a second current limiting device 2050. The first current limiting device 2048 and the second current limiting device 2050 can refer to resistors. The shunt 2044 includes a first sub-shunt 602 and a second sub-shunt 604.

[0084] exist Figure 13In this circuit, the V1+ terminal of the shunt 2044 is connected to the first input terminal of the first sampling sub-unit 802, and the V1- terminal of the shunt 2044 is connected to the second input terminal of the first sampling sub-unit 802. The V2+ terminal of the shunt 2044 is connected to the GPIO of the second sampling sub-unit 804 through the first current limiting device 2048 and the amplifier 2046, and the V2- terminal of the shunt 2044 is connected to the GPIO of the second sampling sub-unit 804 through the second current limiting device 2050 and the amplifier 2046. Therefore, after the battery current passes through the first sub-shunt 602 containing the V1+ and V- terminals, the voltage at one end of the first sub-shunt 602 can be obtained based on the first input terminal of the first sampling sub-unit 802, and the voltage at the other end of the first sub-shunt 602 can be obtained based on the second input terminal of the first sampling sub-unit 802, thereby obtaining the first current of the battery. Simultaneously, after the battery current passes through the second sub-shunt 604 located at the V2+ and V2- terminals, the voltage across the second sub-shunt 604 can be obtained based on the GPIO of the second sampling sub-unit 804, thereby obtaining the battery's second current. Further, the sampling unit 2042 sends the battery's first and second currents to the main control unit 202. The main control unit 202 can perform a current verification process based on the first and second currents to ensure the normal operation of the battery and improve its safety.

[0085] Based on the above, it can be seen that the sampling circuit 204 can simultaneously possess current sampling, voltage sampling, and temperature sampling functions. In one embodiment, such as... Figure 14 As shown, the sampling unit 2042 included in the sampling circuit 204 is used to implement the current sampling process, voltage sampling process and temperature sampling process of the battery.

[0086] Specifically, in implementing the current sampling process, the sampling circuit 204 may also include a shunt 2044. By configuring the sampling unit 2042 to connect with the shunt 2044 and the shunt 2044 to connect with the battery 30, two-way current sampling of the battery can be achieved. When the number of sub-shunts included in the shunt 2044 is different, the connection method between the sub-shunts and the sampling unit 2042 can be described in the foregoing description and will not be repeated here. In performing the voltage and temperature sampling processes, the sampling unit 2042 can be directly connected to the battery 30 to sample the battery's voltage and temperature. Thus, by integrating the current sampling, voltage sampling, and temperature sampling functions into the same sampling unit, the size is smaller, saving battery pack space, resulting in higher circuit integration and lower structural cost. Furthermore, by sending the sampled battery current, voltage, and temperature to the main control unit 202, the normal operation of the battery can be ensured, and battery safety can be improved.

[0087] In some cases, current sampling, voltage sampling, and temperature sampling functions can be integrated on an analog front end (AFE) chip to obtain sampling unit 2042.

[0088] In some cases, the sampling unit 2042 can send the sampled data (such as current, temperature and voltage) to the main control unit 202 via daisy-chain communication. The main control unit 202 can be implemented by any control chip or central processing unit capable of battery monitoring, including but not limited to microcontroller units (MCUs) and central processing units (CPUs).

[0089] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A sampling circuit, characterized in that, The sampling circuit includes: a sampling unit and a current splitter; The first and second ends of the current splitter are connected to the general sampling port of the sampling unit. The first end of the current splitter is also connected to the first sampling port of the sampling unit, and the second end of the current splitter is also connected to the second sampling port of the sampling unit and the battery. The first sampling port and the second sampling port of the sampling unit are used to sample and obtain the first current of the battery, and the general sampling port of the sampling unit is used to sample and obtain the second current of the battery.

2. The sampling circuit according to claim 1, characterized in that, The general sampling port includes a general-purpose input / output port (GPIO).

3. The sampling circuit according to claim 1, characterized in that, The splitter includes a first sub-splitter and a second sub-splitter, the first end of the splitter includes the first end of the first sub-splitter and the first end of the second sub-splitter, and the second end of the splitter includes the second end of the first sub-splitter and the second end of the second sub-splitter; The first end of the first sub-splitter is connected to the first sampling port of the sampling unit, and the second end of the first sub-splitter is connected to the second sampling port of the sampling unit and the battery; the first end and the second end of the second sub-splitter are connected to the general sampling port of the sampling unit, and the second end of the second sub-splitter is also connected to the battery.

4. The sampling circuit according to claim 1, characterized in that, The sampling unit also includes a voltage sampling port; The voltage sampling port of the sampling unit is connected to the battery, and the general sampling port of the sampling unit is also connected to the battery; the general sampling port of the sampling unit is also used to sample and obtain the temperature of the battery.

5. The sampling circuit according to claim 1, characterized in that, The sampling unit includes a first sampling subunit and a second sampling subunit. The first sampling port of the sampling unit includes the first input terminal of the first sampling subunit. The second sampling port of the sampling unit includes the second input terminal of the first sampling subunit. The general sampling port of the sampling unit includes the general sampling port of the second sampling subunit. The first end of the shunt is connected to the first input end of the first sampling subunit, the second end of the shunt is connected to the second input end of the first sampling subunit and the battery, and the first and second ends of the shunt are also connected to the general sampling port of the second sampling subunit.

6. The sampling circuit according to claim 5, characterized in that, The second sampling subunit also includes a voltage sampling port; The voltage sampling port of the second sampling subunit is connected to the battery, and the general sampling port of the second sampling subunit is also connected to the battery; the general sampling port of the second sampling subunit is also used to sample and obtain the temperature of the battery.

7. The sampling circuit according to claim 5, characterized in that, The splitter includes a third sub-splitter, the first end of the splitter includes the first end of the third sub-splitter, and the second end of the splitter includes the second end of the third sub-splitter; The first end of the third sub-splitter is connected to the first input end of the first sampling sub-unit, the second end of the third sub-splitter is connected to the second input end of the first sampling sub-unit, and the first and second ends of the third sub-splitter are also connected to the general sampling port of the second sampling sub-unit.

8. The sampling circuit according to claim 5, characterized in that, The splitter includes a first sub-splitter and a second sub-splitter, the first end of the splitter includes the first end of the first sub-splitter and the first end of the second sub-splitter, and the second end of the splitter includes the second end of the first sub-splitter and the second end of the second sub-splitter; The first end of the first sub-splitter is connected to the first input end of the first sampling sub-unit, the second end of the first sub-splitter is connected to the second input end of the first sampling sub-unit, and the first and second ends of the second sub-splitter are connected to the general sampling port of the second sampling sub-unit.

9. The sampling circuit according to any one of claims 1 to 8, characterized in that, The sampling circuit further includes: an amplifier; The first and second ends of the shunt are respectively connected to the general sampling port of the sampling unit through the amplifier.

10. The sampling circuit according to claim 9, characterized in that, The sampling circuit further includes: a first current limiting device and a second current limiting device; The first end of the shunt is connected to the general sampling port of the sampling unit through the first current limiting device and the amplifier, and the second end of the shunt is connected to the general sampling port of the sampling unit through the second current limiting device and the amplifier.

11. A battery control circuit, characterized in that, The battery control circuit includes a main control unit and a sampling circuit as described in any one of claims 1 to 10.