Battery voltage sampling system of battery pack

By designing the battery pack cell voltage sampling system, the problem in the existing technology of being unable to detect the voltage of multiple batteries with high precision is solved, the digital display of voltage and the detection capability of multiple batteries are realized, and the detection accuracy and stability are improved.

CN221707683UActive Publication Date: 2024-09-13安徽鸿创新能源动力有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323013426.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-08
Publication Date
2024-09-13
Estimated Expiration
2033-11-08

AI Technical Summary

Technical Problem

Existing battery detection technology cannot detect the voltage of multiple batteries at the same time with high precision, and cannot intuitively display the battery voltage in digital form, which limits the support for data analysis.

Method used

A battery pack battery voltage sampling system is designed, including a power supply, a sampling circuit, a voltage dividing circuit, a controller unit and a display. The battery voltage is collected through the sampling circuit, and the voltage is divided and output using a voltage dividing circuit and analog-to-digital conversion technology. to the controller unit for processing and display to achieve digital display of voltage.

Benefits of technology

It improves the accuracy and precision of battery voltage sampling, has the ability to detect the voltage of multiple cells, realizes the display function of overvoltage and undervoltage, and has a simple circuit, low cost, stability and reliability, and is suitable for a variety of battery detection needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221707683U
    Figure CN221707683U
Patent Text Reader

Abstract

The utility model discloses a battery voltage sampling system of a battery pack, and belongs to the technical field of batteries. The battery pack provides a power supply for the system, the battery pack comprises at least one battery, the system comprises a power supply, a sampling circuit, a voltage division circuit, a controller unit and a display, and the power supply is respectively connected with the sampling circuit, the voltage division circuit and the controller unit; the sampling circuit is respectively connected with the voltage division circuit and the controller unit; the voltage division circuit is connected with the controller unit; and the controller unit is connected with the display. The circuit is simple in structure, is safe and stable, improves the accuracy and precision of voltage sampling, has a voltage display function, and can collect the voltage of a plurality of batteries.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of batteries, and in particular relates to a battery pack battery voltage sampling system. Background Art

[0002] With the rapid development of new energy vehicles and other fields, the demand for battery performance is gradually increasing. Whether it is battery production or use, battery testing is important. Among them, collecting battery voltage is a particularly important part. The quality of the battery can be comprehensively judged by relevant data such as battery voltage, but the existing detection technology can only detect one battery at a time, and the detection accuracy is not high enough.

[0003] The reference document (CN214895719U) discloses a lithium battery harness detection tool based on a single-chip control system, including an integrated circuit board and a plurality of harness detection circuit modules integrated on the integrated circuit board, wherein the harness detection circuit modules are connected in parallel with each other, and the harness detection circuit module includes an operational amplifier comparator circuit unit, a single-chip circuit unit, and a status indicator circuit unit; the lighting of four LED light-emitting diodes is controlled according to the voltage difference of the sampled line to be detected at both ends of a single battery cell. The utility model can simultaneously detect the positive connection, short connection, reverse connection, missing connection, and wrong connection of the battery harness, has comprehensive functions, effectively reduces the detection cost and detection efficiency, and has a practical effect in a real sense.

[0004] It can be seen from the above patent that the patent observes the status of the battery by turning on and off the LED, but the patent cannot intuitively reflect the battery voltage in digital form, which is very unfavorable for analysis that requires data support.

[0005] Therefore, the utility model proposes a battery pack battery voltage sampling system. Utility Model Content

[0006] The utility model aims to overcome the deficiencies of the prior art and proposes a battery pack battery voltage sampling system to improve the sampling accuracy and precision, has a voltage display function, and can collect the purpose of multiple batteries.

[0007] In order to achieve the above-mentioned purpose, the technical solution adopted by the utility model is: a battery pack battery voltage sampling system, the battery pack provides power for the system, the battery pack includes at least one battery, the system includes a power supply, a sampling circuit, a voltage divider circuit, a controller unit, and a display, wherein the power supply is respectively connected to the sampling circuit, the voltage divider circuit, and the controller unit; the sampling circuit is respectively connected to the voltage divider circuit and the controller unit; the voltage divider circuit is connected to the controller unit; and the controller unit is connected to the display.

[0008] Furthermore, the sampling circuit includes a battery voltage input circuit, a chip select enable circuit, and a chip select control circuit. The chip select enable circuit is respectively connected to the controller unit and the battery voltage input circuit; the chip select control circuit is respectively connected to the battery voltage input circuit, the voltage divider circuit, and the controller unit.

