CN216697034U - Input/output detection control system - Google Patents

Input/output detection control system Download PDF

Info

Publication number
CN216697034U
CN216697034U CN202220097335.XU CN202220097335U CN216697034U CN 216697034 U CN216697034 U CN 216697034U CN 202220097335 U CN202220097335 U CN 202220097335U CN 216697034 U CN216697034 U CN 216697034U
Authority
CN
China
Prior art keywords
resistor
circuit
detection
load circuit
access
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.)
Active
Application number
CN202220097335.XU
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.)
Zhejiang Huaxiao Technology Co ltd
Original Assignee
Zhejiang Huaxiao Technology 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 Zhejiang Huaxiao Technology Co ltd filed Critical Zhejiang Huaxiao Technology Co ltd
Priority to CN202220097335.XU priority Critical patent/CN216697034U/en
Application granted granted Critical
Publication of CN216697034U publication Critical patent/CN216697034U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

An input/output detection control system comprises a controller, a first detection circuit, a second detection circuit and a switch circuit, wherein the first detection circuit, the second detection circuit and the switch circuit are connected with the controller; the first detection circuit is used for detecting a first access state of the load circuit and outputting a first detection signal; the second detection circuit is used for detecting a second access state of the load circuit and outputting a second detection signal; the switch circuit is used for controlling the connection of the load circuit and the first detection circuit; the controller determines a first access state of the load circuit according to the first detection signal, controls the switch circuit to be switched on or switched off according to the first access state to control the load circuit to reach a target state, and determines a second access state of the load circuit according to the second detection signal to determine whether the load circuit reaches the target state, so that the abnormal state of the load circuit is confirmed.

Description

Input/output detection control system
Technical Field
The utility model relates to the field of fire alarm, in particular to an input and output detection control system.
Background
The input/output detection control system is an important component of an automatic fire alarm system and is used for detecting and controlling the working state of a load connected with the system. The input and output detection control system is communicated with the host through the fire-fighting second bus. When the host computer needs to start the corresponding load, the starting command is issued to the input and output detection control system through the fire-fighting two buses, the input and output detection control system sends a control signal to control the start of the load after receiving the corresponding command, simultaneously detects the start and stop states of the load, and uploads the start and stop states to the host computer through the fire-fighting two buses after detecting the start and stop states. However, this method can only control and feed back the start/stop state of the load, and cannot detect abnormal states such as a short circuit of the load circuit. There is no effective solution to this problem in the prior art.
SUMMERY OF THE UTILITY MODEL
In view of the above, it is desirable to provide an input/output detection control system that solves the problem that detection of an abnormal state such as a short circuit of a load circuit cannot be achieved in the prior art.
In a first aspect, the present embodiment provides an input/output detection control system, including a controller, and a first detection circuit, a second detection circuit, and a switch circuit connected to the controller; wherein the content of the first and second substances,
the first detection circuit is used for detecting a first access state of the load circuit and outputting a first detection signal;
the second detection circuit is used for detecting a second access state of the load circuit and outputting a second detection signal;
the switch circuit is used for controlling the connection of the load circuit;
the controller determines a first access state of the load circuit according to the first detection signal, controls the switch circuit to be switched on or switched off according to the first access state to control the load circuit to reach a target state, and determines a second access state of the load circuit according to the second detection signal to determine whether the load circuit reaches the target state.
In a further embodiment, the first detection circuit comprises an optocoupler U3; a first end of the optical coupler U3 is connected with a first access end of the load circuit; the second end is connected with the second access end of the load circuit, the third end is grounded, and the fourth end is the first detection signal output end.
In a further embodiment, the first detection circuit further comprises a diode D7, a resistor R24, a first resistive component, a second resistive component; the anode of the diode D7 is connected with the second end of the optocoupler U3, and the cathode of the diode D7 is connected with the first end of the optocoupler U3; one end of the resistor R24 is connected with a first control power supply end, and the other end of the resistor R24 is connected with a fourth end of the optocoupler U3; the first resistance component is connected between a first access end of the load circuit and a first end of the optocoupler U3 in series; and the second resistance component is connected between the second access end of the load circuit and the second end of the optocoupler U3 in series.
In a further embodiment, the second detection circuit includes a transformer T1, a first end of a primary coil of the transformer T1 is connected to the input end of the driving signal, a third end of the primary coil is connected to the output end of the second detection signal, a fourth end of a secondary coil is connected to the second input end of the load circuit, a fifth end of the secondary coil is floating, and a sixth end of the secondary coil is connected to the first input end of the load circuit.
In a further embodiment, the second detection circuit further comprises a diode D5, a resistor R19, R23, R25, R26, a capacitor C10, C11; the anode of the diode D5 is connected with the sixth end of the secondary coil of the transformer T1, and the cathode of the diode D5 is connected with the resistor R25 and one end of the capacitor C11; the other end of the resistor R25 is connected with a first access end of the load circuit; the other end of the C11 is connected with a second access end of the load circuit; one end of the resistor R19 is connected with a second control power supply end, and the other end of the resistor R19 is connected with the third end of the primary coil of the transformer T1 and one end of the resistor R26, the resistor R23 and the capacitor C10; the other end of the resistor R26 is connected with the input end of the driving signal; the other end of the resistor R23 is connected with the second detection signal output end; the other end of the capacitor C10 is grounded.
In a further embodiment, the second detection circuit further comprises a MOS transistor M3, a resistor R30, R32; the gate of the MOS transistor M3 is connected to one end of the resistors R30 and R32, the drain of the MOS transistor M3 is connected to the output end of the driving signal, and the source of the MOS transistor M3 is grounded; the other end of the resistor R30 is connected with the input end of a switching signal; the other end of the resistor R32 is grounded.
In a further embodiment, the switching circuit comprises a MOS transistor M4 and a relay JK 2; the grid electrode of the MOS tube M4 is connected with a control signal, the drain electrode of the MOS tube M4 is connected with the fifth end of the relay JK2, and the source electrode of the MOS tube M4 is grounded; a first end of the relay JK2 is suspended, and a second end of the relay JK2 is connected with a third control power supply end; the third end and the fourth end are connected with the second access end of the load circuit, and the sixth end is connected with the first access end of the load circuit.
In a further embodiment, the switching circuit further comprises a diode D6, a resistor R31, R33; the anode of the diode D6 is connected with the drain of the MOS tube M4, and the cathode of the diode D6 is connected with the second end of the relay JK 2; one end of the resistor R31 is connected with the control signal, and the other end of the resistor R31 is connected with the grid of the MOS transistor M4 and one end of the resistor R33; the other end of the resistor R33 is grounded.
In a further embodiment, the input/output detection control system further includes a communication module connected to the controller, and the communication module is configured to communicate with a host via two buses, send the first access status information and/or the second access status information of the load circuit to the host, and receive the control information sent by the host.
In a further embodiment, the communication module includes a two-bus transmission circuit and a two-bus reception circuit, the two-bus reception circuit includes a MOS transistor M1, a transistor Q2, a diode D4, a resistor R2, a resistor R4, a resistor R6, a resistor R7, a resistor R8, a resistor R10, and a resistor R11, a base of the transistor Q2 is connected to one end of the resistor R7, another end of the resistor R7 is connected to a reception enable terminal, a collector of the transistor Q2 is connected to one end of the resistor R4, and an emitter is grounded; the other end of the resistor R4 is connected with one end of the resistor R2 and the gate of the MOS transistor M1, and the other end of the resistor R2 is connected with the two buses; the drain electrode of the MOS transistor M1 is connected with the two buses, the source electrode of the MOS transistor M1 is connected with one end of the resistor R8, the other end of the resistor R8 is connected with one end of the resistor R10 and the receiving ends of the two buses of the controller, and the other end of the resistor R10 is grounded; the anode of the diode D4 is connected with the two bus receiving ends of the controller, and the cathode is connected with a second control power supply end; one end of the resistor R6 is connected with the two buses, the other end of the resistor R6 is connected with the two bus receiving ends of the controller and one end of the resistor R11, and the other end of the resistor R11 is grounded.
The input/output detection control system of the present invention has the following technical effects:
1. the first detection circuit detects the first access state of the load circuit and generates a corresponding first detection signal, the second detection circuit detects the second access state of the load circuit and generates a corresponding second detection signal, and the controller detects the signal to realize the detection of the abnormal state of the load circuit.
2. The controller determines a first access state of the load circuit according to the first detection signal, controls the switch circuit to be switched on or switched off according to the first access state to control the load circuit to reach a target state, and determines a second access state of the load circuit according to the second detection signal to determine whether the load circuit reaches the target state, so that the control and the confirmation of the state of the load circuit are realized, and the start and the stop of the load or the state switching are controlled.
Drawings
Fig. 1 is a schematic structural diagram of an input/output detection control system according to an embodiment of the present application;
FIG. 2 is a circuit diagram of a controller according to an embodiment of the present application;
FIG. 3 is a circuit diagram of a first detection circuit according to an embodiment of the present application;
FIG. 4 is a circuit diagram of a second detection circuit according to an embodiment of the present application;
FIG. 5 is a circuit diagram of a switching circuit and a first detection circuit according to an embodiment of the present application;
fig. 6 is a circuit connection diagram of a two-bus receiving circuit of a communication module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that 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 a component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When a component is referred to as being "disposed on" another component, it can be directly on the other component or intervening components may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only. The terms "first" and "second" are used merely for distinguishing between element names and do not denote any order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the utility model herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the utility model. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, embodiments accompanying figures are described in detail below. The embodiments of the present invention are described in detail with reference to the drawings, and for convenience of illustration, the drawings showing the partial structure of the device are not enlarged partially according to the general scale, and the drawings are only examples, which should not limit the scope of the present invention.
The following describes an input/output detection control system according to an embodiment of the present invention in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an input/output detection control system according to an embodiment of the present invention. The input/output detection control system includes a controller 11, and a first detection circuit 12, a second detection circuit 13, and a switch circuit 14 connected to the controller 11. The first detection circuit 12 and the second detection circuit 13 are respectively connected to the load circuit through a load circuit access terminal, and process signals accessed by the access terminal to obtain a first detection signal and a second detection signal, and send the first detection signal and the second detection signal to the controller 11; the switch circuit 14 is connected to an input terminal of the load circuit, and can change the connection relationship of the load circuit according to a control signal of the controller 11.
When the load circuit is connected to the first detection circuit 12 or the second detection circuit 13, abnormal connection may occur due to various factors. The abnormal access comprises the abnormal conditions of short circuit, open circuit or positive and negative reverse connection of an access end and the like. In an abnormal situation, since the connection relationship between the load circuit and the first detection circuit 12 or the second detection circuit 13 is different from the normal situation, and accordingly the parameter values of the first detection signal and the second detection signal are different from the parameter values in the normal situation, the controller 11 can identify the normal state and the abnormal state of the load circuit according to the difference of the parameter values, and can further confirm that the abnormal state is a short-circuit state or an open-circuit state, thereby realizing the detection of the abnormal state such as the short-circuit state and the open-circuit state of the load.
The controller 11 may also change the connection of the load circuit by controlling the on or off of the switching circuit 14 to bring the load circuit to a target state. The target state may be a start state or a stop state. The controller 11 determines a first access state of the load circuit according to the first detection signal, controls the switch circuit 14 to be turned on or off according to the first access state to control the load circuit to reach a target state, and determines a second access state of the load circuit according to the second detection signal to determine whether the load circuit reaches the target state.
The signals received and detected by the first detection circuit 12 and the second detection circuit 13 are switching values, and may be used for receiving alarm and feedback signals of equipment such as a water flow indicator, a pressure switch, a signal butterfly valve, and the like. The switch circuit 14 controls the access state of the load circuit, and can be used for controlling the start and stop of some load devices such as an audible and visual alarm.
The controller 11 in this embodiment is a single chip microcomputer U2 with the model of huada HC32F003, and can implement functional logics such as bus communication, input detection, output detection and control. Fig. 2 is a circuit diagram of a controller according to an embodiment of the utility model. The first end of the single chip microcomputer U2 is a control signal CTR _ JK output end, the fifth end is a second detection signal AD _ IN input end, the sixth end is a switch signal CTR _ MOS output end, and the ninth end is connected with a second control power supply end AVCC; the eleventh and twelfth ends are a receiving end BUS _ RXD and a transmitting end BUS _ TXD of BUS communication, the thirteenth end is an enabling end signal EN _ RXD output end, the sixteenth end is connected with a first control power supply end CHK _ EN, the nineteenth end is a first detection signal CHK _ IN input end, and the capacitors C7 and C8 are used for filtering signals.
In some embodiments, fig. 3 is a circuit connection diagram of a first detection circuit of an embodiment of the present application. As shown in fig. 3, the first detection circuit includes an optocoupler U3, a diode D7, a first resistance component Z1, a second resistance component Z2, and a resistor R24; a first end of the optical coupler U3 is connected with one end of the first resistance component Z1; the second end of opto-coupler U3 connects the one end of second resistance module Z2, and the third end ground of opto-coupler U3, the one end of the fourth end connecting resistance R24 of opto-coupler U3 is the output of first detection signal CHK _ IN. The anode of the diode D7 is connected with the second end of the optocoupler U3, and the cathode of the diode D7 is connected with the first end of the optocoupler U3; the other end of the resistor R24 is connected with a first control power supply end; the other end of the first resistance component Z1 is connected with a first access terminal OUT1 of the load circuit; the other end of the second resistance component Z2 is connected to the second connection terminal OUT2 of the load circuit.
The load circuit comprises an external power supply and a load, the positive pole of the external power supply is connected with the access end OUT1 of the first detection circuit, and the negative pole of the external power supply is connected with the access end OUT2 of the first detection circuit. When the connection state of the load circuit is normal, the first detection circuit is connected in series with the load into the load circuit. The current flows from the power supply of the load circuit, passes through the load, the first resistance component Z1, the optocoupler U3 and the second resistance component Z2 and then flows into the power supply. The circuit comprises a load and a plurality of resistor components, so that the current value IN the circuit is small, the current enables a light emitting diode between a first end and a second end of an optocoupler U3 to emit light with a certain wavelength, the light emitting diode is received by a phototriode between a third end and a fourth end of the optocoupler U3 to generate corresponding photocurrent, the fourth end of the optocoupler U3 is connected with a first control power supply end CHK _ EN through a pull-up resistor R24, the third end of the optocoupler U3 is grounded, and therefore forward voltages are formed at two ends of a collector and an emitter of the phototriode, the phototriode is conducted to a certain degree, and the voltage at the end of a first detection signal CHK _ IN is lower than the voltage at the end of the first control power supply end CHK _ EN.
When the load circuit is short-circuited, the first detection circuit is connected with the load circuit in series, and current flows out of a power supply of the load circuit, passes through the first resistance component Z1, the optocoupler U3 and the second resistance component Z2 and then flows into the power supply. It can be seen that, due to the absence of the load, the current value IN the circuit is larger than the load current IN the normal state, so that the corresponding photocurrent generated by the phototransistor between the third terminal and the fourth terminal of the optocoupler U3 is also larger, the conduction degree of the phototransistor is larger, and the voltage at the end of the first detection signal CHK _ IN is lower.
When the load circuit is IN an open circuit state, the first detection circuit is connected IN series to cause no current IN the first detection circuit, so that the light emitting diode of the optocoupler U3 cannot emit light, the phototriode is IN an off state, and the voltage of the first detection signal CHK _ IN end is basically the same as the voltage of the first control power supply end CHK _ EN.
When the two ends of the load circuit are connected reversely, the anode of the external power supply is connected with the access end OUT2 of the first detection circuit, and the cathode of the external power supply is connected with the access end OUT1 of the first detection circuit, current flows OUT of the power supply of the load circuit, flows into the power supply through the second resistor component Z2, the diode D7 and the first resistor component Z1, and does not pass through the optical coupler U3, so that the voltage of the end of the first detection signal CHK _ IN is basically the same as the voltage of the first control power supply end CHK _ EN. The diode D7 can protect the optocoupler U3 from being damaged by reverse voltage. In this embodiment, the voltage of the first control power source terminal CHK _ EN may be 3.3V.
First resistance module Z1 and second resistance module Z2 can be formed by single resistance or a plurality of resistance series connection in proper order as required for increase the resistance among the series circuit, become load circuit's heavy current into the undercurrent that detection circuitry can accept, a plurality of resistance dispersion designs reduce single resistance power, prevent that the power is too big to burn out the circuit. The diode D7 may function to protect the optocoupler U3 in the event that the two terminals of the load circuit are reversed.
The first detection circuit provided by this embodiment performs isolated detection on the current of the load circuit through the optocoupler U3, and generates a corresponding photocurrent and a corresponding first detection signal CHK _ IN; when the states of the load circuit are normal, short-circuit and open circuit respectively, the corresponding first detection signal CHK _ IN can output signals with different voltage levels, and after the controller receives the first detection signal CHK _ IN, the states of the load circuit are distinguished through the voltage of the signal, the first access state of the load circuit is determined to be normal, short-circuit or open circuit, and the detection of the abnormal state of the load circuit is realized.
In some embodiments, fig. 4 is a circuit connection diagram of a second detection circuit of an embodiment of the present application. As shown in fig. 4, the second detection circuit includes a transformer T1, a diode D5, a resistor R19, R23, R25, R26, R30, R32, a capacitor C10, a capacitor C11, and a MOS transistor M3; the first end of the primary coil of the transformer T1 is connected with the drain of the MOS tube M3, the third end of the primary coil of the transformer T1 is connected with one end of a resistor R26, the fourth end of the secondary coil of the transformer T1 is connected with the second access end I2 of the load circuit, the fifth end of the secondary coil of the transformer T1 is suspended, and the sixth end of the secondary coil of the transformer T1 is connected with the anode of a diode D5. The cathode of the diode D5 is connected with the resistor R25 and one end of the capacitor C11; the other end of the resistor R25 is connected with a first access end I1 of the load circuit; the other end of the C11 is connected with a second access end I2 of the load circuit; one end of the resistor R19 is connected with a second control power supply terminal AVCC, and the other end is connected with the third end of the primary coil of the transformer T1 and one end of the resistor R26, the resistor R23 and the capacitor C10; the other end of the resistor R26 is connected with the drain electrode of the MOS tube M3; the other end of the resistor R23 is connected with the output end of the second detection signal AD _ IN; the other end of the capacitor C10 is grounded; the gate of the MOS transistor M3 is connected with one end of the resistors R30 and R32, and the source of the MOS transistor M3 is grounded; the other end of the resistor R30 is connected with the input end of a switch signal CTR _ MOS; the other end of the resistor R32 is connected to ground.
The load circuit comprises an external power supply and a load, the positive pole of the external power supply is connected with the access end I2 of the second detection circuit, and the negative pole of the external power supply is connected with the access end I1 of the second detection circuit. A line-detecting resistor is connected in series between the two access terminals I1 and I2 at the load terminal, and the line-detecting resistor can be connected in series or in parallel with a switch contact in the load circuit to provide a normally closed or normally open line-detecting function of the load circuit. When the load circuit is in a normal connection state, current flows out of the power supply of the load circuit, enters the second detection circuit from the connection end I2 through the line detection resistor, and returns to the load power supply through the secondary coil of the transformer T1, the diode D5 and the resistor R25.
The switching signal CTR _ MOS is connected with the controller, and the controller outputs a PWM signal with a certain frequency to control the on/off of the MOS transistor M3. When M3 is turned on, the current of the second control power supply terminal AVCC is conducted to ground through the resistor R19, the primary coil of the transformer T1 and the MOS transistor M3, and the transformer T1 stores a certain energy, thereby forming a switching power supply without feedback. At this time, a signal at the third end of the primary coil of the transformer T1 IN the path is sampled and filtered by the resistor R23 and the capacitor C10 to become a second detection signal AD _ IN, and a sampling voltage of the second detection signal AD _ IN corresponding to the load circuit IN a normal state is obtained.
The capacitor C11 is connected in parallel between the connection ends I1 and I2 of the second detection circuit, and plays a role in voltage stabilization; the diode D5 is connected in series in the load current loop and is used for preventing the risk of reverse current caused by the reverse connection of two access terminals of the load circuit; the resistor R25 is connected in series in the load current loop to prevent the large current caused by the direct short circuit of the access ends I1 and I2 of the second detection circuit; the resistor R19 plays a role in current limiting, the resistor R26 can stabilize the voltage at two ends of the primary coil of the transformer T1 and can also be used as a load resistor to form a discharge loop, and when the switching signal CTR _ MOS controls the MOS transistor M3 to be turned off, the residual energy of the primary coil of the transformer T1 can be discharged through the loop. The resistor R30 and the resistor R32 play a role in limiting current and pulling down for the switching signal CTR _ MOS.
When the access state of the load circuit is a short-circuit state, the line detection resistor is IN a short-circuit state, the resistance of the whole load loop is reduced, the current passing through the secondary coil of the transformer T1 is increased, the current of the primary coil of the transformer T1 is correspondingly increased, the voltage value at two ends of the resistor R19 is increased, the voltage value detected by the AD _ IN end is obviously reduced, and the purpose of distinguishing the normal state and the short-circuit state of the I1 end and the I2 end is achieved.
When the load circuit is IN the open circuit state, the load circuit connected from the connection terminals I1 and I2 of the second detection circuit is IN the open circuit state, the secondary coil of the transformer T1 has no current, so that the energy storage consumption of the transformer T1 is greatly reduced, the current flowing through R19 is greatly reduced, and the R19 partial voltage value is reduced, so that the voltage value detected by the AD _ IN terminal is obviously increased, and the purpose of distinguishing the normal state and the open circuit state of the terminals I1 and I2 is achieved.
In this embodiment, the voltage of the second control power source terminal AVCC may be 3.3V.
The second detection circuit provided by this embodiment performs isolation detection on the current of the load circuit through the transformer T1, and generates a corresponding second detection signal AD _ IN; when the load circuit is IN a normal state, a short circuit state or an open circuit state, the corresponding second detection signal AD _ IN can output signals with different voltage levels, and after the controller receives the second detection signal AD _ IN, the state of the load circuit is distinguished through the voltage of the signal, the second access state of the load circuit is determined to be the normal state, the short circuit state or the open circuit state, and the detection of the abnormal state of the load circuit is realized.
In some embodiments, fig. 5 is a circuit connection diagram of a switching circuit and a first detection circuit according to an embodiment of the present application. As shown in fig. 5, the switching circuit includes a MOS transistor M4, a relay JK2, a diode D6, a resistor R31, and a resistor R33; the gate of the MOS transistor M4 is connected with one end of a resistor R31 and one end of a resistor R33, the other end of the resistor R31 is connected with a control signal CTR _ JK, and the other end of the resistor R33 is grounded; the drain electrode of the MOS tube M4 is connected with the fifth end of the relay JK2, and the source electrode of the MOS tube M4 is grounded; a first end of the relay JK2 is suspended, and a second end of the relay JK2 is connected with a third control power supply end VCC; the third end and the fourth end of the relay JK2 are connected with the second access end OUT2 of the load circuit, and the sixth end is connected with the first access end OUT1 of the load circuit; the anode of the diode D6 is connected to the drain of the MOS transistor M4, and the cathode of the diode D6 is connected to the third control power supply terminal VCC and the second terminal of the relay JK 2.
The first detection circuit is connected between the first access terminal OUT1 and the second access terminal OUT2 of the load circuit in series to play a role of signal detection; and the three ends and the fourth end of the relay JK2 are respectively connected with the sixth end, so that the connection state of the load circuit and the first detection circuit can be changed when the switch of the relay JK2 is switched.
By default, the third and fourth terminals of the relay JK2 are connected to the first terminal, and the first detection circuit and the load circuit are connected in series. When the switch circuit receives a control signal CTR _ JK of the controller, if the control signal CTR _ JK is at a low level, the MOS tube M4 is switched off, no current flows in a coil of the relay JK2, and the third end and the first end of the relay JK2 are maintained in an original connection state; if the control signal CTR _ JK is high level, the grid electrode of the MOS tube M4 is forward voltage, the MOS tube M4 is controlled to be conducted, the VCC current of the third control power supply end passes through the second end and the fifth end of the relay JK2 and the drain electrode and the source electrode of the MOS tube M4 are grounded, at the moment, the coil current of the relay JK2 controls the action of a switch of the relay, the third end and the sixth end of the relay JK2 are directly connected, so that the first detection circuit is not started to work due to short circuit, the loop resistance of the load circuit is reduced, normal working voltage is restored at the two ends of the load, and the load starts to work. Therefore, the switch circuit has a function of controlling the on/off or state switching of the load.
In this embodiment, the voltage of the third control power source terminal VCC may be 24V. Resistors R31 and R33 act as current limiting and pull down, respectively. The diode D6 is connected in parallel with the coil of the relay JK2 and is used for eliminating reverse voltage caused by sudden change of voltage and current at two ends of the coil when the state of the MOS transistor M4 is switched, and a leakage path is provided for reverse electromotive force.
In some embodiments, the input/output detection control system further includes a communication module connected to the controller, the communication module being configured to communicate with the host via the two buses, transmit the first access status information and/or the second access status information of the load circuit to the host, and receive the control information transmitted by the host.
In the fire-fighting system, one host can communicate with a plurality of input/output detection control systems through a fire-fighting two-bus, and the input/output detection host can be electrically connected with the load equipment through a load access end to detect and acquire the access state of the load equipment, and can also control the access state of the load equipment through a control signal. Two bus communication can only realize two kinds of functions of communication and power supply through two wires, and the wiring is nonpolarity, possesses stronger interference killing feature, compares with traditional four-wire system and has saved construction and cable cost to great facility has been brought for site operation and later maintenance.
Under normal conditions, when no disaster occurs, the host sends a detection signal to the input/output detection control system at regular time through the two buses to determine whether the access state of each load device is normal, and the input/output detection control system acquires the access state of each load device through the first detection circuit and/or the second detection circuit and sends the access state to the host through the two buses. When a disaster occurs, the host sends control information to the input and output detection control system according to the requirement, and the input and output detection control system sends control signals to the corresponding load equipment according to the control information to control the access state of the load equipment, so that the access state of the load equipment meets the requirement of the host.
In some embodiments, the communication module includes two bus transmission circuits and two bus reception circuits, and fig. 6 is a circuit connection diagram of the two bus reception circuits of the communication module according to an embodiment of the present application. As shown in fig. 6, the two-bus receiving circuit includes a MOS transistor M1, a transistor Q2, a diode D4, resistors R2, R4, R6, R7, R8, R10, and R11, a base of the transistor Q2 is connected to one end of a resistor R7, the other end of the resistor R7 is connected to a receiving enable end, a collector of the transistor Q2 is connected to one end of a resistor R4, and an emitter is grounded; the other end of the resistor R4 is connected with one end of the resistor R2 and the grid electrode of the MOS transistor M1, and the other end of the resistor R2 is connected with the two buses; the drain electrode of the MOS transistor M1 is connected with two buses, the source electrode is connected with one end of a resistor R8, the other end of the resistor R8 is connected with one end of a resistor R10 and the receiving end of the two buses of the controller, and the other end of the resistor R10 is grounded; the anode of the diode D4 is connected with the two bus receiving ends of the controller, and the cathode is connected with the second control power supply end; one end of the resistor R6 is connected with the two buses, the other end of the resistor R6 is connected with the receiving end of the two buses of the controller and one end of the resistor R11, and the other end of the resistor R11 is grounded.
The two-bus receiving circuit is used for converting bus communication signals of the two buses into serial communication signals which can be received by the controller. When no BUS communication signal needs to be received, the controller pulls an enable end signal EN _ RXD low, the triode Q2 is turned off, at the moment, the grid voltage of the MOS tube M1 is equal to the voltage of a VBUS BUS, the MOS tube M1 is turned off, two BUS receiving ends BUS _ RXD of the controller cannot receive signals on the BUS, and two BUS receiving circuits do not work; when the controller needs to receive BUS communication signals on two buses, an enable end signal EN _ RXD is pulled up, a triode Q2 is conducted, the grid voltage of an MOS tube M1 is pulled low, the voltage difference between the grid and the source of the MOS tube M1 meets the conduction requirement, the MOS tube M1 is conducted, and the BUS communication signals are received by a two-BUS receiving end BUS _ RXD of the controller through a drain electrode, a source electrode and a resistor R8 of an MOS tube M1 through two-BUS VBUS signals.
In the circuit, a resistor R6 and a resistor R11 play a voltage stabilizing role for a two-BUS receiving end BUS _ RXD, a resistor R8 and a resistor R10 play a voltage dividing role when an MOS tube M1 is conducted, and a diode D4 is used for stabilizing voltage and protecting a controller from the influence of abnormal high-voltage signals possibly appearing on the two-BUS receiving end BUS _ RXD. The resistor R7 functions as a current limiting function, and the resistors R2 and R4 function as a voltage divider when the transistor Q2 is turned on.

Claims (10)

1. An input/output detection control system is characterized by comprising a controller, a first detection circuit, a second detection circuit and a switch circuit, wherein the first detection circuit, the second detection circuit and the switch circuit are connected with the controller; wherein the content of the first and second substances,
the first detection circuit is used for detecting a first access state of the load circuit and outputting a first detection signal;
the second detection circuit is used for detecting a second access state of the load circuit and outputting a second detection signal;
the switch circuit is used for controlling the connection of the load circuit;
the controller determines a first access state of the load circuit according to the first detection signal, controls the switch circuit to be switched on or switched off according to the first access state to control the load circuit to reach a target state, and determines a second access state of the load circuit according to the second detection signal to determine whether the load circuit reaches the target state.
2. The input-output detection control system according to claim 1, wherein the first detection circuit comprises an optocoupler U3; a first end of the optical coupler U3 is connected with a first access end of the load circuit; the second end is connected with the second access end of the load circuit, the third end is grounded, and the fourth end is the first detection signal output end.
3. The input-output detection control system according to claim 2, wherein the first detection circuit further comprises a diode D7, a resistor R24, a first resistive component, a second resistive component; the anode of the diode D7 is connected with the second end of the optocoupler U3, and the cathode of the diode D7 is connected with the first end of the optocoupler U3; one end of the resistor R24 is connected with a first control power supply end, and the other end of the resistor R24 is connected with a fourth end of the optocoupler U3; the first resistance component is connected between a first access end of the load circuit and a first end of the optocoupler U3 in series; the second resistance component is connected between a second access end of the load circuit and a second end of the optocoupler U3 in series.
4. The input/output detection control system according to claim 1, wherein the second detection circuit comprises a transformer T1, a first terminal of a primary winding of the transformer T1 is connected to the input terminal of the driving signal, a third terminal of the primary winding is connected to the output terminal of the second detection signal, a fourth terminal of a secondary winding is connected to the second input terminal of the load circuit, a fifth terminal of the secondary winding is floating, and a sixth terminal of the secondary winding is connected to the first input terminal of the load circuit.
5. The input-output detection control system according to claim 4, wherein the second detection circuit further comprises a diode D5, a resistor R19, R23, R25, R26, a capacitor C10, C11; the anode of the diode D5 is connected with the sixth end of the secondary coil of the transformer T1, and the cathode of the diode D5 is connected with the resistor R25 and one end of the capacitor C11; the other end of the resistor R25 is connected with a first access end of the load circuit; the other end of the C11 is connected with a second access end of the load circuit; one end of the resistor R19 is connected with a second control power supply end, and the other end of the resistor R19 is connected with the third end of the primary coil of the transformer T1 and one end of the resistor R26, the resistor R23 and the capacitor C10; the other end of the resistor R26 is connected with the input end of the driving signal; the other end of the resistor R23 is connected with the second detection signal output end; the other end of the capacitor C10 is grounded.
6. The input-output detection control system according to claim 5, wherein the second detection circuit further comprises a MOS transistor M3, a resistor R30, R32; the gate of the MOS transistor M3 is connected to one end of the resistors R30 and R32, the drain of the MOS transistor M3 is connected to the output end of the driving signal, and the source of the MOS transistor M3 is grounded; the other end of the resistor R30 is connected with the input end of a switching signal; the other end of the resistor R32 is grounded.
7. The input-output detection control system according to claim 1, wherein the switch circuit includes a MOS transistor M4 and a relay JK 2; the grid electrode of the MOS tube M4 is connected with a control signal, the drain electrode of the MOS tube M4 is connected with the fifth end of the relay JK2, and the source electrode of the MOS tube M4 is grounded; a first end of the relay JK2 is suspended, and a second end of the relay JK2 is connected with a third control power supply end; the third end and the fourth end are connected with the second access end of the load circuit, and the sixth end is connected with the first access end of the load circuit.
8. The input-output detection control system according to claim 7, wherein the switching circuit further comprises a diode D6, a resistor R31, R33; the anode of the diode D6 is connected with the drain of the MOS tube M4, and the cathode of the diode D6 is connected with the second end of the relay JK 2; one end of the resistor R31 is connected with the control signal, and the other end of the resistor R31 is connected with the grid of the MOS transistor M4 and one end of the resistor R33; the other end of the resistor R33 is grounded.
9. The input/output detection control system according to any one of claims 1 to 8, further comprising a communication module connected to the controller, the communication module being configured to communicate with a host via a second bus, send first access status information and/or second access status information of the load circuit to the host, and receive control information sent by the host.
10. The input/output detection control system according to claim 9, wherein the communication module includes a two-bus transmission circuit and a two-bus reception circuit, the two-bus reception circuit includes a MOS transistor M1, a transistor Q2, a diode D4, resistors R2, R4, R6, R7, R8, R10, and R11, a base of the transistor Q2 is connected to one end of the resistor R7, the other end of the resistor R7 is connected to a reception enable terminal, a collector of the transistor Q2 is connected to one end of the resistor R4, and an emitter is grounded; the other end of the resistor R4 is connected with one end of the resistor R2 and the gate of the MOS transistor M1, and the other end of the resistor R2 is connected with the two buses; the drain electrode of the MOS transistor M1 is connected with the two buses, the source electrode of the MOS transistor M1 is connected with one end of the resistor R8, the other end of the resistor R8 is connected with one end of the resistor R10 and two bus receiving ends of the controller, and the other end of the resistor R10 is grounded; the anode of the diode D4 is connected with the two bus receiving ends of the controller, and the cathode is connected with a second control power supply end; one end of the resistor R6 is connected with the two buses, the other end of the resistor R6 is connected with the two bus receiving ends of the controller and one end of the resistor R11, and the other end of the resistor R11 is grounded.
CN202220097335.XU 2022-01-14 2022-01-14 Input/output detection control system Active CN216697034U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220097335.XU CN216697034U (en) 2022-01-14 2022-01-14 Input/output detection control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220097335.XU CN216697034U (en) 2022-01-14 2022-01-14 Input/output detection control system

