Circuit on-off control device, electrical parameter test system and test method

Through the relay module and decoding module in the circuit on-off control device, the problem of excessive output pin resource occupation of the main control module due to the large number of battery-powered interfaces is solved, and efficient control of multiple relays is achieved, circuit wiring is simplified and space is saved.

CN120428604APending Publication Date: 2025-08-05CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410161343.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-04
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

In the prior art, the large number of battery powered interfaces leads to excessive use of the main control module output pin resources, which is prone to insufficient use, affecting the efficiency of short-circuit test.

Method used

The circuit on-off control device is adopted, including a relay module, a main control module, a decoding module and a driving module. Through the decoding module, multiple inputs are converted into more outputs, and the relay operation is driven to control multiple relays, reducing the occupation of the output pins of the main control module.

Benefits of technology

Effectively using a small number of main control module output pins to achieve control of multiple relays, reducing the probability that the main control module output pins are insufficient, simplifying the circuit wiring structure and saving space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120428604A_ABST
    Figure CN120428604A_ABST
Patent Text Reader

Abstract

The invention discloses a circuit on-off control device, an electrical parameter test system and a test method. The circuit on-off control device comprises at least one relay module, and a main control module, a decoding module and a driving module which are connected in sequence; the relay module comprises a first wiring terminal, a second wiring terminal, two connecting wires connected with the first wiring terminal, two connecting wires connected with the second wiring terminal, and relays arranged on the connecting wires respectively; and control terminals of the relays are respectively connected with different output ends of the driving module. According to the circuit on-off control device provided by the embodiment of the invention, a plurality of relays can be controlled by using a small number of output pins of the main control module, so that the occupation of output pin resources of the main control module is reduced, and the probability that the output pins of the main control module are not enough is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and in particular to a circuit on-off control device, an electrical parameter testing system, and an electrical parameter testing method. Background Art

[0002] Currently, batteries, especially power batteries, are increasingly being used in various technological fields. "Battery" is a general term that can refer to a battery pack, which is an integrated unit assembled from multiple battery modules or multiple battery cells and used to store and provide electrical energy. Batteries typically have multiple external power supply interfaces. If a short circuit occurs between two external power supply interfaces, it can easily cause battery damage or even cause a fire. Therefore, it is necessary to detect whether there is a short circuit between any two external power supply interfaces of the battery.

[0003] In related technologies, when testing whether a short circuit occurs between the power supply interfaces of a battery under test, the output pins of the main control module are directly connected to a power supply interface via a wiring line equipped with a switch. The number of power supply interfaces that the main control module can connect to is limited by the number of its output pins. Due to the large number of power supply interfaces in current batteries, a large number of main control module output pins are required to connect to the power supply interfaces during short-circuit testing. This results in excessive use of the main control module's output pin resources and easily leads to insufficient output pins.

[0004] The above statements are only used to provide background information related to the present application and do not necessarily constitute prior art. Summary of the Invention

[0005] In view of the fact that the above-mentioned related technologies require a large number of output pins of the main control module for connecting the power supply interface when performing short-circuit testing, which leads to excessive occupation of the output pin resources of the main control module and the problem that the output pins of the main control module are insufficient, the present application provides a circuit on-off control device, an electrical parameter testing system and an electrical parameter testing method to reduce the occupation of the output pin resources of the main control module and reduce the probability of insufficient output pins of the main control module.

[0006] In a first aspect of an embodiment of the present application, a circuit on / off control device is provided, comprising at least one relay module, and a main control module, a decoding module, and a driving module connected in sequence;

[0007] The relay module includes a first wiring terminal, a second wiring terminal, two wirings connected to the first wiring terminal, two wirings connected to the second wiring terminal, and a relay provided on each wiring;

[0008] The control terminals of the relays are respectively connected to different output terminals of the driving module.

[0009] The circuit on-off control device provided in the embodiment of the present application can convert the multi-channel inputs of the main control module into more channels of output through a decoding module, and then drive the corresponding relays to operate according to the more channels of output through a driving module to turn on or off the wiring where the relays are located, so as to facilitate testing of the electrical parameters between two points in the circuit. In this way, a small number of main control module output pins can be used to control multiple relays, reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0010] In some embodiments of the present application, the two wirings connected to the first wiring terminal include a first positive wiring and a first negative wiring, and the two wirings connected to the second wiring terminal include a second positive wiring and a second negative wiring; the circuit on-off control device also includes a positive bus and a negative bus, the first positive wiring and the second positive wiring are both connected to the positive bus, and the first negative wiring and the second negative wiring are both connected to the negative bus.

[0011] By using the positive busbar and the negative busbar to realize the mutual connection with each wiring, the circuit wiring structure can be simplified, the wiring is facilitated, and the space occupied by the circuit line is saved.

[0012] In some embodiments of the present application, the decoding module includes a first decoding unit and a second decoding unit respectively connected to the main control module, and the driving module includes a first driving unit and a second driving unit, wherein the first driving unit is connected to the first decoding unit, and the second driving unit is connected to the second decoding unit. The relay on any positive connection is connected to the output end of the first driving unit, and the relay on any negative connection is connected to the output end of the second driving unit. In this way, a more organized circuit layout can be achieved. The main control module can realize the opening and closing control of the relays on each positive connection through the first decoding unit and the first driving unit, and realize the opening and closing control of the relays on each negative connection through the second decoding unit and the second driving unit.

[0013] In some embodiments of the present application, the number of output pins of the main control module connected to any decoding unit is a first number, and the number of connections between any driving unit and the decoding unit to which it is connected is a second number, where the second number is equal to 2 raised to the power of the first number. In this way, a small number of output pins of the main control module can be used to control multiple relays, conserving output pin resources of the main control module.

[0014] In some embodiments of the present application, the first decoding unit includes the same first decoding chip and the second decoding chip, the second decoding unit includes the same third decoding chip and the fourth decoding chip, the same input pin of the first decoding chip and the second decoding chip is connected to the same output pin of the main control module, and the same input pin of the third decoding chip and the fourth decoding chip is connected to the same output pin of the main control module. In this way, the output pins of the main control module can be effectively utilized, saving the output pin resources of the main control module.

[0015] In some embodiments of the present application, the first drive unit includes a first drive chip and a second drive chip, the second drive unit includes a third drive chip and a fourth drive chip, the first drive chip is connected to the first decoding chip, the second drive chip is connected to the second decoding chip, the third drive chip is connected to the third decoding chip, and the fourth drive chip is connected to the fourth decoding chip; the first relay is connected to a first drive output terminal, and the second relay is connected to a second drive output terminal; the first relay is a relay connected to either the first positive wiring or the second positive wiring, the first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip, the second relay is a relay connected to either the first negative wiring or the second negative wiring, and the second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip. In this way, the driver chip drives the corresponding relay action according to the signal output by the decoding module, thereby achieving effective utilization of the output pins of the main control module and saving the output pin resources of the main control module.

[0016] In some embodiments of the present application, a light-emitting diode (LED) is connected in parallel to the coil of each relay. When the relay is conducting, the LED connected in parallel with the relay's coil illuminates; when the relay is not conducting, the LED connected in parallel with the relay's coil is not illuminated. This allows personnel to determine whether the relay is conducting based on the on / off status of the LED, allowing them to promptly understand the operating status of the circuit on / off control device while it is operating.

[0017] A second aspect of an embodiment of the present application provides an electrical parameter testing system, comprising an electrical parameter detection device and the circuit on / off control device described in any embodiment of the present application, wherein the electrical parameter detection device is connected to the main control module; each of the relay modules is configured to connect to a power supply interface pair of a battery to be tested;

[0018] Of the two wires connected to the same wiring terminal, one is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device;

[0019] The first terminal in the first relay module is connected to the positive interface of the first power supply interface pair, and the second terminal in the first relay module is connected to the negative interface of the first power supply interface pair; the first relay module is any relay module among the at least one relay module; the first power supply interface pair is a power supply interface pair connected to the first relay module.

[0020] The electrical parameter testing system of the embodiment of the present application can be used to test the electrical parameters between the two external power supply interfaces of the battery, thereby being used to evaluate the quality of the battery based on the electrical parameters. The electrical parameter testing system includes the circuit on-off control device of any embodiment of the first aspect, and can utilize a small number of main control module output pins to realize the control of multiple relays, thereby reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0021] In some embodiments of the present application, the two wirings connected to the first wiring terminal include a first positive wiring and a first negative wiring, and the two wirings connected to the second wiring terminal include a second positive wiring and a second negative wiring; the circuit on-off control device also includes a positive bus and a negative bus, the first positive wiring and the second positive wiring are both connected to the positive bus, and the first negative wiring and the second negative wiring are both connected to the negative bus; the positive terminal of the electrical parameter detection device is connected to the positive bus, and the negative terminal of the electrical parameter detection device is connected to the negative bus.

[0022] The connection between the electrical parameter detection device and each relay module is achieved through the positive bus bar and the negative bus bar, which can simplify the circuit wiring structure, facilitate wiring, and save the space occupied by the circuit line.

[0023] In some embodiments of the present application, a switch is provided on at least one of the wiring connecting the electrical parameter detection device to the positive busbar and the wiring connecting the electrical parameter detection device to the negative busbar, and the switch is connected to the main control module. Controlling the closing or opening of the switch can control the connection or disconnection between the electrical parameter detection device and the relay module, providing more operational means for controlling the connection or disconnection between the electrical parameter detection device and the relay module during electrical parameter testing.

[0024] A third aspect of the embodiments of the present application provides an electrical parameter testing method, which is applied to the electrical parameter testing system described in any embodiment of the present application; the electrical parameter testing method includes:

[0025] The main control module outputs a first electrical signal, the decoding module converts the first electrical signal into a second electrical signal, and the driving module drives two target relays to conduct according to the second electrical signal; the two target relays are respectively connected to different wiring terminals, and the wiring terminal connected to each target relay is connected to a power supply interface to be tested; one of the two target relays is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device;

[0026] The main control module receives the electrical parameters between the two power supply interfaces to be tested measured by the electrical parameter detection device.

[0027] The electrical parameter testing method of the embodiment of the present application can be used to test the electrical parameters between the two external power supply interfaces of the battery, thereby being used to evaluate the quality of the battery based on the electrical parameters. The electrical parameter testing method is applied to the electrical parameter testing system of any embodiment of the second aspect, and can utilize a small number of main control module output pins to realize the control of multiple relays, thereby reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0028] The above description is only an overview of the technical solutions of the embodiments of the present application. In order to more clearly understand the technical means of the embodiments of the present application, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the embodiments below. The accompanying drawings are only for the purpose of illustrating the embodiments of the present application and are not to be considered as limiting the present application. The same reference numerals are used throughout the drawings to represent the same components.

[0030] Figure 1 Schematic diagram of the structure of a circuit on-off control device according to one or more embodiments.

[0031] Figure 2 Schematic diagram of the structure of a circuit on-off control device according to one or more embodiments.

[0032] Figure 3 Schematic diagram of the circuit connection structure of a main control module, a decoding module and a driving module according to one or more embodiments.

[0033] Figure 4 Schematic diagram of the circuit connection structure of a main control module, a decoding module and a driving module according to one or more embodiments.

[0034] Figure 5 FIG. 4 is a schematic structural diagram of an electrical parameter testing system according to one or more embodiments.

[0035] Figure 6 is a flow chart of an electrical parameter testing method according to one or more embodiments. DETAILED DESCRIPTION

[0036] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0038] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0039] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0040] With the development of new energy technologies, power batteries have been widely used in a variety of fields, including new energy vehicles, consumer electronics, and energy storage systems. Power batteries offer advantages such as high power, high energy density, and environmental friendliness, and are suitable for, but not limited to, electrical devices such as vehicles, ships, and aircraft. For example, electric vehicles powered by power batteries offer significant environmental benefits, low noise levels, low costs, and the ability to effectively promote energy conservation and emission reduction, resulting in significant market potential.

[0041] "Battery" is a general term that can refer to a battery pack. A battery pack generally consists of multiple battery modules, which in turn contain multiple cells. A battery pack has multiple power supply interface pairs, each consisting of a positive and a negative terminal. A short circuit between two external power supply interfaces can easily damage the battery or even cause a fire. Therefore, it is necessary to detect whether a short circuit exists between any two external power supply interfaces of a battery.

[0042] In the related art, in a short-circuit test device used to test whether a short circuit occurs between the power supply interfaces of a battery under test, an output pin of a main control module is directly connected to a power supply interface via a wiring line provided with a switch. The number of power supply interfaces that the main control module can connect to is limited by the number of its output pins. Due to the large number of power supply interfaces currently available in batteries, a large number of main control module output pins are required to connect to the external power supply interface when testing whether a short circuit occurs between the power supply interfaces of the battery under test. This results in excessive use of the main control module's output pin resources and a risk of insufficient output pins.

[0043] In response to the problems existing in the related art, an embodiment of the present application provides a circuit on-off control device, including at least one relay module, and a main control module, a decoding module and a driving module connected in sequence. The relay module includes a first wiring terminal, a second wiring terminal, two wirings connected to the first wiring terminal, two wirings connected to the second wiring terminal, and a relay arranged on each wiring. The control terminals of each relay are respectively connected to different output ends of the driving module. In this way, the multi-channel input of the main control module can be converted into more-channel outputs through the decoding module, and then the corresponding relays are driven to operate according to the more-channel outputs to turn on or off the wiring where the relays are located, so as to facilitate testing of the electrical parameters between two points in the circuit. In this way, a small number of main control module output pins can be used to control multiple relays, reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0044] The circuit on-off control device of the embodiment of the present application can be applied to an electrical parameter testing system for testing the electrical parameters between the two external power supply interfaces of a battery. The electrical parameter testing system includes an electrical parameter detection device and the circuit on-off control device. The electrical parameter detection device is connected to the main control module, and each relay module is used to connect a power supply interface pair of the battery to be tested; of the two wirings connected to the same wiring terminal, one is connected to the positive end of the electrical parameter detection device, and the other is connected to the negative end of the electrical parameter detection device, the first wiring terminal in the first relay module is connected to the positive interface of the first power supply interface pair, and the second wiring terminal in the first relay module is connected to the negative interface of the first power supply interface pair, and the first relay module is any relay module of at least one relay module; the first power supply interface pair is a power supply interface pair connected to the first relay module.

[0045] When testing whether there is a short circuit between the external power supply interfaces of the battery, the main control module outputs a first electrical signal, the decoding module converts the first electrical signal into a second electrical signal, the driving module drives the two target relays to conduct according to the second electrical signal, and the main control module determines whether a short circuit occurs between the two power supply interfaces to be tested based on the electrical parameters between the two target relays measured by the electrical parameter detection device, wherein the two target relays are respectively connected to different wiring terminals, and the wiring terminal connected to each target relay is connected to a power supply interface to be tested; one of the two target relays is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device. In this way, it is possible to test whether a short circuit occurs between the two power supply interfaces to be tested.

[0046] The following describes a circuit on-off control device and an electrical parameter testing system proposed according to an embodiment of the present application in conjunction with the accompanying drawings.

[0047] refer to Figure 1 As shown, an embodiment of the present application provides a circuit on-off control device, comprising at least one relay module 10, and a main control module 20, a decoding module 30 and a driving module 40 connected in sequence.

[0048] The relay module 10 includes a first terminal 11, a second terminal 12, two wires connected to the first terminal 11, two wires connected to the second terminal 12, and a relay K mounted on each wire. The control terminals of each relay K are connected to different output terminals of the driver module. The two wires connected to the first terminal 11 include a first positive wire 13 and a first negative wire 14, and the two wires connected to the second terminal 12 include a second positive wire 15 and a second negative wire 16.

[0049] The control signal from the main control module 20 is input to the decoding module 30. The decoding module 30 converts the control signal and outputs the converted signal. The converted signal is then sent to the driver module 40. The driver module 40 drives the corresponding relay according to the converted signal, thereby controlling the conduction or disconnection of the connection where relay K is located, thereby facilitating the testing of electrical parameters between two points in the circuit. For example, if the control signal is a command signal instructing the closure of two relays (e.g., relay KA1 and relay KB2), the signal converted and output by the decoding module 30 is sent to the driver module 40. The driver module 40 then drives the corresponding relays KA1 and KB2 to close according to the signal from the decoding module 30. The main control module 20 may include a microcontroller or microprocessor, such as a single-chip microcomputer or an ARM processor.

[0050] Exemplarily, the decoding module 30 may include one or more decoders. A decoder is a combinational logic circuit with multiple inputs and multiple outputs. Its logical function is to convert each input binary code into a corresponding output signal (e.g., a logic level). A binary decoder transforms an input n-bit binary code into 2n different states. Decoders include 2-line to 4-line decoders, 3-line to 8-line decoders, and 4-line to 16-line decoders.

[0051] The decoding module 30 can implement variable decoding, converting a relatively small number of inputs into a larger number of outputs, thus achieving multiplexing. Consequently, fewer lines connect the decoding module 30 to the main control module 20, and fewer output pins of the main control module 20 are required to connect to the decoding module 30. This reduces the use of output pin resources on the main control module 20 and significantly reduces the probability of insufficient output pins on the main control module 20.

[0052] Exemplarily, the relay module 10 includes a first positive wiring 13, a second positive wiring 15, a first negative wiring 14, a second negative wiring 16, a first terminal 11, and a second terminal 12. A relay K is provided on each of the first positive wiring 13, the second positive wiring 15, the first negative wiring 14, and the second negative wiring 16. The first positive wiring 13 and the first negative wiring 14 are both connected to the first terminal 11, and the second positive wiring 15 and the second negative wiring 16 are both connected to the second terminal 12. The first terminal 11 is used to connect to the positive terminal of the power supply interface, and the second terminal 12 is used to connect to the negative terminal of the power supply interface. In this way, the connection between the two positive wirings and the two negative wirings of the relay module and the power supply interface can be more conveniently achieved, and by selectively controlling the opening and closing of the relay K on each wiring in the relay module 10, electrical parameter test circuits with different connection methods can be formed.

[0053] In some embodiments, the two wires connected to the first terminal include a first positive wire and a first negative wire, and the two wires connected to the second terminal include a second positive wire and a second negative wire. Figure 2 As shown, the circuit on / off control device further includes a positive busbar P and a negative busbar N. The first positive wiring and the second positive wiring are both connected to the positive busbar P, and the first negative wiring and the second negative wiring are both connected to the negative busbar N. The interconnection with each wiring is achieved through the positive busbar P and the negative busbar N, which can simplify the circuit wiring structure, facilitate wiring, and save space occupied by circuit wiring.

[0054] refer to Figure 2 As shown, the circuit on-off control device in this example includes n relay modules, which are marked as Re-1, Re-2, Re-3, ... and Re-n, where n is a positive integer. The relay module Re-1 includes a first positive electrode connection L P11 , Second positive electrode connection L P12 , first negative electrode connection L N11 , Second negative terminal L N12 , the first connection terminal P1 and the second connection terminal N1, the first positive connection L P11 The first end and the first negative electrode connection L N11 The first end is connected to the first terminal P1, the second positive terminal L P12 The first end and the second negative terminal L N12 The first end of each is connected to the second terminal N1, the first positive terminal L P11 The second end and the second positive electrode are connected to L P12 The second end of each is connected to the positive bus P, the first negative connection L N11 The second end and the second negative electrode are connected to L N12 The second ends of the two terminals are connected to the negative bus bar N.

[0055] The relay module Re-2 includes a first positive terminal L P21 , Second positive electrode connection L P22 , first negative electrode connection L N21 , Second negative terminal L N22 , the first terminal P2 and the second terminal N2, the first positive terminal L P21 The first end and the first negative electrode connection L N21 The first end is connected to the first terminal P2, the second positive terminal L P22 The first end and the second negative terminal L N22 The first end of each is connected to the second terminal N2, and the first positive terminal L P21 The second end and the second positive electrode are connected to L P22 The second end of each is connected to the positive bus P, the first negative connection L N21The second end and the second negative electrode are connected to L N22 The second end of each is connected to the negative bus bar N. ... The relay module Re-n includes a first positive connection L Pn(2n-1) , Second positive electrode connection L Pn(2n) , first negative electrode connection L Nn(2n-1) , Second negative terminal L Nn(2n) , first terminal P n and the second terminal N n , the first positive electrode connection L Pn(2n-1) The first end and the first negative electrode connection L Nn(2n-1) The first ends of the two terminals are connected to the first terminal P n , the second positive connection L Pn(2n) The first end and the second negative terminal L Nn(2n) The first end of each is connected to the second terminal N n . The first positive electrode connection L Pn(2n-1) The second end and the second positive electrode are connected to L Pn(2n) The second end of each is connected to the positive bus P, the first negative connection L Nn(2n-1) The second end and the second negative electrode are connected to L Nn(2n) The second ends of the two terminals are connected to the negative bus bar N.

[0056] The first terminal P1 in the relay module Re-1 is used to connect to the positive electrode interface of the first power supply interface pair of the battery pack, and the second terminal N1 in the relay module Re-1 is used to connect to the negative electrode interface of the first power supply interface pair; the first terminal P2 in the relay module Re-2 is used to connect to the positive electrode interface of the second power supply interface pair of the battery pack, and the second terminal N1 in the relay module Re-2 is used to connect to the negative electrode interface of the second power supply interface pair; ... The first terminal P n Used to connect the positive terminal of the nth power supply interface pair of the battery pack, the second terminal N in the relay module Re-n n Used to connect to the negative terminal of the nth power supply interface pair of the battery pack.

[0057] Each connection in each relay module is provided with a relay. Specifically, in the relay module Re-1, the first positive connection L P11 There is a relay K A1 , the second positive connection L P12 There is a relay K A2 , the first negative connection L N11 There is a relay K B1 , the second negative connection L N12 There is a relay K B2 In the relay module Re-2, the first positive terminal is connected to L P21 There is a relay KA3 , the second positive connection L P22 There is a relay K B3 , the first negative connection L N21 There is a relay K B3 , the second negative connection L N22 There is a relay K B4 In the relay module Re-n, the first positive electrode is connected to L Pn(2n-1) There is a relay K A(2n-1) , the second positive connection L Pn(2n) There is a relay K A(2n) , the first negative connection L Nn(2n-1) There is a relay K B(2n) , the second negative connection L Nn(2n) There is a relay K B(2n-1) . Relay K A1 、Relay K A2 、Relay K B1 、Relay K B2 . Relay K A3 、Relay K B3 、Relay K B3 、Relay K B4 , ..., relay K A(2n-1) 、Relay K A(2n) 、Relay K B(2n) and relay K B(2n-1) Both are connected to the drive module.

[0058] The relay structure includes a coil. In one example, a light-emitting diode (LED) is connected in parallel to each relay's coil. When the relay is conducting, the LED connected in parallel with the relay's coil illuminates; when the relay is not conducting, the LED connected in parallel with the relay's coil is off. This allows personnel to determine whether the relay is conducting based on the LED's on / off status, allowing them to promptly monitor the operating status of the circuit on / off control device while it is operating.

[0059] In some embodiments, the decoding module 30 includes a first decoding unit and a second decoding unit respectively connected to the main control module 20, and the driving module 40 includes a first driving unit and a second driving unit, the first driving unit is connected to the first decoding unit, and the second driving unit is connected to the second decoding unit, and the relay on any positive pole connection is connected to the output end of the first driving unit, and the relay on any negative pole connection is connected to the output end of the second driving unit. In this way, a more organized circuit layout can be achieved.

[0060] The main control module 20 can control the opening and closing of the relays connected to the positive poles through the first decoding unit and the first driving unit, and can control the opening and closing of the relays connected to the negative poles through the second decoding unit and the second driving unit. The decoding module 30 is connected to the main control module 20 to realize control expansion.

[0061] For example, the number of output pins of the main control module connected to any decoding unit is a first number, and the number of connections between any driving unit and the decoding unit to which it is connected is a second number, where the second number is equal to 2 raised to the power of the first number. In other words, the first number of output pins of the main control module can be used to achieve the second number (2 raised to the power of the first number) of output pins. In this way, a small number of output pins of the main control module can be used to control multiple relays, conserving output pin resources of the main control module.

[0062] The second number of input pins of the driving unit is connected one-to-one with the second number of output pins of the decoding unit to which the driving unit is connected. Specifically, the second number of input pins of the first driving unit is connected one-to-one with the second number of output pins of the first decoding unit, and the second number of input pins of the second driving unit is connected one-to-one with the second number of output pins of the second decoding unit. For example, when the number of output pins of the main control module connected to any decoding unit is 3, that is, the number of connection lines between each decoding unit and the main control module is three, the first number is 3, and the second number is 2. 3 =8, that is, the number of input paths of the decoding unit is 3, and the number of output paths is 8; when the number of connection lines between the decoding unit and the main control module 20 is four, the first number is 4, and the second number is 2 4 =16, that is, the number of input paths of the decoding unit is 4, and the number of output paths is 16. The decoding unit can be, for example, a 3-line to 8-line decoder or a 4-line to 16-line decoder.

[0063] refer to Figure 3 As shown, in one embodiment, the first decoding unit includes the same first decoding chip U1 and the second decoding chip U2, the second decoding unit includes the same third decoding chip U3 and the fourth decoding chip U4, the same input pin of the first decoding chip U1 and the second decoding chip U4 is connected to the same output pin of the main control module 20, and the same input pin of the third decoding chip U3 and the fourth decoding chip U4 is connected to the same output pin of the main control module, so that the output pins of the main control module can be effectively utilized and the output pin resources of the main control module can be saved.

[0064] The first decoding chip, the second decoding chip, the third decoding chip, and the fourth decoding chip may all be 74LS series decoding chips, such as 74LS138 chips.

[0065] refer to Figure 3 As shown, the input pins S1, S2, S3 and ENB of the first decoding chip U1 are connected to the output pins PIN1, PIN2, PIN3 and PIN4 of the main control module 20 respectively, the input pins S1, S2, S3 and ENB of the second decoding chip U2 are connected to the output pins PIN1, PIN2, PIN3 and PIN4 of the main control module 20 respectively, the input pins S1, S2, S3 and ENB of the third decoding chip U3 are connected to the output pins PIN5, PIN6, PIN7 and PIN8 of the main control module 20 respectively, and the input pins S1, S2, S3 and ENB of the fourth decoding chip U4 are connected to the output pins PIN5, PIN6, PIN7 and PIN8 of the main control module 20 respectively.

[0066] Each decoding chip includes eight output pins, D1 to D8. The first decoding unit includes a first decoding chip and a second decoding chip, so the first decoding unit has 16 output pins; the second decoding unit includes a third decoding chip and a fourth decoding chip, so the second decoding unit has 16 output pins. The first decoding unit is connected to the main control module's four output pins, PIN1, PIN2, PIN3, and PIN4. The second decoding unit is connected to the main control module's four output pins, PIN5, PIN6, PIN7, and PIN8. In this way, the main control module converts the first decoding unit's four inputs into 16 outputs after the first decoding unit converts them, and the main control module converts the second decoding unit's four inputs into 16 outputs after the second decoding unit converts them, thus achieving the function of achieving more outputs using fewer pins on the main control module.

[0067] In one embodiment, the first driving unit includes a first driving chip U5 and a second driving chip U6, the second driving unit includes a third driving chip U7 and a fourth driving chip U8, the first driving chip U5 is connected to the first decoding chip U1, the second driving chip U6 is connected to the second decoding chip U2, the third driving chip U7 is connected to the third decoding chip U3, and the fourth driving chip U8 is connected to the fourth decoding chip U4.

[0068] The first relay is connected to a first drive output terminal, and the second relay is connected to a second drive output terminal; the first relay is a relay on any one of the first positive pole connection and the second positive pole connection, the first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip, the second relay is a relay on any one of the first negative pole connection and the second negative pole connection, and the second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip.

[0069] Taking the circuit on-off control device as an example, which includes 16 relay modules, the terminal pairs of the 16 relay modules (each terminal pair includes a first terminal and a second terminal) are (P1, N1), (P2, N2), ..., and (P16, N16). KA1, KA2, KA3, ..., and KA16 are all relays connected to the first positive pole connection or the second positive pole connection, and KB1, KB2, KB3, ..., and KB16 are all relays connected to the first negative pole connection or the second negative pole connection. KA1, KA2, KA3, ..., and KA8 are respectively connected to an output pin of the first driver chip U5, and KA9, KA10, KA11, ..., and KA16 are respectively connected to an output pin of the second driver chip U6. KB1, KB2, KB3, ..., and KB8 are respectively connected to an output pin of the third driver chip U7, and KB9, KB10, KB11, ..., and KB16 are respectively connected to an output pin of the fourth driver chip U8. In this way, at least one of KA1, KA2, KA3, ... and KA16 can be driven and controlled to be closed or opened by the first driving unit, and at least one of KB1, KB2, KB3, ... and KB16 can be driven and controlled to be closed or opened by the second driving unit.

[0070] In a specific example, the decoding chip is a 74LSXX decoding chip, and the decoding unit can realize 4-line to 16-line decoding function. According to the truth table analysis, only one of the 16 channels is in a low level state. The truth table of the decoding unit is as follows:

[0071]

[0072] The driver chip input is active low. Connected to the relay's control terminal, the active low input enables the drive circuit. This current is amplified, driving the relay coil to conduct, thereby activating the relay. The drive circuit only has one enable path: the driver chip's output pin is connected to the relay's control coil, and one terminal of the relay is connected to 24V. The driver chip amplifies current, and low-level drive amplifies current, actuating the relay and thus controlling the on / off of the test circuit. From the decoding unit to the driver unit, and then to the relay module, 16 interlocking paths are achieved.

[0073] refer to Figure 4As shown, in one embodiment, the first decoding unit includes a decoding chip, namely, a first decoding chip U1, and the second decoding unit includes a decoding chip, namely, a third decoding chip U3. The input pins S1, S2, and S3 of the first decoding chip U1 are connected to the output pins PIN1, PIN2, and PIN3 of the main control module 20, respectively. The input pins S1, S2, and S3 of the third decoding chip U3 are connected to the output pins PIN4, PIN5, and PIN6 of the main control module 20, respectively. Each decoding chip includes eight output pins, D1 to D8. The decoding units in this embodiment implement a 3-input, 8-output decoding function. Thus, the main control module converts the 3 inputs of the first decoding unit through the first decoding unit to obtain 8 outputs, and the main control module converts the 3 inputs of the second decoding unit through the second decoding unit to obtain 8 outputs, thereby achieving the function of obtaining more outputs using fewer pins of the main control module.

[0074] The first drive unit includes a first drive chip U5, and the second drive unit includes a third drive chip U7. The first drive chip U5 is connected to the first decoding chip U1, and the third drive chip U7 is connected to the third decoding chip U3. A first relay is connected to a first drive output terminal, and a second relay is connected to a second drive output terminal. The first relay is a relay connected to either the first positive wiring or the second positive wiring. The first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip. The second relay is a relay connected to either the first negative wiring or the second negative wiring. The second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip.

[0075] Taking the circuit on / off control device as an example, which includes eight relay modules, the terminal pairs of the eight relay modules (each terminal pair includes a first terminal and a second terminal) are (P1, N1), (P2, N2), ..., and (P8, N8). KA1, KA2, KA3, ..., and KA8 are all relays connected to the first positive pole connection or the second positive pole connection, and KB1, KB2, KB3, ..., and KB8 are all relays connected to the first negative pole connection or the second negative pole connection. KA1, KA2, KA3, ..., and KA8 are each connected to an output pin of the first driver chip U5, and KB1, KB2, KB3, ..., and KB8 are each connected to an output pin of the third driver chip U7. In this way, the first drive unit can drive and control at least one of KA1, KA2, KA3, ..., and KA8 to close or open, and the second drive unit can drive and control at least one of KB1, KB2, KB3, ..., and KB8 to close or open. In this way, the three-way signal input from the three output pins of the main control module 20 to the decoding unit is converted into eight-way output, thereby being able to control eight relay modules.

[0076] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0077] In a specific example, the circuit on / off control device includes a main control module 20, a first decoding chip U1, a second decoding chip U2, a third decoding chip U3, a fourth decoding chip U4, a first driver chip U5, a second driver chip U6, a third driver chip U7, a fourth driver chip U8, and 16 relay modules. The same input pin of the first decoding chip U1 and the second decoding chip U4 is connected to the same output pin of the main control module 20, the same input pin of the third decoding chip U3 and the fourth decoding chip U4 is connected to the same output pin of the main control module, the first driver chip U5 is connected to the first decoding chip U1, the second driver chip U6 is connected to the second decoding chip U2, the third driver chip U7 is connected to the third decoding chip U3, and the fourth driver chip U8 is connected to the fourth decoding chip U4. The first, second, third, and fourth decoding chips all use LS138 chips.

[0078] The input pins S1, S2, S3 and ENB of the first decoding chip U1 are respectively connected to the output pins PIN1, PIN2, PIN3 and PIN4 of the main control module 20; the input pins S1, S2, S3 and ENB of the second decoding chip U2 are respectively connected to the output pins PIN1, PIN2, PIN3 and PIN4 of the main control module 20; the input pins S1, S2, S3 and ENB of the third decoding chip U3 are respectively connected to the output pins PIN5, PIN6, PIN7 and PIN8 of the main control module 20; the input pins S1, S2, S3 and ENB of the fourth decoding chip U4 are respectively connected to the output pins PIN5, PIN6, PIN7 and PIN8 of the main control module 20.

[0079] Each decoding chip includes eight output pins, D1 to D8. The first decoding unit comprises two decoding chips, the first and second decoding chips, resulting in 16 output pins. The second decoding unit comprises two decoding chips, the third and fourth decoding chips, resulting in 16 output pins. The first decoding unit is connected to the main control module's four output pins, PIN1, PIN2, PIN3, and PIN4. The second decoding unit is connected to the main control module's four output pins, PIN5, PIN6, PIN7, and PIN8. Thus, the main control module converts the first decoding unit's four inputs into 16 outputs, and the second decoding unit converts the second decoding unit's four inputs into 16 outputs, thereby achieving the function of achieving more outputs using fewer pins on the main control module.

[0080] The first relay is connected to a first drive output terminal, and the second relay is connected to a second drive output terminal; the first relay is a relay on any one of the first positive pole connection and the second positive pole connection, the first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip, the second relay is a relay on any one of the first negative pole connection and the second negative pole connection, and the second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip.

[0081] The terminal pairs of the 16 relay modules (each terminal pair includes a first terminal and a second terminal) are (P1, N1), (P2, N2), ..., and (P16, N16). KA1, KA2, KA3, ..., and KA16 are all relays connected to the first positive terminal or the second positive terminal, and KB1, KB2, KB3, ..., and KB16 are all relays connected to the first negative terminal or the second negative terminal.

[0082] KA1, KA2, KA3, ..., and KA8 are each connected to an output pin of the first driver chip U5, and KA9, KA10, KA11, ..., and KA16 are each connected to an output pin of the second driver chip U6. KB1, KB2, KB3, ..., and KB8 are each connected to an output pin of the third driver chip U7, and KB9, KB10, KB11, ..., and KB16 are each connected to an output pin of the fourth driver chip U8. In this way, the first driver chip U5 can drive and control at least one of KA1, KA2, KA3, ..., and KA8 to be closed or opened, the second driver chip U6 can drive and control at least one of KA9, KA10, KA11, ..., and KA16 to be closed or opened, the third driver chip can drive and control at least one of KB1, KB2, KB3, ..., and KB8 to be closed or opened, and the fourth driver chip can drive and control at least one of KB9, KB10, KB11, ..., and KB16 to be closed or opened.

[0083] Depending on actual application needs, when conducting electrical parameter tests, the relays in KA1, KA2, KA3, ..., and KA16 can be interlocked, and the relays in KB1, KB2, KB3, ..., and KB16 can be interlocked. That is, only one relay in KA1, KA2, KA3, ..., and KA16 can be turned on at a time, and only one relay in KB1, KB2, KB3, ..., and KB16 can be turned on at a time. This allows for each test to be conducted while only one relay in KA1, KA2, KA3, ..., and KA16 and one relay in KB1, KB2, KB3, ..., and KB16 are turned on, and the other relays are turned off.

[0084] The circuit on-off control device of this specific example can be applied to a battery with 16 pairs of power supply interface pairs. The first decoding chip and the second decoding chip are used to convert the 4 inputs of the main control module into 16 outputs to control the closing or opening of KA1, KA2, KA3, ... and KA16. The third decoding chip and the fourth decoding chip are used to convert the 4 inputs of the main control module into 16 outputs to control the closing or opening of KB1, KB2, KB3, ... and KB16, so as to facilitate testing of the electrical parameters between two points in the circuit. In this way, 8 output pins of the main control module can be used to control 32 relays, reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0085] refer to Figure 5 As shown, another embodiment of the present application provides an electrical parameter testing system, including an electrical parameter detection device 50 and a circuit on / off control device according to any embodiment of the present application. The electrical parameter detection device 50 is connected to the main control module 20. Each relay module 10 is used to connect to a power supply interface pair of the battery under test. Each power supply interface pair includes two power supply interfaces. The battery under test can have one or more power supply interface pairs.

[0086] Of the two wires connected to the same terminal, one is connected to the positive terminal of the electrical parameter detection device 50, and the other is connected to the negative terminal of the electrical parameter detection device 50; the first terminal in the first relay module is connected to the positive interface of the first power supply interface pair, and the second terminal in the first relay module is connected to the negative interface of the first power supply interface pair; the first relay module is any relay module in at least one relay module 10; the first power supply interface pair is a power supply interface pair connected to the first relay module.

[0087] The electrical parameter testing system of the embodiment of the present application can be used to test the electrical parameters between the two external power supply interfaces of the battery, so as to evaluate the quality of the battery according to the electrical parameters. The electrical parameter testing system includes the circuit on-off control device of any embodiment of the present application, and can use a small number of main control module output pins to realize the control of multiple relays, thereby reducing the occupation of the output pin resources of the main control module 20 and greatly reducing the probability of insufficient output pins of the main control module 20.

[0088] The electrical parameter detection device 50 may include a voltage detection device or a resistance detection device, such as a multimeter.

[0089] In one embodiment, the two wires connected to the first wiring terminal include a first positive wire and a first negative wire, and the two wires connected to the second wiring terminal include a second positive wire and a second negative wire. The circuit on / off control device also includes a positive busbar and a negative busbar, with the first positive wire and the second positive wire both connected to the positive busbar, and the first negative wire and the second negative wire both connected to the negative busbar. The positive terminal of the electrical parameter detection device 50 is connected to the positive busbar, and the negative terminal of the electrical parameter detection device 50 is connected to the negative busbar.

[0090] The connection between the electrical parameter detection device 50 and each relay module is achieved through the positive bus bar and the negative bus bar, which can simplify the circuit wiring structure, facilitate wiring, and save space occupied by the circuit line.

[0091] Exemplarily, a switch is provided on at least one of the wiring connecting the electrical parameter detection device 50 and the positive busbar and the wiring connecting the electrical parameter detection device 50 and the negative busbar, and the switch is connected to the main control module 20 .

[0092] By controlling the closing or opening of the switch, the conduction or disconnection between the electrical parameter detection device 50 and the relay module can be controlled, providing more operating means for controlling the conduction or disconnection between the electrical parameter detection device 50 and the relay module when performing electrical parameter testing.

[0093] An electrical parameter testing system in a specific example includes an electrical parameter detection device 50 and a circuit on-off control device of any embodiment of the present application. The circuit on-off control device includes a main control module 20, a first decoding chip, a second decoding chip, a third decoding chip, a fourth decoding chip, a first driver chip, a second driver chip, a third driver chip, a fourth driver chip and multiple relay modules. The same input pin of the first decoding chip and the second decoding chip is connected to the same output pin of the main control module 20, the same input pin of the third decoding chip and the fourth decoding chip is connected to the same output pin of the main control module 20, the first driver chip is connected to the first decoding chip, the second driver chip is connected to the second decoding chip, the third driver chip is connected to the third decoding chip, and the fourth driver chip is connected to the fourth decoding chip. The first relay is connected to a first drive output terminal, and the second relay is connected to a second drive output terminal; the first relay is a relay on any one of the first positive pole connection and the second positive pole connection, the first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip, the second relay is a relay on any one of the first negative pole connection and the second negative pole connection, and the second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip.

[0094] The electrical parameter detection device 50 is connected to the main control module 20. Each relay module is used to connect to a power supply interface pair of the battery under test. Each power supply interface pair includes two power supply interfaces. The battery under test can have one or more power supply interface pairs.

[0095] Of the two wires connected to the same terminal, one is connected to the positive terminal of the electrical parameter detection device 50, and the other is connected to the negative terminal of the electrical parameter detection device 50; the first terminal in the first relay module is connected to the positive interface of the first power supply interface pair, and the second terminal in the first relay module is connected to the negative interface of the first power supply interface pair; the first relay module is any relay module of at least one relay module; the first power supply interface pair is a power supply interface pair connected to the first relay module.

[0096] The two wires connected to the first terminal include a first positive wire and a first negative wire, and the two wires connected to the second terminal include a second positive wire and a second negative wire. The circuit on / off control device also includes a positive busbar and a negative busbar. The first positive wire and the second positive wire are both connected to the positive busbar, and the first negative wire and the second negative wire are both connected to the negative busbar. The positive terminal of the electrical parameter detection device 50 is connected to the positive busbar, and the negative terminal of the electrical parameter detection device 50 is connected to the negative busbar.

[0097] A switch is provided on at least one of the wiring between the electrical parameter detection device 50 and the positive bus bar and the wiring between the electrical parameter detection device 50 and the negative bus bar, and the switch is connected to the main control module 20 .

[0098] The electrical parameter testing system of this specific example can be used to test the electrical parameters between the two external power supply interfaces of the battery, thereby being used to evaluate the quality of the battery based on the electrical parameters. The electrical parameter testing system includes the circuit on-off control device of any embodiment of the present application, and can utilize a small number of main control module output pins to realize the control of multiple relays, thereby reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0099] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0100] refer to Figure 6 As shown, another embodiment of the present application provides an electrical parameter testing method, which is applied to the electrical parameter testing system of any embodiment of the present application; the electrical parameter testing method may include steps S10 to S20:

[0101] S10, the main control module outputs a first electrical signal, the decoding module converts the first electrical signal into a second electrical signal, and the driving module drives the two target relays to conduct according to the second electrical signal.

[0102] The two target relays are connected to different wiring terminals respectively, and the wiring terminal connected to each target relay is connected to a power supply interface to be tested; one of the two target relays is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device.

[0103] Exemplarily, the first electrical signal output by the main control module includes a third electrical signal input to the first decoding unit and a fourth electrical signal input to the second decoding unit. The main control module inputs the third electrical signal to the first decoding unit and the fourth electrical signal to the second decoding unit.

[0104] The first decoding unit converts the third electrical signal into a fifth electrical signal, and the second decoding unit converts the fourth electrical signal into a sixth electrical signal. The second electrical signal includes the fifth electrical signal and the sixth electrical signal.

[0105] The first driving unit drives one target relay to conduct according to the fifth electrical signal, and the second driving unit drives one target relay to conduct according to the sixth electrical signal. In this way, driving two target relays to conduct is achieved.

[0106] In one embodiment, the first decoding unit includes identical first and second decoding chips, and the second decoding unit includes identical third and fourth decoding chips. The same input pins of the first and second decoding chips are connected to the same output pin of the main control module, and the same input pins of the third and fourth decoding chips are connected to the same output pin of the main control module. The main control module inputs a third electrical signal into the first decoding unit, which includes: the main control module inputs the third electrical signal into the first and second decoding chips. The main control module inputs a fourth electrical signal into the second decoding unit, which includes: the main control module inputs the fourth electrical signal into the third and fourth decoding chips.

[0107] If the relay indicated by the third electrical signal to be turned on is a relay connected to the first decoding chip through the first driver chip, the first decoding chip converts the third electrical signal into a fifth electrical signal; if the relay indicated by the third electrical signal to be turned on is a relay connected to the second decoding chip through the second driver chip, the second decoding chip converts the third electrical signal into the fifth electrical signal.

[0108] If the relay indicated by the fourth electrical signal to be turned on is a relay connected to the third decoding chip through the third driver chip, the third decoding chip converts the fourth electrical signal into a sixth electrical signal; if the relay indicated by the fourth electrical signal to be turned on is a relay connected to the fourth decoding chip through the fourth driver chip, the fourth decoding chip converts the fourth electrical signal into a sixth electrical signal.

[0109] The first driving unit includes a first driving chip and a second driving chip, the second driving unit includes a third driving chip and a fourth driving chip, the first driving chip is connected to the first decoding chip, the second driving chip is connected to the second decoding chip, the third driving chip is connected to the third decoding chip, and the fourth driving chip is connected to the fourth decoding chip.

[0110] A driver chip in the first driver unit drives the corresponding relay to conduct according to the received fifth electrical signal. A driver chip in the second driver unit drives the corresponding relay to conduct according to the received sixth electrical signal.

[0111] S20: The main control module receives electrical parameters between two power supply interfaces to be tested measured by the electrical parameter detection device.

[0112] The electrical parameters between the two power supply interfaces to be tested can be used to evaluate the quality of the battery. For example, if the electrical parameters between the two power supply interfaces to be tested include resistance, the resistance can be used to determine whether a short circuit occurs between the two power supply interfaces to be tested. For another example, if the electrical parameters between the two power supply interfaces to be tested include voltage, the voltage can be used to determine whether the output voltage between the two power supply interfaces to be tested is normal. In this way, the quality of the battery can be evaluated based on the electrical parameters.

[0113] The electrical parameter testing method of the embodiment of the present application can be used to test the electrical parameters between the two external power supply interfaces of the battery, thereby being used to evaluate the quality of the battery based on the electrical parameters. The electrical parameter testing method is applied to the electrical parameter testing system of any embodiment of the present application, and can utilize a small number of main control module output pins to realize the control of multiple relays, thereby reducing the occupation of the output pin resources of the main control module and greatly reducing the probability of insufficient output pins of the main control module.

[0114] In some embodiments, the electrical parameter includes resistance, and the electrical parameter testing method may further include: the main control module determines whether a short circuit occurs between the two power supply interfaces to be tested based on the resistance between the two power supply interfaces to be tested measured by the electrical parameter detection device.

[0115] The electrical parameter detection device may include a resistance detection device, such as a multimeter.

[0116] Taking the electrical parameter as resistance as an example, when a short circuit occurs between the two power supply interfaces being tested, the resistance value detected by the electrical parameter detection device is theoretically close to 0. In actual applications, the resistance value detected by the electrical parameter detection device is small. When the resistance value is less than or equal to the first preset resistance value, it can be determined that a short circuit occurs between the two power supply interfaces being tested; when no short circuit occurs between the two power supply interfaces being tested, the two power supply interfaces being tested are equivalent to being disconnected. Theoretically, the measured resistance value should tend to infinity. The actual measured resistance value will be relatively large, or may exceed the range of the electrical parameter detection device. If the resistance value is greater than the second preset resistance value, it is determined that no short circuit occurs between the two power supply interfaces being tested, wherein the case where the resistance value exceeds the range of the electrical parameter detection device also belongs to the case where the resistance value is greater than the second preset resistance value. In this way, the main control module can determine whether there is a short circuit between the two power supply interfaces being tested based on the results of the resistance detection. The first preset resistance value and the second preset resistance value can be pre-set according to the needs of the actual application.

[0117] By comparing the measured resistance between the two power supply interfaces with the first preset resistance value and the second preset resistance value to determine whether a short circuit occurs, the steps are relatively simple and the efficiency of the short circuit test can be further improved.

[0118] In addition, the electrical parameter may include voltage. The electrical parameter detection device may include, for example, a voltage detection device, and a multimeter may be used to measure the voltage between two power supply interfaces to be tested. The electrical parameter detection device transmits the measured voltage between the two power supply interfaces to be tested to the main control module, which receives the voltage between the two power supply interfaces to be tested measured by the electrical parameter detection device.

[0119] According to the needs of actual application, when conducting electrical parameter testing, the relay interlocking function can be set on each positive pole connection and the relay interlocking function can be set on each negative pole connection.

[0120] The preset test rules can be pre-set according to the actual test needs, and different test rules can be set according to different test requirements. In a specific example, the preset test rule is that only one relay on the positive wiring and one relay on the negative wiring can be closed at a time, and other relays cannot be closed. Only one relay on the positive wiring and one relay on the negative wiring are closed at a time, so that the voltage and resistance between the two target relays can be measured, and the probability of circuit loop short circuit can be reduced. For example, when the relay on a positive wiring is closed, the relays on other positive wirings cannot be closed, which can reduce the probability of main circuit short circuit due to voltage difference. For example, when the relay on a negative wiring is closed, the relays on other negative wirings cannot be closed, which can reduce the main circuit short circuit caused by voltage difference problem.

[0121] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0122] In a specific example, the electrical parameter testing method includes the following steps:

[0123] The main control module inputs the third electrical signal to the first decoding chip and the second decoding chip, and inputs the fourth electrical signal to the third decoding chip and the fourth decoding chip.

[0124] If the relay indicated by the third electrical signal to be turned on is a relay connected to the first decoding chip through the first driver chip, the first decoding chip converts the third electrical signal into a fifth electrical signal; if the relay indicated by the third electrical signal to be turned on is a relay connected to the second decoding chip through the second driver chip, the second decoding chip converts the third electrical signal into the fifth electrical signal.

[0125] If the relay indicated by the fourth electrical signal to be turned on is a relay connected to the third decoding chip through the third driver chip, the third decoding chip converts the fourth electrical signal into a sixth electrical signal; if the relay indicated by the fourth electrical signal to be turned on is a relay connected to the fourth decoding chip through the fourth driver chip, the fourth decoding chip converts the fourth electrical signal into a sixth electrical signal.

[0126] A driver chip in the first driver unit drives the corresponding relay to conduct based on the received fifth electrical signal, and a driver chip in the second driver unit drives the corresponding relay to conduct based on the received sixth electrical signal. Thus, both target relays are turned on. During electrical parameter testing, the relays on the positive and negative wirings can be interlocked, and the relays on the negative wirings can be interlocked. Thus, during each test, only one relay on the positive wiring and one relay on the negative wiring are turned on.

[0127] The electrical parameter detection device detects electrical parameters between two power supply interfaces to be tested. The two power supply interfaces to be tested are power supply interfaces connected to the two target relays.

[0128] The main control module determines whether a short circuit occurs between the two power supply interfaces to be tested according to the resistance value between the two power supply interfaces to be tested measured by the electrical parameter detection device.

[0129] When the resistance value between the two power supply interfaces to be tested is less than or equal to the first preset resistance value, it is determined that a short circuit occurs between the two power supply interfaces to be tested; when the resistance value between the two power supply interfaces to be tested is greater than the second preset resistance value, it is determined that no short circuit occurs between the two power supply interfaces to be tested.

[0130] The electrical parameter testing method of this specific example can be used to test whether a short circuit exists between any two power supply interfaces of a battery, thereby facilitating the assessment of battery quality. This electrical parameter testing method, when applied to an electrical parameter testing system, can control multiple relays using a small number of main control module output pins, reducing the resource usage of the main control module's output pins and significantly reducing the probability of insufficient main control module output pins.

[0131] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0132] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method of any of the above embodiments.

[0133] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0134] It should be noted that the above embodiments merely represent implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and such modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A circuit on-off control device, characterized in that: It includes at least one relay module, and a main control module, a decoding module and a driving module connected in sequence; The relay module includes a first wiring terminal, a second wiring terminal, two wirings connected to the first wiring terminal, two wirings connected to the second wiring terminal, and a relay provided on each wiring; The control terminals of the relays are respectively connected to different output terminals of the driving module.

2. The device according to claim 1, characterized in that The two wirings connected to the first wiring terminal include a first positive wiring and a first negative wiring, and the two wirings connected to the second wiring terminal include a second positive wiring and a second negative wiring; the circuit on-off control device also includes a positive busbar and a negative busbar, the first positive wiring and the second positive wiring are both connected to the positive busbar, and the first negative wiring and the second negative wiring are both connected to the negative busbar.

3. The device according to claim 2, characterized in that The decoding module includes a first decoding unit and a second decoding unit respectively connected to the main control module, and the driving module includes a first driving unit and a second driving unit, the first driving unit is connected to the first decoding unit, and the second driving unit is connected to the second decoding unit, the relay on any positive pole connection is connected to the output end of the first driving unit, and the relay on any negative pole connection is connected to the output end of the second driving unit.

4. The device according to claim 3, characterized in that The number of output pins of the main control module connected to any decoding unit is a first number, and the number of connection paths between any driving unit and the decoding unit connected to it is a second number, wherein the second number is equal to 2 raised to the power of the first number.

5. The device according to claim 3 or 4, characterized in that The first decoding unit includes the same first decoding chip and the second decoding chip, the second decoding unit includes the same third decoding chip and the fourth decoding chip, the same input pin of the first decoding chip and the second decoding chip is connected to the same output pin of the main control module, and the same input pin of the third decoding chip and the fourth decoding chip is connected to the same output pin of the main control module.

6. The device according to claim 5, characterized in that The first drive unit includes a first drive chip and a second drive chip, and the second drive unit includes a third drive chip and a fourth drive chip. The first drive chip is connected to the first decoding chip, the second drive chip is connected to the second decoding chip, the third drive chip is connected to the third decoding chip, and the fourth drive chip is connected to the fourth decoding chip. The first relay is connected to a first drive output terminal, and the second relay is connected to a second drive output terminal. The first relay is a relay connected to either the first positive electrode connection or the second positive electrode connection. The first drive output terminal includes the output terminal of the first drive chip and the output terminal of the second drive chip. The second relay is a relay connected to either the first negative electrode connection or the second negative electrode connection. The second drive output terminal includes the output terminal of the third drive chip and the output terminal of the fourth drive chip.

7. The device according to any one of claims 1 to 4, characterized in that A light emitting diode is arranged in parallel on the coil of each relay.

8. An electrical parameter testing system, characterized in that: It comprises an electrical parameter detection device and a circuit on-off control device according to any one of claims 1 to 7, wherein the electrical parameter detection device is connected to the main control module; each of the relay modules is used to connect to a power supply interface pair of the battery to be tested; Of the two wires connected to the same wiring terminal, one is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device; The first terminal in the first relay module is connected to the positive interface of the first power supply interface pair, and the second terminal in the first relay module is connected to the negative interface of the first power supply interface pair; the first relay module is any relay module among the at least one relay module; the first power supply interface pair is a power supply interface pair connected to the first relay module.

9. The system according to claim 8, characterized in that The electrical parameter testing system includes the circuit on-off control device according to claim 2, the positive terminal of the electrical parameter detection device is connected to the positive bus, and the negative terminal of the electrical parameter detection device is connected to the negative bus.

10. The system according to claim 9, characterized in that A switch is provided on at least one of the wiring connecting the electrical parameter detection device and the positive busbar and the wiring connecting the electrical parameter detection device and the negative busbar, and the switch is connected to the main control module.

11. An electrical parameter testing method, characterized in that: An electrical parameter testing system as claimed in any one of claims 8 to 10; The electrical parameter testing method includes: The main control module outputs a first electrical signal, the decoding module converts the first electrical signal into a second electrical signal, and the driving module drives two target relays to conduct according to the second electrical signal; the two target relays are respectively connected to different wiring terminals, and the wiring terminal connected to each target relay is connected to a power supply interface to be tested; one of the two target relays is connected to the positive terminal of the electrical parameter detection device, and the other is connected to the negative terminal of the electrical parameter detection device; The main control module receives the electrical parameters between the two power supply interfaces to be tested measured by the electrical parameter detection device.