A battery pack access identification method and system
By collecting the resistance value of the detection resistance in the battery pack in the controller of the solar controller system, and judging the legality of the battery pack, the problem that the existing system cannot effectively identify the battery pack is solved, improving the system's safety and reducing costs.
Patent Information
- Application Number
- CN202011100420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-14
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2040-10-14
AI Technical Summary
In existing solar controller systems, it is impossible to effectively identify and judge whether the accessed battery pack is legal, especially for battery packs that do not have communication functions, which pose a risk of safety and reliability.
By setting a sampling circuit in the controller, the resistance value of the detection resistance in the battery pack is collected, and the legality of the battery pack is judged based on the resistance value. This method does not require the battery pack and controller to have communication functions, simplifying the identification process.
It realizes the identification and legality judgment of access battery packs, improves the safety and reliability of the system, and reduces manufacturing costs.
Smart Images

Figure CN112180269B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits and battery technology, and in particular to a battery pack access identification method and system. Background Art
[0002] In the solar controller system, there are currently two ways to connect battery packs: the first is that the controller does not identify the battery pack, and all battery packs can be connected; the second is that both the controller and the battery pack have communication functions, and the two perform handshake recognition.
[0003] Although the first battery access solution mentioned above can mix various battery packs to be assembled into the solar controller system, this solution cannot identify the connected battery packs. For safety and reliability reasons, before the battery pack is connected to the system, it is necessary for the controller to first determine the legitimacy of the battery pack, that is, to allow access to the solar controller system only after determining whether the battery pack meets the requirements of the system controller. Although the second battery access solution mentioned above can realize the legitimacy judgment of the connected battery, this solution requires the connected battery pack to have communication functions and is not suitable for all types of batteries. Summary of the invention
[0004] In view of the above technical problems, the present invention provides a battery pack access identification method and system, which can identify the connected battery pack. The technical solution is as follows:
[0005] An embodiment of the present invention provides a battery pack access identification method, including:
[0006] When the battery pack is connected to the controller, the controller collects the resistance value of the detection resistor through the sampling circuit, wherein the detection resistor is arranged in the battery pack;
[0007] The controller judges the battery pack according to the resistance value of the detection resistor; if the resistance value meets the preset threshold range, the battery pack is determined to be legal, otherwise, the battery pack is determined to be illegal.
[0008] As a preferred solution, the controller includes a power supply module, a control module, and a sampling voltage-dividing resistor;
[0009] One end of the sampling voltage-dividing resistor is connected to the detection resistor, and the other end of the sampling voltage-dividing resistor is connected to the power module to form the sampling circuit;
[0010] The control module is connected to the connection line node between the detection resistor and the sampling voltage-dividing resistor and performs sampling to obtain a sampled voltage;
[0011] The control module calculates the resistance value of the detection resistor according to the sampled voltage.
[0012] As a preferred solution, the control module calculates the resistance value of the detection resistor according to the sampled voltage, and the specific calculation method is:
[0013] The resistance value of the detection resistor is calculated according to the principle of the voltage divider circuit, and the formula is as follows:
[0014]
[0015] Among them, R det is the resistance value of the detection resistor, R1 is the resistance value of the sampling voltage divider resistor, V is the voltage value provided by the power module, V det is the voltage value of the sampling voltage.
[0016] As a preferred solution, the controller is further provided with a photovoltaic panel connection terminal, a load connection terminal, a battery pack power connection terminal, a charging switch and a discharging switch, a charging control module and a discharging control module;
[0017] The photovoltaic panel connection end is connected to the charging control module through the charging switch;
[0018] The load connection end is connected to the discharge control module through the discharge switch;
[0019] The charging control module and the discharging control module are both connected to the power connection terminal of the battery pack;
[0020] The charging switch and the discharging switch are respectively connected to the control module.
[0021] As a preferred solution, the control module is also used for:
[0022] Repeatedly detecting whether the resistance value of the detection resistor meets the threshold range according to a preset period to determine whether the battery pack is legal or illegal;
[0023] If the battery pack is determined to be legal, the control module sends a switch-on signal to the charging switch and the discharging switch;
[0024] If the battery pack is determined to be illegal, the control module sends a signal to turn off the switch to the charging switch and the discharging switch.
[0025] As a preferred solution, the power module includes a step-down chip, a power inductor, a filter capacitor and a feedback resistor;
[0026] The positive terminal of the buck chip is connected to the input power supply, the bootstrap output terminal of the buck chip is connected in series with the power inductor, and the bootstrap output terminal of the buck chip is connected in parallel with the feedback resistor and the filter capacitor.
[0027] As a preferred solution, the power module further includes an input filter capacitor; the positive terminal of the step-down chip is connected in parallel with the input filter capacitor.
[0028] As a preferred solution, the power supply module further includes a feedback voltage dividing resistor;
[0029] The step-down chip is also provided with a feedback input terminal; the feedback input terminal is connected in series with the feedback voltage-dividing resistor and then grounded.
[0030] As a preferred solution, the power module further includes an enabling resistor;
[0031] The buck chip is also provided with an enable terminal; the enable terminal of the buck chip is connected to the enable resistor and the input power supply.
[0032] In order to solve the same technical problem, an embodiment of the present invention provides a battery pack access identification system, which is applicable to the battery pack access identification method as described above.
[0033] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0034] The present invention provides a battery pack access identification method and system, which utilizes a controller to collect the resistance value of a detection resistor in a battery pack, and determines whether the battery pack is legal or illegal based on the resistance value, thereby realizing identification of the connected battery pack, and does not require the battery pack and the controller to have a communication function, thereby simplifying the method of identifying the connected battery pack. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a module schematic diagram of a battery pack access identification method in an embodiment of the present invention;
[0036] Figure 2 is a circuit diagram of a sampling circuit in a battery pack access identification method in an embodiment of the present invention;
[0037] Figure 3 is a flow chart of an internal program of a control module of a battery pack access identification method in an embodiment of the present invention;
[0038] Figure 4 is a circuit diagram of a charging switch of a battery pack access identification method in an embodiment of the present invention;
[0039] Figure 5 is a circuit diagram of a discharge switch of a battery pack access identification method in an embodiment of the present invention;
[0040] Figure 6 is a circuit diagram of a power module of a battery pack access identification method in an embodiment of the present invention;
[0041] Figure 7 It is a structural diagram of a battery pack access identification system in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] See also Figure 1 , this solution provides an exemplary embodiment, a battery pack access identification method, including:
[0044] S101, when a battery pack is connected to a controller, the controller collects a resistance value of a detection resistor through a sampling circuit, wherein the detection resistor is arranged in the battery pack;
[0045] S102, the controller judges the battery pack according to the resistance value of the detection resistor; if the resistance value meets the preset threshold range, the battery pack is determined to be legal, otherwise, the battery pack is determined to be illegal.
[0046] This embodiment provides a battery pack access identification method, which uses a controller to collect the resistance value of a detection resistor in a battery pack, and determines whether the battery pack is legal or illegal based on the resistance value, thereby identifying the connected battery pack. In addition, the battery pack and the controller are not required to have communication capabilities, which simplifies the method of identifying the connected battery pack.
[0047] In this embodiment, the controller includes a power module, a control module, and a sampling voltage-dividing resistor; the battery pack includes a detection resistor;
[0048] One end of the sampling voltage-dividing resistor is connected to the detection resistor, and the other end of the sampling voltage-dividing resistor is connected to the power module to form the sampling circuit;
[0049] The control module is connected to the connection line node between the detection resistor and the sampling voltage-dividing resistor and performs sampling to obtain a sampled voltage;
[0050] The control module calculates the resistance value of the detection resistor according to the sampled voltage.
[0051] In this embodiment, the magnitude of the detection resistor Rdet can be obtained according to the calculation result, and then the single-chip microcomputer compares Rdet with the threshold range "Rlow~Rhigh" preset in the program; if Rlow < Rdet < Rhigh, it is determined that the connected battery is legal.
[0052] It can be understood that the battery pack further includes battery cells; the battery cells are connected to the controller through a power line.
[0053] It can be understood that when the intelligent battery pack is connected to the controller, the built-in resistor of the battery pack, that is, the detection resistor, is connected to the intelligent battery pack access controller through a lead, and is connected to the intelligent battery pack access controller through the detection resistor connection end, and forms a sampling circuit with the sampling voltage-dividing resistor and the central processor.
[0054] Please refer to Figure 2 , the detection resistor of the battery pack is Rdet, the sampling voltage-dividing resistor is R1, and the central processor uses a single-chip microcomputer. A conventional single-chip microcomputer is equipped with an ADC circuit, and sampling can be initiated regularly through the ADC circuit; the timing period can be set independently according to requirements. According to the sampling circuit shown in the figure, the voltage that can be sampled by the ADC circuit of the single-chip microcomputer is Vdet, and the detection resistor can be calculated through the voltage-dividing circuit principle.
[0055] In this embodiment, the control module calculates the resistance value of the detection resistor according to the sampling voltage, and the specific calculation method is:
[0056] Calculate the resistance value of the detection resistor according to the voltage-dividing circuit principle, and the specific formula is as follows:
[0057]
[0058] Among them, R det is the resistance value of the detection resistor, R1 is the resistance value of the sampling voltage-dividing resistor, V is the voltage value provided by the power supply module, and V det is the voltage value of the sampling voltage.
[0059] By comparing with the existing solutions, it can be seen that this solution is safer and more reliable than the solution without the battery pack access recognition function; compared with the solution that requires communication negotiation between both parties, which needs to use communication-enabled chips at both ends of the battery pack and the controller, this solution only needs to add a single-chip microcomputer with an ADC sampling circuit configured at the controller end, and the manufacturing cost is lower.
[0060] This solution also provides a preferred embodiment. The controller is further provided with a photovoltaic panel connection end, a load connection end, a battery pack power connection end, as well as a charging switch and a discharging switch, a charging control module and a discharging control module;
[0061] The photovoltaic panel connection end is connected to the charging control module through the charging switch;
[0062] The load connection end is connected to the discharge control module through the discharge switch;
[0063] The charging control module and the discharging control module are both connected to the power connection terminal of the battery pack;
[0064] The charging switch and the discharging switch are respectively connected to the control module.
[0065] In this embodiment, the charging switch and the discharging switch can be implemented by a high-power MOS tube or a relay.
[0066] In this embodiment, the charge and discharge module is a universal module of the controller, and the specific implementation principle and circuit are not limited.
[0067] The charging control module is located between the photovoltaic panel input and the battery. It is generally implemented with a charging control chip to achieve charging function control and protection. The charging control methods include PWM and MPPT, etc., mainly to improve charging efficiency. Charging protection includes undervoltage, overvoltage, overcurrent, short circuit, etc.
[0068] The discharge control module is located between the battery and the load, and is used to realize discharge function control and protection. The discharge control may have methods such as step-up and step-down and direct output, mainly to meet the power demand of the load. The protection functions include overcurrent, short circuit, etc.
[0069] See also Figure 3 In this embodiment, the control module of the controller is also used for:
[0070] Repeatedly detecting whether the resistance value of the detection resistor meets the threshold range according to a preset period to determine whether the battery pack is legal or illegal;
[0071] If the battery pack is determined to be legal, the control module sends a switch-on signal to the charging switch and the discharging switch;
[0072] If the battery pack is determined to be illegal, the control module sends a signal to turn off the switch to the charging switch and the discharging switch.
[0073] In this embodiment, the charging switch and the discharging switch are closed by the GPIO control of the single-chip computer, so that the battery charging and discharging circuit is connected, so that the battery can be charged and discharged normally; on the contrary, the charging switch and the discharging switch are disconnected, and the battery charging and discharging circuit is shut down, thereby refusing the illegal battery pack to access.
[0074] See also Figure 4In this embodiment, in the specific circuit of the charging switch, a first diode, a first capacitor, a first transistor, a first resistor, a second resistor, and a relay for connecting or disconnecting the line between the photovoltaic panel connection terminal and the charging control module are included;
[0075] The cathode of the first diode is connected to the input power supply, and the anode of the first diode is connected to the collector of the first transistor;
[0076] The first diode, the first capacitor and the control end of the relay are connected in parallel;
[0077] The base of the first transistor is connected to the first resistor and then connected to the control module;
[0078] The emitter of the first transistor is connected to the second resistor and then grounded.
[0079] See also Figure 5 In this embodiment, in the specific circuit of the discharge switch, a second diode, a second capacitor, a second transistor, a third resistor and a fourth resistor are included, and a relay for connecting or disconnecting the line between the load connection terminal and the discharge control module;
[0080] The cathode of the second diode is connected to the input power supply, and the anode of the second diode is connected to the collector of the second transistor;
[0081] The second diode, the second capacitor and the control end of the relay are connected in parallel;
[0082] The base of the second transistor is connected to the third resistor and then connected to the control module;
[0083] The emitter of the second transistor is connected to the fourth resistor and then grounded.
[0084] like Figure 4 , 5 As shown, the above-mentioned input power supply is Vbat, wherein Vbat represents the battery voltage.
[0085] This embodiment utilizes a program preset in the control module and controls the charging switch and the discharging switch through the simple circuit structure of this embodiment, which is beneficial to reducing the manufacturing cost of the battery pack access identification system.
[0086] See also Figure 4 , 5 The single-chip microcomputer (i.e., the control module) sends two control signals, Charge Control and Discharge Control, to the charging switch and the discharging switch respectively through the single-chip microcomputer GPIO pin to control the charging switch and the discharging switch.
[0087] This solution also provides a preferred embodiment, the power module includes a step-down chip, a power inductor, a filter capacitor and a feedback resistor;
[0088] The positive terminal of the buck chip is connected to the input power supply, the bootstrap output terminal of the buck chip is connected in series with the power inductor, and the bootstrap output terminal of the buck chip is connected in parallel with the feedback resistor and the filter capacitor.
[0089] This embodiment also provides a preferred implementation manner, wherein the power module further includes an input filter capacitor; and the positive terminal of the buck chip is connected in parallel with the input filter capacitor.
[0090] This embodiment also provides a preferred implementation mode, wherein the power supply module further includes a feedback voltage dividing resistor;
[0091] The step-down chip is also provided with a feedback input terminal; the feedback input terminal is connected in series with the feedback voltage-dividing resistor and then grounded.
[0092] This embodiment also provides a preferred implementation mode, wherein the power module further includes an enabling resistor;
[0093] The buck chip is also provided with an enable terminal; the enable terminal of the buck chip is connected to the enable resistor and the input power supply.
[0094] See also Figure 6 The positive terminal VIN of the buck chip is connected in parallel with the first input filter capacitor C3256 and the second input filter capacitor C3257. One end of the first input filter capacitor C3256 and the second input filter capacitor C3257 is connected to the input power supply, and the other end is grounded.
[0095] The enable terminal EN of the buck chip is connected to the first enable sub-resistor R2659 and the input power supply, and is connected to one end of the second enable sub-resistor R2660, and the other end of the second enable sub-resistor R2660 is grounded.
[0096] The ground terminal GND of the buck chip is grounded.
[0097] The first bootstrap output terminal BOOT and the second bootstrap output terminal SW of the buck chip are connected in series with the power inductor L1, and are connected in parallel with the first feedback resistor R2658, the second feedback resistor R2656, the first filter capacitor C3251, and the second filter capacitor C3252; a third capacitor C3258 is also passed between the first bootstrap output terminal BOOT and the power inductor L1.
[0098] The feedback input terminal FB of the buck chip is connected to the first feedback voltage-dividing resistor R2657 and then grounded, and the feedback input terminal FB is also connected in parallel with the second feedback voltage-dividing resistor R2656 and the first feedback capacitor C3255; the second feedback voltage-dividing resistor R2656 and one end of the first feedback capacitor C3255 are connected to the feedback input terminal FB, and the other ends of the second feedback voltage-dividing resistor R2656 and the first feedback capacitor C3255 are connected to the first feedback resistor R2658.
[0099] In this embodiment, the power supply module completes the voltage conversion of Vbat-3.3V and is used as the power supply for the single-chip microcomputer system.
[0100] The circuit of the power module of this embodiment is a buck-stabilizing circuit, which can provide a stable current and voltage for the control module. At the same time, the buck-stabilizing circuit has a simple structure and is easy to build.
[0101] See also Figure 7 , this solution provides an exemplary embodiment, a battery pack access identification system, which is applicable to the above-mentioned battery pack access identification method.
[0102] In this embodiment, the battery pack access identification system includes the controller and battery pack as described above;
[0103] The battery pack has built-in battery cells and detection resistors;
[0104] The positive electrode of the battery cell is connected to the power module through the battery pack power connection terminal of the controller;
[0105] One end of the detection resistor is connected to the control module and the sampling voltage-dividing resistor through the detection resistor connection end of the controller;
[0106] The other end of the detection resistor and the negative electrode of the battery cell are connected to the ground wire through the battery pack power connection terminal of the controller.
[0107] By comparing with the existing solutions, it can be seen that the existing two-way communication negotiation solution needs to add two connecting lines between the controller and the battery pack, namely the data receiving line and the data sending line; in contrast, this solution only needs to add one detection resistor connecting line, and the connecting line is simpler.
[0108] In this embodiment, the battery pack access identification system also includes a photovoltaic panel and a load;
[0109] The photovoltaic panel is installed at the photovoltaic panel connection end of the controller;
[0110] The load is installed at the load connection end of the controller.
[0111] The present invention provides a battery pack access identification system, comprising a controller and a battery pack; the controller comprises a power module, a control module, and a sampling voltage-dividing resistor; the battery pack comprises a detection resistor; the detection resistor in the battery pack is connected to the controller through a lead, and one end of the sampling voltage-dividing resistor is connected to the detection resistor, and the other end of the sampling voltage-dividing resistor is connected to the power module; the control module is connected to the connection line node between the detection resistor and the sampling voltage-dividing resistor and performs sampling to obtain a sampling voltage and calculate the resistance value of the detection resistor according to the sampling voltage, thereby realizing identification of the resistance in the battery pack; the control module determines whether the battery pack is legal or illegal according to whether the resistance value meets a preset threshold range, thereby realizing identification of the connected battery pack and further deciding whether to allow the battery pack to be connected to a solar controller system.
[0112] This solution only needs to add a connection line between the controller and the battery pack to connect the detection resistor and the controller, and can determine whether the battery pack is legal by identifying the resistance value of the detection resistor. Compared with the existing solution, the implementation method is simpler. Moreover, the controller and the battery pack of this solution do not need to be equipped with a chip with communication function, which greatly reduces the manufacturing cost.
[0113] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A battery pack access identification method, characterized in that: include: When the battery pack is connected to the controller, the controller collects the resistance value of the detection resistor through the sampling circuit, wherein the detection resistor is arranged in the battery pack; The controller judges the battery pack according to the resistance value of the detection resistor; if the resistance value meets the preset threshold range, the battery pack is judged to be legal, otherwise, the battery pack is judged to be illegal; The controller includes a power module, a control module, and a sampling voltage-dividing resistor; One end of the sampling voltage-dividing resistor is connected to the detection resistor, and the other end of the sampling voltage-dividing resistor is connected to the power module to form the sampling circuit; The control module is connected to the connection line node between the detection resistor and the sampling voltage-dividing resistor and performs sampling to obtain a sampled voltage; The control module calculates the resistance value of the detection resistor according to the sampled voltage; The control module calculates the resistance of the detection resistor according to the sampled voltage. The specific calculation method is: The resistance value of the detection resistor is calculated according to the principle of the voltage divider circuit, and the formula is as follows: in, is the resistance value of the detection resistor, R1 is the resistance value of the sampling voltage divider resistor, V is the voltage value provided by the power module, is the voltage value of the sampling voltage.
2. The battery pack access identification method according to claim 1, characterized in that: The controller is also provided with a photovoltaic panel connection terminal, a load connection terminal, a battery pack power connection terminal, a charging switch and a discharging switch, a charging control module and a discharging control module; The photovoltaic panel connection end is connected to the charging control module through the charging switch; The load connection end is connected to the discharge control module through the discharge switch; The charging control module and the discharging control module are both connected to the power connection terminal of the battery pack; The charging switch and the discharging switch are respectively connected to the control module.
3. The battery pack access identification method according to claim 2, characterized in that: The control module is also used for: Repeatedly detecting whether the resistance value of the detection resistor meets the threshold range according to a preset period to determine whether the battery pack is legal or illegal; If the battery pack is determined to be legal, the control module sends a switch-on signal to the charging switch and the discharging switch; If the battery pack is determined to be illegal, the control module sends a signal to turn off the switch to the charging switch and the discharging switch.
4. The battery pack access identification method according to claim 1, characterized in that: The power module includes a step-down chip, a power inductor, a filter capacitor and a feedback resistor; The positive terminal of the buck chip is connected to the input power supply, the bootstrap output terminal of the buck chip is connected in series with the power inductor, and the bootstrap output terminal of the buck chip is connected in parallel with the feedback resistor and the filter capacitor.
5. The battery pack access identification method according to claim 4, characterized in that: The power module further includes an input filter capacitor; the positive terminal of the buck chip is connected in parallel with the input filter capacitor.
6. The battery pack access identification method according to claim 4, characterized in that: The power supply module also includes a feedback voltage dividing resistor; The step-down chip is also provided with a feedback input terminal; the feedback input terminal is connected in series with the feedback voltage-dividing resistor and then grounded.
7. The battery pack access identification method according to claim 4, characterized in that: The power module further includes an enabling voltage-dividing resistor; The buck chip is also provided with an enable terminal; the enable terminal of the buck chip is connected to the enable resistor and the input power supply.
8. A battery pack access identification system, characterized in that: Applicable to the battery pack access identification method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Electric automobile battery insulation detecting system
CN103278776A
Battery pack large-current discharge detection circuit
CN108562857A