A BMS communication link detection device
By designing a BMS communication link detection device and using an analog switch chip to realize the synchronous switching and status indication of multiple communication interfaces, the problem of manual inspection in the mass production of BMS system is solved, the inspection efficiency and product stability are improved, and the cost is reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- XIAMEN LIANGDAO ENERGY DEVELOPMENT CO LTD
- Filing Date
- 2025-04-29
- Publication Date
- 2026-05-26
AI Technical Summary
In the mass production of BMS systems, it is difficult and costly to manually test the power supply and communication between each module of the BMS system, and it is impossible to ensure the stability of the communication link and user safety.
A BMS communication link detection device was designed, including an MCU, a CAN transceiver module, an RS485 transceiver module, a CAN communication channel selection module, and an RS485 communication channel selection module. The device uses an analog switch chip to realize the synchronous switching and status indication of multiple communication interfaces. Combined with a status indication module, a power output detection module, and a power on/off module, it can achieve rapid detection.
It enables rapid and comprehensive testing of all communication nodes in the BMS system, reducing costs, improving production and testing efficiency, and ensuring product stability and safety.
Smart Images

Figure CN224287028U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of battery energy storage system testing, and in particular to a BMS communication link detection device. Background Technology
[0002] Under conditions of high-volume shipments, ensuring normal power supply and communication between each module of the BMS system is difficult and costly to achieve through manual testing alone. BMS systems commonly use multiple different communication protocols for communication between battery packs, between battery packs and inverters, and between battery packs and the host computer. After mass production and shipment of the BMS, a dedicated communication link testing device is required to test each communication link to ensure the stability of the shipped products and guarantee user safety. Utility Model Content
[0003] The present invention aims to provide a communication link detection device for quickly and comprehensively detecting the connectivity of various communication node modules of a BMS system during batch testing of finished BMS products.
[0004] To achieve the above objectives, the present invention proposes the following technical solution:
[0005] A BMS communication link detection device, characterized in that it comprises: an MCU, a CAN transceiver module, an RS485 transceiver module, a CAN communication channel selection module, and an RS485 communication channel selection module;
[0006] The MCU includes at least two serial ports;
[0007] The first serial port establishes a one-to-many communication connection with multiple CAN communication interfaces of the BMS after passing through the CAN transceiver module and the CAN communication channel selection module.
[0008] The second serial port establishes a one-to-many communication connection with multiple RS485 communication interfaces of the BMS after passing through the RS485 transceiver module and the RS485 communication channel selection module.
[0009] Furthermore, the CAN transceiver module is connected to the MCU and converts the MCU's serial port signal into a CAN signal;
[0010] The CAN communication channel selection module includes N dual-channel 2-to-1 analog switch chips, where N is an integer greater than or equal to 2; each analog switch chip contains:
[0011] The common terminal of the first channel is connected to the CAN_H signal line of the CAN transceiver module, the first strobe terminal is connected to the CAN_H terminal of the nth CAN communication interface (n=1,2,...,N), and the second strobe terminal is left floating;
[0012] The common terminal of the second channel is connected to the CAN_L signal line of the CAN transceiver module, the first strobe terminal is connected to the CAN_L terminal of the nth CAN communication interface, and the second strobe terminal is left floating.
[0013] The two channel control terminals of each analog switch chip are connected in parallel to the nth group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
[0014] Furthermore, the RS485 transceiver module is connected to the MCU and converts the MCU's serial port signals into RS485 signals RS485_A and RS485_B;
[0015] The RS485 communication channel selection module includes M dual-channel 2-to-1 analog switch chips, where M is an integer greater than or equal to 2; each analog switch chip contains:
[0016] The common terminal of the first channel is connected to the RS485_A signal line of the RS485 transceiver module, the first strobe terminal is connected to the RS485_A terminal of the m-th RS485 communication interface (m=1,2,...,M), and the second strobe terminal is left floating;
[0017] The common terminal of the second channel is connected to the RS485_B signal line of the RS485 transceiver module, the first strobe terminal is connected to the RS485_B terminal of the m-th RS485 communication interface, and the second strobe terminal is left floating.
[0018] The two channel control terminals of each analog switch chip are connected in parallel to the m-th group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
[0019] Furthermore, the communication link detection device also includes a status indication module, a power output detection module, and a power on / off module;
[0020] The power-on / off module is connected to the MCU and is used to send power-on / off control signals to the BMS according to the instructions of the MCU;
[0021] The input terminal of the power output detection module is connected to the power output terminal of the BMS, and the output terminal is connected to the GPIO interface of the MCU. It is used to convert the power output signal into a digital quantity and transmit it to the MCU.
[0022] The status indicator module is connected to the GPIO interface of the MCU and is used to display the working status of the CAN communication channel, RS485 communication channel, power output status, and power on / off module in real time.
[0023] Furthermore, the status indication module includes multiple LED indicators. Each LED indicator is directly connected to the GPIO interface of the MCU through a current-limiting resistor. Each indicator corresponds to the CAN communication channel status, RS485 communication channel status, power abnormality alarm, and power on / off signal status indication, respectively.
[0024] Furthermore, the power-on / off module includes a relay drive circuit, wherein:
[0025] The relay coil is connected to the MCU's GPIO interface via a transistor switching circuit;
[0026] The normally open contact of the relay is connected to the power on / off signal input terminal of the BMS;
[0027] The common contact of the relay is grounded.
[0028] Furthermore, the power output detection module includes:
[0029] The optocoupler isolation circuit connects the input side to the power output terminal of the BMS via a current-limiting resistor, and the output side is connected to the GPIO interface of the MCU and pulled up by a resistor.
[0030] Furthermore, the communication link detection device also includes:
[0031] Rechargeable lithium-ion battery pack;
[0032] The battery management circuit integrates overcharge / over-discharge protection and power monitoring functions;
[0033] The battery management circuit supplies power to each functional module via a DC-DC converter module.
[0034] Technical effects:
[0035] The communication link detection device of this invention can quickly and comprehensively detect the connectivity of each communication node module of the BMS system during batch testing of BMS finished products, thereby saving costs and improving production efficiency. Attached Figure Description
[0036] Figure 1 This is a system block diagram of this utility model;
[0037] Figure 2 This is a circuit diagram of the CAN transceiver circuit of this utility model;
[0038] Figure 3 This is a circuit diagram of the CAN communication channel selection module of this utility model;
[0039] Figure 4 This is the circuit diagram of the RS485 circuit of this utility model;
[0040] Figure 5 This is a circuit diagram of the RS485 communication channel selection module of this utility model;
[0041] Figure 6 This is the circuit diagram of the power-on / off module of this utility model;
[0042] Figure 7 This is a circuit diagram of the power output detection module of this utility model;
[0043] Figure 8 This is a circuit diagram of the MCU and its peripheral components according to this utility model. Detailed Implementation
[0044] To further illustrate the various embodiments, the present invention provides accompanying drawings. These drawings are part of the disclosure of the present invention and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these drawings, those skilled in the art should be able to understand other possible implementations and the advantages of the present invention. Components in the drawings are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0045] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments.
[0046] like Figure 1 As shown, this utility model provides a BMS communication link detection device, including: MCU 1, CAN transceiver module 2, RS485 transceiver module 3, CAN communication channel selection module 4, RS485 communication channel selection module 5, status indicator module 8, power output detection module 9, and power on / off module 10, etc.
[0047] MCU 1 includes at least two serial ports; the first serial port establishes a one-to-many communication connection with multiple CAN communication interfaces 6 of BMS through CAN transceiver module 2 and CAN communication channel selection module 4; the second serial port establishes a one-to-many communication connection with multiple RS485 communication interfaces 7 of BMS through RS485 transceiver module 3 and RS485 communication channel selection module 5.
[0048] The modules are described below:
[0049] (1) CAN transceiver module and CAN communication channel selection module
[0050] CAN transceiver module 2 connects to MCU 1, converting serial port signals (CAN_TX / CAN_RX) into differential CAN signals (CAN_H / CAN_L), such as... Figure 2 As shown.
[0051] The CAN communication channel selection module 4 is connected to the CAN transceiver module 2 and MCU 1. Through the selection control of the MCU, the CAN signal (CAN_H / CAN_L) is connected to a certain CAN communication interface 6 of the BMS.
[0052] Specifically, the CAN communication channel selection module 4 includes N dual-channel 2-to-1 analog switch chips, where N is an integer greater than or equal to 2, such as... Figure 3 As shown, each analog switch chip (such as U25, U26) contains:
[0053] The common terminal COM1 of the first channel is connected to the CAN_H signal line of the CAN transceiver module, the first strobe terminal NO1 is connected to the CAN_H terminal of the nth CAN communication interface (n=1,2,...,N), and the second strobe terminal is left floating;
[0054] The common terminal COM2 of the second channel is connected to the CAN_L signal line of the CAN transceiver module, the first strobe terminal NO2 is connected to the CAN_L terminal of the nth CAN communication interface, and the second strobe terminal is left floating.
[0055] The two channel control terminals of each analog switch chip are connected in parallel to the nth group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
[0056] (2) RS485 transceiver module and RS485 communication channel selection module
[0057] RS485 transceiver module 3 is connected to MCU 1, converting the serial port signals (RS485_TX / RS485_RX) into differential RS485 signals (RS485_1A / RS485_1B), such as... Figure 4 As shown.
[0058] The RS485 communication channel selection module 5, RS485 transceiver module 3, and MCU 1 are connected. Through the selection control of the MCU, the RS485 signal (RS485_1A / RS485_1B) is connected to a certain RS485 communication interface 7 of the BMS.
[0059] Specifically, the RS485 communication channel selection module 5 includes M dual-channel 2-to-1 analog switch chips, where M is an integer greater than or equal to 2. For example... Figure 5 As shown, each analog switch chip (such as U19, U27) contains:
[0060] The common terminal COM1 of the first channel is connected to the RS485_1A signal line of the RS485 transceiver module, the first strobe terminal NO1 is connected to the RS485_1A terminal of the m-th RS485 communication interface (m=1,2,...,M), and the second strobe terminal is left floating;
[0061] The common terminal COM2 of the second channel is connected to the RS485_1B signal line of the RS485 transceiver module, the first strobe terminal NO2 is connected to the RS485_1B terminal of the m-th RS485 communication interface, and the second strobe terminal is left floating.
[0062] The two channel control terminals of each analog switch chip are connected in parallel to the m-th group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
[0063] In this embodiment, an MCU is used to control each analog switch chip individually. When the MCU sets the control terminal of a certain analog switch chip to 1, the analog switch chip is turned on, realizing the communication connection between a certain communication interface (CAN communication interface 6 or RS485 communication interface 7) and MCU 1. This method is simple to control and avoids possible electromagnetic interference between channels.
[0064] In practical implementation, N and M are determined according to the number of CAN communication interfaces and RS485 communication interfaces of the BMS, respectively. For example, if the BMS has 3 CAN communication interfaces, then N≥3 to meet the compatibility requirements.
[0065] (3) Power on / off module
[0066] The power-on / off module 10 is connected to the MCU 1 and is used to send power-on / off control signals to the BMS according to the instructions of the MCU, so that the BMS can be automatically powered on, eliminating the need for manual power-on operation. Figure 6 As shown, the power-on / off module includes a relay drive circuit, wherein:
[0067] The coil terminal of relay LS14 is connected to the GPIO interface PE2 of the MCU through a transistor switching circuit with NPN transistor Q18 as the main component.
[0068] The normally open contact (pin 5) of relay LS14 is connected to the power on / off signal input terminal BTON_WEAK of the BMS;
[0069] The common contact (pin 6) of relay LS14 is grounded.
[0070] The power-on / off module has a simple circuit, good electrical isolation, and high reliability.
[0071] (4) Power output detection module
[0072] The input terminal of the power output detection module 9 is connected to the power output terminal of the BMS, and the output terminal is connected to the GPIO interface of the MCU 1. It is used to convert the power output signal into a digital quantity and transmit it to the MCU.
[0073] like Figure 7As shown, the power output detection module 9 includes an optocoupler isolation circuit. The input side of the optocoupler OC1 is connected to the power output terminal POWER_12V of the BMS through a current-limiting resistor R62, and the output side is connected to the GPIO interface PC1 of the MCU and pulled up through a resistor R60.
[0074] (5) Status Indicator Module
[0075] The status indicator module 8 is connected to multiple GPIO interfaces of MCU 1 and is used to display the working status of CAN communication channel, RS485 communication channel, power output status and power on / off module in real time.
[0076] In this embodiment, the status indication module 8 includes multiple LED indicators. Each LED indicator is directly connected to the GPIO interface of the MCU through a current-limiting resistor. Each indicator corresponds to the CAN communication channel status, RS485 communication channel status, power output status indication, and power on / off signal status indication, respectively. For example, three green LED indicators are set to indicate the status of the three CAN communication channels respectively; a red power output abnormality indicator is set for power output abnormality indication.
[0077] MCU and its peripheral circuits such as Figure 8 As shown in the figure. Among them, U2 is the MCU.
[0078] In this embodiment, the communication link detection module further includes a rechargeable lithium-ion battery pack 11 and a battery management circuit 12. Preferably, the battery management circuit integrates overcharge / over-discharge protection and power monitoring functions to ensure charging safety. The battery management circuit supplies power to each functional module through a DC-DC converter module.
[0079] In BMS communication link testing, each communication interface of the BMS is connected to this BMS communication link testing device via cables or probes. The device receives signals from each communication link, performs logical judgments, determines whether the connection of each link is normal, and displays or issues warnings via corresponding LED indicators. The entire system test takes less than 2 seconds, significantly improving the efficiency of production line testing.
[0080] Although the present invention has been specifically shown and described in conjunction with preferred embodiments, those skilled in the art should understand that various changes in form and detail may be made to the present invention without departing from the spirit and scope of the present invention as defined in the appended claims, and all such changes shall be within the scope of protection of the present invention.
Claims
1. A BMS communication link detection device, characterized in that, include: MCU, CAN transceiver module, RS485 transceiver module, CAN communication channel selection module and RS485 communication channel selection module; The MCU includes at least two serial ports; The first serial port establishes a one-to-many communication connection with multiple CAN communication interfaces of the BMS after passing through the CAN transceiver module and the CAN communication channel selection module. The second serial port establishes a one-to-many communication connection with multiple RS485 communication interfaces of the BMS after passing through the RS485 transceiver module and the RS485 communication channel selection module.
2. The communication link detection device as described in claim 1, characterized in that, The CAN transceiver module is connected to the MCU and converts the MCU's serial port signals into CAN signals; The CAN communication channel selection module includes N dual-channel 2-to-1 analog switch chips, where N is an integer greater than or equal to 2; each analog switch chip contains: The common terminal of the first channel is connected to the CAN_H signal line of the CAN transceiver module, the first strobe terminal is connected to the CAN_H terminal of the nth CAN communication interface (n=1,2,...,N), and the second strobe terminal is left floating; The common terminal of the second channel is connected to the CAN_L signal line of the CAN transceiver module, the first strobe terminal is connected to the CAN_L terminal of the nth CAN communication interface, and the second strobe terminal is left floating. The two channel control terminals of each analog switch chip are connected in parallel to the nth group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
3. The communication link detection device as described in claim 1, characterized in that, The RS485 transceiver module is connected to the MCU and converts the MCU's serial port signals into RS485 signals RS485_A and RS485_B. The RS485 communication channel selection module includes M dual-channel 2-to-1 analog switch chips, where M is an integer greater than or equal to 2; each analog switch chip includes: The common terminal of the first channel is connected to the RS485_A signal line of the RS485 transceiver module, the first strobe terminal is connected to the RS485_A terminal of the m-th RS485 communication interface (m=1,2,...,M), and the second strobe terminal is left floating; The common terminal of the second channel is connected to the RS485_B signal line of the RS485 transceiver module, the first strobe terminal is connected to the RS485_B terminal of the m-th RS485 communication interface, and the second strobe terminal is left floating. The two channel control terminals of each analog switch chip are connected in parallel to the m-th group of GPIO control interfaces of the MCU to achieve synchronous switching of the two channels.
4. The communication link detection device as described in claim 1, characterized in that, It also includes a status indicator module, a power output detection module, and a power on / off module; The power-on / off module is connected to the MCU and is used to send power-on / off control signals to the BMS according to the instructions of the MCU; The input terminal of the power output detection module is connected to the power output terminal of the BMS, and the output terminal is connected to the GPIO interface of the MCU. It is used to convert the power output signal into a digital quantity and transmit it to the MCU. The status indicator module is connected to the GPIO interface of the MCU and is used to display the working status of the CAN communication channel, RS485 communication channel, power output status, and power on / off module in real time.
5. The communication link detection device as described in claim 4, characterized in that, The status indication module includes multiple LED indicators. Each LED indicator is directly connected to the GPIO interface of the MCU through a current-limiting resistor. Each indicator corresponds to the CAN communication channel status, RS485 communication channel status, power abnormality alarm, and power on / off signal status indication, respectively.
6. The communication link detection device as described in claim 4, characterized in that, The power-on / off module includes a relay drive circuit, wherein: The relay coil is connected to the MCU's GPIO interface via a transistor switching circuit; The normally open contact of the relay is connected to the power on / off signal input terminal of the BMS; The common contact of the relay is grounded.
7. The communication link detection device as described in claim 4, characterized in that, The power output detection module includes: The optocoupler isolation circuit has its input side connected to the power output terminal of the BMS via a current-limiting resistor, and its output side connected to the GPIO interface of the MCU via a pull-up resistor.
8. The communication link detection device as described in claim 4, characterized in that, Also includes: Rechargeable lithium-ion battery pack; The battery management circuit integrates overcharge / over-discharge protection and power monitoring functions; The battery management circuit supplies power to each functional module via a DC-DC converter module.