CN117595899A - Relay box, relay control method and fire detection system - Google Patents

Relay box, relay control method and fire detection system Download PDF

Info

Publication number
CN117595899A
CN117595899A CN202311669134.8A CN202311669134A CN117595899A CN 117595899 A CN117595899 A CN 117595899A CN 202311669134 A CN202311669134 A CN 202311669134A CN 117595899 A CN117595899 A CN 117595899A
Authority
CN
China
Prior art keywords
interface
temperature sensing
sensing cable
sub
interface circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311669134.8A
Other languages
Chinese (zh)
Inventor
贾伯岩
张鹏
苏金刚
庞先海
黄兴旺
杨赛柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202311669134.8A priority Critical patent/CN117595899A/en
Publication of CN117595899A publication Critical patent/CN117595899A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/58Repeater circuits
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fire-Detection Mechanisms (AREA)

Abstract

The invention provides a relay box, which comprises a first interface, a first interface circuit, a second interface circuit and a control module, wherein the first interface circuit is connected with the first interface circuit; the first interface circuit and the second interface circuit are both connected with the control module; the first interface circuit is used for being connected with the upstream temperature sensing cable through a first interface; the second interface circuit is used for being connected with the downstream temperature sensing cable through a second interface; the control module is used for communicating with the upstream temperature sensing cable through the first interface circuit and communicating with the downstream temperature sensing cable through the second interface circuit so as to realize the communication between the upstream temperature sensing cable and the downstream temperature sensing cable. The invention can process and forward the signals of the upstream temperature sensing cable and the downstream temperature sensing cable, ensure the stability of communication between the temperature sensing cables and realize cascade expansion of the temperature sensing cables.

Description

