Energy storage battery system

By introducing quantity detection circuit, column detection circuit and resistance compensation circuit into the energy storage battery system, the problem of abnormal communication between the energy storage battery system when the battery arrangement method changes is solved, and dynamic compensation of terminal resistors and reliability guarantee of communication is achieved.

CN223023324UActive Publication Date: 2025-06-24SOLAR POWER NETWORK TECHNOLOGY (ZHEJIANG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421846908.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2025-06-24
Estimated Expiration
2034-07-31

AI Technical Summary

Technical Problem

When the battery arrangement of the energy storage battery system changes, the terminal resistance value of the communication bus of the system controller cannot change, resulting in abnormal communication on the communication bus.

Method used

An energy storage battery system is designed, including a controller, a quantity detection circuit, a column detection circuit and a resistance compensation circuit. Through these circuits, the controller can detect the number of battery packs and columns, determine the arrangement method, and compensate the terminal circuit of the communication bus as needed, so that the terminal resistor is within the preset resistance range.

Benefits of technology

It is realized that the arrangement method of the battery pack is determined based on the number of battery packs and the number of columns, and the terminal resistance is adjusted and compensated, so that the terminal resistance clock of the communication bus is within the preset resistance range, ensuring effective communication of the communication bus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223023324U_ABST
    Figure CN223023324U_ABST
Patent Text Reader

Abstract

The utility model discloses an energy storage battery system. The system is characterized in that a controller is connected with a number detection circuit, and the number detection circuit is connected with each battery pack; the column number detection circuit is connected with the controller through a communication bus, the column number detection circuit is connected with the controller through a communication bus, the column number detection circuit is connected with the column base of each battery pack, and each column of battery packs are arranged on the same column base; the controller is used for determining the arrangement mode of the battery packs according to the number and the column number of the battery packs and determining whether the terminal circuit of the communication bus needs to be compensated or not according to the arrangement mode; one end of the resistance compensation circuit is connected with the controller, and the other end is connected with the terminal of the communication bus. The problem that the terminal resistance value of a communication bus of a system controller cannot be changed when a battery arrangement mode of an energy storage battery system in the related technology is changed, so that the communication of the communication bus is abnormal is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of battery control, and more particularly, to an energy storage battery system. Background Art

[0002] In the related art, stacked batteries are usually arranged in a single row. In such a battery system, the terminal resistance of the CAN (Controller Area Network) communication bus is usually fixed within a range of resistance values that meet the requirements. However, as the number of stacked batteries increases, generally supporting the number of batteries from 2 to 13, the battery arrangement can also be in a single row, double row, or even multiple rows. In a BMS (Battery Management System) system using CAN communication, when the number of battery packs connected is different and the arrangement of the battery packs formed is different, the fixed CAN bus terminal resistance value will change, which may cause the terminal resistance to not meet the required resistance value, thereby resulting in abnormal CAN bus communication.

[0003] It can be seen from this that in the energy storage battery system in the related art, when the battery arrangement changes, the terminal resistance value of the communication bus of the system controller cannot change, resulting in the problem of abnormal communication bus communication. Summary of the Utility Model

[0004] The main purpose of the present application is to provide an energy storage battery system to solve the problem that in the energy storage battery system in the related art, when the battery arrangement changes, the terminal resistance value of the communication bus of the system controller cannot change, resulting in abnormal communication bus communication.

[0005] According to one aspect of the present application, an energy storage battery system is provided, including a controller, battery packs assembled by columns, a quantity detection circuit for detecting the number of battery packs, a column number detection circuit for detecting the number of columns of battery packs, and a resistance compensation circuit; the controller is connected to the quantity detection circuit, and the quantity detection circuit is connected to each of the battery packs; the column number detection circuit is connected to the controller through a communication bus, and the column number detection circuit is connected to the column base of each of the battery packs, where each column of battery packs is arranged on the same column base; the controller is configured to determine the arrangement of the battery packs according to the number and number of columns of the battery packs, and determine whether compensation needs to be performed on the terminal circuit of the communication bus according to the arrangement; one end of the resistance compensation circuit is connected to the controller, and the other end is connected to the terminal of the communication bus, and is configured to receive and respond to the compensation instruction of the controller to compensate the terminal resistance of the communication bus so that the terminal resistance is within a preset resistance range.

[0006] As an alternative embodiment, the column number detection circuit includes a resistance circuit disposed at the terminal of the communication bus and a resistance detection circuit for detecting the terminal resistance of the communication bus; the resistance circuit includes base resistors disposed on each column base of two signal lines connected in parallel at the terminal of the communication bus, wherein each column of battery packs is disposed on the same column base; the resistance detection circuit includes a first reference voltage source and a detection resistor, one end of the detection resistor is connected to the second signal line of the communication bus, the other end of the detection resistor is connected to the controller, and the first reference voltage source is connected to the first signal line of the communication bus.

[0007] As an alternative embodiment, the quantity detection circuit includes connection resistors, sampling resistors, and operational amplifiers; there are multiple connection resistors, one connection resistor is connected to each battery pack, and the resistance values of the multiple connection resistors are the same; after the connection resistors of multiple battery packs are connected in series, they are connected to one end of the sampling resistor, and the other end of the sampling resistor is connected to a second reference voltage source; the positive input terminal and the negative input terminal of the operational amplifier are respectively connected to both ends of the sampling resistor, and the output terminal of the operational amplifier is connected to the controller.

[0008] As an alternative embodiment, a first analog-to-digital converter is further disposed between the operational amplifier and the controller; the output terminal of the operational amplifier is connected to the input terminal of the first analog-to-digital converter, and the output terminal of the first analog-to-digital converter is connected to the controller.

[0009] As an alternative embodiment, the resistance value of the base resistor is not less than the number of columns of the battery packs multiplied by the target resistance value of the terminal resistance, wherein the target resistance value is within the preset resistance range.

[0010] As an alternative embodiment, the first reference voltage source is connected to the drain of the first MOS transistor, and the source of the first MOS transistor is connected to the first signal line of the communication bus.

[0011] As an alternative embodiment, a second MOS transistor is further disposed between the detection resistor and the second signal line of the communication bus; one end of the detection resistor is connected to the source of the second MOS transistor, and the drain of the second MOS transistor is connected to the second signal line.

[0012] As an alternative embodiment, the communication bus is a Controller Area Network (CAN) bus; the first signal line is a high-level signal line, and the second signal line is a low-level signal line.

[0013] As an alternative embodiment, a second analog-to-digital converter is connected in parallel across the detection resistor; the positive and negative input terminals of the second analog-to-digital converter are connected in parallel across both ends of the detection resistor.

[0014] As an alternative embodiment, the resistance compensation circuit is a digital potentiometer; an input end of the digital potentiometer is connected to the controller, and two output ends of the digital potentiometer are respectively connected to a first signal line and a second signal line of the communication bus.

[0015] In the present application, the controller detects the number of battery packs through a quantity detection circuit; detects the number of columns of battery packs through a column number detection circuit, determines the actual resistance corresponding to the arrangement mode according to the number of columns and the number, and when the terminal resistance formed by the actual resistance needs to be compensated, compensates the terminal resistance of the communication bus through the resistance compensation circuit, so that the terminal resistance is within a preset resistance range. Thus, it is possible to determine the arrangement mode of the battery packs according to the number and the number of columns of the battery packs, adjust the terminal resistance according to the arrangement mode and perform compensation, so that the terminal resistance of the final communication bus is always within the preset resistance range, ensuring the effective communication of the communication bus. Furthermore, it solves the problems in the related art that the radio frequency circuit has static electricity, which easily causes damage to the processing chip and interferes with the operation of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:

[0017] Figure 1 is a schematic diagram of an energy storage battery system architecture disclosed in the present application;

[0018] Figure 2 is a schematic diagram of the quantity detection circuit of the battery pack disclosed in the present application;

[0019] Figure 3 is a schematic diagram of the column number detection circuit and the resistance compensation circuit of the battery pack disclosed in the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0021] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless otherwise clearly specified in the context, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0022] Unless otherwise specifically stated, the relative arrangements, numerical expressions, and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present application. At the same time, it should be understood that for the sake of convenience in description, the dimensions of the various parts shown in the drawings are not drawn in actual proportional relationships. Technologies, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and devices should be regarded as part of the authorization specification. In all the examples shown and discussed here, any specific value should be construed as merely exemplary and not as a limitation. Therefore, other examples of the exemplary embodiments may have different values. It should be noted that like reference numerals and letters denote like items in the following drawings, and thus, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0023] See Figures 1 to 3 As shown, the present application provides an energy storage battery system, including a controller, battery packs assembled in columns, a quantity detection circuit for detecting the number of battery packs, a column number detection circuit for detecting the number of columns of battery packs, and a resistance compensation circuit; the controller is connected to the quantity detection circuit, and the quantity detection circuit is connected to each battery pack; the column number detection circuit is connected to the controller through a communication bus, and the column number detection circuit is connected to the column base of each battery pack, where each column of battery packs is arranged on the same column base; the controller is used to determine the arrangement mode of the battery packs according to the number and the number of columns of the battery packs, and determine whether it is necessary to compensate the terminal circuit of the communication bus according to the arrangement mode; one end of the resistance compensation circuit is connected to the controller, and the other end is connected to the terminal of the communication bus, and is used to receive and respond to the compensation instruction of the controller to compensate the terminal resistance of the communication bus so that the terminal resistance is within a preset resistance range.