[0009] Furthermore, the power supply is used to provide a stable voltage source for the system; the sampling circuit is used to collect the battery voltage and transmit the voltage to the voltage divider circuit for voltage division, wherein the battery voltage input circuit is used to collect the positive and negative voltages of the battery according to the enable signal of the chip select enable circuit and send them to the chip select control circuit, and the chip select enable circuit is used to send an enable signal according to the enable signal and control signal of the controller unit to control the operation of the battery voltage input circuit; the chip select control circuit is used to select the corresponding chip select control circuit according to the control signal of the controller unit and the polarity of the battery voltage transmitted by the battery voltage input circuit and output the battery voltage to the voltage divider circuit; the voltage divider circuit is used to divide the battery voltage output by the chip select control circuit and output it to the controller unit for analog-to-digital conversion; the controller unit is used to output control signals and enable signals to control the operation of the chip select enable circuit and the chip select control circuit, and to perform data processing to obtain the measured battery voltage and send it to the display unit for display, the data includes the divided battery voltage output by the voltage divider circuit, the resistance value of the resistor in the system, and the power supply voltage; the display unit is used to display the battery voltage.

[0010] Further, the battery voltage input circuit includes a battery voltage input terminal J1, a resistor R1, a resistor R2, a resistor R5, a resistor R6, an optocoupler U1, and an optocoupler U2, wherein one end of the resistor R1 is connected to one pole of the battery through the battery voltage input terminal J1, and the other end of the resistor R1 is connected to the emitter pin of the optocoupler U1; the collector pin of the optocoupler U1 is connected to the chip select control circuit as a voltage output terminal FD BAT-, and the anode pin of the diode of the optocoupler U1 is connected to the positive power supply VCC through the resistor R6; the cathode pin of the diode of the optocoupler U1 is connected to the chip select enable circuit as an enable terminal Cell 1-; one end of the resistor R2 is connected to the other pole of the battery through the battery voltage input terminal J1, and the other end of the resistor R2 is connected to the emitter pin of the optocoupler U2; the collector pin of the optocoupler U2 is connected to the voltage output terminal FD BAT+ is connected to the chip select control circuit, the anode pin of the diode of the optocoupler U2 is connected to the positive power supply VCC through the resistor R5; the cathode pin of the diode of the optocoupler U2 is connected to the chip select enable circuit as the enable terminal Cell 1+.

[0011] Further, the chip select enable circuit includes a pull-up resistor RP1, a 38 decoder YM1, and a 38 decoder YM2, wherein the power pin of the pull-up resistor RP1 is connected to the positive power supply VCC, and the output pins CS1, CS2, and CS3 of the pull-up resistor RP1 are respectively connected to the input pins A0, A1, and A2 of the 38 decoder YM1 as the input ends of the chip select enable circuit and are respectively connected to the terminals of the controller unit; the output pins CS4, CS5, and CS6 of the pull-up resistor RP1 are respectively connected to the 38 decoder YM1 as the input ends of the chip select enable circuit. The input pin A0, input pin A1 and input pin A2 of the 38 decoder YM2 are connected and the terminals are respectively connected to the controller unit; the output pin of the pull-up resistor RP1 is used as the enable input terminal 38EN1 of the chip select enable circuit and is respectively connected to the enable pin E3 of the 38 decoder YM1 and the controller unit, and the output pin of the pull-up resistor RP1 is used as the enable input terminal 38EN2 of the chip select enable circuit and is respectively connected to the enable pin E3 of the 38 decoder YM2 and the controller unit; the power pins of the 38 decoders YM1 and 38 decoders YM2 are connected to the positive power supply VCC, and the ground pin GND and the enable pin Enable pin The output pin Y0 of the 38 decoder YM1 is connected to the enable terminal Cell 1+ of the battery voltage input circuit, and the output pin Y0 of the 38 decoder YM2 is connected to the enable terminal Cell 1- of the battery voltage input circuit.

[0012] Further, the chip select control circuit includes an optocoupler U3, an optocoupler U4, an optocoupler U5, an optocoupler U6, a resistor R7, and a resistor R8, wherein the anode pin of the diode of the optocoupler U3 is connected to the positive power supply VCC, the cathode pin of the diode of the optocoupler U3 is connected to the anode pin of the diode of the optocoupler U4, and the cathode pin of the diode of the optocoupler U4 is connected to the controller unit through the lead-out terminal of the resistor R7 as the control input terminal JX2; the collector pin of the optocoupler U3 is connected to the input terminal of the voltage divider circuit as the output terminal BATVin of the chip select control circuit, and the emitter pin of the optocoupler U3 is connected to the voltage output terminal FDBAT+ of the battery voltage input circuit; the collector pin of the optocoupler U4 is grounded, and the emitter pin of the optocoupler U4 is connected to the voltage output terminal FD of the battery voltage input circuit BAT- is connected; the anode pin of the diode of the optocoupler U5 is connected to the positive power supply VCC, the cathode pin of the diode of the optocoupler U5 is connected to the anode pin of the diode of the optocoupler U6, and the cathode pin of the diode of the optocoupler U6 is connected to the controller unit through the lead-out terminal of the resistor R8 as the control input terminal JX1; the collector pin of the optocoupler U5 is grounded, and the emitter pin of the optocoupler U5 is connected to the voltage output terminal FD BAT+ of the battery voltage input circuit; the collector pin of the optocoupler U6 is connected to the input terminal of the voltage divider circuit as the output terminal BAT Vin of the chip select control circuit, and the emitter pin of the optocoupler U6 is connected to the voltage output terminal FD BAT- of the battery voltage input circuit.