Relay box, relay control method and fire detection system
Technical Field
The invention relates to the technical field of temperature sensing cables, in particular to a relay box, a relay control method and a fire detection system.
Background
The temperature sensing cable device is also called a fire detection system, and generally consists of a temperature sensing cable, a signal processing unit and a terminal box. The signal processing unit is the brain of the whole temperature sensing cable, is responsible for processing and displaying various information reported by the temperature sensing cable, such as fire alarm information, fault display and the like, and can upload the information to the total fire controller through the bus. The temperature sensing cable is internally provided with a temperature sensing unit which is responsible for collecting temperature and detecting own faults and reporting information to the signal processing unit. The terminal box is used as the tail end of the temperature sensing cable equipment and is used for assisting the last temperature sensing unit in the temperature sensing cable to finish the functions of fire alarm and fault detection.
At present, when the temperature sensing cable is overlong, the problem of communication interference is easy to occur, and the terminal voltage is also easy to be insufficient due to self power consumption, so that the length of a single temperature sensing cable is generally not more than 1km, and the single temperature sensing cable is difficult to adapt to long-distance laying scenes, such as tunnel scenes of several kilometers. Although a plurality of temperature sensing cables CAN be networked by using a Controller Area Network (CAN), the communication distance of the CAN is usually not more than 2km, and optical fiber communication lines are required to be laid in scenes with farther distance, so that the cost is high.
Disclosure of Invention
The embodiment of the invention provides a relay box, a relay control method and a fire detection system, which are used for solving the problem that a single temperature sensing cable is difficult to adapt to a long-distance paving scene.
In a first aspect, an embodiment of the present invention provides a relay box, including a first interface, a first interface circuit, a second interface circuit, and a control module; the first interface circuit and the second interface circuit are both connected with the control module;
the first interface circuit is used for being connected with the upstream temperature sensing cable through a first interface;
the second interface circuit is used for being connected with the downstream temperature sensing cable through a second interface;
the control module is used for communicating with the upstream temperature sensing cable through the first interface circuit and communicating with the downstream temperature sensing cable through the second interface circuit so as to realize the communication between the upstream temperature sensing cable and the downstream temperature sensing cable.
In one possible implementation manner, the device further comprises an execution circuit, wherein the execution circuit is respectively connected with the first interface, the first interface circuit, the second interface circuit and the control module;
the control module is also used for switching to a direct connection mode or a relay connection mode through the execution circuit; the relay connection mode is that the upstream temperature sensing cable and the downstream temperature sensing cable are communicated through the first interface circuit and the second interface circuit, and the direct connection mode is that the first interface is directly connected with the second interface.
In one possible implementation, the first interface includes a first sub-interface and a second sub-interface, and the second interface includes a third sub-interface and a fourth sub-interface;
the first sub-interface is used for being connected with a first bus of the upstream temperature sensing cable, the second sub-interface is used for being connected with a second bus of the upstream temperature sensing cable, the third sub-interface is used for being connected with the first bus of the downstream temperature sensing cable, and the fourth sub-interface is used for being connected with the second bus of the downstream temperature sensing cable;
the execution circuit comprises a counter and a relay, wherein a first input end of the counter is connected with the first sub-interface, a second input end of the counter is connected with the control module,
the counter is used for counting up the pulse sent by the first sub-interface, counting down the reset signal sent by the control module, and outputting a control signal for indicating the switching mode through the output end when the count value reaches a preset value;
the relay is used for switching between a first state and a second state based on the control signal; the relay is connected with the first interface circuit and the second interface circuit in a first state, and is connected with the third sub-interface and the first sub-interface in a second state.
In one possible implementation, the execution circuit further includes a triode, and the relay includes a coil and a single pole double throw switch; the first end of the coil is connected with the first sub-interface, the base electrode of the triode is connected with the output end of the counter, the collector electrode is connected with the second end of the coil, and the emitter electrode is grounded;
the first contact of the single-pole double-throw switch is connected with the third sub-interface, the second contact is connected with the first sub-interface, and the third contact is connected with the second interface circuit;
when the relay is in a first state, the first contact is communicated with the third contact, so that the third sub-interface is connected with the first sub-interface through the first interface circuit and the second interface circuit;
when the relay is in a second state, the first contact is communicated with the second contact, so that the third sub-interface is directly connected with the first sub-interface;
when the base electrode of the triode acquires a control signal, the collector electrode is connected with the emitter electrode and supplies power to the coil, and the first contact is driven to be connected with the second contact.
In one possible implementation, the temperature sensor further comprises a power module, and the power module is connected with the second interface circuit and is used for supplying power to the downstream temperature sensing cable.
In one possible implementation, the device further comprises a terminal box circuit connected with the first interface for matching with the upstream temperature sensing cable.
In one possible implementation manner, the device further comprises a cache module, wherein the cache module is connected with the control module;
the control module is used for storing the cable information into the buffer module when the cable information of any one temperature sensing cable is received and the channel of the other temperature sensing cable is busy, and uploading the cable information to the other temperature sensing cable after the channel of the other temperature sensing cable is idle.
In a second aspect, an embodiment of the present invention provides a relay control method, including:
acquiring cable information or instructions of any temperature sensing cable through the first interface or the second interface;
and sending the cable information or the instruction to the corresponding temperature sensing cable through the corresponding interface.
In a third aspect, an embodiment of the present invention provides a fire detection system, including a signal processing unit, a first temperature sensing cable, a relay box according to the first aspect or any one of the possible implementation manners of the first aspect, and a second temperature sensing cable, which are sequentially connected.
The embodiment of the invention provides a relay box, a relay control method and a fire detection system, which are connected with an upstream temperature sensing cable through a first interface circuit, connected with a downstream temperature sensing cable through a second interface circuit, and used for processing and forwarding signals of the upstream temperature sensing cable and the downstream temperature sensing cable through a control module, so that the stability of communication between the temperature sensing cables is ensured, and cascade expansion of the temperature sensing cables can be realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a relay box according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a relay box according to another embodiment of the present invention;
fig. 3 is a circuit diagram of a relay box according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a power module according to an embodiment of the invention;
fig. 5 is a flowchart of an implementation of a relay connection method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a fire detection system according to an embodiment of the present invention.
Detailed Description
In order to make the present solution better understood by those skilled in the art, the technical solution in the present solution embodiment will be clearly described below with reference to the accompanying drawings in the present solution embodiment, and it is obvious that the described embodiment is an embodiment of a part of the present solution, but not all embodiments. All other embodiments, based on the embodiments in this solution, which a person of ordinary skill in the art would obtain without inventive faculty, shall fall within the scope of protection of this solution.
The term "comprising" in the description of the present solution and the claims and in the above-mentioned figures, as well as any other variants, means "including but not limited to", intended to cover a non-exclusive inclusion, and not limited to only the examples listed herein. Furthermore, the terms "first" and "second," etc. are used for distinguishing between different objects and not for describing a particular sequential order.
The implementation of the invention is described in detail below with reference to the specific drawings:
fig. 1 is a schematic structural diagram of a relay box according to an embodiment of the present invention. Referring to fig. 1, the relay box 100 includes a first interface 110, a first interface circuit 120, a second interface 130, a second interface circuit 140, and a control module 150; the first interface circuit 120 and the second interface circuit 140 are both connected to the control module 150;
the first interface circuit 120 is configured to connect with an upstream temperature sensing cable through the first interface 110;
the second interface circuit 140 is configured to connect with a downstream temperature sensing cable through the second interface 130;
the control module 150 is configured to communicate with the upstream temperature sensing cable through the first interface circuit 120 and communicate with the downstream temperature sensing cable through the second interface circuit 140 to achieve the upstream temperature sensing cable and the downstream temperature sensing cable communication.
In the present embodiment, the first interface 110 is adapted to connect an upstream temperature sensing cable 200 (e.g., the temperature sensing cable 200 on the left side of the relay box 100 in fig. 1); the first interface circuit 120 is connected to the first interface 110 and is responsible for communication with the upstream temperature sensing cable 200. The second interface 130 is adapted to connect to the downstream temperature sensing cable 200; the second interface circuit 140 is connected to the second interface 130 and is responsible for communication with the downstream temperature sensing cable 200. The control module 150 is coupled to the first interface circuit 120 and the second interface circuit 140, where the control module 150 may be a Micro Control Unit (MCU), and the control module 150 is configured to perform bidirectional communication between the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200 through the first interface circuit 120 and the second interface circuit 140, so as to implement cascade extension of the temperature sensing cable 200 and relay forwarding of communication signals, and ensure stable transmission of communication signals without interference.
The relay boxes 100 may have address codes, and in the same temperature sensing cable device (fire detection system), the address codes of each relay box 100 are different. The control module 150 is configured to receive the instruction from the first interface circuit 120, and upload corresponding status information through the first interface circuit 120 and/or issue corresponding instructions through the second interface circuit 140, so as to implement step-by-step issuing of the instruction and reply to the instruction. The control module 150 is further configured to receive status information from the second interface circuit 140 and upload the status information through the first interface circuit 120 to achieve progressive uploading of the status information.
The instructions may include a single configuration command that may be used to configure a particular one of the temperature-sensing cables 200 (e.g., to configure an alarm temperature value of the temperature-sensing cable 200), and the single configuration command may include address information and configuration information. The control module 150 is configured to: when the address information in the single configuration command matches with the address code of the relay box 100, issuing a corresponding configuration command through the second interface circuit 140 to configure the downstream temperature sensing cable 200 connected to the second interface circuit 140; when the address information in the single configuration command does not match the address code of the relay box 100, the single configuration command is issued through the second interface circuit 140. For example, when the address information in the single configuration command is a, the control module 150 issues a corresponding configuration command (the configuration command may include address information and configuration information, the address information is for example M) through the second interface circuit 140, the temperature sensing unit 230 in the temperature sensing cable 200 (downstream temperature sensing cable 200) connected to the second interface circuit 140 performs relevant configuration (for example, adjusts the alarm temperature value) in response to the configuration command with the address information of M, and the relay box 100 connected to the end of the temperature sensing cable 200 does not respond to the configuration command with the address information of M; when the address information in the single configuration command is not a (for example, when the address information is C, D or E), the control module 150 issues the unit configuration command through the second interface circuit 140 until the relay box 100 matching the address information is found, and performs configuration on the temperature sensing cable 200 connected to the second interface circuit 140 of the relay box 100.
The instructions may include a broadcast configuration command that may be used to configure all of the temperature-sensing cables 200 serially connected within a temperature-sensing cable device (fire detection system). The control module 150 is configured to issue a broadcast configuration command through the second interface circuit 140 according to the broadcast configuration command, so that the broadcast configuration command can be issued to the last temperature sensing cable 200 step by step, and the temperature sensing unit 230 in each temperature sensing cable 200 can perform relevant configuration in response to the broadcast configuration command. Broadcast configuration commands and single configuration commands may be distinguished according to the particular setting and arrangement of certain bytes in the instruction field.
The control module 150 is configured to, upon receiving data or information from upstream or downstream, distinguish the type of data or information according to the particular byte in the field, e.g., may distinguish between a broadcast configuration command and a single configuration command, and other types of instructions below, and determine the type of operation that needs to be performed, e.g., to continue forwarding data or status information uploaded by the downstream temperature sensing cable 200 upstream. The data or information may be encapsulated in the form of data packets, which may include address information, status information, operation instructions, etc., in addition to the type of data.
The status information may include cable information (e.g., fault, temperature value, etc. of the temperature sensing cable 200), and the instructions may include a first query command that may be used to query the cable information of a particular temperature sensing cable 200. The control module 150 is configured to issue a second query command through the second interface circuit 140 when the address information in the first query command matches the address code of the relay box 100, and the temperature sensing cable 200 (downstream temperature sensing cable 200) connected to the second interface circuit 140 queries its own cable information in response to the second query command and uploads the same; when the address information in the first query command does not match the address code of the relay box 100, the second interface circuit 140 issues the first query command until the relay box 100 matching the address information is found, and issues a second query command to the second interface circuit 140 matching the relay box 100. The response of the control module 150 to the first query command is substantially similar to the response to the single configuration command and will not be described again herein; the temperature sensing cable 200 generally does not actively upload its own cable information to avoid occupying a channel, and when the temperature sensing cable 200 receives the second query command, the temperature sensing cable 200 queries its own cable information and uploads the same to the relay box 100.
The status information may include fire alarm information. In the temperature sensing cable device (fire detection system), the priority of the fire alarm information is highest, and whether the channel of the temperature sensing cable 200 is in an idle state or not, the fire alarm information needs to be uploaded preferentially so as to ensure the timeliness of fire alarm. Thus, the control module 150 is configured to interrupt communication on the upstream temperature sensing cable 200 to upload the fire alarm information when the status information is the fire alarm information; specifically, when the state information is a fire alarm, if the upstream temperature sensing cable 200 is communicating, the preempting channel is used for uploading the fire alarm information preferentially, and if the upstream temperature sensing cable 200 is idle, the fire alarm information is uploaded directly.
The above description describes that the relay box 100 may implement two-way communication between the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200, so as to ensure stable transmission of communication signals and avoid interference, but the present invention is not limited thereto, the instruction may also include other commands (for example, a direct-connection switching command hereinafter), and the status information may also include other information.
When the temperature sensing cable 200 is extended and prolonged by the relay box 100, due to the serial structure, after the relay box 100 fails, if the temperature sensing cable 200 connected downstream of the failed relay box 100 uploads fire alarm information before maintenance personnel repair or replace the terminal box 320, the failed relay box 100 cannot realize relay forwarding of the fire alarm signal, which may cause a fire alarm leakage problem. Therefore, the relay box 100 provided in the preferred embodiment of the present invention can directly connect the upstream temperature sensing cable 200 with the downstream temperature sensing cable 200 when the relay box fails, so that the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200 can directly communicate, and the fire alarm information can be directly transmitted through the temperature sensing cable 200 by bypassing the failed terminal box 320.
It can be seen from the above that the relay box provided by the embodiment of the invention is connected with the upstream temperature sensing cable through the first interface circuit, is connected with the downstream temperature sensing cable through the second interface circuit, processes and forwards signals of the upstream temperature sensing cable and the downstream temperature sensing cable through the control module, ensures the stability of communication between the temperature sensing cables, and can realize cascade extension of the temperature sensing cables.
In one possible implementation, referring to fig. 2, the relay box 100 further includes an execution circuit 160, where the execution circuit 160 is connected to the first interface 110, the first interface circuit 120, the second interface 130, the second interface circuit 140, and the control module 150, respectively;
the control module 150 is further configured to switch to a direct connection mode or a relay connection mode by the execution circuit 160; the relay connection mode is to realize communication between the upstream temperature sensing cable and the downstream temperature sensing cable through the first interface circuit 120 and the second interface circuit 140, and the direct connection mode is to directly connect the first interface 110 and the second interface 130.
In this embodiment, the control module 150 is configured to: when the relay box 100 fails, the upstream temperature sensing cable 200 is directly connected to the downstream temperature sensing cable 200, and the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200 are directly communicated. Wherein, whether the relay box 100 has a fault (for example, the first interface circuit 120 has a fault and/or the second interface circuit 140 has a fault) may be detected by the control module 150, and when the control module 150 detects that the relay box 100 has a fault, the upstream temperature sensing cable 200 is directly connected with the downstream temperature sensing cable 200; whether or not the relay box 100 is faulty may be detected by other devices (e.g., signal processing units) in the temperature sensing cable apparatus (fire detection system), and when the relay box 100 is faulty, the devices send an instruction to the faulty relay box 100, and the control module 150 directly connects the upstream temperature sensing cable 200 to the downstream temperature sensing cable 200.
To implement switching between the two connection modes, as shown in fig. 2, the relay box 100 may further include an execution circuit 160, where the execution circuit 160 is coupled to the first interface 110, the second interface 130, the control module 150, and the second interface circuit 140, respectively, and may switch the first interface 110 and the second interface 130 between:
1. the first interface 110 is directly connected to the second interface 130 (in this connection, the upstream temperature sensing cable 200 is directly connected to and directly communicates with the downstream temperature sensing cable 200);
2. the first interface 110 and the second interface 130 are connected through the first interface circuit 120 and the second interface circuit 140 (in this connection, the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200 are in bidirectional communication through the first interface circuit 120, the control module 150, and the second interface circuit 140).
Correspondingly, the instruction comprises a direct-connection switching command, and the direct-connection switching command comprises address information. When the address information of the direct connection switching command matches the address code of the relay box 100, the execution circuit 160 switches the first interface 110 and the second interface 130 to direct connection. When the address information of the direct connection switching command does not match the address code of the relay box 100, the control module 150 causes the first interface 110 and the second interface 130 to be connected through the first interface circuit 120 and the second interface circuit 140 through the execution circuit 160.
In one possible implementation, as shown in fig. 3, the first interface 110 includes a first sub-interface 111 and a second sub-interface 112, and the second interface 130 includes a third sub-interface 131 and a fourth sub-interface 132;
the first sub-interface 111 is used for being connected with a first bus of an upstream temperature sensing cable, the second sub-interface 112 is used for being connected with a second bus of the upstream temperature sensing cable, the third sub-interface 131 is used for being connected with a first bus of a downstream temperature sensing cable, and the fourth sub-interface 132 is used for being connected with a second bus of the downstream temperature sensing cable;
the execution circuit 160 comprises a counter 161 and a relay 162, a first input of the counter 161 being connected to the first sub-interface 111, a second input being connected to the control module 150,
the counter 161 is configured to count up pulses sent by the first sub-interface 111, count down reset signals sent by the control module 150, and output a control signal for indicating a switching mode through an output terminal when the count value reaches a preset value;
the relay 162 is configured to switch between a first state and a second state based on a control signal; wherein the relay 162 turns on the first interface circuit 120 and the second interface circuit 140 in the first state, and turns on the third sub-interface 131 and the first sub-interface 111 in the second state.
In this embodiment, as shown in fig. 3, the relay box 100 is connected between two temperature sensing cables 200, the temperature sensing cables 200 may include a first bus 210, a second bus 220 and temperature sensing units 230, wherein the first bus 210 extends substantially parallel to the second bus 220, the temperature sensing units 230 may be provided in plurality, the plurality of temperature sensing units 230 are disposed at equal intervals along the length direction of the temperature sensing cables 200, each of the temperature sensing units 230 is connected to the first bus 210 and the second bus 220, and the first bus 210 and the second bus 220 supply power to the temperature sensing units 230 and serve as carriers for signal transmission.
As shown in fig. 3, the first interface 110 may include a first sub-interface 111 and a second sub-interface 112, wherein the first sub-interface 111 is adapted to be connected to the first bus 210, the second sub-interface 112 is adapted to be connected to the second bus 220, and the first interface circuit 120 is connected between the first sub-interface 111 and the second sub-interface 112. The second interface 130 may include a third sub-interface 131 and a fourth sub-interface 132, where the third sub-interface 131 is adapted to be connected to the first bus 210, the fourth sub-interface 132 is adapted to be connected to the second bus 220, and the fourth sub-interface 132 is connected to the second sub-interface 112 and the second interface circuit 140, respectively. For example, in fig. 3, the first sub-interface 111 is connected to the first bus 210 of the upstream temperature sensing cable 200, the second sub-interface 112 is connected to the second bus 220 of the downstream temperature sensing cable 200, the third sub-interface 131 is connected to the first bus 210 of the downstream temperature sensing cable 200, and the fourth sub-interface 132 is connected to the second bus 220 of the downstream temperature sensing cable 200.
As shown in fig. 3, the execution circuit 160 includes a counter 161 and a relay 162. Wherein, the counter 161 is coupled to the first sub-interface 111 and the control module 150, respectively; specifically, the counter 161 has a first input end, a second input end and an output end, the first input end of the counter 161 is connected with the first sub-interface 111, and the counter 161 can receive a direct-connection switching command through the first input end, wherein the direct-connection switching command further includes a counting pulse; a second input of the counter 161 is connected to the control module 150, the control module 150 being configured to: when the address information of the direct-connection switching command does not match the address code of the relay box 100, a reset signal is output, which may include a reset pulse, and the counter 161 may receive the reset signal through the second input terminal. The counter 161 may be configured to count up according to a count pulse, count down according to a reset signal (reset pulse), and output a control signal through an output terminal when the count value reaches a preset threshold. When the address information of the direct-connection switching command matches with the address code of the relay box 100, the control module 150 will not input a reset signal, and if the control module 150 fails, the control module 150 will not output a reset signal.
Preferably, the control module 150 may be configured to: when other instructions (e.g., a broadcast configuration command, a single configuration command, a first query command, etc.) are received, a reset signal is output to prevent the counter 161 from counting malfunctions.
As shown in fig. 3, the relay 162 is coupled to the third sub-interface 131, the second interface circuit 140, the first sub-interface 111, and the output of the counter 161, respectively, and the relay 162 is configured to switch from the first position to the second position according to the control signal. Wherein, in the first position, the relay 162 connects the third sub-interface 131 and the first sub-interface 111 through the first interface circuit 120 and the second interface circuit 140, so that the upstream temperature sensing cable 200 and the downstream temperature sensing cable 200 are in bidirectional communication through the first interface circuit 120, the control module 150 and the second interface circuit 140; in the second position, the relay 162 directly connects the third sub-interface 131 with the first sub-interface 111, directly connects the first interface 110 with the second interface 130, and also directly connects the upstream temperature sensing cable 200 with the downstream temperature sensing cable 200.
Preferably, as shown in fig. 3, a first capacitor 1611 may be connected between the counter 161 and the control module 150, and the first capacitor 1611 may play a role in blocking, so as to avoid that the output signal influences the counter 161 to count after the control module 150 fails.
In one possible implementation, the execution circuit 160 further includes a triode 165, and the relay 162 includes a coil 163 and a single pole double throw switch 164; a first end of the coil 163 is connected with the first sub-interface 111, a base electrode of the triode 165 is connected with an output end of the counter 161, a collector electrode is connected with a second end of the coil 163, and an emitter electrode is grounded;
the first contact of the single pole double throw switch 164 is connected to the third sub-interface 131, the second contact is connected to the first sub-interface 111, and the third contact is connected to the second interface circuit 140;
when the relay is in the first state, the first contact is communicated with the third contact, so that the third sub-interface 131 is connected with the first sub-interface 111 through the first interface circuit 120 and the second interface circuit 140;
when the relay is in the second state, the first contact is communicated with the second contact, so that the third sub-interface 131 is directly connected with the first sub-interface 111;
the first contact and the third contact are normally on, and when the base electrode of the triode 165 acquires a control signal, the collector electrode and the emitter electrode are connected and power is supplied to the coil 163, so that the first contact and the second contact are driven to be connected.
In this embodiment, as shown in fig. 3, the execution circuit 160 further includes a triode 165, the relay 162 includes a coil 163 and a single-pole double-throw switch 164, the coil 163 includes a first port 1631 and a second port 1632, the first port 1631 is connected to the first sub-interface 111, a base of the triode 165 is connected to an output terminal of the counter 161, a collector of the triode 165 is connected to the second port 1632 of the coil 163, and an emitter of the triode 165 is grounded. The single pole double throw switch 164 includes a first contact 1641, a second contact 1642, and a third contact 1643, wherein the first contact 1641 is connected to the third sub-interface 131, the second contact 1642 is connected to the first sub-interface 111, and the third contact 1643 is connected to the second interface circuit 140; when the single pole double throw switch 164 is in the first position, the first contact 1641 is in contact with the third contact 1643 such that the third sub-interface 131 is connected with the first sub-interface 111 through the first interface circuit 120 and the second interface circuit 140; when the single pole double throw switch 164 is in the second position, the first contact 1641 is turned on with the second contact 1642, so that the third sub-interface 131 is directly connected with the first sub-interface 111 (the upstream temperature sensing cable 200 is directly connected with the downstream temperature sensing cable 200). Wherein the single pole double throw switch 164 is normally in the first position, the coil 163 is powered from the first sub-interface 111 (the first bus 210), and when the output terminal of the counter 161 controls the signal, the collector and emitter of the triode 165 are turned on, and the coil 163 drives the single pole double throw switch 164 to switch from the first position to the second position. In other embodiments, the coil 163 may also draw power from other devices of the relay box 100, such as from a low dropout linear regulator (LDO) internal to the control unit (MCU), or from a power module 170, described below.
In accordance with a preferred embodiment of the present invention, as shown in FIG. 3, the execution circuit 160 further includes a second capacitor 166 and a diode 167. Wherein, one end of the second capacitor 166 is connected to the first port 1631 of the coil 163, and the other end is grounded; an input of the diode 167 is connected to the first sub-interface 111, and an output of the diode 167 is connected to the first port 1631 of the coil 163. The coil 163 takes power from the first bus 210, and the first bus 210 serves as a carrier for power supply and signal transmission, and voltage fluctuation exists on the first bus 210, so that the arrangement of the second capacitor 166 can compensate the voltage fluctuation, the voltage of the first port 1631 of the coil 163 is kept stable, and the arrangement of the diode 167 can prevent the second capacitor 166 from discharging to the first sub-interface 111.
In one possible implementation, the temperature sensor further includes a power module 170, where the power module 170 is connected to the second interface circuit 140, and is configured to supply power to the downstream temperature sensing cable.
In this embodiment, as shown in fig. 1, the relay box 100 further includes a power module 170, where the power module 170 is electrically connected to the second interface circuit 140, and the power module 170 cooperates with the second interface circuit 140 to supply power to the downstream temperature sensing cable 200, so as to avoid the situation of insufficient voltage on the temperature sensing cable 200. Fig. 4 illustrates a schematic diagram of a power module 170 according to an embodiment of the present invention, as illustrated in fig. 4, the power module 170 may include an AC/DC module 171 and a backup battery 172, the power module 170 may be connected to an external power source (e.g., 220VAC power source), the AC/DC module 171 may convert alternating current provided by the external power source into direct current suitable for the temperature sensing cable 200, and the backup battery 172 may supply power to the temperature sensing cable 200 when the external power source fails. In other embodiments, the power module 170 may also be a power terminal for connection to an external fire wall power source.
In one possible implementation, the terminal box circuit 180 is further included, and the terminal box circuit 180 is connected to the first interface 110 for matching the upstream temperature sensing cable.
In this embodiment, as shown in fig. 1, the relay box 100 further includes a terminal box circuit 180, where the terminal box circuit 180 is connected to the first interface 110, and the terminal box circuit 180 is adapted to match the last temperature sensing unit 230 of the upstream temperature sensing cable 200 to perfect the fire alarm and fault detection functions of the temperature sensing unit 230.
In one possible implementation, the device further includes a buffer module 190, where the buffer module 190 is connected to the control module 150;
the control module 150 is configured to store the cable information into the buffer module 190 when the cable information of any one of the temperature sensing cables is received and the channel of the other temperature sensing cable is busy, and upload the cable information to the other temperature sensing cable after the channel of the other temperature sensing cable is idle.
In this embodiment, the relay box 100 further includes a buffer module 190, and the buffer module 190 is coupled to the control module 150. The buffer module 190 is configured to buffer the cable information, when the control unit receives the cable information through the second interface circuit 140, if the upstream temperature sensing cable 200 is communicating (the channel is busy), the control unit stores the cable information into the buffer module 190, and uploads the cable information through the first interface circuit 120 after the upstream temperature sensing cable 200 is free; if the upstream temperature sensing cable 200 channel is idle, the cable information is uploaded directly through the first interface circuit 120.
Fig. 5 is a flowchart of an implementation of a relay control method according to an embodiment of the present invention, referring to fig. 5, the relay control method includes:
step 301, obtaining cable information or instructions of any temperature sensing cable through a first interface or a second interface.
Step 302, the cable information or the command is sent to the corresponding temperature sensing cable through the corresponding interface.
In one possible implementation, the communication link includes a plurality of relay boxes, each relay box is alternately connected with the temperature sensing cable, and each relay box corresponds to a different address code;
the method further comprises the steps of:
acquiring an instruction; the instructions include a single configuration command, a broadcast configuration command, and a query command;
if the instruction is a single configuration command, when the address information in the single configuration command is matched with the address code of the current relay box, a corresponding configuration command is issued through a second interface circuit so as to configure a downstream temperature sensing cable; when the address information in the single configuration command is not matched with the address code of the current relay box, issuing the single configuration command through the second interface circuit;
if the instruction is a broadcast configuration command, the broadcast configuration command is issued through the second interface circuit according to the broadcast configuration command;
if the instruction is a query command, when the address information in the first query command is matched with the address code of the relay box, a second query command is issued through a second interface circuit, so that the downstream temperature sensing cable queries own cable information in response to the second query command and uploads the cable information; and when the address information in the first inquiry command is not matched with the address code of the relay box, issuing the first inquiry command through the second interface circuit.
Fig. 6 is a schematic structural diagram of a fire detection system according to an embodiment of the present invention. Referring to fig. 6, the fire detection system 300 includes a signal processing unit 310, a first temperature sensing cable 200, a relay box 100, and a second temperature sensing cable 200, which are sequentially connected.
As shown in fig. 6, the temperature sensing cables 200 may be sequentially provided in plurality, the specific number of the temperature sensing cables 200 may be determined according to the laying requirement, the relay box 100 is provided with one or more relay boxes 100 connected between adjacent temperature sensing cables 200, the signal processing unit 310 is connected to the front end of the first temperature sensing cable 200 (e.g., the first temperature sensing cable 200 from left to right in fig. 4), and the terminal box 320 is connected to the end of the last temperature sensing cable 200 (e.g., the last temperature sensing cable 200 from left to right in fig. 4).
Compared with the prior art, the embodiment of the invention provides a relay box, a relay method and a fire detection system, wherein the relay box can carry out cascade expansion on a temperature sensing cable, and communication signals (such as instructions and state information) are not easy to interfere; when the relay box fails, the upstream temperature sensing cable and the downstream temperature sensing cable can be directly connected, so that the upstream temperature sensing cable and the downstream temperature sensing cable can be directly communicated, and the fire alarm information can be directly transmitted through the temperature sensing cable by bypassing the terminal box of the failure; the relay box can supply power for the temperature sensing cable at the downstream, and the condition of insufficient voltage on the temperature sensing cable is avoided.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The relay box is characterized by comprising a first interface, a first interface circuit, a second interface circuit and a control module; the first interface circuit and the second interface circuit are both connected with the control module;
the first interface circuit is used for being connected with an upstream temperature sensing cable through the first interface;
the second interface circuit is used for being connected with a downstream temperature sensing cable through the second interface;
the control module is used for communicating with an upstream temperature sensing cable through the first interface circuit and communicating with a downstream temperature sensing cable through the second interface circuit so as to realize communication between the upstream temperature sensing cable and the downstream temperature sensing cable.
2. The relay box of claim 1, further comprising an execution circuit coupled to the first interface, the second interface, the first interface circuit, the second interface circuit, and the control module, respectively;
the control module is also used for switching to a direct connection mode or a relay connection mode through the execution circuit; the relay connection mode is that communication of an upstream temperature sensing cable and a downstream temperature sensing cable is achieved through the first interface circuit and the second interface circuit, and the direct connection mode is that the first interface is directly connected with the second interface.
3. The relay box of claim 2, wherein the first interface comprises a first sub-interface and a second sub-interface, the second interface comprising a third sub-interface and a fourth sub-interface;
the first sub-interface is used for being connected with a first bus of an upstream temperature sensing cable, the second sub-interface is used for being connected with a second bus of the upstream temperature sensing cable, the third sub-interface is used for being connected with a first bus of a downstream temperature sensing cable, and the fourth sub-interface is used for being connected with the second bus of the downstream temperature sensing cable;
the execution circuit comprises a counter and a relay, wherein a first input end of the counter is connected with the first sub-interface, a second input end of the counter is connected with the control module,
the counter is used for counting up the pulses sent by the first sub-interface, counting down the reset signals sent by the control module, and outputting control signals for indicating the switching mode through the output end when the count value reaches a preset value;
the relay is used for switching between a first state and a second state based on the control signal; wherein the relay turns on the first interface circuit and the second interface circuit in the first state, and turns on the third sub-interface and the first sub-interface in the second state.
4. The relay box of claim 3, wherein said execution circuit further comprises a triode, said relay comprising a coil and a single pole double throw switch; the first end of the coil is connected with the first sub-interface, the base electrode of the triode is connected with the output end of the counter, the collector electrode of the triode is connected with the second end of the coil, and the emitter electrode of the triode is grounded;
a first contact of the single-pole double-throw switch is connected with the third sub-interface, a second contact of the single-pole double-throw switch is connected with the first sub-interface, and a third contact of the single-pole double-throw switch is connected with the second interface circuit;
when the relay is in the first state, the first contact is communicated with the third contact, so that the third sub-interface is connected with the first sub-interface through the first interface circuit and the second interface circuit;
when the relay is in the second state, the first contact is communicated with the second contact, so that the third sub-interface is directly connected with the first sub-interface;
when the base electrode of the triode acquires the control signal, the collector electrode is communicated with the emitter electrode and supplies power for the coil, and the first contact is driven to be communicated with the second contact.
5. The junction box of claim 1, further comprising a power module connected to said second interface circuit for powering a downstream temperature sensing cable.
6. The relay box of claim 1, further comprising a termination box circuit coupled to the first interface for mating with an upstream temperature sensing cable.
7. The relay box of claim 1, further comprising a cache module, the cache module being coupled to the control module;
the control module is used for storing the cable information into the buffer module when the cable information of any one temperature sensing cable is received and the channel of the other temperature sensing cable is busy, and uploading the cable information to the other temperature sensing cable after the channel of the other temperature sensing cable is idle.
8. A relay control method applied to the relay box according to any one of claims 1 to 7, characterized by comprising:
acquiring cable information or instructions of any temperature sensing cable through the first interface or the second interface;
and sending the cable information or the instruction to the corresponding temperature sensing cable through the corresponding interface.
9. The relay control method according to claim 8, wherein the communication link includes a plurality of relay boxes, each relay box being alternately connected with the temperature sensing cable, each relay box corresponding to a different address code;
the method further comprises the steps of:
acquiring an instruction; the instructions include a single configuration command, a broadcast configuration command, and a query command;
if the instruction is a single configuration command, when the address information in the single configuration command is matched with the address code of the current relay box, the second interface circuit issues a corresponding configuration command to configure the downstream temperature sensing cable; issuing the single configuration command through the second interface circuit when the address information in the single configuration command is not matched with the address code of the current relay box;
if the instruction is a broadcast configuration command, issuing the broadcast configuration command through the second interface circuit according to the broadcast configuration command;
if the instruction is a query command, when the address information in the first query command is matched with the address code of the relay box, a second query command is issued through a second interface circuit, so that the downstream temperature sensing cable queries own cable information in response to the second query command and uploads the cable information; and when the address information in the first inquiry command is not matched with the address code of the relay box, issuing the first inquiry command through the second interface circuit.
10. A fire detection system comprising a signal processing unit, a first temperature-sensing cable, a relay box according to any one of claims 1 to 7, and a second temperature-sensing cable connected in this order.
CN202311669134.8A 2023-12-06 2023-12-06 Relay box, relay control method and fire detection system Pending CN117595899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311669134.8A CN117595899A (en) 2023-12-06 2023-12-06 Relay box, relay control method and fire detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311669134.8A CN117595899A (en) 2023-12-06 2023-12-06 Relay box, relay control method and fire detection system

