A debugging box with multiple communication interfaces

By designing a debugging box with multiple communication interfaces, combining the RS232/TTL conversion circuit and the RS485/TTL conversion circuit, the problem of inconsistent communication protocols and interfaces of different lithium batteries is solved, and compatible communication between the upper computer and the lithium battery is realized, reducing the Production costs and improve testing ease.

CN111404698BActive Publication Date: 2025-02-18FUJIAN SCUD POWER TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010321592.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-22
Publication Date
2025-02-18
Estimated Expiration
2040-04-22

AI Technical Summary

Technical Problem

The communication protocols of different lithium batteries are inconsistent with the interface, which leads to the need to configure corresponding debugging boxes for different interfaces during production, assembly and testing, which increases production cost and debugging complexity.

Method used

A debugging box with multiple communication interfaces was designed, including UART external interface and RS485 external interface, combined with RS232/TTL conversion circuit and RS485/TTL conversion circuit, which can be compatible with different communication protocols and interfaces, and realize the upper computer and lithium battery. communication.

Benefits of technology

It realizes compatibility with different communication protocols and interfaces during debugging of the upper computer, reduces production costs, improves the convenience of testing, and has the characteristics of plug-and-play, low power consumption and low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111404698B_ABST
    Figure CN111404698B_ABST
Patent Text Reader

Abstract

The present invention provides a debugging box with multiple communication interfaces, which is used for communication between a lithium battery and a host computer in a lithium battery production test process. The debugging box is used to connect the lithium battery communication interface, including a UART external interface J3 and an RS485 external interface J2, and the RS232 external interface used to connect the host computer includes an RS232 interface CN1; the UART external interface J3, the RS485 external interface J2 and the RS232 interface are all connected to a level conversion circuit of the debugging box; the level conversion circuit is provided with an RS232 / TTL Conversion circuit and RS485 / TTL conversion circuit; when the debugging box is working, the RS232 interface CN1 sends and receives signals with the UART external interface J3 via the RS232 / TTL conversion circuit, so that the host computer communicates with the UART interface of the lithium battery, and the RS232 interface CN1 sends and receives signals with the RS485 external interface J2 via the RS485 / TTL conversion circuit, so that the host computer communicates with the RS485 interface of the lithium battery; the present invention has multiple communication interfaces, which can be easily connected to lithium batteries with different interfaces and debugged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of circuit technology, in particular to a debugging box with multiple communication interfaces. Background Art

[0002] During the production and testing of lithium batteries, many existing lithium batteries are equipped with communication interfaces, and some lithium batteries need to communicate and debug with the host computer during production, assembly, and testing. However, the communication protocols and interfaces of different lithium batteries are inconsistent, and corresponding debugging boxes need to be configured for different interfaces during production. This patent provides a debugging box with multiple communication interfaces, which can achieve compatibility with different communication protocols and interfaces during host computer debugging. Summary of the invention

[0003] The present invention provides a debugging box with multiple communication interfaces, which can be conveniently connected to lithium batteries with different interfaces for debugging.

[0004] The present invention adopts the following technical solutions.

[0005] A debugging box with multiple communication interfaces is used for communication between a lithium battery and a host computer in a lithium battery production test process. The debugging box is used to connect the lithium battery communication interface, including a UART external interface J3 and an RS485 external interface J2 (6), and the RS232 external interface (1) used to connect the host computer includes an RS232 interface CN1; the UART external interface J3, the RS485 external interface J2 and the RS232 interface are all connected to a level conversion circuit (3) of the debugging box; the level conversion circuit is provided with an RS232 / TTL conversion circuit and an RS485 / TTL conversion circuit; when the debugging box is working, the RS232 interface CN1 transmits and receives signals with the UART external interface J3 via the RS232 / TTL conversion circuit, so that the host computer communicates with the UART interface of the lithium battery, and the RS232 interface CN1 transmits and receives signals with the RS485 external interface J2 via the RS485 / TTL conversion circuit, so that the host computer communicates with the RS485 interface of the lithium battery.