[0024] In the energy storage battery system of this embodiment, its controller detects the number of battery packs through the quantity detection circuit; detects the number of columns of battery packs through the column number detection circuit, determines the actual resistance corresponding to the arrangement mode according to the number of columns and the number, and when the terminal resistance formed by the actual resistance needs to be compensated, compensates the terminal resistance of the communication bus through the resistance compensation circuit so that the terminal resistance is within a preset resistance range. Thus, it can be realized that the arrangement mode of the battery packs can be determined according to the number and the number of columns of the battery packs, the terminal resistance is adjusted and compensated according to the arrangement mode, so that the terminal resistance of the final communication bus is always within the preset resistance range, ensuring the effective communication of the communication bus. Furthermore, it solves the problems in the related art that the radio frequency circuit has static electricity, which easily causes damage to the processing chip and interferes with the operation of the circuit.

[0025] The above energy storage battery system generally includes multiple battery units, each of which may include battery packs arranged in columns and a controller. The controller can also be divided into a master controller and a slave controller, and the master controller and the slave controller communicate with each other via a CAN bus. However, when the CAN bus communicates, it is necessary to use a terminal resistor to match the bus impedance to improve the anti-interference ability and reliability of data communication, so as to improve the anti-interference ability of the CAN bus system and ensure normal communication. If the terminal resistor fails to meet the matching requirements, communication anomalies may occur.

