CN113570827A - Relay extension module and gas detection alarm system - Google Patents

Relay extension module and gas detection alarm system Download PDF

Info

Publication number
CN113570827A
CN113570827A CN202110743936.3A CN202110743936A CN113570827A CN 113570827 A CN113570827 A CN 113570827A CN 202110743936 A CN202110743936 A CN 202110743936A CN 113570827 A CN113570827 A CN 113570827A
Authority
CN
China
Prior art keywords
output
relay
circuit
input
resistor
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
CN202110743936.3A
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.)
Shenzhen Clou Precision Instrument Co Ltd
Original Assignee
Shenzhen Clou Precision Instrument 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 Shenzhen Clou Precision Instrument Co Ltd filed Critical Shenzhen Clou Precision Instrument Co Ltd
Priority to CN202110743936.3A priority Critical patent/CN113570827A/en
Publication of CN113570827A publication Critical patent/CN113570827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/12Alarms for ensuring the safety of persons responsive to undesired emission of substances, e.g. pollution alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/12Alarms for ensuring the safety of persons responsive to undesired emission of substances, e.g. pollution alarms
    • G08B21/14Toxic gas alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/12Alarms for ensuring the safety of persons responsive to undesired emission of substances, e.g. pollution alarms
    • G08B21/16Combustible gas alarms

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Alarm Systems (AREA)

Abstract

The invention provides a relay expansion module and a gas detection alarm system. Wherein the relay expansion module includes: the input detection circuits are respectively connected with the first output relays in a one-to-one correspondence mode, and each input detection circuit is used for detecting the on-off state of the corresponding first output relay and outputting a corresponding state signal according to the on-off state; the single chip microcomputer circuit is connected with the input detection circuit and comprises a single chip microcomputer, and the single chip microcomputer comprises n input pins and 2nThe single chip microcomputer obtains the combination of the state signals through the n input pins and selects the corresponding output pin to output a control signal according to the combination; are respectively connected with 2n-1 pieces ofThe output pin is connected with 2 for outputting the control signaln-1 extended relay output circuit; and a power supply circuit for supplying an operating voltage.

Description

