Battery detection circuit and detection device
By designing a battery detection circuit that includes a processor and an operational amplifier circuit, and using chip select signals to control the switching of the sampling circuit, the problem of high single-cell battery voltage sampling costs and common-mode voltage problems in traditional battery packs is solved, achieving high precision and low cost. battery pack voltage sampling.
Patent Information
- Application Number
- CN202322744644.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2033-10-12
AI Technical Summary
The traditional single-cell battery voltage sampling solution for series-connected battery packs is expensive and difficult to deal with the problem of high common-mode voltage. Especially when the number of battery strings increases, it affects the detection accuracy.
A battery detection circuit is designed, including a processor, operational amplifier circuit, chip select signal circuit and sampling circuit. The processor sends a chip select signal to control the sampling circuit to switch to different sampling channels, using an operational amplifier circuit with fewer components. Achieve high-precision voltage sampling and reduce costs.
It achieves high-precision sampling of the single-cell battery voltage and the total voltage of series-connected batteries in any battery string, reducing costs and avoiding detection accuracy problems caused by high common-mode voltages.
Smart Images

Figure CN221595204U
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery formation, and in particular to a battery detection circuit and a detection device. Background Art
[0002] During the production of lithium batteries, the key activation process of formation needs to be completed in the later stage. Currently, series formation has gradually become the main technical solution for battery formation. For battery packs connected in series, the number of batteries is generally more than 12, and the voltage of single-cell batteries in the battery pack needs to be monitored. At the same time, the battery voltage sampling accuracy is required to be as high as 0.5%.
[0003] Traditionally, for sampling the voltage of a single-cell battery in a series battery pack, each battery corresponds to an operational amplifier circuit. This is not only costly, but also because the batteries are connected in series, the input end of the operational amplifier corresponding to the high-order battery will be subjected to a relatively high common-mode voltage, which has exceeded the operating voltage of most operational amplifiers. If an operational amplifier that can withstand high common-mode voltage is used, the cost will increase significantly. Moreover, as the number of batteries in series increases, the battery voltage rises, and its common-mode voltage will exceed the operating voltage range of all operational amplifiers on the market. Therefore, there is an urgent need to design a low-cost, high-precision, low-temperature drift sampling solution for sampling the voltage of a single-cell battery in a high-number series battery pack and the total voltage of the battery pack. Utility Model Content
[0004] The utility model provides a battery detection circuit and a detection device, which are used to improve the problem in the prior art that the operational amplifier is subjected to a higher common mode voltage due to an increase in the number of battery strings, thus affecting the detection accuracy.
[0005] In a first aspect, the present application provides a battery detection circuit, including a processor, an operational amplifier circuit and a chip selection signal circuit electrically connected to the processor respectively, the operational amplifier circuit is connected to a sampling circuit, the sampling circuit is connected to a battery pack, the battery pack is formed by connecting multiple batteries in series, the sampling circuit has multiple sampling channels, and each sampling channel corresponds to each battery one by one;
[0006] The chip selection signal circuit is electrically connected to the control circuit;
[0007] The processor is used to send a chip select signal to the chip select signal circuit, and the chip select signal circuit is used to convert the chip select signal into a channel selection signal and transmit it to the control circuit;
[0008] The control circuit is used to control the sampling circuit to switch to different sampling channels according to the channel selection signal, and the sampling circuit is used to sample each corresponding battery or battery group under different sampling channels.
[0009] In some embodiments of the present application, the sampling circuit includes a plurality of sampling units, the control circuit is electrically connected to each of the sampling units, each of the sampling units corresponds to a battery, and the sampling units each include a first connection end and a second connection end, the first connection end is used to electrically connect to the negative electrode of the corresponding battery, and the second connection end is used to electrically connect to the positive electrode of the corresponding battery;
[0010] The sampling unit includes an on state and an off state;
[0011] When the sampling unit is in the start-up state, the negative electrode of the corresponding battery is connected to the operational amplifier circuit, and the positive electrode of the corresponding battery is connected to the operational amplifier circuit; when the sampling unit is in the off state, the positive electrode of the corresponding battery is disconnected from the operational amplifier circuit, and the negative electrode of the corresponding battery is disconnected from the operational amplifier circuit;
[0012] The control circuit is used to control the sampling units corresponding to different batteries to enter an on state or a off state, so as to enable the sampling circuit to switch to different sampling channels for sampling.
[0013] In some embodiments of the present application, the sampling unit includes a first sampling resistor, a second sampling resistor, a first controller and a second controller, one end of the first sampling resistor is used to electrically connect to the negative electrode of the corresponding battery, the other end of the first sampling resistor is electrically connected to the first controller, one end of the second sampling resistor is used to electrically connect to the positive electrode of the corresponding battery, the other end of the second sampling resistor is electrically connected to the second controller, and the first controller and the second controller are also electrically connected to the control circuit respectively;
[0014] The first controller and the second controller both include a start state and a shutdown state. When the sampling unit is in the start state, the first controller is in the start state and the second controller is in the start state; when the sampling unit is in the shutdown state, the first controller is in the shutdown state and the second controller is in the shutdown state;
[0015] The first controller connects the negative electrode of the corresponding battery to the operational amplifier circuit in the startup state, and disconnects the negative electrode of the corresponding battery from the operational amplifier circuit in the shutdown state; the second controller connects the positive electrode of the corresponding battery to the operational amplifier circuit in the startup state, and disconnects the positive electrode of the corresponding battery from the operational amplifier circuit in the shutdown state;
[0016] The control circuit is used to control the first controller and the second controller corresponding to different batteries to enter a start state or a shutdown state, so that the sampling circuit switches to different sampling channels for sampling.
[0017] In some embodiments of the present application, the operational amplifier circuit includes a first access point and a second access point, multiple first controllers are connected and commonly connected to the first access point of the operational amplifier circuit, and multiple second controllers are connected and commonly connected to the second access point of the operational amplifier circuit.
[0018] In some embodiments of the present application, the operational amplifier circuit includes an operational amplifier, a bias resistor, a first access resistor, a second access resistor, and a reference resistor;
[0019] The first access point is connected to a non-inverting input terminal of an operational amplifier, and the second access point is connected to a reverse input terminal of the operational amplifier;
[0020] One end of the first access resistor Rb is connected to the first access point, and the other end is connected to the inverting input terminal of the operational amplifier; one end of the second access resistor is connected to the second access point, and the other end is connected to the non-inverting input terminal of the operational amplifier;
[0021] One end of the reference resistor is connected between the second access resistor and the same-direction input terminal of the operational amplifier, and the other end is connected to the reference voltage; the bias resistor is connected in parallel between the reverse input terminal and the output terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the processor.
[0022] In some embodiments of the present application, the chip select signal circuit includes a first decoding unit and a second decoding unit, one end of the first decoding unit is connected to the processor, and the other end of the first decoding unit is connected to the control circuit; one end of the second decoding unit is also connected to the processor, and the other end of the second decoding unit is connected to the control circuit.
[0023] In some embodiments of the present application, the first decoding unit includes a first decoder, the first decoder includes a plurality of input pins for connecting to the processor, a plurality of output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, the other end of the voltage pin is used to access a voltage;
[0024] The other end of each of the output pins is also connected to an output resistor, and the other ends of the plurality of output resistors are grounded.
[0025] In some embodiments of the present application, the second decoding unit includes a second decoder, the second decoder includes a plurality of input pins for connecting to the processor, a plurality of output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, the other end of the voltage pin is used to access the voltage;
[0026] The other end of each of the output pins is also connected to an output resistor, and the other ends of the plurality of output resistors are grounded.
[0027] In some embodiments of the present application, the second decoder is a 38 decoder.
[0028] In a second aspect, the present application provides a detection device, which includes the battery detection circuit in the first aspect.
[0029] The battery detection circuit and detection device of the embodiment of the present application send different chip select signals to the chip select signal circuit through the processor. The chip select signal circuit converts the chip select signal into a channel selection signal and transmits it to the control circuit. Based on the channel selection signal, the control circuit can control different sampling channels corresponding to each battery to start sampling, and can also sample the total voltage of the battery pack. The circuit implementation and sampling channel control logic are simple, and sampling can be achieved by an operational amplifier circuit with fewer components, which reduces the cost, and can sample the single-cell battery voltage and the total voltage of the series-connected batteries in any number of battery packs. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1 It is a scheme diagram of sampling the voltage of a single-cell battery in a series battery pack in the prior art;
[0032] Figure 2 It is a circuit block diagram of the technical solution provided by the embodiment of the present application;
[0033] Figure 3 It is a schematic diagram of the connection relationship of the chip select signal circuit in this application. DETAILED DESCRIPTION
[0034] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0035] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0036] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0037] In the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0038] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the various specific processes and material examples provided by the present application, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.
[0039] First, the following contents are introduced:
[0040] At present, series formation has gradually become the main technical solution for battery formation. For battery packs connected in series, the number of batteries is generally more than 12 strings. It is necessary to monitor the voltage of single-cell batteries in the series battery pack, and at the same time, the battery voltage sampling accuracy is required to be as high as 0.5 ten thousandths.
[0041] For related technologies, see Figure 1 , Figure 1 This is one of the traditional solutions for sampling the voltage of a single-cell battery in a series battery pack. Each battery (BAT1~BATn) corresponds to an operational amplifier circuit OP1~OPn. This is not only costly, but also because the batteries are connected in series, the input end of the operational amplifier corresponding to the high-order battery will be subjected to a relatively high common-mode voltage, which has exceeded the operating voltage of most operational amplifiers. If an operational amplifier that can withstand high common-mode voltage is used, the cost will be greatly increased. Moreover, as the number of batteries in series increases, the battery voltage rises, and its common-mode voltage will exceed the operating voltage range of all operational amplifiers on the market.
[0042] Therefore, there is an urgent need to design a low-cost, high-precision, low-temperature drift sampling scheme for sampling the single-cell battery voltage and the total voltage of a battery pack with a large number of series strings. Based on this, the present application proposes a battery detection circuit and a detection device, which achieve low-cost and high-precision sampling of the single-cell battery voltage and the total voltage of the series-connected batteries in a battery pack with any number of strings.
[0043] For details, please refer to Figure 2 , Figure 2 A circuit block diagram of the technical solution provided in an embodiment of the present application.
[0044] In a first aspect, the present application provides a battery detection circuit, including: a processor, an operational amplifier circuit and a chip selection signal circuit electrically connected to the processor respectively, the operational amplifier circuit is connected to a sampling circuit, the sampling circuit is connected to a battery pack, the battery pack is formed by connecting multiple batteries in series, the sampling circuit has multiple sampling channels, and each sampling channel corresponds to each battery one by one;
[0045] The chip selection signal circuit is electrically connected to the control circuit;
[0046] The processor is used to send a chip selection signal to the chip selection signal circuit, and the chip selection signal circuit is used to convert the chip selection signal into a channel selection signal and transmit it to the control circuit;
[0047] The control circuit is used to control the sampling circuit to switch to different sampling channels according to the channel selection signal, and the sampling circuit is used to sample each corresponding battery or battery group under different sampling channels.
[0048] The processor includes a microcontroller unit (MCU) and a digital signal processor (DSP). In this embodiment, the processor may be a DSP processor.
[0049] The battery detection circuit and detection device of the embodiment of the present application send different chip select signals to the chip select signal circuit through the processor. The chip select signal circuit converts the chip select signal into a channel selection signal and transmits it to the control circuit. Based on the channel selection signal, the control circuit can control different sampling channels corresponding to each battery to start sampling, and can also sample the total voltage of the battery pack. The circuit implementation and sampling channel control logic are simple, and sampling can be achieved by an operational amplifier circuit with fewer components, which reduces the cost, and can sample the single-cell battery voltage and the total voltage of the series-connected batteries in any number of battery packs.
[0050] In one embodiment, the sampling circuit includes a plurality of sampling units, the control circuit is electrically connected to each sampling unit, each sampling unit corresponds to a battery, and each sampling unit includes a first connection end and a second connection end, the first connection end is used to electrically connect to the negative electrode of the corresponding battery, and the second connection end is used to electrically connect to the positive electrode of the corresponding battery;
[0051] The sampling unit includes an on state and an off state; in the on state, the sampling unit connects the negative pole of the corresponding battery to the operational amplifier circuit, and connects the positive pole of the corresponding battery to the operational amplifier circuit; in the off state, the sampling unit disconnects the positive pole of the corresponding battery from the operational amplifier circuit, and disconnects the negative pole of the corresponding battery from the operational amplifier circuit;
[0052] The control circuit is used to control the sampling units corresponding to different batteries to enter the start state or the shutdown state, so that the sampling circuit switches to different sampling channels for sampling.
[0053] In one embodiment, the sampling unit includes a first sampling resistor (R2n-1), a second sampling resistor (R2n), a first controller (S2n-1) and a second controller (S2n), one end of the first sampling resistor (R2n-1) is used to electrically connect to the negative electrode of the corresponding battery, the other end of the first sampling resistor (R2n-1) is electrically connected to the first controller (S2n-1), one end of the second sampling resistor (R2n) is used to electrically connect to the positive electrode of the corresponding battery, the other end of the second sampling resistor (R2n) is electrically connected to the second controller (S2n), and the first controller (S2n-1) and the second controller (S2n) are also electrically connected to the control circuit respectively.
[0054] The first sampling resistor (R2n-1) and the second sampling resistor (R2n) respectively correspond to each sampling unit. The first sampling resistor (R2n-1) and the second sampling resistor (R2n) can be used as input resistors of the operational amplifier circuit and can also prevent the battery from being short-circuited due to a short circuit in the subsequent stage.
[0055] The first controller (S2n-1) and the second controller (S2n) both include a start state and a shut down state. When the sampling unit is in the start state, the first controller (S2n-1) is in the start state, and the second controller (S2n) is in the start state; when the sampling unit is in the shut down state, the first controller (S2n-1) is in the shut down state, and the second controller (S2n) is in the shut down state.
[0056] When the first controller (S2n-1) is in the start-up state, the negative pole of the corresponding battery is connected to the operational amplifier circuit, and when it is in the off state, the connection between the negative pole of the corresponding battery and the operational amplifier circuit is disconnected; when the second controller (S2n) is in the start-up state, the positive pole of the corresponding battery is connected to the operational amplifier circuit, and when it is in the off state, the connection between the positive pole of the corresponding battery and the operational amplifier circuit is disconnected; the control circuit is used to control the first controller (S2n-1) and the second controller (S2n) corresponding to different batteries to enter the start-up state or the off state, so as to realize that the sampling circuit switches to different sampling channels for sampling.
[0057] The first controller (S2n-1) and the second controller (S2n) can be solid-state relays, photoelectric couplers, photoelectric relays, signal relays, or other devices with circuit connection and disconnection functions. In this embodiment, the first relay and the second relay can both be solid-state relays.
[0058] In one embodiment, the operational amplifier circuit includes a first access point and a second access point, a plurality of first controllers (S2n-1) are connected and commonly connected to the first access point of the operational amplifier circuit, and a plurality of second controllers (S2n) are connected and commonly connected to the second access point of the operational amplifier circuit.
[0059] In one embodiment, the operational amplifier circuit includes an operational amplifier, a bias resistor Rf, a first access resistor Rb, a second access resistor Ra, and a reference resistor Rref; the first access point is connected to the same-direction input terminal of the operational amplifier, and the second access point is connected to the reverse input terminal of the operational amplifier; one end of the first access resistor Rb is connected to the first access point, and the other end is connected to the reverse input terminal of the operational amplifier, and one end of the second access resistor Ra is connected to the second access point, and the other end is connected to the same-direction input terminal of the operational amplifier;
[0060] One end of the reference resistor Rref is connected between the second access resistor Ra and the same-direction input terminal of the operational amplifier, and the other end is connected to the reference voltage; the bias resistor Rf is connected in parallel between the reverse input terminal and the output terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the processor.
[0061] Therefore, when it is necessary to sample the voltage of a certain battery, the solid-state relay connected to the positive and negative poles of the battery voltage is closed and connected to the positive and negative input terminals of the operational amplifier respectively. The output terminal of the operational amplifier is connected to the DSP controller. In the entire circuit network, the battery voltage always remains in a floating state. Since a single operational amplifier is used for sampling, the bias voltage is added to sample the negative voltage of the battery, which solves the problem of high common-mode voltage at the input terminal of the operational amplifier due to a large number of battery strings.
[0062] For example, in a specific example, as shown in the attached Figure 2 As shown, attached Figure 2 CH1~CHn in the figure represent n batteries connected in series, and multiple batteries are connected in series to form a battery pack. CHn represents a battery located at a different position, that is, the nth battery. When it is necessary to collect the voltage of batteries 1-8, the control circuit is used to control the first controller (S2n-1) and the second controller (S2n) corresponding to batteries 1-8 to enter the start state or the shutdown state, so that the sampling circuit switches to different sampling channels for sampling.
[0063] Specifically, when sampling the first battery CH1, the control circuit controls the first controller S1 and the second controller S2 corresponding to the first battery CH1 to enter the startup state, the first controller S1 connects the negative electrode of the first battery CH1 to the operational amplifier circuit, and the second controller S2 connects the positive electrode of the first battery CH1 to the operational amplifier circuit, completes the sampling channel selection corresponding to CH1, and switches to the next sampling channel after a sampling time, and the sampling time can be several milliseconds, such as 2 milliseconds, 3 milliseconds; the sampling circuit switches to different sampling channels for sampling, and samples the single-cell voltages of the first to eighth batteries in the same way.
[0064] The gating of different sampling channels is achieved by sending different chip selection signals to the chip selection signal circuit through the processor, and then the chip selection signal circuit converts the chip selection signal into a channel gating signal and transmits it to the control circuit.
[0065] Thus, in some embodiments, as shown in the attached Figure 3 As shown, attached Figure 3 This is a schematic diagram of the connection relationship of the chip select signal circuit in the present application. The chip select signal circuit includes multiple chip select signals, GPIO_A0~An, and the chip select signal circuit includes a first decoding unit and a second decoding unit. One end of the first decoding unit is connected to the processor, and the other end of the first decoding unit is connected to the control circuit; one end of the second decoding unit is also connected to the processor, and the other end of the second decoding unit is connected to the control circuit.
[0066] Specifically, the first decoding unit includes a first decoder U1, which includes multiple input pins for connecting to the processor, multiple output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, and the other end of the voltage pin is used to access the voltage; the other end of each output pin is also connected to an output resistor, and the other ends of the multiple output resistors are grounded. Of course, the other ends of the multiple output resistors can also be used to connect to capacitors and then grounded to achieve a voltage stabilization effect.
[0067] Similarly, the second decoding unit includes a second decoder U2, which includes multiple input pins for connecting to the processor, multiple output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, the other end of the voltage pin is used to access the voltage; the other end of each output pin is also connected to an output resistor, and the other ends of the multiple output resistors are grounded.
[0068] The first decoder U1 and the second decoder U2 may include a 38 decoder, a 74 series decoder or other decoders having the above-mentioned implementation functions.
[0069] It can be understood that the input pins and output pins in the first decoding unit and the second decoding unit can be adaptively adjusted according to the number of battery strings, wherein the input pins are used for the passage of chip select signals. The following takes 16 batteries as an example and uses 5 chip select signals GPIO_A0~A4 for explanation:
[0070] As shown in Table 1, through the five chip select signals GPIO_A0~A4, the chip select signals are arranged differently to correspond to sampling channels of different batteries. The chip select signal corresponding to the sampling channel of the first battery can be 00010, the chip select signal corresponding to the sampling channel of the second battery can be 10010, and the chip select signal corresponding to the sampling channel of the third battery can be 01010..., so that the voltage sampling of each battery in the 16-cell series battery pack and the sampling of the total voltage of the battery pack can be realized. Of course, there may be multiple correspondences between the sampling channels of different batteries and the total voltage of the battery and the chip select signals. As long as different chip select signals can be used to enable the control circuit to control the corresponding sampling channel to be selected, no specific limitation is made here.
[0071] GPIO_A0 GPIO_A1 GPIO_A2 GPIO_A3 GPIO_A4 BAT1 0 0 0 1 0 BAT2 1 0 0 1 0 BAT3 0 1 0 1 0 BAT4 1 1 0 1 0 BAT5 0 0 1 1 0 BAT6 1 0 1 1 0 BAT7 0 1 1 1 0 BAT8 1 1 1 1 0 BAT9 0 0 0 0 0 BAT10 1 0 0 0 0 BAT11 0 1 0 0 0 BAT12 1 1 0 0 0 BAT13 0 0 1 0 0 BAT14 1 0 1 0 0 BAT15 0 1 1 0 0 BAT16 1 1 1 0 0 Total battery pressure - - - 1 1
[0072] Table 1
[0073] Correspondingly, in other embodiments, if it is necessary to implement sampling of the voltages of more battery strings, it is only necessary to increase the number of decoders and the number of input pins (chip select signals) accordingly, so that the number of battery cells connected in series can be expanded arbitrarily according to actual needs.
[0074] The present application also provides a detection device, which includes the battery detection circuit in any of the above embodiments.
[0075] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0076] The above is a detailed introduction to an electronic device provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and core idea of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A battery detection circuit, It is characterized in that include: A processor and an operational amplifier circuit and a chip selection signal circuit electrically connected to the processor respectively, wherein the operational amplifier circuit is connected to a sampling circuit, the sampling circuit is connected to a battery pack, the battery pack is formed by connecting multiple batteries in series, and the sampling circuit has multiple sampling channels, each sampling channel corresponds to each battery one by one; The chip selection signal circuit is electrically connected to the control circuit; The processor is used to send a chip select signal to the chip select signal circuit, and the chip select signal circuit is used to convert the chip select signal into a channel selection signal and transmit it to the control circuit; the control circuit is used to control the sampling circuit to switch to different sampling channels according to the channel selection signal, and the sampling circuit is used to sample each corresponding battery or battery pack under different sampling channels.
2. The battery detection circuit as claimed in claim 1, It is characterized in that The sampling circuit includes a plurality of sampling units, the control circuit is electrically connected to each of the sampling units, each of the sampling units corresponds to a battery, and the sampling units each include a first connection end and a second connection end, the first connection end is used to electrically connect to the negative electrode of the corresponding battery, and the second connection end is used to electrically connect to the positive electrode of the corresponding battery; The sampling unit includes an on state and an off state; When the sampling unit is in the started state, the negative electrode of the corresponding battery is connected to the operational amplifier circuit, and the positive electrode of the corresponding battery is connected to the operational amplifier circuit; when the sampling unit is in the closed state, the positive electrode of the corresponding battery is disconnected from the operational amplifier circuit, and the negative electrode of the corresponding battery is disconnected from the operational amplifier circuit; the control circuit is used to control the sampling units corresponding to different batteries to enter the started state or the closed state, so that the sampling circuit switches to different sampling channels for sampling.
3. The battery detection circuit as claimed in claim 2, It is characterized in that The sampling unit includes a first sampling resistor, a second sampling resistor, a first controller and a second controller, one end of the first sampling resistor is used to electrically connect to the negative electrode of the corresponding battery, the other end of the first sampling resistor is electrically connected to the first controller, one end of the second sampling resistor is used to electrically connect to the positive electrode of the corresponding battery, the other end of the second sampling resistor is electrically connected to the second controller, the first controller and the second controller are also electrically connected to the control circuit respectively; the first controller and the second controller both include a start state and a shutdown state, the sampling unit is in the start state, the first controller is in the start state, and the second controller is in the start state; the sampling unit is in the shutdown state, the first controller is in the shutdown state, and the second controller is in the shutdown state; The first controller connects the negative electrode of the corresponding battery to the operational amplifier circuit in the startup state, and disconnects the negative electrode of the corresponding battery from the operational amplifier circuit in the shutdown state; the second controller connects the positive electrode of the corresponding battery to the operational amplifier circuit in the startup state, and disconnects the positive electrode of the corresponding battery from the operational amplifier circuit in the shutdown state; The control circuit is used to control the first controller and the second controller corresponding to different batteries to enter a start state or a shutdown state, so that the sampling circuit switches to different sampling channels for sampling.
4. The battery detection circuit as claimed in claim 3, It is characterized in that The operational amplifier circuit includes a first access point and a second access point. A plurality of the first controllers are connected to each other and are commonly connected to the first access point of the operational amplifier circuit. A plurality of the second controllers are connected to each other and are commonly connected to the second access point of the operational amplifier circuit.
5. The battery detection circuit as claimed in claim 4, It is characterized in that The operational amplifier circuit includes an operational amplifier, a bias resistor, a first access resistor, a second access resistor, and a reference resistor; The first access point is connected to a non-inverting input terminal of an operational amplifier, and the second access point is connected to a reverse input terminal of the operational amplifier; One end of the first access resistor is connected to the first access point, and the other end is connected to the inverting input terminal of the operational amplifier; one end of the second access resistor is connected to the second access point, and the other end is connected to the non-inverting input terminal of the operational amplifier; One end of the reference resistor is connected between the second access resistor and the same-direction input terminal of the operational amplifier, and the other end is connected to the reference voltage; the bias resistor is connected in parallel between the reverse input terminal and the output terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the processor.
6. The battery detection circuit as claimed in claim 1, It is characterized in that The chip select signal circuit includes a first decoding unit and a second decoding unit, one end of the first decoding unit is connected to the processor, and the other end of the first decoding unit is connected to the control circuit; one end of the second decoding unit is also connected to the processor, and the other end of the second decoding unit is connected to the control circuit.
7. The battery detection circuit as claimed in claim 6, It is characterized in that The first decoding unit includes a first decoder, the first decoder includes a plurality of input pins for connecting to the processor, a plurality of output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, the other end of the voltage pin is used to access the voltage; The other end of each of the output pins is also connected to an output resistor, and the other ends of the plurality of output resistors are grounded.
8. The battery detection circuit as claimed in claim 6, It is characterized in that The second decoding unit includes a second decoder, the second decoder includes a plurality of input pins for connecting to the processor, a plurality of output pins for connecting to the control circuit, and also includes a ground pin and a voltage pin, the other end of the voltage pin is used to access the voltage; The other end of each of the output pins is also connected to an output resistor, and the other ends of the plurality of output resistors are grounded.
9. The battery detection circuit as claimed in claim 8, It is characterized in that The second decoder is a 38 decoder.
10. A detection device, It is characterized in that The invention comprises a battery detection circuit as claimed in any one of claims 1 to 9.
Citation Information
Cited By
Electronic device
CN121858493A
Electronic device
CN121858493B
