Fire control system
By introducing extended bus and group management detectors in the fire control system, the problem of slow querying fire status information in the prior art and incompatibility of equipment from different manufacturers is solved, and rapid query, rapid response and cross-regional linkage are achieved Effect.
Patent Information
- Application Number
- CN202011140675.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-22
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-10-22
AI Technical Summary
In the existing fire alarm control system, the slow speed of querying fire status information has led to slowing down the system response speed. The controllers of different manufacturers are incompatible with the detector communication protocol, making it difficult to achieve rapid linkage across regions and systems.
By introducing an extended bus into the fire control system, the connection between the fire control controller and the remote device is realized. The remote device is used to configure and resolve the communication protocol between the fire control controller and the detector, and to connect multiple fire detectors to the fire protection group to the fire protection system. Controller, reduce polling time.
The technical effect of fast query and fast response is achieved, the problem of slow query of fire status information is solved, and the incompatibility problem of different manufacturers is solved through a unified communication protocol, and the rapid linkage between regions and systems is achieved.
Smart Images

Figure CN112206453B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of automatic control, and in particular to a fire control system. Background Art
[0002] In the related technologies, my country's advanced fire alarm control systems currently generally use two-bus technology to realize data transmission between fire alarm controllers (referred to as controllers or fire controllers) and detectors. This technology has been widely used due to its low product cost and engineering cost.
[0003] When data is exchanged between the controller and the detector in the related technology, the controller is often used to initiate and query the status of each detector in turn. When a controller is connected to a large number of detectors through a bus, the above-mentioned traditional communication method will lead to the problem of long query cycle, which will slow down the response speed of the system and reduce the overall system performance. At the same time, due to the large number of fire alarm control system manufacturers, each controller and detector has its own set of communication protocols, which are not compatible with each other, and cannot be freely selected according to the product characteristics and advantages of different manufacturers, which also causes great inconvenience to the update and upgrade of the existing alarm system. The fire protection system in the related technology, because the controller and the central monitoring equipment often use the field bus to realize communication, is limited by wiring, communication rate, communication distance and other conditions, and is mainly based on regional centralized control. It is difficult to achieve unified management of large systems and rapid linkage across regions and systems, and there are still deficiencies in function and performance.
[0004] With respect to the above-mentioned problems existing in the related technologies, no effective solutions have been found so far. Summary of the invention
[0005] The embodiment of the present invention provides a fire control system to solve the technical problem of slow query speed of fire status information in the related art.
[0006] According to one embodiment of the present invention, a fire control system is provided, comprising: a fire controller, connected to a group of fire detectors via two buses, accessed to a remote device via an expansion bus, and used to transmit fire status information of multiple groups of fire detectors under its jurisdiction to the remote device; multiple fire detectors, accessed to the fire controller in groups via two buses, and used to obtain fire status information of a target environment and report it to the connected fire controller; the remote device, connected to the fire controller via an expansion bus, and used to configure a communication protocol between the fire controller and the fire detectors, and to parse the fire status information uploaded by the fire controller.
[0007] Optionally, the system also includes: a gateway device, one end of which is connected to the fire controller via an expansion bus, and the other end of which is connected to the remote device by wire or wirelessly, and the fire controller accesses the remote device through the gateway device via a local area network or the Internet.
[0008] Optionally, the fire controller is connected to the remote device via an expansion bus via a conversion interface.
[0009] Optionally, the remote device also includes: a configuration module, used to set configuration information of the same communication protocol for multiple types of fire controllers; and a sending module, used to send the configuration information to the fire controllers, so that the multiple types of fire controllers can communicate with the fire detectors under their jurisdiction based on the configuration information.
[0010] Optionally, the frame format of the configuration information includes at least the following fields: an address segment, a command segment, a data segment, and a check segment, wherein the address segment is used to transmit the identification information of the fire detector, the command segment is used to transmit the control type information of the data frame, the data segment is used to transmit the data value collected by the fire detector, and the check segment is used to transmit the check code of the data frame.
[0011] Optionally, the remote device further includes: a grouping module, used to divide the multiple fire detectors connected to each fire controller into multiple groups, each group including a number of fire detectors.
[0012] Optionally, the fire controller includes: a microcontroller unit MCU, used to query the fire status information of multiple groups of fire detectors under its jurisdiction; a second bus module, communicating with the multiple groups of fire detectors under its jurisdiction via a second bus; and a communication module, communicating with the remote device via an expansion bus, and used to report the fire status information to the remote device.
[0013] Optionally, the MCU also includes: a first query unit, used to query the group fire status information of each group of fire detectors in turn according to the query cycle until all groups are polled, and then query the fire status information of each fire detector in turn until all fire detectors are polled, wherein the group fire status information is used to indicate whether there is a fire alarm abnormality in the current group; a second query unit, used to query each fire detector in the current group in turn when the first query unit finds that there is a fire alarm abnormality in the current group until the specified fire detector with the fire alarm abnormality is located.
[0014] Optionally, the communication module includes a CAN communication module and / or an RS485 communication module.
[0015] Optionally, the fire controller also includes: a memory for storing configuration information and status information of the fire controller and the subordinate fire detectors; a power supply module connected to an external DC power supply to power the MCU, the communication module and the memory respectively.
[0016] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps in any one of the above embodiments when running.
[0017] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above embodiments.
[0018] Through the present invention, the fire controller is connected to a group of fire detectors through two buses, and is connected to a remote device through an expansion bus, and is used to transmit fire status information of multiple groups of fire detectors under its jurisdiction to the remote device. The fire detector is connected to the fire controller through the two buses, and is used to obtain fire status information of the target environment and report it to the connected fire controller. The remote device is connected to the fire controller through the expansion bus, and is used to configure the communication protocol between the fire controller and the fire detector, and to parse the fire status information uploaded by the fire controller. By grouping multiple fire detectors and connecting them to the fire controller, the multiple fire detectors under its jurisdiction can be managed and monitored by group, reducing the polling time of the fire controller for the fire detector, solving the technical problem of slow query speed of fire status information in related technologies, and achieving the technical effect of fast query and fast response. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0020] Figure 1 is a structural diagram of a fire control system according to an embodiment of the present invention;
[0021] Figure 2 is a structural diagram of a fire control system in one embodiment of the present invention;
[0022] Figure 3 is a schematic diagram of a second bus frame format in an embodiment of the present invention;
[0023] Figure 4 is a structural diagram of a fire control controller in an embodiment of the present invention;
[0024] Figure 5It is a flow chart of the query processing of the fire controller in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0027] In this embodiment, a fire control system is provided. Figure 1 is a structural diagram of a fire control system according to an embodiment of the present invention, such as Figure 1 As shown, the system comprises the following steps:
[0028] The fire controller 10 is connected to a group of fire detectors through two buses and connected to a remote device through an expansion bus, and is used to transmit fire status information of multiple groups of fire detectors under its jurisdiction to the remote device;
[0029] The fire detector 12 is connected to the fire controller via a second bus group, and is used to obtain the fire status information of the target environment and report it to the connected fire controller;
[0030] Optionally, the fire detector may be a detector used in fire systems, drainage systems, HVAC systems and the like.
[0031] The remote device 14 is connected to the fire controller via an expansion bus, and is used to configure the communication protocol between the fire controller and the fire detector, and to parse the fire status information uploaded by the fire controller.
[0032] Optionally, the remote device can be a PC device, a background control device, a central monitoring device, etc.
[0033] Using the above system, the fire controller is connected to a group of fire detectors through two buses, and is connected to the remote device through the expansion bus, so as to transmit the fire status information of multiple groups of fire detectors under its jurisdiction to the remote device. The fire detector is connected to the fire controller through the two buses, so as to obtain the fire status information of the target environment and report it to the connected fire controller. The remote device is connected to the fire controller through the expansion bus, so as to configure the communication protocol between the fire controller and the fire detector, and to parse the fire status information uploaded by the fire controller. By grouping and connecting multiple fire detectors to the fire controller, the multiple fire detectors under its jurisdiction can be managed and monitored by group, thereby reducing the polling time of the fire controller for the fire detectors, solving the technical problem of slow query speed of fire status information in related technologies, and achieving the technical effect of fast query and fast response.
[0034] In one implementation of this embodiment, the system further includes: a gateway device, one end of which is connected to the fire controller via an expansion bus, and one end of which is connected to the remote device by wire or wireless, and the fire controller accesses the remote device via the gateway device through a local area network or the Internet. Optionally, the remote device can be a PC device, a fire control background device, etc.
[0035] In another implementation of this embodiment, the fire controller is directly connected to the remote device via an expansion bus through a conversion interface.
[0036] Figure 2 This is a structural diagram of a fire control system in one embodiment of the present invention. By adopting a new controller with a flexible expansion bus control scheme, the following two system architectures can be realized. Scheme 1: Connect the controller to the gateway device through the expansion bus, and then connect it to a remote device such as a PC terminal via a local area network or the Internet. Scheme 2: Connect the controller to the universal serial bus of the PC terminal through the expansion bus via a conversion device, and complete data parsing through the application on the PC terminal. The above two architectures can realize cross-regional management of the fire protection system, form a flexible large-scale distributed fire protection control system, and solve the limitations of regional control of existing fire protection systems.
[0037] In one implementation of this embodiment, the remote device also includes: a configuration module, used to set configuration information of the same communication protocol for multiple types of fire controllers; and a sending module, used to send the configuration information to the fire controllers, so that the multiple types of fire controllers can communicate with the fire detectors under their jurisdiction based on the configuration information.
[0038] Optionally, the frame format of the configuration information includes at least the following fields: an address segment, a command segment, a data segment, and a check segment, wherein the address segment is used to transmit the identification information of the fire detector, the command segment is used to transmit the control type information of the data frame, the data segment is used to transmit the data value collected by the fire detector, and the check segment is used to transmit the check code of the data frame.
[0039] Figure 3 is a schematic diagram of the two-bus frame format in an embodiment of the present invention. The controller and the detector implement data exchange through the two buses. The data includes an address segment, a command segment, a data segment, a check segment, and other possible custom segments. The format is as follows: Figure 3 As shown. The address segment is used as the unique identifier of the detector, the command segment is used to distinguish the function of the frame (such as control, configuration, and data reporting), the data segment contains the exact data value, and the check segment is used to avoid anomalies caused by data transmission errors. Usually a complete frame is 3-6 bytes. Depending on the product function, the controller communication protocol can be configured. The configuration process includes: the user can set the frame format on the configuration tool of a remote device such as a PC terminal, including the order of the above four fixed segments and custom segments, the percentage of the segments, the command enumeration value set, etc.; the above configuration is sent from the terminal to the gateway device via the local area network or the Internet; the gateway device parses the configuration information and sends the configuration to the specified controller; the controller receives the configuration information sent from the gateway, writes it into the memory, and applies it.
[0040] Since the differences between different types of fire controllers from different manufacturers are mainly reflected in the differences in frame formats and command enumeration values, the above configuration method can be used to achieve protocol conversion at the controller layer to solve the incompatibility problem of different types of fire controllers from different manufacturers.
[0041] Optionally, the remote device further includes: a grouping module, which is used to group multiple fire detectors connected to each fire controller into multiple groups, each group including several fire detectors. The grouping can be based on conditions such as the time of connection to the fire controller, the deployment location, etc., such as grouping several fire detectors at adjacent locations into one group.
[0042] In this embodiment, the fire controller includes: a microcontroller unit MCU, which is used to query the fire status information of multiple groups of fire detectors under its jurisdiction; a second bus module, which communicates with the multiple groups of fire detectors under its jurisdiction through a second bus; and a communication module, which communicates with the remote device through an expansion bus and is used to report the fire status information to the remote device.
[0043] Optionally, the communication module includes a CAN communication module and / or an RS485 communication module.
[0044] Optionally, the fire controller also includes: a memory for storing configuration information and status information of the fire controller and the subordinate fire detectors; a power supply module connected to an external DC power supply to power the MCU, the communication module and the memory respectively.
[0045] Figure 4 The structure diagram of the fire control system in the embodiment of the present invention is as follows: Figure 4 As shown, the MCU (also called the main control unit) is responsible for the core computing processing as well as the communication and storage control functions; the external DC power is processed by the power module to power the MCU, the communication module and the storage device respectively; the memory is used to save the configuration and status information of itself and its subordinate devices; the communication module communicates with the gateway device or the terminal through the expansion bus, and the communication methods include but are not limited to CAN, RS485, etc.; the two-bus control module is responsible for interacting with the detector and is independently powered by the bus.
[0046] In one implementation of the present embodiment, the MCU also includes: a first query unit, used to query the group fire status information of each group of fire detectors in turn according to the query cycle until all groups are polled, and then query the fire status information of each fire detector in turn until all fire detectors are polled, wherein the group fire status information is used to indicate whether there is a fire alarm abnormality in the current group; a second query unit, used to query each fire detector in the current group in turn when the first query unit finds that there is a fire alarm abnormality in the current group until the specified fire detector with the fire alarm abnormality is located.
[0047] Figure 5 This is a flowchart of the query processing of the fire controller in the embodiment of the present invention. According to the group query, all group queries are completed in sequence. This is a group query cycle. After completing each cycle of group query, all detectors in one of the groups are polled. If a group alarm is detected during the group query, all detectors in the group are immediately polled. Taking the scenario of 3 groups as an example, the query order is as follows: query group 1 → query group 2 → query group 3 → poll detectors in group 1 → query group 1 → query group 2 → query group 3 → poll detectors in group 2 → query group 1 → query group 2 → query group 3 → poll detectors in group 3 →… In a large query cycle (including group query cycle and intra-group query cycle), the process includes:
[0048] S51, querying the first group according to a preset order;
[0049] S52, determining whether there is a fire alarm abnormality in the group;
[0050] S53, if there is a fire alarm anomaly, poll all detectors in group 1;
[0051] S54, determining the alarm information and locating the designated fire detector with the fire alarm abnormality;
[0052] S55, reporting the location and other information of the designated fire detector to the remote device;
[0053] S56, if there is no fire alarm anomaly in the group, the current query group + 1, continue to query the second group, until the group to be queried is greater than the maximum number of groups, and then continue to query all fire detectors in the first group until all fire detectors in the group are queried. Continue to query the group, after the group query is completed, then continue to query all fire detectors in the second group until all fire detectors in the group are queried, continue to query the group, after the group query is completed, then continue to query all fire detectors in the third group until all fire detectors in the group are queried, and a large query cycle is completed (taking three groups as an example).
[0054] When the system is working, the fire controller will perform "group alarm query" on each group in turn according to the group information sent by the user. If there is an alarm in the detector in the group, the detector will return the "group alarm information" to the controller. After the controller obtains and analyzes the information, it will initiate "detector alarm query" to the devices in the alarm group in turn. The queried detector will return the "detector alarm information" to the controller to indicate whether the detector has alarmed. If the controller does not receive the "group alarm information" within time T after initiating the "group alarm query", it is determined that there is no alarm in the group, and the controller will perform "group alarm query" on the next group.
[0055] Through the above-mentioned combination of group query + single device query, the group query is used for preliminary screening, and then the single device query is used to accurately locate the alarm device, which can greatly shorten the alarm detection cycle.
[0056] To further avoid missing devices due to abnormal bus communication, the controller queries all detectors in a group one by one after querying all groups in each round to ensure that the alarm information is not incompletely received due to communication failure.
[0057] The solution of this embodiment realizes a fire alarm control system with fast response speed and strong compatibility by optimizing the communication mechanism, terminal equipment compatible access control, and alarm system compatible roll-out control. It includes: achieving the effect of fast query and fast response by grouping the detectors on the bus; realizing custom communication protocols by freely configuring the second bus communication format of the controller to meet the requirements of compatible access of third-party detectors; building a large-scale distributed fire alarm system by connecting the controller to the gateway device, and then connecting to the building automatic control system / fire control system through the local area network or the Internet, while improving the feasibility of cross-regional and cross-system linkage. The following technical problems can be solved: the problems of long query cycle and slow response speed caused by the traditional polling communication method; the incompatibility problem caused by inconsistent communication protocols between controllers and detectors of different manufacturers; and the regional control limitation problem caused by the existing bus centralized control method.
[0058] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0059] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0060] Optionally, in one aspect of this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0061] S1, querying the group fire status information of each group of fire detectors in turn according to the query cycle until all groups are polled, and then querying the fire status information of each fire detector in turn until all fire detectors are polled, wherein the group fire status information is used to indicate whether there is a fire alarm abnormality in the current group;
[0062] S2, when the first query unit finds that there is a fire alarm anomaly in the current group, query each fire detector in the current group in turn until the designated fire detector with the fire alarm anomaly is located.
[0063] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0064] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0065] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0066] Optionally, in one aspect of this embodiment, the processor may be configured to perform the following steps through a computer program:
[0067] S1, querying the group fire status information of each group of fire detectors in turn according to the query cycle until all groups are polled, and then querying the fire status information of each fire detector in turn until all fire detectors are polled, wherein the group fire status information is used to indicate whether there is a fire alarm abnormality in the current group;
[0068] S2, when the first query unit finds that there is a fire alarm anomaly in the current group, query each fire detector in the current group in turn until the designated fire detector with the fire alarm anomaly is located.
[0069] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0070] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0071] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A fire control system, characterized in that: include: A fire controller is connected to multiple groups of fire detectors through two buses and connected to a remote device through an expansion bus, and is used to transmit fire status information of multiple groups of fire detectors under its jurisdiction to the remote device; Multiple fire detectors are connected to the fire controller via two bus groups, and are used to obtain fire status information of the target environment and report it to the connected fire controller; A remote device, connected to the fire controller via an expansion bus, for configuring a communication protocol between the fire controller and the fire detector, and parsing fire status information uploaded by the fire controller; The remote device comprises: a grouping module for dividing a plurality of fire detectors connected to each fire controller into a plurality of groups, each group comprising a plurality of fire detectors; The fire controller comprises: a micro control unit MCU, which is used to query the fire status information of multiple groups of fire detectors under its jurisdiction; The MCU includes: A first query unit is used to query the group fire status information of each group of fire detectors in turn according to the query cycle until all groups are polled, and then query the fire status information of each fire detector in turn until all fire detectors are polled, wherein the group fire status information is used to indicate whether there is a fire alarm abnormality in the current group; The second query unit is used to query each fire detector in the current group in turn when the first query unit finds that there is a fire alarm anomaly in the current group, until a designated fire detector with a fire alarm anomaly is located.
2. The system according to claim 1, characterized in that The system also includes: a gateway device, one end of which is connected to the fire controller via an expansion bus and the other end of which is connected to the remote device by wire or wirelessly. The fire controller accesses the remote device via the gateway device through a local area network or the Internet.
3. The system according to claim 1, characterized in that The fire controller is connected to the remote device via an expansion bus via a conversion interface.
4. The system according to claim 1, characterized in that The remote device also includes: A configuration module, used to set configuration information of the same communication protocol for multiple types of fire controllers; The sending module is used to send the configuration information to the fire controller, so that the multiple types of fire controllers can communicate with the fire detectors under their jurisdiction based on the configuration information.
5. The system according to claim 4, characterized in that The frame format of the configuration information includes at least the following fields: an address segment, a command segment, a data segment, and a check segment, wherein the address segment is used to transmit the identification information of the fire detector, the command segment is used to transmit the control type information of the data frame, the data segment is used to transmit the data value collected by the fire detector, and the check segment is used to transmit the check code of the data frame.
6. The system according to claim 1, characterized in that The fire controller also includes: Two-bus module, communicating with multiple groups of fire detectors through two buses; The communication module communicates with the remote device via an expansion bus and is used to report the fire status information to the remote device.
7. The system according to claim 6, characterized in that The communication module includes a CAN communication module and / or an RS485 communication module.
8. The system according to claim 6, characterized in that The fire controller also includes: A memory for storing configuration information and status information of the fire controller and its subordinate fire detectors; The power supply module is connected to an external direct current (DC) power supply to supply power to the MCU, the communication module and the memory respectively.
Citation Information
Patent Citations
Intelligent home fire-fighting detection and alarm system and control method thereof
CN101763704A
Transmission network-oriented unified network management interface adapter
CN106301839A
Method for industrial internet on universal electromechanical device joint control
CN109120694A
Fire control system
CN213852891U