[0006] The UART external interface J3 is a UART TTL interface (5) using a TTL level signal as an interface communication signal; the debugging box further comprises a communication indication circuit (4); the communication indication circuit is connected to a power supply circuit (2) and a level conversion circuit; the communication indication circuit is connected to an indicator light of the debugging box so that the indicator light can indicate the working state of the debugging box by changing the light and dark state; the power supply circuit obtains power from an RS232 interface CN1, and the power supply circuit comprises a power supply output terminal VCC; the RS232 interface CN1 comprises a DB9 female connector.

[0007] The communication indication circuit, RS232 / TTL conversion circuit and RS485 / TTL conversion circuit are powered by the power taking circuit;

[0008] Pin4, Pin7, and Pin9 of the RS232 interface CN1 are connected to the input end of the power-taking circuit;

[0009] The transmission and interface port of the RS232 interface CN1 is connected to the RS232 level interface of the level conversion circuit (3);

[0010] The sending and receiving ports of the UART TTL interface (5) are connected to the input end of the communication indication circuit (4) and the TTL level interface of the level conversion circuit (3);

[0011] The A and B ports of the RS485 external interface J2 (6) are connected to the A and B ports of the RS485 interface of the level conversion circuit (3);

[0012] The output terminal VCC of the power taking circuit (2) is connected to the power terminal VCC of the level conversion circuit (3), the power terminal VCC of the communication indication circuit (4), and the power terminal VCC of the UART TTL interface (5);

[0013] The common ground terminal GND of the power supply circuit (2) is connected to the common ground terminal GND of the level conversion circuit (3), the common ground terminal GND of the communication indication circuit (4), and the common ground terminal GND of the UART TTL interface (5); the ground terminal DGND of the RS485 external interface J2 (6) is connected to the ground terminal DGND of the level conversion circuit (3).

[0014] The power supply circuit includes three Schottky diodes D1, D2, and D3, and also includes a TVS tube TV2, a thermistor RT3, a resistor R6, a capacitor C8, and a voltage regulator diode DZ1;

[0015] The level conversion circuit includes an RS232 protocol conversion chip U1, an RS485 protocol conversion chip U2 and an NPN transistor Q1, two thermistors RT1 and RT2, six capacitors C1, C2, C3, C4, C5 and C7, four resistors R8, R9, R10 and R11, and two magnetic beads L1 and L2;

[0016] The indicator lights of the debugging box include three LED lights D4, D5, and D6;

[0017] The communication indication circuit also includes five current limiting resistors R1, R2, R3, R4, R5, and R6, and two PNP transistors Q2 and Q3;

[0018] The RS485 interface J2 includes a TVS tube TV1, a discharge tube Z1 and two thermistors RT4 and RT5.

[0019] In the power-taking circuit, the positive electrode of the Schottky diode D3 is connected to Pin7 of the RS232 interface CN1; the positive electrode of D2 is connected to Pin4 of the RS232 interface CN1; the positive electrode of D1 is connected to one end of the TVS tube TV2 and Pin9 of the RS232 interface CN1; the other end of the TVS tube TV2 is connected to one end of RT3 and Pin5 of the RS232 interface CN1; the negative electrode of D2 is connected to the negative electrode of D3 and one end of R6; the other end of R6 is connected to the negative electrode of D1, one end of C8, and the positive electrode of DZ1, and forms a power supply output terminal VCC; the other end of RT3 is connected to the other end of C8 and the positive electrode of DZ1, and forms a common ground terminal GND.

[0020] In the level conversion circuit, U1 and C1, C2, C3, C4, and C5 form an RS232 / TTL conversion circuit; U2 and C7, R8, R9, R10, R11, and Q1 form an RS485 / TTL conversion circuit;

[0021] One end of the thermistor RT1 is connected to Pin2 of the RS232 interface CN1; the other end of RT1 is connected to Pin7 of U1; one end of RT2 is connected to Pin3 of the RS232 interface CN1; the other end of RT2 is connected to Pin8 of U1;