[0026] The terminal resistor of the CAN bus is usually implemented by a resistor with a fixed resistance value set on the base of the battery pack. However, once the arrangement of the battery packs changes, for example, from a single column to a double column, the fixed resistor thus set will be connected in parallel with other battery bases and then connected to the CAN bus. In this way, the original resistor with a fixed resistance value can no longer be used as the terminal resistor, and the terminal resistor after parallel connection will also change, thus exceeding the preset resistance range and resulting in abnormal CAN communication.

[0027] In this embodiment, the arrangement of the battery packs is detected by a battery pack quantity detection circuit and a column number detection circuit. In particular, the column number detection circuit also has the function of detecting the terminal resistor. In this way, the controller can compensate the terminal resistor by using a resistor compensation circuit according to the resistance value of the terminal resistor detected by the resistor detection circuit, so that the terminal resistor can be within the preset resistance value range to ensure the communication reliability of the communication bus.

[0028] The above controller can be an MCU. The quantity detection circuit is connected to each battery pack and can calculate the final resistance / voltage or current by connecting resistors in series or parallel to the battery packs to calculate the number of battery packs. In this embodiment, connection resistors are set on each battery pack, and the number of battery packs is calculated by calculating the voltage of the sampling resistor after the connection resistors are connected in series. Specific details will be described later.

[0029] The above column number detection circuit can be detected based on the current generated by a stable voltage source through a base resistor set on the column base, and its principle is also based on Ohm's law of the circuit. Specific details will be described later.

[0030] The above controller determines the arrangement of the battery packs according to the number and column number of the battery packs. Specifically, the total number of battery packs can be divided by the column number to obtain the number of battery packs in each column. According to the number of battery packs in each column, it can be verified whether it is consistent with the actual arrangement of the battery packs, so as to verify the accuracy of the above column number. When the verification is accurate, the terminal resistor is detected and compensated. The number of battery packs in each column of the actual battery packs in the above controller is stored in advance. Therefore, the above steps only involve division operations and comparisons, which are all existing technologies in the related art and do not involve improvements to the control program of the controller.

[0031] In addition, the controller determines whether it is necessary to compensate the terminal circuit of the communication bus according to the arrangement method. It also obtains the terminal resistance actually generated by the base resistance on each column base in this arrangement method through the detection resistance circuit. This is because in the related art, the formation method of the terminal resistance of the CAN bus generally involves setting base resistances on the column bases. In the case of multiple columns, multiple base resistances are connected in parallel.

[0032] The controller only needs to compare whether the difference between the detected resistance value and the target value of the terminal resistance is within the set difference range. If the difference exceeds the set difference range, resistance compensation is required. According to the compensation method, whether to increase or decrease, and the specific value, a compensation instruction is generated and sent to the resistance compensation circuit. Therefore, the above steps only involve numerical comparison and the generation of instructions, which are also the existing technologies in the related art and do not involve the improvement of the control program of the controller.

[0033] One end of the above-mentioned resistance compensation circuit is connected to the controller, and the other end is connected to the terminal of the communication bus, and is used to receive and respond to the compensation instruction of the controller to compensate the terminal resistance of the communication bus so that the terminal resistance is within the preset resistance range.

[0034] As an alternative embodiment, the column number detection circuit includes a resistance circuit provided at the terminal of the communication bus and a resistance detection circuit for detecting the terminal resistance of the communication bus; the resistance circuit includes base resistances provided on each column base in parallel with two signal lines at the terminal of the communication bus, wherein each column of battery packs is arranged on the same column base; the resistance detection circuit includes a first reference voltage source and a detection resistance. One end of the detection resistance is connected to the second signal line of the communication bus, the other end of the detection resistance is connected to the controller, and the first reference voltage source is connected to the first signal line of the communication bus.

[0035] The above-mentioned column number detection circuit includes a resistance circuit provided at the terminal of the communication bus and a resistance detection circuit for detecting the terminal resistance of the communication bus; the resistance circuit mainly provides a basis for forming the terminal resistance. In the case of 1 column, it can be realized by a fixed-value resistance. However, in the case of multiple columns with more than 1 column, a fixed resistance cannot meet the requirements. This requires multiple base resistances to be set on multiple column bases and connected in parallel to form a total resistance value as the terminal resistance. That is, the resistance circuit includes base resistances provided on each column base in parallel with two signal lines at the terminal of the communication bus, wherein each column of battery packs is arranged on the same column base.