Relay extension module and gas detection alarm system
Technical Field
The invention relates to the technical field of gas alarm, in particular to a relay expansion module and a gas detection alarm system.
Background
In recent years, with the development and supervision requirements of industries, combustible gas and toxic gas detection and alarm systems are more and more widely applied to industries such as metallurgical pharmacy, petrochemical industry, new energy and the like. In the gas detection alarm system, the combustible gas alarm controller belongs to a fire-fighting product, and the design of the combustible gas alarm controller must meet the national standard GB 16808-2008 combustible gas alarm controller. The standard, clause 4.1.3.4, specifies: the controller has at least two groups of control outputs under the combustible gas alarm state. Manufacturers typically design three relays for controlling the output. In practical application, the three relays are often difficult to control regional audible and visual alarms, exhaust fans, shut-off valves and other devices, and need to be expanded. For a bus system gas alarm controller, a bus system relay module can be added; however, since the bus relay module is a node, and the node capacity of the bus gas alarm controller is limited, the number of detector nodes that can be connected to the controller is reduced. Further, bus communication is increased in a bus system, hardware design is complex, communication chips, isolation chips, power supply chips and dial switches need to be added, and production cost is increased. For the branching system gas alarm controller, a bus system relay module cannot be added, and in practical application, a mode that one relay controls a plurality of field devices is usually adopted, so that the disadvantages of complicated wiring and the risk of overload bearing exist.
In view of this, there is a need in the art for a new relay expansion module and a gas detection alarm system, which implement expansion output to a gas alarm controller without increasing excessive hardware cost, so as to control more devices.
Disclosure of Invention
Based on the technical scheme, the invention provides a relay expansion module and a gas detection alarm system, and aims to solve the technical problems in the prior art.
In order to achieve the above object, the present invention provides a relay expansion module for an extended output of a gas alarm controller, where the gas alarm controller includes n first output relays, n is a natural number greater than or equal to 2, and the relay expansion module includes:
the input detection circuits are respectively connected with the first output relays in a one-to-one correspondence mode, and each input detection circuit is used for detecting the on-off state of the corresponding first output relay and outputting a corresponding state signal according to the on-off state;
the single chip microcomputer circuit is connected with the input detection circuit and comprises a single chip microcomputer, and the single chip microcomputer comprises n input pins and 2nThe single chip microcomputer obtains the combination of the state signals through the n input pins and selects the corresponding output pin to output a control signal according to the combination;
are respectively connected with 2n-1 of said output pin connections, 2 for outputting said control signaln-1 extended relay output circuit;
and the power supply circuit is respectively connected with the input detection circuit, the single chip microcomputer circuit and the extended relay output circuit and is used for providing working voltage.
Preferably, the number of the input detection circuits is 3, the number of the extended relay output circuits is 7, and the combinations of the state signals output by the 3 groups of input detection circuits are 8, wherein one of the combinations does not output a control signal, and the other 7 of the combinations correspond to 7 types of the control signals respectively.
Preferably, the power supply circuit includes: an EMC circuit for protecting the relay expansion module, a DC-DC circuit for converting a direct current 24V voltage into a direct current 5V voltage, an LDO circuit for converting the direct current 5V voltage into a direct current 3.3V voltage; the input end of the EMC circuit is connected with a direct current 24V power supply, the output end of the EMC circuit is connected with the input end of the DC-DC circuit, and the output end of the DC-DC circuit is connected with the input end of the LDO circuit.
Preferably, each of the input detection circuits includes: an input terminal, a first inductor, a first resistor, a second resistor, and a first capacitor; the input terminal is connected with the first output relay, and the normally open end of the input terminal is connected with the direct current 3.3V voltage through the first inductor; the common end of the input terminal is connected with the first end of the first resistor, the second end of the first resistor is connected with the corresponding input pin, the first end of the first resistor is connected with the second resistor and then grounded, and the second end of the first resistor is connected with the first capacitor and then grounded.
Preferably, each of the extended relay output circuits includes: the second output relay, the first triode, the first diode, the third resistor and the output terminal; a first pin of the second output relay is connected with an emitting electrode of the first triode, a collector electrode of the first triode is grounded, a base electrode of the first triode is connected with a first end of the third resistor, and a second end of the third resistor is connected with the corresponding output pin; a second pin of the second output relay is connected with the direct-current 5V voltage, a second pin of the second output relay is also connected with the negative electrode of the first diode, and the positive electrode of the first diode is connected with the emitting electrode of the first triode; a third pin of the second output relay is a normally closed end; a fourth pin of the second output relay is a normally open end; and a fifth pin of the second output relay is connected with the common end of the output terminal.
Preferably, the model of the second output relay is QX-115F-H/005-1Z-S-1A, and the model of the first triode is PMBTA 56.
Preferably, the single chip microcomputer is STM32F101RBT6 in model number.
The invention also provides a gas detection alarm system, which comprises: the relay expansion module, at least one gas detector for detecting combustible gas and/or toxic gas, a gas alarm controller for controlling output and a plurality of controlled devices are arranged; the gas detector, the gas alarm controller, the relay expansion module and the controlled equipment are sequentially connected.
Preferably, the controlled devices are connected with the extended relay output circuits in a one-to-one correspondence, and one extended relay output circuit controls one controlled device.
Preferably, the gas alarm controller is of a wire-branching system or a bus system.
The invention has the beneficial effects that: the relay expansion module provided by the invention expands the relay based on the gas alarm controller, does not need to increase bus communication, has simple hardware design and low cost, realizes the control of more external devices, supports the relay expansion of the gas alarm controller of a branch system and a bus system, does not occupy the node capacity of the gas alarm controller of the bus system, has good compatibility and is easy to popularize.
Drawings
Fig. 1 is a functional module structure diagram of a relay expansion module according to an embodiment of the present invention;
fig. 2 is a circuit diagram of an EMC circuit of the relay expansion module according to the embodiment of the present invention;
fig. 3 is a circuit diagram of a DC-DC circuit of a relay expansion module according to an embodiment of the present invention;
FIG. 4 is a circuit diagram of an LDO circuit of the relay expansion module according to an embodiment of the present invention;
fig. 5 is a circuit diagram of an input detection circuit of the relay expansion module according to an embodiment of the present invention;
fig. 6 is a circuit diagram of a one-chip circuit of the relay expansion module according to the embodiment of the invention;
FIG. 7 is a circuit diagram of an extended relay output circuit of the relay extension module of an embodiment of the present invention;
fig. 8 is a functional block diagram of a gas detection alarm system according to an embodiment of the present invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Any embodiments described herein are not necessarily to be construed as preferred or advantageous over other embodiments. All of the embodiments described below are exemplary embodiments provided to enable persons skilled in the art to make and use the examples of the invention and are not intended to limit the scope of the invention, which is defined by the claims. In other instances, well-known features and methods are described in detail so as not to obscure the invention.
For the purposes of this description, the terms "upper," "lower," "left," "right," "front," "back," and derivatives thereof are not intended to be limited by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description. When an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. It is also to be understood that the specific devices and processes illustrated in the attached drawings, and described in the following specification are simply exemplary embodiments of the inventive concepts defined in the appended claims. Hence, specific dimensions and other physical characteristics relating to the embodiments disclosed herein are not to be considered as limiting, unless the claims expressly state otherwise. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1 to 8, a relay expansion module 100 according to an embodiment of the present invention is configured to be connected to a gas alarm 300 and perform expansion output. Wherein, the gas alarm controller 300 includes n first output relays 301, n being a natural number greater than or equal to 2. The relay expansion module 100 includes: power supply circuit 10, n input detection circuits 20, single chip microcomputer circuits 30, 2n1 extended relay output circuit 40. The gas alarm controller 300, the input detection circuit 20, the singlechip circuit 30 and the extended relay output circuit 40 are connected in sequence; the power supply circuit 10 is connected with the input detection circuit 20, the single chip microcomputer circuit 30 and the extended relay output circuit 40 respectively. Specifically, the n first output relays 301 are connected to the n input detection circuits 20 in a one-to-one correspondence, and the input detection circuits 20 are configured to detect on/off states of the corresponding first output relays 301 and output corresponding state signals according to the on/off states; referring to fig. 6, the single chip microcomputer circuit 30 includes a single chip microcomputer U3, and the single chip microcomputer U3 includes n input pins and 2nThe single chip microcomputer U3 acquires the combination of the status signals through the n input pins and selects the corresponding output pin to output the control signal; 2n-1 extended relay output circuit 40 and 2 respectivelyn1 output pin is connected in a one-to-one correspondence for outputting a control signal to the controlled device 400.
Since most of the first output relays 301 of the gas alarm controller 300 are 3 at present, the number of the input detection circuits 20 of the relay extension module 100 according to the embodiment of the present invention is preferably 3, and in other embodiments, the number of the first output relays 301 of the gas alarm controller 300 may also be set, for example, 2 or 4; the number of the extended relay output circuits 40 is preferably 7, and in other embodiments, the number of the extended relay output circuits 40 may be set according to the number of the input detection circuits 20, such as 3 extended relay output circuits 40 when the number of the input detection circuits 20 is 2, 15 extended relay output circuits 40 when the number of the input detection circuits 20 is 4, and the like. Since the first output relay 301 of the gas alarm controller 300 has two states of on and off, and the on/off states of the 3 first output relays 301 can be respectively off/on, and off/on, the combinations of the on/off states of the 3 first output relays 301 are 8 in total, that is, the combinations of the state signals are 8. The combination of the on-off states of the 3 first output relays 301 which are all off is set as a normal state signal, and no control signal is output; the other 7 combinations correspond to 7 control signals respectively, the 7 control signals correspond to 7 extended relay output circuits 40, and each combination controls one extended relay output circuit 40 to output.
During operation, the input detection circuit 20 detects the on-off state of the first output relay 301 of the 3 gas alarm controllers 300, outputs a corresponding state signal according to the on-off state, specifically, the state signal is converted into a level state of the single chip microcomputer U3 through an input pin of the single chip microcomputer U3, the single chip microcomputer U3 selects a corresponding output pin according to the combination of the state signals to output a control signal, and then controls the 7 extension relay output circuits 40 to control the controlled device 400 connected with the extension relay output circuits 40. The circuit of each part is further explained below.
Further, referring to fig. 2 to 4, the power circuit 10 includes: an EMC circuit 11 for protecting the relay extension module 100, a DC-DC circuit 12 for converting a direct current 24V voltage into a direct current 5V voltage, an LDO circuit 13 for converting a direct current 5V voltage into a direct current 3.3V voltage. The power supply circuit 10 is further explained below.
Referring to fig. 2, the input terminal of the EMC circuit 11 is connected to the DC 24V power supply, and specifically, the input terminal of the EMC circuit 11 is connected to the DC 24V power supply through the power input terminal J1, and the output terminal is connected to the input terminal of the DC-DC circuit 12. The EMC circuit 11 has the functions of resisting the electric fast transient pulse group, preventing high voltage, preventing short circuit and preventing reverse connection. The EMC circuit 11 further includes a first common mode inductor L1, a second capacitor C2, a third capacitor C3, a transient diode TVS1, a fuse FU1, a first schottky diode D1, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6; the anti-electric fast transient pulse group consists of a first common-mode inductor L1, and a second capacitor C2 and a third capacitor C3 which are arranged on two sides of the first common-mode inductor L1 and are resistant to 2KV respectively, wherein the model of the first common-mode inductor L1 is DLW5BTN142, and the specifications of the second capacitor C2 and the third capacitor C3 are 1nF/2 KV; the transient diode TVS1 plays a role in preventing high voltage, and is of a model of SMBJ33 CA; the fuse FU1 has the function of short circuit prevention and is 0.5A/15V in specification; the first schottky diode D1 plays a role of reverse connection prevention; the specification of the fourth capacitor C4 is 470 mu F/50V; the fifth capacitor C5 and the sixth capacitor C6 are 10 μ F and 0.1 μ F, respectively.
Referring to fig. 3, the DC-DC circuit 12 converts the direct current 24V voltage into a direct current 5V voltage for supplying power to the extended relay output circuit 40, an input terminal of the DC-DC circuit 12 is connected to an output terminal of the EMC circuit 11, and an output terminal of the DC-DC circuit 12 is connected to an input terminal of the LDO circuit 13. The DC-DC circuit 12 includes: the inductor comprises a DC-DC chip U1, a second inductor L2, a second Schottky diode D2, a seventh capacitor C7, an eighth capacitor C8, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a fourth resistor R4 and a fifth resistor R5. The model of the DC-DC chip U1 is LV2842, the model of the second inductor L2 is CDRH5D28-150M, the specification is 15 mu H, the specification of the fourth resistor R4 is 2K omega, the specification of the fifth resistor R5 is 11K omega, the specifications of the seventh capacitor C7 and the eleventh capacitor C11 are 100 mu F/50V +/-20%, and the specifications of the eighth capacitor C8, the ninth capacitor C9 and the tenth capacitor C10 are 0.1 mu F/50V +/-20%. With the above arrangement, the DC-DC chip U1 converts the direct current 24V voltage into a direct current 5V voltage.
Referring to fig. 4, the LDO circuit 13 converts a direct current 5V voltage into a direct current 3.3V voltage for supplying power to the single chip microcomputer circuit 30 and the input detection circuit 20, and an input end of the LDO circuit 13 is connected to an output end of the DC-DC circuit 12. The LDO circuit 13 includes: the LDO chip U2, twelfth capacitor C12, thirteenth capacitor C13, fourteenth capacitor C14 and fifteenth capacitor C15. The model of the LDO chip U2 is U-SPX1117M3-L-3.3, the specifications of the twelfth capacitor C12 and the fourteenth capacitor C14 are 10 muF/16V +/-10%, and the specifications of the thirteenth capacitor C13 and the fifteenth capacitor C15 are 0.1 muF/50V +/-10%. With the above arrangement, the LDO chip U2 converts a dc 24V voltage to a dc 5V voltage.
Further, 3 sets of input detection circuits 20 are respectively connected to 3 sets of first output relays 301 of the gas alarm controller 300 in a one-to-one correspondence manner, and the 3 sets of input detection circuits 20 have the same structure, and the following description will be given taking one of the input detection circuits 20 as an example. Referring to fig. 5, the input detection circuit 20 includes: an input terminal J2, a first inductor L3, a first resistor R1, a second resistor R2, and a first capacitor C1; the input terminal J2 is connected to the first output relay 301, and the normally open end NO of the input terminal J2 is connected to a dc 3.3V voltage through the first inductor L3; the common end C of the input terminal is connected with the first end of the first resistor R1, the second end of the first resistor R1 is connected with the input pin A1 of the singlechip U3, the first end of the first resistor R1 is also connected with the second resistor R2 and then grounded, and the second end of the first resistor R1 is also connected with the first capacitor C1 and then grounded. The model of the first inductor L3 is LQW18AN15N, the specification of the first resistor R1 is 1K omega, the specification of the first capacitor C1 is 0.1 muF/50V +/-10%, and the specification of the second resistor R2 is 10K omega. It should be noted that, in fig. 5, a second end of the first resistor R1 is connected to the input pin a1 of the single chip microcomputer U3, which is only a connection relationship between one of the input detection circuits 20 and the single chip microcomputer U3, and the other two groups of input detection circuits 20 are respectively connected to the input pin a2 and the input pin A3 of the single chip microcomputer U3. The 3 output terminals J2 are connected to the 3 first output relays 301, respectively, so that the on-off state of the first output relays 301 can be detected, and corresponding state signals can be output according to the on-off state.
Further, referring to fig. 6, the one-chip microcomputer circuit 30 includes a one-chip microcomputer U3. The model of the singlechip U3 is STM32F101RBT 6. The input pins of the singlechip U3 are A1-A3 respectively, and the output pins are RELAY _ C1-RELAY _ C7 respectively. The input pins a1, a2 and A3 are respectively connected with the input terminals J2 of the 3 input detection circuits 20 through first resistors R1 in a one-to-one corresponding manner, the output pins RELAY _ C1 to RELAY _ C7 are respectively connected with the 7 extended RELAY output circuits 40 in a one-to-one corresponding manner, the single chip U3 is connected with direct current 3.3V voltage through a third inductor L4, and the model of the third inductor L4 is LQW18AN 15N. The single chip microcomputer circuit 30 further comprises circuits necessary for normal work of the single chip microcomputer U3, and specifically comprises a sixteenth capacitor C16 to a twenty-third capacitor C23 and a sixth resistor R6, wherein the specification of the sixteenth capacitor is 10 muF/16V +/-10%, the specification of the seventeenth capacitor C17 to the twenty-third capacitor C23 is 0.1 muF/50V +/-10%, and the specification of the sixth resistor R6 is 10K omega. The single chip microcomputer U3 selects the corresponding output pin to output the control signal according to the combination of the status signals of the 3 input detection circuits 20.
Further, the 7 sets of extended relay output circuits 40 have the same structure. In the following description, taking one set of the input detection circuit 20 as an example, referring to fig. 7, the extended relay output circuit 40 includes: the circuit comprises a second output relay RL1, a first triode Q1, a first diode D3, a third resistor R3 and an output terminal J3; a first pin of the second output RELAY RL1 is connected with an emitter E of the first triode Q1, a collector C of the first triode Q1 is grounded, a base B of the first triode Q1 is connected with a first end of the third resistor R3, and a second end of the third resistor R3 is connected with an output pin RELAY _ C1 of the single chip microcomputer U3; a pin II of the second output relay RL1 is connected with direct-current 5V voltage, a second pin of the second output relay RL1 is also connected with the negative electrode of the first diode D3, and the positive electrode of the first diode D3 is connected with the emitter E of the first triode Q1; a third pin of the second output relay RL1 is a normally closed end; a fourth pin of the second output relay RL1 is a normally open end; the fifth pin of the second output relay RL1 is connected with the common end C of the output terminal J3, and the output terminal J3 is connected with a controlled device. The singlechip U3 controls the on-off state of the second output RELAY RL1 through an output pin RELAY _ C1. The model of the second output relay is QX-115F-H/005-1Z-S-1A, the model of the first triode Q1 is PMBTA56, the first diode D3 is a Schottky diode, and the specification of the third resistor R3 is 2K omega. It should be noted that, in fig. 7, a second end of the third resistor R3 is connected to an output pin RELAY _ C1 of the single chip microcomputer U3, which is only a connection relationship between one group of the extended RELAY output circuits 40 and the single chip microcomputer U3, and serial numbers of second output RELAYs of the remaining six groups of the extended RELAY output circuits 40 are RL2 to RL7, and the second ends are respectively connected to the output pins RELAY _ C2 to RELAY _ C7 of the single chip microcomputer U3 through the connection relationship.
The relay expansion module 100 of the embodiment of the invention expands the first output relay 301 based on the gas alarm controller 300 without increasing bus communication, has simple hardware design and low cost, realizes the control of more external devices, supports the gas alarm controller 300 of a branch system and a bus system to expand the relay, does not occupy the node capacity of the gas alarm controller 300 of the bus system, has good compatibility and is easy to popularize.
The embodiment of the present invention further provides a gas detection alarm system, please refer to fig. 8, which includes a relay expansion module 100, at least one gas detector 200 for detecting combustible gas and/or toxic gas, a gas alarm controller 300, and a controlled device 400. The relay expansion module 100 has been described in detail above and will not be repeated here. The gas detector 200, the gas alarm controller 300, the relay expansion module 100 and the controlled device 400 are connected in sequence. Specifically, the relay expansion module 100 is connected to the first output relay 301 of the gas alarm controller 300 through the input terminal J2, and the relay expansion module 100 is connected to the controlled device 400 through the output terminal J3. The controlled devices 400 are connected to the extended relay output circuits 40 in a one-to-one correspondence, and one extended relay output circuit 40 controls one controlled device 400. Further, the controlled device 400 may be an exhaust fan, a shut-off valve, an audible and visual alarm, and the like. The gas alarm controller 300 is of a split-line system or a bus system. When the detection gas detector 200 detects that the index is abnormal, the on-off state of the first output relay 301 of the gas alarm controller 300 is changed, the relay expansion module 100 detects the on-off state of the first output relay 301, the on-off state is converted into the on-off states of the second output relays RL1 to RL7 of the relay expansion module 100 through the single chip microcomputer U3, and then the controlled device 400 connected with the second output relays is controlled.
The working principle of the gas detection alarm system provided by the embodiment of the invention is as follows: referring to the input and output state logic table of table 1, in table 1, the serial numbers of the 3 sets of first output relays 301 are respectively S1 to S3, and are respectively connected with the input pins a1 to A3 of the single chip microcomputer U3 through the input detection circuit 20; the serial numbers of the 7 second output relays are RL 1-RL 7 respectively and are connected with the controlled equipment 400 through output terminals J3 respectively; state remains unchanged; the first output relay 301 corresponds to the low level of the input pins A1-A3 of the singlechip U3 when the state is open, and corresponds to the high level of the input pins A1-A3 of the singlechip U3 when the state of the first output relay 301 is closed. It should be noted that the second output relays RL 1-RL 7 are manually reset, i.e., the alarm signal needs to be maintained until manually removed. The gas detector 200 detects the environmental gas indexes in real time; when all indexes are qualified, 3 first output relays 301 of the gas alarm controller 300 are in an off state, the input detection circuit 20 of the relay expansion module 100 detects that 3 groups of first output relays 301 are in the off state, corresponding state signals are output according to the on-off state and converted into low levels of input pins A1-A3 of the single chip microcomputer U3, and second output relays RL 1-RL 7 are in the off state and do not trigger output actions; when the gas detector 200 detects that a certain index is abnormal, the gas alarm controller 300 controls the on-off state of the 3 groups of first output relays 301 according to the corresponding abnormal index, outputs a corresponding state signal according to the on-off state, and converts the signal into a high level of a corresponding input pin of the singlechip U3; the single chip microcomputer U3 selects the corresponding output pin to output the control signal according to the level of the input pins A1-A3, namely according to the combination of the state signals, and controls the on-off state of the corresponding second output relays RL 1-RL 7 according to the input and output state logic table of the table 1, thereby controlling the controlled device 400. Next, a case where the gas detector 200 detects an abnormality in a certain index will be described by way of example.
When the gas detector 200 detects that the index of the combustible gas is abnormal, firstly, the on-off states of the 3 groups of first output relays 301S 1-S3 are controlled to be on, off and off respectively, then the input detection circuit 20 detects that the on-off state of the first output relay 301S1 connected with the input detection circuit changes, and outputs a corresponding state signal according to the on-off state, the level of an input pin a1 of the singlechip U3 changes to be high level, and the levels of the input pins A2 and A3 do not change to be low level; the singlechip U3 controls the second output RELAY RL1 of the extension RELAY output circuit 40 connected with the singlechip U3 to be closed through the output pin RELAY _ C1 of the singlechip U3 according to the level change of the input pin, thereby controlling a controlled device 400 such as an audible and visual alarm to give an alarm. The control of one controlled device 400 is completed according to the above steps, and more controlled devices 400 can be edited according to actual conditions. For example, on the basis of completing the above steps, the on-off states of the 3 sets of first output RELAYs 301S1 to S3 are controlled to be open, closed and open respectively, the levels of the input pins a1 to A3 of the single chip microcomputer are low level, high level and low level respectively, and the single chip microcomputer U3 controls the second output RELAY RL2 to be closed through the extension RELAY output circuit 40 connected with the output pin RELAY _ C2 of the single chip microcomputer U3 according to the level change, so as to control another controlled device 400 such as an exhaust fan to exhaust.
TABLE 1 input/output State logic Table
Figure BDA0003142235480000101
Figure BDA0003142235480000111
The above examples only express preferred embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. The utility model provides a relay expansion module for gas alarm controller carries out the expansion output, gas alarm controller includes a plurality of n first output relays, and n is more than or equal to 2 natural numbers, its characterized in that, relay expansion module includes:
the input detection circuits are respectively connected with the first output relays in a one-to-one correspondence mode, and each input detection circuit is used for detecting the on-off state of the corresponding first output relay and outputting a corresponding state signal according to the on-off state;
and a single-chip microcomputer circuit connected with the input detection circuit, wherein the single-chip microcomputerThe circuit comprises a singlechip, wherein the singlechip comprises n input pins and 2nThe single chip microcomputer obtains the combination of the state signals through the n input pins and selects the corresponding output pin to output a control signal according to the combination;
are respectively connected with 2n-1 of said output pin connections, 2 for outputting said control signaln-1 extended relay output circuit;
and the power supply circuit is respectively connected with the input detection circuit, the single chip microcomputer circuit and the extended relay output circuit and is used for providing working voltage.
2. The relay expansion module according to claim 1, wherein the number of the input detection circuits is 3, the number of the expansion relay output circuits is 7, and the combination of the status signals output by the 3 input detection circuits is 8, one of the status signals does not output a control signal, and the other 7 status signals correspond to 7 control signals, respectively.
3. The relay expansion module of claim 1, wherein the power circuit comprises: an EMC circuit for protecting the relay expansion module, a DC-DC circuit for converting a direct current 24V voltage into a direct current 5V voltage, an LDO circuit for converting the direct current 5V voltage into a direct current 3.3V voltage; the input end of the EMC circuit is connected with a direct current 24V power supply, the output end of the EMC circuit is connected with the input end of the DC-DC circuit, and the output end of the DC-DC circuit is connected with the input end of the LDO circuit.
4. The relay expansion module of claim 3, wherein each of the input detection circuits comprises: an input terminal, a first inductor, a first resistor, a second resistor, and a first capacitor; the input terminal is connected with the first output relay, and the normally open end of the input terminal is connected with the direct current 3.3V voltage through the first inductor; the common end of the input terminal is connected with the first end of the first resistor, the second end of the first resistor is connected with the corresponding input pin, the first end of the first resistor is connected with the second resistor and then grounded, and the second end of the first resistor is connected with the first capacitor and then grounded.
5. The relay expansion module of claim 3, wherein each of the expansion relay output circuits comprises: the second output relay, the first triode, the first diode, the third resistor and the output terminal; a first pin of the second output relay is connected with an emitting electrode of the first triode, a collector electrode of the first triode is grounded, a base electrode of the first triode is connected with a first end of the third resistor, and a second end of the third resistor is connected with the corresponding output pin; a second pin of the second output relay is connected with the direct-current 5V voltage, a second pin of the second output relay is also connected with the negative electrode of the first diode, and the positive electrode of the first diode is connected with the emitting electrode of the first triode; a third pin of the second output relay is a normally closed end; a fourth pin of the second output relay is a normally open end; and a fifth pin of the second output relay is connected with the common end of the output terminal.
6. The relay expansion module according to claim 5, wherein the second output relay is of type QX-115F-H/005-1Z-S-1A and the first transistor is of type PMBTA 56.
7. The relay expansion module according to claim 1, wherein the single chip microcomputer is of the model STM32F101RBT 6.
8. A gas detection alarm system, characterized in that it comprises: the relay expansion module according to any one of claims 1 to 7, at least one gas detector for detecting combustible and/or toxic gases, a gas alarm controller for controlling the output, a plurality of controlled devices; the gas detector, the gas alarm controller, the relay expansion module and the controlled equipment are sequentially connected.
9. The gas detection alarm system according to claim 8, wherein a plurality of said controlled devices are connected in one-to-one correspondence with said extended relay output circuits, one of said extended relay output circuits controlling one of said controlled devices.
10. The gas detection alarm system of claim 8, wherein the gas alarm controller is a wire-split system or a bus system.
CN202110743936.3A 2021-06-30 2021-06-30 Relay extension module and gas detection alarm system Pending CN113570827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110743936.3A CN113570827A (en) 2021-06-30 2021-06-30 Relay extension module and gas detection alarm system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110743936.3A CN113570827A (en) 2021-06-30 2021-06-30 Relay extension module and gas detection alarm system