[0013] Furthermore, the voltage divider circuit includes a capacitor C1, a capacitor C2, a resistor R9, a resistor R10, and an operational amplifier U10A, wherein the input end of the voltage divider circuit is connected to the non-inverting input end of the operational amplifier U10A through one end of the capacitor C1 and the resistor R9 in parallel, and the other end of the capacitor C1 and the resistor R9 in parallel is grounded; the inverting input end of the operational amplifier U10A is connected to the output end of the operational amplifier U10A, the output end of the operational amplifier U10A is connected to the output end BAT of the voltage divider circuit through the resistor R10, a terminal is drawn between the resistor R10 and the output end BAT and is grounded through the capacitor C2; the positive pole of the operational amplifier U10A is connected to a +12V voltage, and the negative pole is connected to a -12V voltage.

[0014] Further, the controller unit is a single-chip microcomputer P1, which is connected to the output end of the voltage divider circuit through an A port, connected to the input end of the chip select enable circuit through a B port, and respectively connected to the enable input end of the chip select enable circuit and the control input end of the chip select control circuit through a D port; the digital power positive pin and the analog power positive pin of the single-chip microcomputer P1 are connected to a +3.3V voltage, and the digital power negative pin and the analog power negative pin are grounded; the crystal oscillator input pin of the single-chip microcomputer P1 is connected to the crystal oscillator output pin of the single-chip microcomputer P1 through a crystal oscillator X1, one end of the crystal oscillator X1 is grounded through a capacitor C3, and the other end is grounded through a capacitor C4; the reference voltage negative pin of the single-chip microcomputer P1 is grounded, the reference voltage positive pin is connected to a +3.3V voltage and the lead terminal is grounded through a capacitor C5.

[0015] The technical effects of the utility model are as follows: (1) a low-cost, simple and relatively stable voltage-dividing circuit is introduced into the system to determine the cell voltage; (2) a modular design is adopted, which is stable and reliable, with flexible and compact configuration and convenient maintenance; (3) it has overvoltage display and undervoltage display functions, and can effectively detect the cell voltage; (4) through a 38 decoder and a fast-conduction optocoupler, the voltages of multiple battery cells are collected in a time-sharing manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a system block diagram of a battery pack battery voltage sampling system of the utility model;

[0017] Figure 2 This is a battery voltage input circuit diagram of a battery voltage sampling system of a battery pack of the utility model;

[0018] Figure 3 This is a chip select enabling circuit diagram of a battery pack battery voltage sampling system of the utility model;

[0019] Figure 4 This is a chip selection control circuit diagram of a battery pack battery voltage sampling system of the utility model;

[0020] Figure 5 This is a voltage division circuit diagram of a battery pack battery voltage sampling system of the utility model;

[0021] Figure 6 The utility model discloses a circuit diagram of a controller unit of a battery pack battery voltage sampling system.

[0022] The markings in the figure are: C1-C5 are capacitors; R1-R10 are resistors; U1-U6 are optocouplers; RP1 and RP2 are pull-up resistors; YM1 and YM2 are 38 decoders; U10A is an operational amplifier; P1 is a single-chip microcomputer; X1 is a crystal oscillator; VCC is the positive pole of the power supply; GND is ground; FD BAT- and FD BAT+ are the voltage output terminals of the battery voltage input circuit; Cell 1- and Cell 1+ are the enable terminals of the battery voltage input circuit; CS1-CS6 are the output pins of the pull-up resistor RP1; A0-A2 are the input pins of the 38 decoder; Y0 is the output pin of the 38 decoder; E3 is the enable pin of the 38 decoder; 38EN1 and 38EN2 are the enable input terminals of the chip select enable circuit; BAT Vin is the output terminal of the chip select control circuit; BAT is the output terminal of the voltage divider circuit. DETAILED DESCRIPTION

[0023] The following is a further detailed description of the specific implementation methods of the utility model by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the utility model concept and technical solution of the utility model and facilitating its implementation.

[0024] A battery pack battery voltage sampling system, wherein the battery pack provides power for the system, and the battery pack includes at least one battery, such as Figure 1 As shown, the system includes a power supply, a sampling circuit, a voltage divider circuit, a controller unit, and a display, wherein the power supply is respectively connected to the sampling circuit, the voltage divider circuit, and the controller unit; the sampling circuit is respectively connected to the voltage divider circuit and the controller unit; the voltage divider circuit is connected to the controller unit; and the controller unit is connected to the display.

[0025] Furthermore, the sampling circuit includes a battery voltage input circuit, a chip select enable circuit, and a chip select control circuit. The chip select enable circuit is respectively connected to the controller unit and the battery voltage input circuit; the chip select control circuit is respectively connected to the battery voltage input circuit, the voltage divider circuit, and the controller unit.

[0026] Wherein, the power supply is used to provide a stable voltage source for the system; the sampling circuit is used to collect the battery voltage and transmit the voltage to the voltage divider circuit for voltage division, wherein the battery voltage input circuit is used to collect the positive and negative voltages of the battery according to the enable signal of the chip select enable circuit and send them to the chip select control circuit, and the chip select enable circuit is used to send an enable signal according to the enable signal and control signal of the controller unit to control the operation of the battery voltage input circuit; the chip select control circuit is used to select the polarity of the battery voltage transmitted by the battery voltage input circuit according to the control signal of the controller unit and the battery voltage input circuit. The corresponding chip select control circuit outputs the battery voltage to the voltage divider circuit; the voltage divider circuit is used to divide the battery voltage output by the chip select control circuit and output it to the controller unit for analog-to-digital conversion; the controller unit is used to output control signals and enable signals to control the operation of the chip select enable circuit and the chip select control circuit, and to perform data processing to obtain the measured battery voltage and send it to the display unit for display, wherein the data includes the divided battery voltage output by the voltage divider circuit, the resistance value of the resistor in the system, and the power supply voltage; the display unit is used to display the battery voltage, and has functions such as overvoltage display and undervoltage display.

[0027] Specifically, this embodiment takes the voltage of a battery in a battery pack as an example. Figure 2 As shown, the battery voltage input circuit includes a battery voltage input terminal J1, a 10KR resistor R1, a 10KR resistor R2, a 470R resistor R5, a 470R resistor R6, an optocoupler U1, and an optocoupler U2. In this embodiment, all the optocoupler chips used are of model AQW214. There are two optocouplers inside the chip, which reduces the complexity of the circuit design to a certain extent. Among them, one end of the resistor R1 is connected to one pole of the battery through the battery voltage input terminal J1, and the other end of the resistor R1 is connected to the emitter pin of the optocoupler U1; the collector pin of the optocoupler U1 is connected to the chip select control circuit as the voltage output terminal FD BAT-, and the anode pin of the diode of the optocoupler U1 is connected to the positive power supply VCC through the resistor R6; the cathode pin of the diode of the optocoupler U1 is connected to the chip select enable circuit as the enable terminal Cell 1-; one end of the resistor R2 is connected to the other pole of the battery through the battery voltage input terminal J1, and the other end of the resistor R2 is connected to the emitter pin of the optocoupler U2; the collector pin of the optocoupler U2 is connected to the chip select control circuit as the voltage output terminal FD BAT+, and the anode pin of the diode of the optocoupler U2 is connected to the positive power supply VCC through the resistor R5; the cathode pin of the diode of the optocoupler U2 is connected to the chip select enable circuit as the enable terminal Cell 1+. In the battery voltage input circuit, the resistors R1 and R2 play a role in current limiting to prevent the circuit from being damaged due to excessive battery voltage.

[0028] like Figure 3As shown, the chip select enable circuit includes a 10KR pull-up resistor RP1, a 38 decoder YM1, and a 38 decoder YM2. In this embodiment, the model of all 38 decoders is 74HC138N. The power pin of the pull-up resistor RP1 is connected to the positive power supply VCC, and the output pins CS1, CS2, and CS3 of the pull-up resistor RP1 are respectively connected to the input pins A0, A1, and A2 of the 38 decoder YM1 as the input ends of the chip select enable circuit and are respectively connected to the terminals connected to the controller unit; the output pins CS4, CS5, and CS6 of the pull-up resistor RP1 are respectively connected to the input pins A0, A1, and A2 of the 38 decoder YM2 as the input ends of the chip select enable circuit. 1. The input pin A2 is connected and the lead-out terminal is connected to the controller unit; the output pin of the pull-up resistor RP1 is used as the enable input terminal 38EN1 of the chip select enable circuit and is respectively connected to the enable pin E3 of the 38 decoder YM1 and the controller unit, and the output pin of the pull-up resistor RP1 is used as the enable input terminal 38EN2 of the chip select enable circuit and is respectively connected to the enable pin E3 of the 38 decoder YM2 and the controller unit; the power pins of the 38 decoders YM1 and 38 decoders YM2 are connected to the positive power supply VCC, the ground pin GND, the enable pin Enable pin The output pin Y0 of the 38 decoder YM1 is connected to the enable terminal Cell 1+ of the battery voltage input circuit, and the output pin Y0 of the 38 decoder YM2 is connected to the enable terminal Cell 1- of the battery voltage input circuit.

[0029] like Figure 4As shown, the chip select control circuit includes an optocoupler U3, an optocoupler U4, an optocoupler U5, an optocoupler U6, a 470KR resistor R7, and a 470KR resistor R8, wherein the anode pin of the diode of the optocoupler U3 is connected to the positive power supply VCC, the cathode pin of the diode of the optocoupler U3 is connected to the anode pin of the diode of the optocoupler U4, and the cathode pin of the diode of the optocoupler U4 is connected to the controller unit through a terminal connected to the resistor R7 as a control input terminal JX2; the collector pin of the optocoupler U3 is connected to the input terminal of the voltage divider circuit as the output terminal BAT Vin of the chip select control circuit, and the emitter pin of the optocoupler U3 is connected to the voltage output terminal FD BAT+ of the battery voltage input circuit; the collector pin of the optocoupler U4 is grounded, and the emitter pin of the optocoupler U4 is connected to the voltage output terminal FD of the battery voltage input circuit BAT-connection; the anode pin of the diode of the optocoupler U5 is connected to the positive power supply VCC, the cathode pin of the diode of the optocoupler U5 is connected to the anode pin of the diode of the optocoupler U6, and the cathode pin of the diode of the optocoupler U6 is connected to the controller unit through the resistor R8 lead-out terminal as the control input terminal JX1; the collector pin of the optocoupler U5 is grounded, and the emitter pin of the optocoupler U5 is connected to the voltage output terminal FD BAT+ of the battery voltage input circuit; the collector pin of the optocoupler U6 is connected to the input terminal of the voltage divider circuit as the output terminal BAT Vin of the chip select control circuit, and the emitter pin of the optocoupler U6 is connected to the voltage output terminal FD BAT- of the battery voltage input circuit. The chip select control circuit starts the sampling chip select flipping function, and selects different chip select control circuits according to the different polarities of the incoming battery voltage, always keeping the normal output of the positive voltage of the battery, and the negative voltage of the battery grounded, so that the protection circuit is safe, stable and reliable.

[0030] like Figure 5 As shown, the voltage divider circuit includes a 0.1uF capacitor C1, a 0.1uF capacitor C2, a 20KR resistor R9, a 10KR resistor R10, and an operational amplifier U10A, and the model of the operational amplifier is LM358. Wherein, the input end of the voltage divider circuit is connected to the in-phase input end of the operational amplifier U10A through one end of the capacitor C1 and the resistor R9 in parallel, and the other end of the capacitor C1 and the resistor R9 in parallel is grounded; the inverting input end of the operational amplifier U10A is connected to the output end of the operational amplifier U10A, and the output end of the operational amplifier U10A is connected to the output end BAT of the voltage divider circuit through the resistor R10, and the terminal between the resistor R10 and the output end BAT is connected to the ground through the capacitor C2; the positive pole of the operational amplifier U10A is connected to the +12V voltage, and the negative pole is connected to the -12V voltage. The voltage divider circuit has a voltage stabilization design, which ensures that the voltage is stably output to the controller unit, improves the circuit stability, and ensures the accuracy of voltage acquisition.

[0031] In the present invention, the resistors R1, R2 and R9 are all high-precision resistors, that is, the resistance error of the selected resistors is within the range of 1%, which greatly improves the accuracy and precision of voltage collection.

[0032] like Figure 6 As shown, the controller unit is a single-chip microcomputer P1. In this embodiment, the single-chip microcomputer model is STM32F103VCT6. The single-chip microcomputer P1 is connected to the output end of the voltage divider circuit through the A port, the single-chip microcomputer P1 is connected to the input end of the chip select enable circuit through the B port, and the single-chip microcomputer P1 is respectively connected to the enable input end of the chip select enable circuit and the control input end of the chip select control circuit through the D port; the digital power positive pin and the analog power positive pin of the single-chip microcomputer P1 are connected to the +3.3V voltage, and the digital power negative pin and the analog power negative pin are grounded; the crystal oscillator input pin of the single-chip microcomputer P1 is connected to the crystal oscillator output pin of the single-chip microcomputer P1 through the 8MHZ crystal oscillator X1, one end of the crystal oscillator X1 is grounded through the 22pF capacitor C3, and the other end is grounded through the 22pF capacitor C4; the reference voltage negative pin of the single-chip microcomputer P1 is grounded, the reference voltage positive pin is connected to the +3.3V voltage and the lead terminal is grounded through the 33pF capacitor C5.

[0033] The above circuit structure is only used to collect the voltage of one battery. In the specific implementation, it can be expanded to collect the voltage of multiple batteries. At the same time, in the specific implementation, in order to realize the voltage collection in various situations, the selection of the components in the above circuit can be replaced accordingly without changing the circuit principle.

[0034] The utility model carries out modular design of the overall circuit, has a simple structure, is flexible and compact in configuration, is convenient in maintenance, is stable and reliable, and is safe in operation.

[0035] This embodiment takes the collection of a battery voltage as an example, wherein, in the battery voltage input circuit, interface 1 of the wiring terminal J1 is connected to the negative electrode of the battery, and interface 2 is connected to the positive electrode of the battery (it can also be interface 1 connected to the positive electrode of the battery, and interface 2 connected to the negative electrode of the battery), and the voltage of the first battery is collected between interface 1 and interface 2 (if expansion is required, interface 3 of the wiring terminal J1 is connected to the positive electrode of the second battery, at this time, interface 2 and interface 3 are the voltage of the second battery, and so on), and the specific circuit working principle is as follows:

[0036] After the first battery is connected, the single-chip microcomputer P1 sends an enable signal to the enable input terminal 38EN1 of the chip select enable circuit through the D port to control the operation of the 38 decoder YM1. The single-chip microcomputer P1 sends a control signal to the input pin of the 38 decoder YM1 through the B port, so that the output of the output pin Y0 of the 38 decoder YM1 is low level, and then the enable terminal Cell 1+ of the battery voltage input circuit is low level. At this time, the optocoupler U2 is turned on, and the voltage output terminal FD BAT+ outputs the positive voltage of the battery. Similarly, the single-chip microcomputer P1 sends an enable signal to the enable input terminal 38EN2 of the chip select enable circuit through the D port to control the operation of the 38 decoder YM2. The single-chip microcomputer P1 sends a control signal to the input pin of the 38 decoder YM2 through the B port, so that the output of the output pin Y0 of the 38 decoder YM2 is low level, and then the enable terminal Cell 1- of the battery voltage input circuit is low level. At this time, the optocoupler U1 is turned on, and the voltage output terminal FD BAT- outputs the negative voltage of the battery.

[0037] The single-chip computer P1 sends a control signal to the control input terminals JX2 and JX1 of the chip select control circuit through the D port. Since FD BAT- outputs the negative electrode voltage of the battery and FD BAT+ outputs the positive electrode voltage of the battery at this time, the control input terminal JX2 is at a low level and the control input terminal JX1 is at a high level, so that the optocouplers U3 and U4 are turned on (if FD BAT- outputs the positive electrode voltage of the battery and FDBAT+ outputs the negative electrode voltage of the battery, the control input terminal JX2 is at a high level and the control input terminal JX1 is at a low level, so that the optocouplers U5 and U6 are turned on, and the chip select control circuit starts the sampling chip select flipping function), and the output terminal BATVin of the chip select control circuit outputs the voltage of the first battery.

[0038] After the input end of the voltage divider circuit receives the voltage of the first battery, it divides the voltage through resistor R9 and sends the divided voltage signal to the single-chip microcomputer P1 for analog-to-digital conversion. At this time, looking at the overall circuit, resistors R9, R1, R2 and the battery form a series relationship. Assuming that U is the divided voltage of resistor R9, the battery voltage is U 电池 =U*(R9+R1+R2) / R9.

[0039] After that, the single-chip computer P1 calculates the battery voltage based on all the data. At the same time, the error can be reduced by taking multiple samples, first calculating the sum of the sampled values, then removing the maximum and minimum values, and then calculating the average of the sampled values ​​as the actual value (this method is an existing error reduction method), and the calculated battery voltage is compared with the measurement range preset in the single-chip computer P1, and is sent to the display unit for voltage display within the measurement range. In specific implementation, the single-chip computer P1 can time-share multiplex the control 38 decoder and the optical coupler to collect the voltage of multiple batteries.

[0040] The utility model realizes the collection and detection of the voltage of one or more batteries, and has a simple circuit, low cost and high stability. At the same time, the use of high-precision resistors improves the collection accuracy, and the data processing of the controller unit further reduces the error. The voltage of the battery cell can be detected after changing different wiring harnesses according to different products, and is suitable for after-sales detection.

[0041] The above is an exemplary description of the utility model in conjunction with the accompanying drawings. Obviously, the specific implementation of the utility model is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the utility model; or the above concept and technical solution of the utility model are directly applied to other occasions without improvement, they are all within the protection scope of the utility model.

Claims

1. A battery pack battery voltage sampling system, wherein the battery pack provides power for the system, and the battery pack includes at least one battery, Features: The system includes a power supply, a sampling circuit, a voltage divider circuit, a controller unit, and a display, wherein the power supply is connected to the sampling circuit, the voltage divider circuit, and the controller unit respectively; the sampling circuit is connected to the voltage divider circuit and the controller unit respectively; the voltage divider circuit is connected to the controller unit; and the controller unit is connected to the display.

2. A battery pack cell voltage sampling system according to claim 1, Features: The sampling circuit includes a battery voltage input circuit, a chip select enable circuit, and a chip select control circuit. The chip select enable circuit is connected to the controller unit and the battery voltage input circuit respectively; the chip select control circuit is connected to the battery voltage input circuit, the voltage divider circuit, and the controller unit respectively.

3. A battery pack cell voltage sampling system according to claim 2, Features: The battery voltage input circuit comprises a battery voltage input wiring terminal (J1), a resistor (R1), a resistor (R2), a resistor (R5), a resistor (R6), an optocoupler (U1), and an optocoupler (U2), wherein one end of the resistor (R1) is connected to one pole of the battery through the battery voltage input wiring terminal (J1), and the other end of the resistor (R1) is connected to the emitter pin of the optocoupler (U1); the collector pin of the optocoupler (U1) is connected to the chip select control circuit as a voltage output terminal (FD BAT-), and the anode pin of the diode of the optocoupler (U1) is connected to the positive power supply (VCC) through the resistor (R6); the cathode pin of the diode of the optocoupler (U1) is connected to the chip select enable circuit as an enable terminal (Cell 1-); one end of the resistor (R2) is connected to the other pole of the battery through the battery voltage input wiring terminal (J1), and the other end of the resistor (R2) is connected to the emitter pin of the optocoupler (U2); the collector pin of the optocoupler (U2) is connected to the voltage output terminal (FD BAT+) is connected to the chip select control circuit, the anode pin of the diode of the optocoupler (U2) is connected to the positive power supply (VCC) through a resistor (R5); the cathode pin of the diode of the optocoupler (U2) is connected to the chip select enable circuit as an enable terminal (Cell 1+).

4. A battery pack cell voltage sampling system according to claim 2, Features: The chip select enable circuit comprises a pull-up resistor (RP1), a 38 decoder (YM1), and a 38 decoder (YM2), wherein a power pin of the pull-up resistor (RP1) is connected to a positive power supply (VCC), and an output pin (CS1), an output pin (CS2), and an output pin (CS3) of the pull-up resistor (RP1) are respectively connected to an input pin (A0), an input pin (A1), and an input pin (A2) of the 38 decoder (YM1) as input ends of the chip select enable circuit and are respectively connected to terminals of the controller unit; an output pin (CS4), an output pin (CS5), and an output pin (CS6) of the pull-up resistor (RP1) are respectively connected to input pins (A0), (A1), and (A2) of the 38 decoder (YM1) as input ends of the chip select enable circuit The input pin (A0), input pin (A1), and input pin (A2) of the decoder (YM2) are connected and the terminals are respectively connected to the controller unit; the output pin of the pull-up resistor (RP1) is used as the enable input terminal (38EN1) of the chip select enable circuit and is respectively connected to the enable pin (E3) of the 38 decoder (YM1) and the controller unit, and the output pin of the pull-up resistor (RP1) is used as the enable input terminal (38EN2) of the chip select enable circuit and is respectively connected to the enable pin (E3) of the 38 decoder (YM2) and the controller unit; the power pins of the 38 decoders (YM1) and 38 decoders (YM2) are connected to the positive power supply (VCC), and the ground pin (GND) and the enable pin (GND) are connected to the positive power supply (VCC). Enable pin are grounded respectively; the output pin (Y0) of the 38 decoder (YM1) is connected to the enable end (Cell 1+) of the battery voltage input circuit, and the output pin (Y0) of the 38 decoder (YM2) is connected to the enable end (Cell 1-) of the battery voltage input circuit.

5. A battery pack cell voltage sampling system according to claim 3, Features: The chip selection control circuit includes an optocoupler (U3), an optocoupler (U4), an optocoupler (U5), an optocoupler (U6), a resistor (R7), and a resistor (R8), wherein: The anode pin of the diode of the optocoupler (U3) is connected to the positive power supply (VCC), the cathode pin of the diode of the optocoupler (U3) is connected to the anode pin of the diode of the optocoupler (U4), and the cathode pin of the diode of the optocoupler (U4) is connected to the controller unit through a resistor (R7) as a control input terminal (JX2); the collector pin of the optocoupler (U3) is connected to the input terminal of the voltage divider circuit as the output terminal (BATVin) of the chip selection control circuit, and the emitter pin of the optocoupler (U3) is connected to the voltage output terminal (FD BAT+) of the battery voltage input circuit; the collector pin of the optocoupler (U4) is grounded, and the emitter pin of the optocoupler (U4) is connected to the voltage output terminal (FD The anode pin of the diode of the optocoupler (U5) is connected to a positive power supply (VCC), the cathode pin of the diode of the optocoupler (U5) is connected to the anode pin of the diode of the optocoupler (U6), and the cathode pin of the diode of the optocoupler (U6) is connected to the controller unit through a resistor (R8) as a control input terminal (JX1); the collector pin of the optocoupler (U5) is grounded, and the emitter pin of the optocoupler (U5) is connected to a voltage output terminal (FD BAT+) of the battery voltage input circuit; the collector pin of the optocoupler (U6) is connected to the input terminal of the voltage divider circuit as an output terminal (BAT Vin) of a chip select control circuit, and the emitter pin of the optocoupler (U6) is connected to a voltage output terminal (FD BAT-) of the battery voltage input circuit.

6. A battery pack cell voltage sampling system according to claim 2, Features: The voltage divider circuit comprises a capacitor (C1), a capacitor (C2), a resistor (R9), a resistor (R10), and an operational amplifier (U10A), wherein the input end of the voltage divider circuit is connected to the non-inverting input end of the operational amplifier (U10A) through one end of the capacitor (C1) and the resistor (R9) connected in parallel, and the other end of the capacitor (C1) and the resistor (R9) connected in parallel is grounded; the inverting input end of the operational amplifier (U10A) is connected to the output end of the operational amplifier (U10A), the output end of the operational amplifier (U10A) is connected to the output end (BAT) of the voltage divider circuit through the resistor (R10), a terminal is drawn between the resistor (R10) and the output end (BAT) and is grounded through the capacitor (C2); the positive pole of the operational amplifier (U10A) is connected to a +12V voltage, and the negative pole is connected to a -12V voltage.

7. A battery pack cell voltage sampling system according to claim 2, Features: The controller unit is a single-chip microcomputer (P1), the single-chip microcomputer (P1) is connected to the output end of the voltage divider circuit through an A port, the single-chip microcomputer (P1) is connected to the input end of the chip select enable circuit through a B port, and the single-chip microcomputer (P1) is respectively connected to the enable input end of the chip select enable circuit and the control input end of the chip select control circuit through a D port; the digital power positive pin and the analog power positive pin of the single-chip microcomputer (P1) are connected to a +3.3V voltage, and the digital power negative pin and the analog power negative pin are grounded; the crystal oscillator input pin of the single-chip microcomputer (P1) is connected to the crystal oscillator output pin of the single-chip microcomputer (P1) through a crystal oscillator (X1), one end of the crystal oscillator (X1) is grounded through a capacitor (C3), and the other end is grounded through a capacitor (C4); the reference voltage negative pin of the single-chip microcomputer (P1) is grounded, the reference voltage positive pin is connected to a +3.3V voltage and the lead terminal is grounded through a capacitor (C5).

8. A battery pack cell voltage sampling system according to claim 2, Features: The power supply is used to provide a stable voltage source for the system; the sampling circuit is used to collect the battery voltage and transmit the voltage to the voltage divider circuit for voltage division, wherein the battery voltage input circuit is used to collect the positive and negative voltages of the battery according to the enable signal of the chip select enable circuit and send them to the chip select control circuit, and the chip select enable circuit is used to send an enable signal according to the enable signal and control signal of the controller unit to control the operation of the battery voltage input circuit; the chip select control circuit is used to select the corresponding chip select control circuit according to the control signal of the controller unit and the polarity of the battery voltage transmitted by the battery voltage input circuit and output the battery voltage to the voltage divider circuit; the voltage divider circuit is used to divide the battery voltage output by the chip select control circuit and output it to the controller unit for analog-to-digital conversion; the controller unit is used to output control signals and enable signals to control the operation of the chip select enable circuit and the chip select control circuit, and to perform data processing to obtain the measured battery voltage and send it to the display unit for display, the data includes the divided battery voltage output by the voltage divider circuit, the resistance value of the resistor in the system, and the power supply voltage; the display unit is used to display the battery voltage.