[0036] It should be noted that the resistance value formed by the parallel connection of the base resistances of the above-mentioned multiple column bases is fixed, and the total resistance of the parallel circuit is the reciprocal of the sum of the reciprocals of the resistances of each branch. This results in an easy difference between the theoretical resistance value of the final total resistance and the target resistance value of the terminal resistance. For this reason, this embodiment also provides a resistance detection circuit to detect the resistance value of the actual terminal resistance formed by the detection resistance circuit, and in the case where resistance compensation is required, use the resistance compensation circuit to perform resistance compensation, so that the resistance value of the terminal resistance is within the preset resistance range, ensuring the normal operation of the communication on the communication bus.

[0037] The above-mentioned resistance detection circuit includes a first reference voltage source and a detection resistor. One end of the detection resistor is connected to the second signal line of the communication bus, and the other end of the detection resistor is connected to the controller. The resistance value of the final terminal resistance can be determined by the voltage of the detection resistor, and the number of columns of the battery pack can be determined in combination with the known resistance value of the base resistance.

[0038] The above-mentioned first reference voltage source is connected to the first signal line of the communication bus to provide a stable voltage for the detection resistor, so that the terminal resistance at both ends of the detection resistor changes, and then it can be calculated through the voltage of the detection resistor.

[0039] One end of the resistance compensation circuit is connected to the controller, and the other end is connected to the terminal of the communication bus. When the controller detects that the terminal of the communication bus needs to perform resistance compensation, it sends a compensation instruction to the resistance compensation circuit. The resistance compensation circuit responds to the compensation instruction of the controller and compensates the terminal resistance of the communication bus, so that the terminal resistance is within the preset resistance range.

[0040] As an optional embodiment, the quantity detection circuit includes a connection resistor, a sampling resistor, and an operational amplifier; there are multiple connection resistors, and each battery pack is connected with a connection resistor, and the resistance values of the multiple connection resistors are the same; after the connection resistors of the multiple battery packs are connected in series, one end is connected to the sampling resistor, and the other end of the sampling resistor is connected to the second reference voltage source; the positive input terminal and the negative input terminal of the operational amplifier are respectively connected to both ends of the sampling resistor, and the output terminal of the operational amplifier is connected to the controller.

[0041] As Figure 2 shown, the quantity measurement circuit of the battery pack includes a connection resistor R provided on each battery pack, and a sampling resistor R1 provided after the multiple connection resistors R are connected in series. One end of the sampling resistor R1 is also connected to the second reference voltage source, a 3.3V voltage source, and this 3.3V voltage source can be provided by the controller MCU, which can simplify the circuit structure and save costs.

[0042] Under the action of the second reference voltage source, when each connection resistance of a battery pack is connected to the circuit, the current in the circuit loop increases by I0. At both ends of the sampling resistor R1, the voltage V is measured through an operational amplifier and an analog-to-digital converter ADC. R1 Then, the number of battery packs N = V R1 / R1 / I0; where, I0 = 3.3 / (R1 + R).

[0043] As an optional embodiment, a first analog-to-digital converter is also provided between the operational amplifier and the controller; the output end of the operational amplifier is connected to the input end of the first analog-to-digital converter, and the output end of the first analog-to-digital converter is connected to the controller.

[0044] The positive and negative input terminals of the operational amplifier are respectively connected to both ends of the sampling resistor R1, so that the voltage difference across the sampling resistor R1 can be calculated, and then the voltage across the sampling resistor R1 can be obtained. The first analog-to-digital converter converts the analog signal of the voltage across the sampling resistor R1 output by the operational amplifier into a digital signal, and then transmits it to the MCU for processing and operation.

[0045] The MCU processes and operates on the voltage V of the digital signal R1 including division operations with the connection resistance R and the current I0.

[0046] As an optional embodiment, the first reference voltage source is a 5V voltage source, and the second reference voltage source is a 3.3V voltage source.

[0047] The 5V voltage source and the 3.3V voltage source are common voltage sources in the circuit, which are convenient for manufacturing and production and help to reduce costs.

[0048] As an optional embodiment, the resistance value of the base resistor is not less than the number of columns of battery packs multiplied by the target resistance value of the terminal resistor, where the target resistance value is within a preset resistance range.

[0049] Considering that the total resistance of multiple base resistors R' in parallel is used as the terminal resistor, combined with the resistance law of the parallel circuit, the resistance value of each base resistor R' is set to be not less than the number of columns of battery packs multiplied by the target resistance value of the terminal resistor. For example, if the target resistance value is 60Ω and the number of columns of battery packs is 2, then the resistance value of each base resistor R' is not less than 2 * 60 = 120Ω. This can ensure that the final parallel terminal resistance is not less than 60Ω, and then the digital potentiometer is used to reduce the terminal resistance to 60Ω.

[0050] As an optional embodiment, the first reference voltage source is connected to the drain of the first MOS transistor, and the source of the first MOS transistor is connected to the first signal line of the communication bus. The above MOS transistor is also a field effect transistor.

[0051] Such asFigure 3 As shown in the figure, the above-mentioned first reference voltage source is a 5V reference source, which is connected to the first signal line through the first MOS transistor, that is, connected to the high-level signal line CANH of the CAN bus, and provides a stable voltage for the detection resistor R2 connected to the CAN bus.

[0052] Setting the first MOS transistor between the first reference voltage source and the first signal line can form circuit protection and can also be controlled by the MCU to work.

[0053] As an alternative embodiment, a second MOS transistor is also provided between the detection resistor and the second signal line of the communication bus; one end of the detection resistor is connected to the source electrode of the second MOS transistor, and the drain electrode of the second MOS transistor is connected to the second signal line.

[0054] The detection resistor R2 is connected to the second signal line through the second MOS transistor, that is, connected to the low-level signal line CANL of the CAN bus, and the terminal resistors at both ends of the CAN bus are detected. The base resistor R' is connected in parallel and then connected in series with the detection resistor R2, sharing a 5V reference voltage, and the resistance value of R2 remains unchanged. If the terminal resistor increases, the voltage across R2 decreases; if the terminal resistor decreases, the resistance across R2 increases.

[0055] Setting the second MOS transistor between the detection resistor R2 and the second signal line can also form circuit protection and can also be controlled by the MCU to work.

[0056] As an alternative embodiment, the communication bus is a Controller Area Network (CAN) bus; the first signal line is a high-level signal line, and the second signal line is a low-level signal line.

[0057] The target resistance value of the terminal resistor corresponding to the CAN bus is 60Ω.

[0058] As an alternative embodiment, a second analog-to-digital converter is connected in parallel across the detection resistor; the positive and negative input terminals of the second analog-to-digital converter are connected in parallel across the detection resistor.

[0059] Through the second analog-to-digital converter ADC, the voltage across the detection resistor R2 can be collected and transmitted to the MCU controller for calculation. The specific calculation method is as follows:

[0060]

[0061] In the formula, Rcan is the calculated resistance value of the terminal resistor, U is the reference voltage of the first reference voltage source, that is, 5V, R2 is the resistance value of the detection resistor, and U R2 is the voltage value read by the MCU across R2.

[0062] It should be noted that the second analog-to-digital converter ADC is an isolated ADC, which can directly detect the voltage across R2 and output a digital signal to be transmitted to the MCU controller.

[0063] As an alternative embodiment, the resistance compensation circuit is a digital potentiometer; the input end of the digital potentiometer is connected to the controller, and the two output ends of the digital potentiometer are respectively connected to the first signal line and the second signal line of the communication bus.

[0064] The above resistance compensation circuit can be controlled by a digital signal or an analog signal converted from a digital signal, so that the circuit output can adjust the resistance, such as a potentiometer commonly. The above resistance compensation circuit in this embodiment can preferably adopt a digital potentiometer. Depending on the different digital potentiometers, the maximum tap current can range from a few hundred microamperes to several milliamperes. The digital potentiometer adjusts the resistance value in a numerically controlled manner, and has significant advantages such as flexible use, high adjustment accuracy, no contacts, low noise, not easily soiled, vibration resistance, interference resistance, small size, and long life.

[0065] It should be noted that this embodiment also provides an alternative implementation manner, which will be described in detail below.

[0066] The controller enables the battery pack quantity detection circuit to detect the number of battery packs connected, and enables the column number detection circuit to confirm the number of columns of the battery arrangement. Generally, it can be single-column arrangement or double-column arrangement. Since this implementation manner only provides two arrangement methods of single-column arrangement and double-column arrangement, therefore, when detecting the number of columns, it can only be determined whether it is single-column arrangement or double-column arrangement.

[0067] The controller assigns CAN addresses to each column of battery packs respectively, and compares with the total number of detected battery packs according to the number of each column and the number of columns to confirm whether they are consistent. If they are consistent, it means that all the connected battery packs can perform CAN communication. If they are inconsistent, it means that there is an abnormal connection of the battery packs, and an abnormality needs to be reported. After reconnecting, the detection is carried out again.

[0068] According to the number of columns and the total number of battery packs, the arrangement method of the battery packs can be determined, specifically how many rows and columns. Then, according to the base resistors on the column bases of each column, they are connected in parallel to form the terminal resistor of the CAN bus, and the resistance detection circuit is used to detect whether the terminal resistor is within the preset resistance range. When adjustment is required, the CAN bus terminal resistor is compensated and adjusted through the resistance compensation circuit, that is, the digital potentiometer.

[0069] The above battery pack quantity detection circuit is specifically as Figure 2As shown, a connection resistor R is added to each battery pack, and the controller MCU can provide a 3.3V reference voltage source, which is the aforementioned second reference voltage source. In this way, every time a battery pack is connected to the circuit, the current in the circuit loop increases by I0. Across the sampling resistor R1, the voltage V is measured through an operational amplifier and an analog-to-digital converter ADC. R1 , and the number of battery packs N = V R1 / R1 / I0; where, I0 = 3.3 / (R1 + R).

[0070] The above battery pack column number detection circuit is as Figure 3 shown. A 120Ω base resistor R' is added to the column base of each column of battery packs for column identification and communication bus terminal resistor matching. By detecting the voltage value across the detection resistor R2, it is identified whether it is a single column or a double column; then the MCU compensates through a digital potentiometer according to the resistance value of the current terminal resistor of the CAN bus to ensure that the CAN bus terminal resistor is 60Ω.

[0071] By adding a base resistor R' (the base resistor R' needs to satisfy: ≥ number of columns * 60Ω) to the base for column number detection, the resistance value Rcan of the current terminal resistor of the CAN bus is measured through a resistance detection circuit as:

[0072]

[0073] In the formula, U is the reference voltage of the first reference voltage source, R2 is the resistance value of the detection resistor, and U R2 is the voltage value read by the MCU across R2; the MCU calculates the number of columns m according to the detected resistance value, where m = Rcan / 60; and compensates the terminal resistor of the CAN bus. The resistance compensation circuit is a digital potentiometer to ensure that the CAN bus terminal resistor remains at 60Ω.

[0074] For ease of description, spatial relative terms such as "above...", "over...", "on the upper surface of...", "upper...", etc. can be used here to describe the spatial positional relationship between a device or feature shown in the figure and other devices or features. It should be understood that spatial relative terms are intended to include different orientations in use or operation in addition to the orientation described in the figure for the device. For example, if the device in the drawing is inverted, the device described as "above other devices or structures" or "over other devices or structures" will then be positioned "below other devices or structures" or "under other devices or structures". Thus, the exemplary term "above..." can include both the orientations of "above..." and "below...". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and corresponding interpretations are made for the spatial relative descriptions used here.

[0075] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. Without additional declaration, the above terms have no special meaning, so it should not be construed as a limitation on the scope of protection of this application.

[0076] The above are only the preferred embodiments of this application and are not intended to limit this application. For those skilled in the art, this application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of protection of this application.

Claims

1. An energy storage battery system, characterized in that: include: a controller, battery packs assembled in columns, a quantity detection circuit for detecting the number of battery packs, a column number detection circuit for detecting the number of columns of battery packs, and a resistance compensation circuit; The controller is connected to the quantity detection circuit, and the quantity detection circuit is connected to each of the battery packs; The column number detection circuit is connected to the controller via a communication bus, and the column number detection circuit is connected to the column base of each of the battery packs, wherein each column of the battery packs is arranged on the same column base; The controller is used to determine the arrangement of the battery packs according to the number and number of columns of the battery packs, and determine whether it is necessary to compensate the terminal circuit of the communication bus according to the arrangement; One end of the resistance compensation circuit is connected to the controller, and the other end is connected to the terminal of the communication bus, and is used to receive and respond to the compensation instruction of the controller to compensate the terminal resistance of the communication bus so that the terminal resistance is within a preset resistance range.

2. The energy storage battery system according to claim 1, characterized in that: The column number detection circuit includes a resistance circuit arranged at a terminal of the communication bus, and a resistance detection circuit for detecting the terminal resistance of the communication bus; The resistance circuit includes a base resistor arranged on each column base of two signal lines of the communication bus terminal in parallel, wherein each column of the battery packs is arranged on the same column base; The resistance detection circuit includes a first reference voltage source and a detection resistor, one end of the detection resistor is connected to the second signal line of the communication bus, the other end of the detection resistor is connected to the controller, and the first reference voltage source is connected to the first signal line of the communication bus.

3. The energy storage battery system according to claim 1, characterized in that: The quantity detection circuit includes a connection resistor, a sampling resistor, and an operational amplifier; There are multiple connection resistors, each battery pack is connected to a connection resistor, and the resistance values ​​of the multiple connection resistors are the same; The connection resistors of the multiple battery packs are connected in series and connected to one end of the sampling resistor, and the other end of the sampling resistor is connected to a second reference voltage source; The positive input terminal and the negative input terminal of the operational amplifier are respectively connected to the two ends of the sampling resistor, and the output terminal of the operational amplifier is connected to the controller.

4. The energy storage battery system according to claim 3, characterized in that: A first analog-to-digital converter is also provided between the operational amplifier and the controller; The output end of the operational amplifier is connected to the input end of the first analog-to-digital converter, and the output end of the first analog-to-digital converter is connected to the controller.

5. The energy storage battery system according to claim 2, characterized in that: The resistance value of the base resistor is not less than the number of columns of the battery pack multiplied by the target resistance value of the terminal resistor, wherein the target resistance value is within the preset resistance range.

6. The energy storage battery system according to claim 2, characterized in that: The first reference voltage source is connected to the drain of the first MOS transistor, and the source of the first MOS transistor is connected to the first signal line of the communication bus.

7. The energy storage battery system according to claim 6, characterized in that: A second MOS tube is also provided between the detection resistor and the second signal line of the communication bus; One end of the detection resistor is connected to the source of the second MOS tube, and the drain of the second MOS tube is connected to the second signal line.

8. The energy storage battery system according to claim 7, characterized in that: The communication bus is a controller area network (CAN) bus; The first signal line is a high level signal line, and the second signal line is a low level signal line.

9. The energy storage battery system according to claim 7, characterized in that: A second analog-to-digital converter is connected in parallel at both ends of the detection resistor; The positive and negative input terminals of the second analog-to-digital converter are connected in parallel to the two ends of the detection resistor.

10. The energy storage battery system according to any one of claims 1 to 9, characterized in that: The resistance compensation circuit is a digital potentiometer; The input end of the digital potentiometer is connected to the controller, and the two output ends of the digital potentiometer are respectively connected to the first signal line and the second signal line of the communication bus.