Publications (1)

Publication Number Publication Date
CN113570827A true CN113570827A (en) 2021-10-29

Family

ID=78163381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110743936.3A Pending CN113570827A (en) 2021-06-30 2021-06-30 Relay extension module and gas detection alarm system

Country Status (1)

Country Link
CN (1) CN113570827A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103000964A (en) * 2012-12-04 2013-03-27 博科能源***(深圳)有限公司 Controller of battery management system
CN205428149U (en) * 2016-03-21 2016-08-03 西安科技大学 Natural gas leakage reports to police and gets rid of danger device
CN205453489U (en) * 2016-03-03 2016-08-10 合肥国轩高科动力能源有限公司 Electric automobile battery management system power EMC circuit
CN206773453U (en) * 2017-04-11 2017-12-19 宁波科艺医疗器械有限公司 One kind operation bed controller
CN209896687U (en) * 2019-05-30 2020-01-03 开封市金石科技有限公司 Comprehensive protector for motor
WO2021081755A1 (en) * 2019-10-29 2021-05-06 Suzhou Littelfuse Ovs Co., Ltd. Systems, circuits, and methods for determining status of fuse or relay

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103000964A (en) * 2012-12-04 2013-03-27 博科能源***(深圳)有限公司 Controller of battery management system
CN205453489U (en) * 2016-03-03 2016-08-10 合肥国轩高科动力能源有限公司 Electric automobile battery management system power EMC circuit
CN205428149U (en) * 2016-03-21 2016-08-03 西安科技大学 Natural gas leakage reports to police and gets rid of danger device
CN206773453U (en) * 2017-04-11 2017-12-19 宁波科艺医疗器械有限公司 One kind operation bed controller
CN209896687U (en) * 2019-05-30 2020-01-03 开封市金石科技有限公司 Comprehensive protector for motor
WO2021081755A1 (en) * 2019-10-29 2021-05-06 Suzhou Littelfuse Ovs Co., Ltd. Systems, circuits, and methods for determining status of fuse or relay

Similar Documents

Publication Publication Date Title
US10503126B2 (en) Access control method for parallel direct current power supplies and device thereof
CN113131518B (en) MLPE photovoltaic system and MLPE equipment detection method thereof
CN102457048B (en) Overvoltage protection device of wind driven generator set converter
CN113570827A (en) Relay extension module and gas detection alarm system
CN209805511U (en) Intelligent power distribution cabinet system based on Internet of things
CN203352166U (en) Open circuit protection circuit of voltage reducing silicon chain
TWM636645U (en) Solar energy monitoring shutoff device with high-voltage DC input capability and one-to-many connecting function
CN105116866A (en) PLC (Programmable Logic Controller)-based production workshop equipment operation monitoring device
CN203775087U (en) High-voltage frequency converter rotation starting control system
CN109980641B (en) DCS control system power supply and DCS control system
CN109782660B (en) Control circuit and device compatible with voltage-type and current-type analog input
CN108152727B (en) Multi-stage silicon controlled switch and fault detection and alarm system
CN113225885A (en) Ion fan protection circuit
CN207908960U (en) A kind of analogue load circuit of compatible 12V and 24V automobile power supply systems
CN207764922U (en) A kind of system of electric power terminal device instruction operation troubles
CN102148488A (en) Circuit device
CN108054902B (en) DC/DC converter, control method and device thereof, storage medium and processor
CN210626938U (en) Extensible network control time sequence power supply
CN212514978U (en) Insulation monitoring device calibrator capable of simulating direct current mutual channeling
CN215187476U (en) Plant illumination dimming control port cascade circuit
CN102540071A (en) Relay device and relay life test device
CN218917567U (en) Running-in system of high-voltage switch
CN205247117U (en) AO module of DDC intelligence hardware
CN204595531U (en) A kind of loop bus control circuit
CN215499691U (en) Ion fan protection circuit

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211029