[0022] Pin 9 of the RS232 protocol conversion chip U1 is connected to Pin 1 of the RS485 protocol conversion chip U2, one end of R5 in the communication indication circuit, and the external transmission end RX of the UART TTL interface; Pin 10 of U1 is connected to Pin 4 of U2, one end of R8, one end of R4 in the communication indication circuit, and the external receiving end TX of the UART TTL interface (5); one end of L1 is connected to the power supply output VCC; the other end of L1 is connected to Pin 8 of U2, serving as the power supply VDD of the RS485 circuit; one end of L2 is connected to the common ground end GND; the other end of L2 is connected to Pin 5 of U2, serving as the common ground end DGND of the RS485 interface circuit.

[0023] In the communication indication circuit, one end of the resistor R1, one end of R2, and one end of R3 are connected to the power supply terminal VCC; the other end of R1 is connected to the positive electrode of D4; the other end of R2 is connected to the positive electrode of D5; the negative electrode of D5 is connected to the emitter of Q2; the base of Q2 is connected to the other end of R4; the other end of R3 is connected to the positive electrode of D6; the negative electrode of D6 is connected to the emitter of Q3; the base of Q3 is connected to the other end of R5; the collector of Q2 is connected to the collector of Q3 and the negative electrode of D4, and is connected to the common ground terminal GND.

[0024] In the RS485 external interface J2, one end of TV1 is connected to one end of RT4 and connected to the A port of the RS485 interface of the level conversion circuit (3); the other end of TV1 is connected to one end of RT5 and connected to the B port of the RS485 interface of the level conversion circuit (3); the other end of RT4 is connected to one end of Z1 and the 485A end of J2; the other end of RT5 is connected to the other end of Z1 and the 485B end of J2.

[0025] The RS232 interface CN1 of the debugging box can be plugged and communicated with the standard RS232 interface of the host computer. When the host computer is in the standby or data receiving state, the standard RS232 interface of the host computer makes Pin4 of CN1 a high level; when the host computer is in the data sending state, the standard RS232 interface of the host computer makes Pin7 of CN1 a high level;

[0026] The power circuit connects the high level signals of the two pins Pin4 and Pin7 through the diodes D2 and D3 and forms a voltage stabilizing circuit through R6 and DZ1, so that when the host computer is turned on, the power circuit can output a stable working voltage VCC to make the debugging box work.

[0027] The RT1, RT2, RT3, RT4, and RT5 are thermistors that play a protective role in the circuit. When a short circuit occurs in the communication interface circuit or the temperature is too high, the thermistor will disconnect the interface circuit loop to protect the entire communication box circuit and the host computer interface;

[0028] The L1 and L2 are magnetic beads, and the L1 and L2 are isolation structures at the power supply terminal VDD, the ground terminal DGND and the power supply output terminal VCC and the common ground terminal GND of the RS485 / TTL conversion circuit. The isolation structure is an isolation structure with EMC anti-interference protection function.

[0029] The beneficial effect of the present invention is that when lithium batteries and other electronic products are produced, assembled and applied, different communication protocols and interfaces can be compatible during debugging of the host computer; when the battery is produced, assembled and debugged, the interfaces of different communication protocols on the BMS can communicate with the host computer through the debugging box, which greatly reduces the production cost and improves the convenience of testing. The test box directly converts the communication protocol with a built-in chip, does not require software programming, and does not require additional power supply, achieving a plug-and-play effect, and has the characteristics of low cost, light size, low power consumption and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0031] Attached Figure 1 It is a schematic diagram of the principle of the present invention;

[0032] Attached Figure 2 is a circuit schematic diagram of the present invention;

[0033] In the figure: 1-RS232 external interface; 2-power supply circuit; 3-level conversion circuit; 4-communication indication circuit; 5-UARTTTL interface; 6-RS485 external interface J2; 7-RS232 / TTL conversion circuit; 8-RS485 / TTL conversion circuit. DETAILED DESCRIPTION

[0034] like Figure 1-2 As shown, a debugging box with multiple communication interfaces is used for communication between a lithium battery and a host computer in a lithium battery production test process. The debugging box is used to connect the lithium battery communication interface, including a UART external interface J3 and an RS485 external interface J2 (6), and the RS232 external interface (1) used to connect the host computer includes an RS232 interface CN1; the UART external interface J3, the RS485 external interface J2 and the RS232 interface are all connected to a level conversion circuit (3) of the debugging box; the level conversion circuit is provided with an RS232 / TTL conversion circuit and an RS485 / TTL conversion circuit; when the debugging box is working, the RS232 interface CN1 transmits and receives signals with the UART external interface J3 via the RS232 / TTL conversion circuit, so that the host computer communicates with the UART interface of the lithium battery, and the RS232 interface CN1 transmits and receives signals with the RS485 external interface J2 via the RS485 / TTL conversion circuit, so that the host computer communicates with the RS485 interface of the lithium battery.

[0035] The UART external interface J3 is a UART TTL interface (5) using a TTL level signal as an interface communication signal; the debugging box further comprises a communication indication circuit (4); the communication indication circuit is connected to a power supply circuit (2) and a level conversion circuit; the communication indication circuit is connected to an indicator light of the debugging box so that the indicator light can indicate the working state of the debugging box by changing the light and dark state; the power supply circuit obtains power from an RS232 interface CN1, and the power supply circuit comprises a power supply output terminal VCC; the RS232 interface CN1 comprises a DB9 female connector.

[0036] The communication indication circuit, RS232 / TTL conversion circuit and RS485 / TTL conversion circuit are powered by the power taking circuit;

[0037] Pin4, Pin7, and Pin9 of the RS232 interface CN1 are connected to the input end of the power-taking circuit;

[0038] The transmission and interface port of the RS232 interface CN1 is connected to the RS232 level interface of the level conversion circuit (3);

[0039] The sending and receiving ports of the UART TTL interface (5) are connected to the input end of the communication indication circuit (4) and the TTL level interface of the level conversion circuit (3);

[0040] The A and B ports of the RS485 external interface J2 (6) are connected to the A and B ports of the RS485 interface of the level conversion circuit (3);

[0041] The output terminal VCC of the power taking circuit (2) is connected to the power terminal VCC of the level conversion circuit (3), the power terminal VCC of the communication indication circuit (4), and the power terminal VCC of the UART TTL interface (5);

[0042] The common ground terminal GND of the power supply circuit (2) is connected to the common ground terminal GND of the level conversion circuit (3), the common ground terminal GND of the communication indication circuit (4), and the common ground terminal GND of the UART TTL interface (5); the ground terminal DGND of the RS485 external interface J2 (6) is connected to the ground terminal DGND of the level conversion circuit (3).

[0043] The power supply circuit includes three Schottky diodes D1, D2, and D3, and also includes a TVS tube TV2, a thermistor RT3, a resistor R6, a capacitor C8, and a voltage regulator diode DZ1;

[0044] The level conversion circuit includes an RS232 protocol conversion chip U1, an RS485 protocol conversion chip U2 and an NPN transistor Q1, two thermistors RT1 and RT2, six capacitors C1, C2, C3, C4, C5 and C7, four resistors R8, R9, R10 and R11, and two magnetic beads L1 and L2;

[0045] The indicator lights of the debugging box include three LED lights D4, D5, and D6;

[0046] The communication indication circuit also includes five current limiting resistors R1, R2, R3, R4, R5, and R6, and two PNP transistors Q2 and Q3;

[0047] The RS485 interface J2 includes a TVS tube TV1, a discharge tube Z1 and two thermistors RT4 and RT5.

[0048] In the power-taking circuit, the positive electrode of the Schottky diode D3 is connected to Pin7 of the RS232 interface CN1; the positive electrode of D2 is connected to Pin4 of the RS232 interface CN1; the positive electrode of D1 is connected to one end of the TVS tube TV2 and Pin9 of the RS232 interface CN1; the other end of the TVS tube TV2 is connected to one end of RT3 and Pin5 of the RS232 interface CN1; the negative electrode of D2 is connected to the negative electrode of D3 and one end of R6; the other end of R6 is connected to the negative electrode of D1, one end of C8, and the positive electrode of DZ1, and forms a power supply output terminal VCC; the other end of RT3 is connected to the other end of C8 and the positive electrode of DZ1, and forms a common ground terminal GND.

[0049] In the level conversion circuit, U1 and C1, C2, C3, C4, and C5 form an RS232 / TTL conversion circuit; U2 and C7, R8, R9, R10, R11, and Q1 form an RS485 / TTL conversion circuit;

[0050] One end of the thermistor RT1 is connected to Pin2 of the RS232 interface CN1; the other end of RT1 is connected to Pin7 of U1; one end of RT2 is connected to Pin3 of the RS232 interface CN1; the other end of RT2 is connected to Pin8 of U1;

[0051] Pin 9 of the RS232 protocol conversion chip U1 is connected to Pin 1 of the RS485 protocol conversion chip U2, one end of R5 in the communication indication circuit, and the external transmission end RX of the UART TTL interface; Pin 10 of U1 is connected to Pin 4 of U2, one end of R8, one end of R4 in the communication indication circuit, and the external receiving end TX of the UART TTL interface (5); one end of L1 is connected to the power supply output VCC; the other end of L1 is connected to Pin 8 of U2, serving as the power supply VDD of the RS485 circuit; one end of L2 is connected to the common ground end GND; the other end of L2 is connected to Pin 5 of U2, serving as the common ground end DGND of the RS485 interface circuit.

[0052] In the communication indication circuit, one end of the resistor R1, one end of R2, and one end of R3 are connected to the power supply terminal VCC; the other end of R1 is connected to the positive electrode of D4; the other end of R2 is connected to the positive electrode of D5; the negative electrode of D5 is connected to the emitter of Q2; the base of Q2 is connected to the other end of R4; the other end of R3 is connected to the positive electrode of D6; the negative electrode of D6 is connected to the emitter of Q3; the base of Q3 is connected to the other end of R5; the collector of Q2 is connected to the collector of Q3 and the negative electrode of D4, and is connected to the common ground terminal GND.

[0053] In the RS485 external interface J2, one end of TV1 is connected to one end of RT4 and connected to the A port of the RS485 interface of the level conversion circuit (3); the other end of TV1 is connected to one end of RT5 and connected to the B port of the RS485 interface of the level conversion circuit (3); the other end of RT4 is connected to one end of Z1 and the 485A end of J2; the other end of RT5 is connected to the other end of Z1 and the 485B end of J2.

[0054] The RS232 interface CN1 of the debugging box can be plugged and communicated with the standard RS232 interface of the host computer. When the host computer is in the standby or data receiving state, the standard RS232 interface of the host computer makes Pin4 of CN1 a high level; when the host computer is in the data sending state, the standard RS232 interface of the host computer makes Pin7 of CN1 a high level;

[0055] The power circuit connects the high level signals of the two pins Pin4 and Pin7 through the diodes D2 and D3 and forms a voltage stabilizing circuit through R6 and DZ1, so that when the host computer is turned on, the power circuit can output a stable working voltage VCC to make the debugging box work.

[0056] The RT1, RT2, RT3, RT4, and RT5 are thermistors that play a protective role in the circuit. When a short circuit occurs in the communication interface circuit or the temperature is too high, the thermistor will disconnect the interface circuit loop to protect the entire communication box circuit and the host computer interface;

[0057] The L1 and L2 are magnetic beads, and the L1 and L2 are isolation structures at the power supply terminal VDD, the ground terminal DGND and the power supply output terminal VCC and the common ground terminal GND of the RS485 / TTL conversion circuit. The isolation structure is an isolation structure with EMC anti-interference protection function.

[0058] Example:

[0059] When communicating, the host computer sends and receives data with the debugging box through CN1, converts RS232 signals to TTL level signals through U1 and peripheral circuits, and then converts TTL signals to RS485 signals through U2 and peripheral circuits, outputs TTL signals through the J3 interface, and outputs RS485 signals through the J2 interface.

[0060] When the communication box is powered normally, LED D4 is always on, indicating that the power supply is normal; when the debugging box receives data sent from the external lithium battery end to the host computer, LED D5 flashes; when the debugging box receives data sent from the host computer to the external lithium battery end, LED D6 flashes.

[0061] The LED light color can be changed to red, green, blue or other colors.

Claims

1. A debugging box with multiple communication interfaces, used for communication between lithium batteries and a host computer in the lithium battery production and testing process, characterized in that: The interface of the debugging box for connecting to the communication interface of the lithium battery includes a UART external interface J3 and an RS485 external interface J2 (6), and the RS232 external interface (1) for connecting to the host computer includes an RS232 interface CN1; the UART external interface J3, the RS485 external interface J2 and the RS232 interface are all connected to the level conversion circuit (3) of the debugging box; the level conversion circuit is provided with an RS232 / TTL conversion circuit and an RS485 / TTL conversion circuit; when the debugging box is working, the RS232 interface CN1 transmits and receives signals with the UART external interface J3 via the RS232 / TTL conversion circuit, so that the host computer communicates with the UART interface of the lithium battery, and the RS232 interface CN1 transmits and receives signals with the RS485 external interface J2 via the RS485 / TTL conversion circuit, so that the host computer communicates with the RS485 interface of the lithium battery; The UART external interface J3 is a UART TTL interface (5) using a TTL level signal as an interface communication signal; the debugging box further comprises a communication indication circuit (4); the communication indication circuit is connected to a power supply circuit (2) and a level conversion circuit; the communication indication circuit is connected to an indicator light of the debugging box so that the indicator light can indicate the working state of the debugging box by changing the light and dark state; the power supply circuit obtains power from the RS232 interface CN1, and the power supply circuit comprises a power supply output terminal VCC; the RS232 interface CN1 comprises a DB9 female connector; The communication indication circuit, RS232 / TTL conversion circuit and RS485 / TTL conversion circuit are powered by the power taking circuit; Pin4, Pin7, and Pin9 of the RS232 interface CN1 are connected to the input end of the power-taking circuit; The transmission and interface port of the RS232 interface CN1 is connected to the RS232 level interface of the level conversion circuit (3); The sending and receiving ports of the UART TTL interface (5) are connected to the input end of the communication indication circuit (4) and the TTL level interface of the level conversion circuit (3); The A and B ports of the RS485 external interface J2 (6) are connected to the A and B ports of the RS485 interface of the level conversion circuit (3); The output terminal VCC of the power taking circuit (2) is connected to the power terminal VCC of the level conversion circuit (3), the power terminal VCC of the communication indication circuit (4), and the power terminal VCC of the UART TTL interface (5); The common ground terminal GND of the power supply circuit (2) is connected to the common ground terminal GND of the level conversion circuit (3), the common ground terminal GND of the communication indication circuit (4), and the common ground terminal GND of the UART TTL interface (5); the ground terminal DGND of the RS485 external interface J2 (6) is connected to the ground terminal DGND of the level conversion circuit (3); The power supply circuit includes three Schottky diodes D1, D2, and D3, and also includes a TVS tube TV2, a thermistor RT3, a resistor R6, a capacitor C8, and a voltage regulator diode DZ1; The level conversion circuit includes an RS232 protocol conversion chip U1, an RS485 protocol conversion chip U2 and an NPN transistor Q1, two thermistors RT1 and RT2, six capacitors C1, C2, C3, C4, C5 and C7, four resistors R8, R9, R10 and R11, and two magnetic beads L1 and L2; The indicator lights of the debugging box include three LED lights D4, D5, and D6; The communication indication circuit also includes five current limiting resistors R1, R2, R3, R4, R5, and R6, and two PNP transistors Q2 and Q3; The RS485 interface J2 includes a TVS tube TV1, a discharge tube Z1 and two thermistors RT4 and RT5; In the power-taking circuit, the anode of the Schottky diode D3 is connected to Pin7 of the RS232 interface CN1; the anode of D2 is connected to Pin4 of the RS232 interface CN1; the anode of D1 is connected to one end of the TVS tube TV2 and Pin9 of the RS232 interface CN1; the other end of the TVS tube TV2 is connected to one end of RT3 and Pin5 of the RS232 interface CN1; the cathode of D2 is connected to the cathode of D3 and one end of R6; the other end of R6 is connected to the cathode of D1, one end of C8, and the anode of DZ1, and forms a power supply output terminal VCC; the other end of RT3 is connected to the other end of C8 and the anode of DZ1, and forms a common ground terminal GND; In the level conversion circuit, U1 and C1, C2, C3, C4, and C5 form an RS232 / TTL conversion circuit; U2 and C7, R8, R9, R10, R11, and Q1 form an RS485 / TTL conversion circuit; One end of the thermistor RT1 is connected to Pin2 of the RS232 interface CN1; the other end of RT1 is connected to Pin7 of U1; one end of RT2 is connected to Pin3 of the RS232 interface CN1; the other end of RT2 is connected to Pin8 of U1; Pin 9 of the RS232 protocol conversion chip U1 is connected to Pin 1 of the RS485 protocol conversion chip U2, one end of R5 in the communication indication circuit, and the external transmission end RX of the UART TTL interface; Pin 10 of U1 is connected to Pin 4 of U2, one end of R8, one end of R4 in the communication indication circuit, and the external receiving end TX of the UART TTL interface (5); one end of L1 is connected to the power supply output VCC; the other end of L1 is connected to Pin 8 of U2, serving as the power supply VDD of the RS485 circuit; one end of L2 is connected to the common ground end GND; the other end of L2 is connected to Pin 5 of U2, serving as the common ground end DGND of the RS485 interface circuit; During the production, assembly and debugging of lithium batteries, if the interfaces of different communication protocols of the lithium battery BMS communicate with the host computer through the debugging box in a plug-and-play manner, the debugging box converts the communication protocol with a built-in chip.

2. A debugging box with multiple communication interfaces according to claim 1, characterized in that: In the communication indication circuit, one end of the resistor R1, one end of R2, and one end of R3 are connected to the power supply terminal VCC; the other end of R1 is connected to the positive electrode of D4; the other end of R2 is connected to the positive electrode of D5; the negative electrode of D5 is connected to the emitter of Q2; the base of Q2 is connected to the other end of R4; the other end of R3 is connected to the positive electrode of D6; the negative electrode of D6 is connected to the emitter of Q3; the base of Q3 is connected to the other end of R5; the collector of Q2 is connected to the collector of Q3 and the negative electrode of D4, and is connected to the common ground terminal GND.

3. The debugging box with multiple communication interfaces according to claim 1, characterized in that: In the RS485 external interface J2, one end of TV1 is connected to one end of RT4 and connected to the A port of the RS485 interface of the level conversion circuit (3); the other end of TV1 is connected to one end of RT5 and connected to the B port of the RS485 interface of the level conversion circuit (3); the other end of RT4 is connected to one end of Z1 and the 485A end of J2; the other end of RT5 is connected to the other end of Z1 and the 485B end of J2.

4. A debugging box with multiple communication interfaces according to claim 1, characterized in that: The RS232 interface CN1 of the debugging box can be plugged and communicated with the standard RS232 interface of the host computer. When the host computer is in the standby or data receiving state, the standard RS232 interface of the host computer makes Pin4 of CN1 a high level; when the host computer is in the data sending state, the standard RS232 interface of the host computer makes Pin7 of CN1 a high level; The power circuit connects the high level signals of the two pins Pin4 and Pin7 through the diodes D2 and D3 and forms a voltage stabilizing circuit through R6 and DZ1, so that when the host computer is turned on, the power circuit can output a stable working voltage VCC to make the debugging box work.

5. The debugging box with multiple communication interfaces according to claim 1, characterized in that: The RT1, RT2, RT3, RT4, and RT5 are thermistors that play a protective role in the circuit. When a short circuit occurs in the communication interface circuit or the temperature is too high, the thermistor will disconnect the interface circuit loop to protect the entire communication box circuit and the host computer interface; The L1 and L2 are magnetic beads, and the L1 and L2 are isolation structures at the power supply terminal VDD, the ground terminal DGND and the power supply output terminal VCC and the common ground terminal GND of the RS485 / TTL conversion circuit. The isolation structure is an isolation structure with EMC anti-interference protection function.

Citation Information

Patent Citations

  • Debugging box with multiple communication interfaces

    CN211860139U