Publications (1)

Publication Number Publication Date
CN117595899A true CN117595899A (en) 2024-02-23

Family

ID=89909847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311669134.8A Pending CN117595899A (en) 2023-12-06 2023-12-06 Relay box, relay control method and fire detection system

Country Status (1)

Country Link
CN (1) CN117595899A (en)

Similar Documents

Publication Publication Date Title
CN101834727B (en) Device and network system
CN105122229A (en) Fault-tolerant loop for a communication bus
CN102175943A (en) Load overcurrent protector state detection device and method
CN204632315U (en) A kind of display screen display control program
CN1871786B (en) Facilities equipment communication circuit
CN102541024B (en) A kind of control system and control method controlling track relay
CN108964718A (en) Bidirectional signal transmission system and its device management method
CN104795803A (en) Regional selective interlocking device
CN117595899A (en) Relay box, relay control method and fire detection system
KR101762686B1 (en) Digital traffic signal control system
CN208257037U (en) A kind of comprehensive wiring information point management system
KR101550102B1 (en) Automatic meter reading system
EP3306864B1 (en) Communication device and communication system
CN104251530A (en) Device and method for wiring protection of air conditioner communication bus
CN108282183B (en) It is a kind of to realize the system and method for taking electricity and data transmission using multicore cable
CN109240262B (en) Bus circuit and intelligent goods shelf system
JP7045844B2 (en) Fire alarm system and booster
CN100448204C (en) Method for operating a network
EP3361461A1 (en) Electronic unit for monitoring and controlling of fire sensors operating at different voltage levels and fire detection system
CN213842238U (en) Mine water supply and compressed air on-line monitoring system
CN214506555U (en) Two-core non-polar bus communication system
CN110554609A (en) Dynamic loop monitoring collector and dynamic loop monitoring collection system
CN220730857U (en) Lane integrated machine
CN113655752B (en) Two-bus equipment, self-checking method thereof and building automatic control system
US11501631B2 (en) Fire alarm system and booster

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination