Communication protocol converter for fire-fighting system equipment control bus
By designing a communication protocol converter for the fire protection system equipment control bus, the interface compatibility problem of fire protection controllers during debugging and testing is solved, unified access and data conversion of different communication methods is realized, and the national standard requirements are met, and the testing process is simplified.
Patent Information
- Application Number
- CN202422177651.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2034-09-05
AI Technical Summary
The existing fire controllers lack the ability to connect all subsystems and test methods when debugging and testing standard communication protocols, and the compatibility issues of different communication interfaces are difficult to meet the requirements of the national standard GB 4717-2024.
A communication protocol converter for fire protection system equipment control bus is designed, including a processor and a variety of communication interfaces (RJ45, CAN, RS485, RS232). The information of different communication methods is cached and converted into RS232 communication mode through the processor, information transmission is carried out with the upper computer, and a reset circuit and status indicator light are provided for testing.
It realizes unified access and data conversion of different communication interfaces, meets the communication function testing requirements of the national standard GB 4717-2024, and simplifies the debugging and testing process of fire protection system equipment.
Smart Images

Figure CN223231206U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of communication protocol testing, in particular to a communication protocol converter oriented to a fire protection system equipment control bus. Background Art
[0002] The fire alarm controller is the core equipment in the fire protection system, used to communicate and control various fire control systems. For the automatic fire alarm system, when the controller is connected and networked with the linked fire protection system equipment produced by different categories and manufacturers, the controller often encounters problems such as connection difficulty, different protocols, inconvenient debugging, and poor system stability; therefore, the national standard GB 4717-2024 "Fire Alarm Controller" clearly stipulates the fire protection system equipment control bus communication protocol. When the controller communicates with the fire protection equipment, or when the controller communicates with the graphic display device in the fire control room, a unified standard protocol, namely the fire protection system equipment control bus communication protocol, must be met.
[0003] There are more than 200 types of system equipment and more than 150 types of fire event types required by national standards. At present, controllers mainly use CAN, RS485 or RJ45 to realize the communication of fire system equipment. Existing fire controller manufacturers and testing institutions are faced with the problem of lack of connection to all subsystems and testing methods when debugging and testing standard communication protocols. In order to debug and test the compliance of all standard communication protocols, all fire linkage subsystems and fire control room graphic display devices need to be connected, and these devices are required to be compatible with different communication port types such as CAN, RS485, RJ45 of the controller at the same time. Because the communication interfaces used by fire alarm controller manufacturers are different, different communication interfaces need to be converted through a communication protocol converter before information is transmitted to the host computer. Utility Model Content
[0004] In order to meet the debugging and testing requirements of the fire protection system equipment control bus communication protocol, a communication protocol converter is used to unify the communication interfaces of various controllers and perform data conversion processing, so that different types of communication methods (CAN, RS485, RJ45) can be tested in accordance with the requirements of the national standard GB 4717-2024.
[0005] In order to achieve the above-mentioned purpose, the main technical solution adopted by the present invention is a communication protocol converter for the fire protection system equipment control bus, including a shell, an upper cover, a lower cover and a main control board. The main control board is fixed in the shell and fixed to the shell through the upper cover and the lower cover. The main control board is provided with a processor and an RJ45 interface, a CAN interface, an RS485 interface and an RS232 interface connected thereto. The processor caches the information received and sent by the RJ45 interface, the CAN interface and the RS485 interface and converts it into RS232 communication mode and transmits the information with the host computer.
[0006] The RJ45 interface, CAN interface, RS485 interface and RS232 interface are connected through the RJ45 bus circuit, CAN bus circuit, RS485 bus circuit and RS232 bus circuit on the main control board respectively.
[0007] The three communication interfaces of the RJ45 interface, the CAN interface and the RS485 interface are respectively adapted to different fire controllers provided with CAN, RS485 and RJ45 interfaces.
[0008] The main control board is also provided with a debugging interface.
[0009] The main control board also includes a power supply circuit connected to the processor, and the power supply circuit is connected to a power interface provided on the upper cover, and supplies power to the protocol converter through the power interface.
[0010] The main control board also includes a reset circuit connected to the processor. The reset circuit has a built-in reset button, and the communication protocol converter is restarted by the reset button.
[0011] The main control board is also provided with an operation status light, a communication status light and a fault status light, which extend from the shell for display.
[0012] A horizontal slot is provided on the opposite side of the inner wall of the shell, the main control board is plugged into the slot, and the upper cover and the lower cover are fixed to the shell by screws.
[0013] The shell, upper cover and lower cover are made of aluminum alloy.
[0014] The utility model has the following beneficial effects and advantages:
[0015] This utility model is aimed at the communication function test of the fire alarm controller in the fire protection system. According to the different communication interfaces used by the controller, a communication protocol converter is designed to meet the communication function test requirements of the national standard GB 4717-2024.
[0016] The communication protocol converter proposed in this utility model is compatible with CAN, RS485 or RJ45 communication interfaces. The processor inside the communication protocol converter completes the data splitting and conversion processing of different communication modes, and then transmits information with the host computer through the RS232 interface. In addition, the communication protocol converter contains a reset circuit and a status indicator light, which facilitates the communication function test of the fire alarm controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is an exploded diagram of the structure of the communication protocol converter of the utility model;
[0018] Figure 2 This is a top view of the communication protocol converter of the utility model;
[0019] Figure 3 This is a bottom view of the communication protocol converter of the utility model;
[0020] Figure 4 This is a cross-sectional view of the shell of the utility model;
[0021] Figure 5 This is the data transmission flow chart of the main control board of this utility model.
[0022] Among them, 1. Shell; 2. Upper cover; 3. Lower cover; 4. Main control board; 5. Debug interface; 6. Power interface; 7. RS232 interface; 8. RS485 interface; 9. CAN interface; 10. RJ45 interface; 11. Slot; 12. Screw; 13. Operation status light; 14. Communication status light 15. Fault status light. DETAILED DESCRIPTION
[0023] The present invention will be further described below in conjunction with the accompanying drawings. Figures 1 to 4 As shown, the utility model is a communication protocol converter for a fire protection system equipment control bus, comprising a shell 1, an upper cover 2, a lower cover 3 and a main control board 4. The main control board 4 is fixed in the shell 1 and is fixed to the shell 1 through the upper cover 2 and the lower cover 2. Specifically, a horizontal slot 11 is provided on the opposite side of the inner wall of the shell 1, and the main control board 4 is plugged into the slot 11. The upper cover 2 and the lower cover 2 are fixed to the shell 1 through screws 12. In order to facilitate the description of the working status of the protocol converter, an operation status light 13, a communication status light 14 and a fault status light 15 are provided on the main control board 4, which extend out of the shell 1 for display, and are used to illustrate the operating status of the communication protocol converter; the shell 1, the upper cover 2 and the lower cover 3 are made of aluminum alloy.
[0024] The main control board 4 is provided with a processor and an RJ45 interface 10, a CAN interface 9, an RS485 interface 8 and an RS232 interface 7 connected thereto. A Cortex-A8 is used as a processor for the protocol converter. The main frequency of the processor is 800 MHz. The processor caches the information received and sent by the RJ45 interface 10, the CAN interface 9 and the RS485 interface 8 and converts it into an RS232 communication mode and transmits information with the host computer. Figure 5 As shown, the RJ45 interface 10, CAN interface 9, RS485 interface 8 and RS232 interface 7 are respectively connected through the RJ45 bus circuit, CAN bus circuit, RS485 bus circuit and RS232 bus circuit on the main control board 4; the three communication interfaces of the RJ45 interface, CAN interface and RS485 interface are respectively adapted to different fire controllers equipped with CAN, RS485 and RJ45 interfaces.
[0025] Furthermore, RS485 communication is performed through the RSM485M chip. During communication, the byte structure is 1 start bit, 8 data bits, and 1 end bit. The data check adopts 16-bit CRC check. The check range is all data before the check code, including: frame header, message header, message, and frame tail; the check code is two bytes, the low byte check code is in front, and the high byte check code is in the back;
[0026] The baud rate of RS485 communication can be selected from 4800, 9600, 19200, and 115200 bit / s, which needs to match the baud rate of the controller. The RSM485M is mainly used to solve problems such as interference and communication anomalies during RS485 bus transmission. The RSM485M chip has a complete built-in isolated DC-DC circuit, signal isolation circuit, RS-485 bus transceiver circuit, and bus protection circuit. It has high integration and reliability, and can effectively improve the bus communication protection level.
[0027] Furthermore, CAN communication is performed through the CTM1051AM chip. The CAN bus adopts the CAN 2.0 protocol in the revised version of ISO 11898. The CAN bus frame format consists of a start bit, an arbitration field, a control field, a data field, a check field, an answer field, and an end bit. Among them, the arbitration field, the control field, and the data field are mainly set according to the fire protection system equipment control bus communication protocol, and the other parts of the frame are set by the CAN bus transceiver.
[0028] The baud rate of CAN communication can be selected from 5, 10, 20, 50, and 100 Kbit / s, which needs to match the baud rate of the controller. The CTM1051AM is an isolated CAN communication transceiver device. The main function of this chip is to convert the logic level of CAN communication into a differential level and has strong immunity to electromagnetic interference.
[0029] Furthermore, RJ45 communication is performed through the DM9161AEP chip. The DM9161AEP is a fully integrated single-chip Fast Ethernet transceiver chip that is connected to the MAC layer through a standard digital interface with variable voltage. It is a common Ethernet physical layer transceiver chip.
[0030] When accessing the controller communication module via Ethernet, the IP address of the controller to be connected can be configured on the simulator. The controller must be in the 192.168.1 network segment and mainly uses UDP for communication.
[0031] In the protocol converter, the SP3232EEY chip is used to enable the RJ45 interface to communicate with the host computer software. After connecting the USB cable to the computer, if the RS232 serial port communication driver has been installed, a new serial port will be automatically created in the device manager. Connecting to this serial port in the software can realize data transmission and reception.
[0032] The SP3232EEY chip features a highly efficient charge pump power supply that requires only a 0.1μF capacitor when operating at 3.3V, enabling the SP3232EEY chip to provide true RS-232 performance from a single +3.3V to +5.0V power supply.
[0033] like Figure 2 As shown, the main control board 4 is also provided with a debugging interface 5 for debugging before using the protocol converter.
[0034] like Figure 5 As shown, the main control board 4 also includes a power supply circuit connected to the processor, and the power supply circuit is connected to the power interface 6 provided on the upper cover. The protocol converter is powered by the power interface 6, so that no external power supply is required. Specifically, the SPX1117M3-3.3 chip is used to convert the voltage input by the power interface into a 3.3V voltage, thereby meeting the use requirements of the communication protocol converter.
[0035] The main control board 4 further includes a reset circuit connected to the processor. The reset circuit has a built-in reset button. When the communication protocol converter enters a fault state, the communication protocol converter can be restarted by pressing the reset button.
[0036] When testing the communication function of a fire alarm controller, use a computer as the host computer, simulate various fire events and display fire processing results through the host computer, select the corresponding communication interface for connection, and when the host computer sends simulated event information to the fire controller, the protocol converter will split and cache the received data frames, encode them according to the communication interface used by the fire controller, and finally send the fire equipment simulated events to the fire controller through the communication interface; the communication protocol converter will convert the data transmitted by different communication interfaces;
[0037] The above are the conversion methods of different communication modes of protocol converter.
[0038] This utility model is aimed at the communication function test of the fire alarm controller in the fire protection system. According to the different communication interfaces used by the fire controller, a communication protocol converter is designed to meet the communication function test requirements of the national standard GB 4717-2024.
[0039] The communication protocol converter proposed in this utility model is compatible with communication interfaces such as CAN, RS485 or RJ45. The processor inside the communication protocol converter completes the data splitting and conversion processing of different communication modes, and then transmits information with the host computer through the RS232 interface. In addition, the communication protocol converter contains a reset circuit and a status indicator light, which facilitates the communication function test of the fire alarm controller.
Claims
1. A communication protocol converter for a fire protection system equipment control bus, characterized by: It includes a shell, an upper cover, a lower cover and a main control board. The main control board is fixed in the shell and fixed to the shell through the upper cover and the lower cover. The main control board is provided with a processor and an RJ45 interface, a CAN interface, an RS485 interface and an RS232 interface connected thereto. The processor caches the information received and sent by the RJ45 interface, the CAN interface and the RS485 interface and converts it into an RS232 communication mode for information transmission with the host computer.
2. A communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The RJ45 interface, CAN interface, RS485 interface and RS232 interface are connected through the RJ45 bus circuit, CAN bus circuit, RS485 bus circuit and RS232 bus circuit on the main control board respectively.
3. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The three communication interfaces of the RJ45 interface, the CAN interface and the RS485 interface are respectively adapted to different fire controllers provided with CAN, RS485 and RJ45 interfaces.
4. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The main control board is also provided with a debugging interface.
5. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The main control board also includes a power supply circuit connected to the processor, and the power supply circuit is connected to a power interface provided on the upper cover, and supplies power to the protocol converter through the power interface.
6. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The main control board also includes a reset circuit connected to the processor. The reset circuit has a built-in reset button, and the communication protocol converter is restarted by the reset button.
7. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The main control board is also provided with an operation status light, a communication status light and a fault status light, which extend from the shell for display.
8. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: A horizontal slot is provided on the opposite side of the inner wall of the shell, the main control board is plugged into the slot, and the upper cover and the lower cover are fixed to the shell by screws.
9. The communication protocol converter for a fire protection system equipment control bus according to claim 1, characterized in that: The shell, upper cover and lower cover are made of aluminum alloy.