Publications (1)

Publication Number Publication Date
CN216697034U true CN216697034U (en) 2022-06-07

Family

ID=81825963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220097335.XU Active CN216697034U (en) 2022-01-14 2022-01-14 Input/output detection control system

Country Status (1)

Country Link
CN (1) CN216697034U (en)

Similar Documents

Publication Publication Date Title
CN107069953B (en) Monitoring system based on power bus information
US8928175B2 (en) Junction box, energy system and method for controlling the same
CN110884380A (en) Alternating-current charging stake ground connection detects and controlling means and alternating-current charging stake
CN105178769B (en) Bus type control device and monitoring system for electric door closer
CN215728409U (en) Wide voltage input signal monitoring circuit with isolation filtering function
CN216697034U (en) Input/output detection control system
CN204984064U (en) A total line type controlling means and monitored control system for electric door closer
CN110707805A (en) Navigation light control system
CN111628875B (en) Ethernet power supply equipment port power supply state indicating circuit and power supply equipment
CN214069554U (en) Overvoltage and undervoltage protection circuit of automatic reclosing lock
CN219107047U (en) Power supply system protection circuit and power supply system
CN110365322A (en) A kind of digital output card
CN220207789U (en) Input/output detection circuit and fire signal detection system
CN218514082U (en) Overvoltage protection circuit and electronic device
CN219394413U (en) Communication link protection circuit and communication link
CN111525535B (en) Circuit for preventing wrong connection and isolation gate
CN220570537U (en) Optical fiber linkage control device for fire control linkage control
CN218383176U (en) Detection circuit and system
CN219659695U (en) Driving circuit and electronic device
CN219041387U (en) Inverter reverse power supply protection circuit
CN219124208U (en) Portable repeater
CN220172851U (en) Bus protection circuit and intelligent home system
CN220433235U (en) Zero crossing circuit, integrated circuit device and washing machine
CN215817915U (en) Power control management circuit
CN110224437B (en) Photovoltaic inverter, power grid dispatching system and power grid dispatching method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant