Disclosure of Invention
In view of this, an embodiment of the present invention provides a battery cell line sequence detection system, which sends an enable signal to an optocoupler detection circuit corresponding to a battery cell in a battery module, and detects level information of the optocoupler detection circuit to determine whether a line sequence of the battery cell in the battery module is correctly connected, so as to ensure a safety accident caused by a connection error of the line sequence of the battery cell.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a cell line order detection system, comprising: the optical coupling detection circuit, the single chip microcomputer MCU and the upper computer PC;
the MCU is respectively connected with the PC, an enabling signal receiving end of the optical coupling detection circuit and a level detection end;
the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded;
the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal;
and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC.
Preferably, if 1 battery cell exists in the battery module, the battery cell line sequence detection system comprises an optocoupler detection circuit;
if the optocoupler detection circuit receives an enable signal sent by the MCU through the enable signal receiving end and is at a low level, enabling the level detection end to output the low level based on the low level;
the MCU determines that the line sequence of the battery cell is correct based on the low level of the level detection end, and sends a detection result of the line sequence of the battery cell to the PC;
if the optocoupler detection circuit receives an enable signal sent by the MCU through the enable signal receiving end and is at a high level, enabling the level detection end to output the high level based on the high level;
and the MCU determines the line sequence error of the battery cell based on the high level of the level detection end, and sends the detection result of the line sequence error of the battery cell to the PC.
Preferably, if N cells exist in the battery module, the cell line sequence detection system includes N optocoupler detection circuits, where N is greater than 1;
if the enable signals sent by the MCU are all low level, the level detection end outputs low level based on the low level;
when the MCU detects that the levels of the detection ends of the N optocoupler detection circuits are all low levels, the correct line sequences of the N battery cores are determined, and the correct detection results of the line sequences of the N battery cores are sent to the PC;
if the optical coupling detection circuit which receives the enable signal sent by the MCU through the enable signal receiving end and is at a high level exists in the N optical coupling detection circuits, the optical coupling detection circuit enables the level detection end to output the high level based on the high level;
when the MCU detects that the level of the detection end of any one of the N optical coupling detection circuits is high level, the MCU determines that the electric core line sequence at the position where the optical coupling detection circuit outputting the high level is located is wrong, and sends the detection result of the electric core line sequence error to the PC.
Preferably, the optical coupling detection circuit includes: the circuit comprises a first optical coupler U1, a second optical coupler U2, an anti-reverse circuit, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4;
one end of the first resistor R1 is connected with the fourth end of the first optocoupler U1, and the other end of the first resistor R1 serves as the enable signal receiving end;
a third end of the first optocoupler U1 is connected with the power supply VCC, a first end of the first optocoupler U1 is connected with one end of the battery core as a detection end, and a second end of the first optocoupler U1 is connected with a third end of the second optocoupler U2 through the fourth resistor R4;
a fourth end of the second optical coupler U2 is connected to a positive electrode of the reverse connection prevention circuit, a negative electrode of the reverse connection prevention circuit is connected to the other end of the battery cell as a detection end, a second end of the second optical coupler U2 is used as a ground end and is grounded, and a first end of the second optical coupler U2 is connected to one end of the third resistor R3;
the other end of the third resistor R3 is connected with one end of the second resistor R2 to form a common end, and the common end is used as a level detection end to be connected with the MCU;
the other end of the second resistor R2 is connected to the power supply VCC.
Preferably, the first optical coupler U1 includes: a first light emitter and a first light receiver;
the anode of the first light emitter is used as a power supply end and is connected with the VCC power supply, and the cathode of the first light emitter is connected with one end of the first resistor R1;
one end of the first light receiver serving as the detection end is connected with one battery cell in the battery pack, and the other end of the first light receiver is connected with one end of the fourth resistor R4.
Preferably, the second optical coupler U2 includes: a second light emitter and a second light receiver;
the anode of the second light emitter is connected with the other end of the fourth resistor R4, and the cathode of the second light emitter is connected with one end of the anti-reverse circuit;
one end of the second light receiver is connected to one end of the third resistor R3, and the other end is grounded as a ground terminal.
Preferably, the first light emitter and the second light emitter are light emitting diodes, and the first light receiver and the second light receiver are photoresistors;
the first light emitter sends an optical signal to the first light receiver to enable the first light receiver to generate an electrical signal;
the second light emitter sends an optical signal to the second light receiver, and the second light receiver generates an electrical signal.
Preferably, the reverse connection prevention circuit is a diode, an anode of the diode is connected with the fourth end of the second optocoupler U2, and a cathode of the diode is connected with the other end of the battery cell as the detection end.
According to the content, the invention discloses a battery cell line sequence detection system, which is connected with the PC, the enable signal receiving end and the level detection end of the optical coupling detection circuit through the MCU respectively; the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded; the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal; and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC. The connecting line sequence of the battery cell in the battery module is detected by controlling the optocoupler detection circuit based on the MCU, whether the line sequence of the battery cell in the battery module is correctly connected is judged based on the level information obtained by detection, and the problem that safety accidents occur due to the fact that the line sequence of the battery cell is wrongly connected is avoided.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
An embodiment of the present invention provides a battery cell line sequence detection system, referring to fig. 1 and fig. 2, where the battery cell line sequence detection system includes: the optical coupling detection circuit comprises an optical coupling detection circuit 110, a single chip Microcomputer (MCU) 120 and an upper Computer (Personal Computer, PC) 130.
The MCU120 is connected to the PC130, the enable signal receiving terminal 111 of the optocoupler detection circuit 110, and the level detection terminal 112.
It should be noted that the MCU120 is a micro control unit, also called a single-chip microcomputer or a single-chip microcomputer, which properly reduces the frequency and specification of the cpu, and integrates the peripheral interfaces such as the memory, the counter, the USB, the a/D converter, etc. on a single chip to form a chip-level computer, so as to perform different combination control for different applications.
It should be noted that the upper computer PC130 is a multipurpose computer, and may be a desktop computer, a notebook computer, or a tablet computer.
The detection end 112 of the optical coupling detection circuit 110 is connected with an electric core in the battery module, the power supply end of the optical coupling detection circuit is connected with a power supply VCC, and the grounding end of the optical coupling detection circuit is grounded.
It should be noted that the battery module may be a single battery cell, or may be composed of a plurality of battery cells.
Note that the battery cell has positive and negative electrodes, and in fig. 1 and 2, the positive electrode of the battery cell is denoted by BAT + and the negative electrode of the battery cell is denoted by BAT-.
When the battery module comprises N electric core, the connected mode of N electric core is for establishing ties, consequently, the positive pole of first electric core is the positive pole of whole battery module, and the negative pole of second electric core is the positive pole of first electric core, analogizes in proper order, and the negative pole of the N electric core is the negative pole of whole battery module.
In this application, to the opto-coupler detection circuit of second electric core, can regard as the positive pole of second electric core the negative pole of first electric core and link to each other with the opto-coupler detection circuit that corresponds, the positive pole of third electric core links to each other with the opto-coupler detection circuit that corresponds as the negative pole of second electric core.
The electric core is an electrochemical electric core with a positive electrode and a negative electrode, and the electric equipment can normally work after being connected with the positive electrode and the negative electrode of the electric core.
The optocoupler detection circuit 110 receives the enable signal sent by the MCU through the enable signal receiving terminal 111, and executes a corresponding operation based on the enable signal.
It should be noted that the enable signal is sent from the MCU120 to the enable receiving end 111 of the optocoupler detection circuit 110, and the optocoupler detection circuit 110 may execute a corresponding operation after receiving the enable signal.
The MCU120 detects the level information of the optocoupler detection circuit 110 based on the level detection terminal 112, determines a detection result based on the level information, and transmits the detection result to the PC 130.
It should be noted that the MCU120 sends an enable signal to the optical coupling detection circuit 110 through an enable signal receiving end of the optical coupling detection circuit 110, and the MCU120 can detect the level information of the optical coupling detection circuit through a level detection end 112 of the optical coupling detection circuit 110.
It should be further noted that the level information includes a high level and a low level, when the MCU120 detects that the level information of the optical coupler detection circuit 110 is the high level, it indicates that the line sequence connection of the battery core is incorrect, and when the MCU120 detects that the level information of the optical coupler detection circuit 110 is the low level, it indicates that the line sequence connection of the battery core is correct, so that the MCU120 can detect the level information of the optical coupler detection circuit 110 based on the level detection terminal 112, determine a detection result based on the level information, and then send the detection result to the PC 130.
In this application, because only probably there is single electric core in the battery module, also can there be a plurality of electric cores, if only when there is single electric core in the battery module, including an opto-coupler detection circuitry 110 in the electric core line preface detecting system.
If the optocoupler detection circuit 110 receives the enable signal sent by the MCU120 through the enable signal receiving terminal, the level detection terminal 112 outputs a low level based on the low level.
The MCU120 determines that the cell line sequence is correct based on the low level of the level detection terminal 112, and sends a detection result of the cell line sequence to the PC 130.
If the optocoupler detection circuit 110 receives the enable signal sent by the MCU120 through the enable signal receiving terminal, the enable signal is at a high level, and the level detection terminal 112 outputs a high level based on the high level.
The MCU120 determines a cell line sequence error based on the high level of the level detection terminal 112, and sends a detection result of the cell line sequence error to the PC 130.
If there are a plurality of electric cores in the battery module, when N electric cores promptly, electric core line preface detecting system includes N opto-coupler detection circuit, N is greater than 1.
If the enable signals received by the N opto-coupler detection circuits 110 through the enable signal receiving terminal and sent by the MCU120 are all low levels, the level detection terminal 112 outputs a low level based on the low levels.
When the MCU120 detects that the levels of the level detection terminals 112 of the N opto-coupler detection circuits 110 are all low levels, it determines that the N electrical core line sequences are correct, and sends the detection results that the N electrical core line sequences are correct to the PC 130.
If the optocoupler detection circuits 110 which receive the enable signal sent by the MCU120 through the enable signal receiving terminal and are at a high level exist in the N optocoupler detection circuits 110, the optocoupler detection circuits 110 enable the level detection terminal 112 to output a high level based on the high level.
When the MCU detects that the level of a level detection end 112 of any one of the N optical coupling detection circuits is high level, the MCU determines that the electric core line sequence at the position where the optical coupling detection circuit outputting the high level is located is wrong, and sends the detection result of the electric core line sequence error to the PC.
In the embodiment of the application, the MCU is respectively connected with the PC and the enabling signal receiving end and the level detecting end of the optical coupling detection circuit; the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded; the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal; and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC. The connecting line sequence of the battery cell in the battery module is detected by controlling the optocoupler detection circuit based on the MCU, whether the line sequence of the battery cell in the battery module is correctly connected is judged based on the level information obtained by detection, and the problem that safety accidents occur due to the fact that the line sequence of the battery cell is wrongly connected is avoided.
Referring to fig. 3, a schematic structural diagram of another battery cell line sequence detection system provided in the embodiment of the present application is shown, where the battery cell line sequence detection system includes: the optical coupling detection circuit 110, the single chip microcomputer MCU120 and the upper computer PC 130.
The MCU120 is connected to the PC130, the enable signal receiving terminal of the optocoupler detection circuit 110, and the level detection terminal.
The detection end of the optical coupling detection circuit is connected with a battery cell in the battery module, the power supply end of the optical coupling detection circuit 110 is connected with a power supply VCC, and the grounding end of the optical coupling detection circuit 110 is grounded.
In fig. 3, the positive electrode of the cell is denoted by BAT +, and the negative electrode of the cell is denoted by BAT-.
Specifically, the optical coupling detection circuit 110 includes: the circuit comprises a first optical coupler U1, a second optical coupler U2, an anti-reverse circuit D1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.
One end of the first resistor R1 is connected with the fourth end of the first optocoupler U1, and the other end of the first resistor R1 is used as the enable signal receiving end.
It should be noted that the first optical coupler U1 and the second optical coupler U2 are optical couplers, also called photocouplers, in which an input electrical signal is converted into an optical signal, and then the optical signal is converted into an electrical signal to be output.
The third end of first opto-coupler U1 with the power VCC links to each other, the first end of first opto-coupler U1 as the detection end with the one end of electric core links to each other, the second end of first opto-coupler U1 passes through fourth resistance R4 with the third end of second opto-coupler U2 links to each other.
It should be noted that the power source VCC is used to provide power for the detection circuit.
The fourth end of the second optical coupler U2 is connected with the positive electrode of the anti-reverse circuit D1, the negative electrode of the anti-reverse circuit D1 is used as a detection end and connected with the other end of the battery core, the second end of the second optical coupler U2 is used as a grounding end and grounded, and the first end of the second optical coupler U2 is connected with one end of the third resistor R3.
It should be noted that the reverse connection prevention circuit D1 can prevent the current from flowing reversely when the detection circuit is connected to the positive electrode and the negative electrode of the electric core reversely, burn out the optical coupling detection circuit, and protect the optical coupling detection circuit.
Still need to explain, when having a plurality of electric cores in the battery module, if detection circuitry exists and is connected with a plurality of electric cores, if appear with electric core positive negative pole reverse connection, the electric current is too big, the conflagration probably appears, consequently, need set up anti-reverse circuit D1 in opto-coupler detection circuitry to stop the incident and take place.
The other end of the third resistor R3 is connected with one end of the second resistor R2 to form a common end, and the common end is used as a level detection end to be connected with the MCU.
The other end of the second resistor R2 is connected to the power supply VCC.
The optocoupler detection circuit 110 receives the enable signal sent by the MCU120 through the enable signal receiving terminal, and executes a corresponding operation based on the enable signal.
The MCU120 detects level information of the optocoupler detection circuit 110 based on the level detection terminal, determines a detection result based on the level information, and transmits the detection result to the PC 130.
In the embodiment of the application, the MCU is respectively connected with the PC and the enabling signal receiving end and the level detecting end of the optical coupling detection circuit; the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded; the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal; and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC. The connecting line sequence of the battery cell in the battery module is detected by controlling the optocoupler detection circuit based on the MCU, whether the line sequence of the battery cell in the battery module is correctly connected is judged based on the level information obtained by detection, and the problem that safety accidents occur due to the fact that the line sequence of the battery cell is wrongly connected is avoided.
Referring to fig. 4, a schematic structural diagram of another battery cell line sequence detection system provided in the embodiment of the present application is shown, where the battery cell line sequence detection system includes: the optical coupling detection circuit 110, the single chip microcomputer MCU120 and the upper computer PC 130.
The MCU120 is connected to the PC130, the enable signal receiving terminal of the optocoupler detection circuit 110, and the level detection terminal.
The detection end of the optical coupling detection circuit 110 is connected with a battery cell in the battery module, the power supply end of the optical coupling detection circuit 110 is connected with a power supply VCC, and the grounding end of the optical coupling detection circuit 110 is grounded.
In fig. 4, the positive electrode of the cell is denoted by BAT + and the negative electrode of the cell is denoted by BAT-.
The optical coupling detection circuit 110 includes: the circuit comprises a first optical coupler U1, a second optical coupler U2, an anti-reverse circuit D1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.
One end of the first resistor R1 is connected with the fourth end of the first optocoupler U1, and the other end of the first resistor R1 is used as the enable signal receiving end.
Specifically, the first optical coupler U1 includes: a first light emitter and a first light receiver.
And the anode of the first light emitter is used as a power supply end and is connected with the VCC power supply, and the cathode of the first light emitter is connected with one end of the first resistor R1.
It should be noted that, after the first light emitter and the first light receiver receive the electrical signal, the first light emitter operates and emits light, and after the first light receiver receives the light emitted by the first light emitter, the first light receiver converts the optical signal into the electrical signal.
One end of the first light receiver serving as the detection end is connected with one battery cell in the battery pack, and the other end of the first light receiver is connected with one end of the fourth resistor R4.
The third end of first opto-coupler U1 with the power VCC links to each other, the first end of first opto-coupler U1 as the detection end with the one end of electric core links to each other, the second end of first opto-coupler U1 passes through fourth resistance R4 with the third end of second opto-coupler U2 links to each other.
Specifically, the second optical coupler U2 includes: a second light emitter and a second light receiver.
And the anode of the second light emitter is connected with the other end of the fourth resistor R4, and the cathode of the second light emitter is connected with one end of the anti-reverse circuit D1.
The second light emitter and the second light receiver, after receiving the electrical signal, operate the second light emitter to emit light, and after receiving the light emitted by the second light emitter, the second light receiver converts the optical signal into the electrical signal.
One end of the second light receiver is connected to one end of the third resistor R3, and the other end is grounded as a ground terminal.
The first light emitter and the second light emitter are light emitting diodes, and the first light receiver and the second light receiver are photoresistors.
The first light emitter sends an optical signal to the first light receiver, and the first light receiver generates an electrical signal.
The second light emitter sends an optical signal to the second light receiver, and the second light receiver generates an electrical signal.
The fourth end of the second optical coupler U2 is connected with the positive electrode of the reverse connection prevention circuit, the negative electrode of the reverse connection prevention circuit D1 is used as a detection end and connected with the other end of the battery core, the second end of the second optical coupler U2 is used as a grounding end and grounded, and the first end of the second optical coupler U2 is connected with one end of the third resistor R3.
It should be noted that the anti-reverse circuit is a diode, an anode of the diode is connected to the fourth end of the second optocoupler U2, and a cathode of the diode is connected to the other end of the battery cell as the detection end.
The other end of the third resistor R3 is connected with one end of the second resistor R2 to form a common end, and the common end is used as a level detection end to be connected with the MCU.
The other end of the second resistor R2 is connected to the power supply VCC.
The optocoupler detection circuit 110 receives the enable signal sent by the MCU through the enable signal receiving terminal, and executes a corresponding operation based on the enable signal.
The MCU120 detects level information of the optocoupler detection circuit 110 based on the level detection terminal, determines a detection result based on the level information, and transmits the detection result to the PC 130.
In the embodiment of the application, the MCU is respectively connected with the PC and the enabling signal receiving end and the level detecting end of the optical coupling detection circuit; the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded; the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal; and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC. Through detecting the connecting line preface through controlling opto-coupler detection circuit to electric core in the battery module based on MCU, whether electric core line preface is connected correctly in judging the battery module based on the level information that obtains that detects, avoid appearing because of the problem that electric core line preface connection error leads to the incident to take place.
Referring to fig. 5, a schematic structural diagram of another battery cell line sequence detection system provided in an embodiment of the present application is shown, where the battery cell line sequence detection system includes: n opto-coupler detection circuit 110, singlechip MCU120 and host computer PC 130.
The MCU120 is connected to the PC130, the enable signal receiving terminal of the optocoupler detection circuit 110, and the level detection terminal.
The detection end of the optical coupling detection circuit 110 is connected with a battery cell in the battery module, the power supply end of the optical coupling detection circuit 110 is connected with a power supply VCC, and the grounding end of the optical coupling detection circuit 110 is grounded.
In fig. 5, the positive electrode of the cell is denoted by BAT + and the negative electrode of the cell is denoted by BAT-.
What still need explain is, because the battery module comprises N electric core, the connected mode of N electric core is for establishing ties, consequently, the positive pole of first electric core is the positive pole of whole battery module, the negative pole of second electric core and the positive pole of first electric core, analogizes in proper order, and the negative pole of nth electric core is the negative pole of whole battery module. In this application, to the opto-coupler detection circuit of second electric core, can regard as the positive pole of second electric core the negative pole of first electric core and link to each other with the opto-coupler detection circuit that corresponds, the positive pole of third electric core links to each other with the opto-coupler detection circuit that corresponds as the negative pole of second electric core.
The optical coupling detection circuit 110 includes: the circuit comprises a first optical coupler U1, a second optical coupler U2, an anti-reverse circuit D1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.
One end of the first resistor R1 is connected with the fourth end of the first optocoupler U1, and the other end of the first resistor R1 is used as the enable signal receiving end.
The first optical coupler U1 includes: a first light emitter and a first light receiver.
And the anode of the first light emitter is used as a power supply end and is connected with the VCC power supply, and the cathode of the first light emitter is connected with one end of the first resistor R1.
One end of the first light receiver serving as the detection end is connected with one battery cell in the battery pack, and the other end of the first light receiver is connected with one end of the fourth resistor R4.
The third end of first opto-coupler U1 with the power VCC links to each other, the first end of first opto-coupler U1 as the detection end with the one end of electric core links to each other, the second end of first opto-coupler U1 passes through fourth resistance R4 with the third end of second opto-coupler U2 links to each other.
The second optical coupler U2 includes: a second light emitter and a second light receiver.
And the anode of the second light emitter is connected with the other end of the fourth resistor R4, and the cathode of the second light emitter is connected with one end of the anti-reverse circuit D1.
One end of the second light receiver is connected to one end of the third resistor R3, and the other end is grounded as a ground terminal.
The first light emitter and the second light emitter are light emitting diodes, and the first light receiver and the second light receiver are photoresistors.
The first light emitter sends an optical signal to the first light receiver, and the first light receiver generates an electrical signal.
The second light emitter sends an optical signal to the second light receiver, and the second light receiver generates an electrical signal.
The fourth end of the second optical coupler U2 is connected with the positive electrode of the reverse connection prevention circuit, the negative electrode of the reverse connection prevention circuit D1 is used as a detection end and connected with the other end of the battery core, the second end of the second optical coupler U2 is used as a grounding end and grounded, and the first end of the second optical coupler U2 is connected with one end of the third resistor R3.
It should be noted that the anti-reverse circuit is a diode, an anode of the diode is connected to the fourth end of the second optocoupler U2, and a cathode of the diode is connected to the other end of the battery cell as the detection end.
The other end of the third resistor R3 is connected with one end of the second resistor R2 to form a common end, and the common end is used as a level detection end to be connected with the MCU.
The other end of the second resistor R2 is connected to the power supply VCC.
The optocoupler detection circuit 110 receives the enable signal sent by the MCU through the enable signal receiving terminal, and executes a corresponding operation based on the enable signal.
The MCU120 detects level information of the optocoupler detection circuit 110 based on the level detection terminal, determines a detection result based on the level information, and transmits the detection result to the PC 130.
In the embodiment of the application, the MCU is respectively connected with the PC and the enabling signal receiving end and the level detecting end of the optical coupling detection circuit; the detection end of the optocoupler detection circuit is connected with one battery cell in the battery module, the power supply end of the optocoupler detection circuit is connected with a power supply VCC, and the grounding end of the optocoupler detection circuit is grounded; the optocoupler detection circuit receives an enabling signal sent by the MCU through the enabling signal receiving end and executes corresponding operation based on the enabling signal; and the MCU detects the level information of the optocoupler detection circuit based on the level detection end, determines a detection result based on the level information, and sends the detection result to the PC. The connecting line sequence of the battery cell in the battery module is detected by controlling the optocoupler detection circuit based on the MCU, whether the line sequence of the battery cell in the battery module is correctly connected is judged based on the level information obtained by detection, and the problem that safety accidents occur due to the fact that the line sequence of the battery cell is wrongly connected is avoided.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.