Circuit and detection method for short circuit detection of load
By designing a circuit including a photoelectric coupler and a control unit in the fire alarm system, the problem of false start caused by leakage current in load-off and short-circuit detection is solved, the safety and reliability of the system are improved, and the load-off and short-circuit detection is realized. Accurate detection.
Patent Information
- Application Number
- CN202010986539.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-09-18
AI Technical Summary
The load-break and short-circuit detection circuit in the existing fire alarm system has a large leakage current, which can easily cause low-power equipment to start incorrectly and affect the normal use of electrical equipment.
A circuit including a first photocoupler and a second photocoupler is designed. Through the rectification unit, current limiting unit, detection resistor and control unit, the driving pulse and electrical signal are used to determine the load open and short circuit status, and realize the load open and short circuit detection. , and perform overcurrent protection through relays.
It effectively overcomes the problem of leakage current, improves the safety and reliability of the circuit, avoids false startup of external equipment, and achieves accuracy and stability of load open and short circuit detection.
Smart Images

Figure CN112147537B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fire alarm, and in particular to a circuit and a load short-circuit detection method that can be used for load short-circuit detection. Background Art
[0002] In the field of fire alarm, it is necessary to detect the short circuit of the load on the terminal block to prevent and monitor the fire in the circuit. The circuits that implement the short circuit detection function of the load in the industry generally have a large leakage current, which is easy to mistakenly start low-power devices, such as broadcast modules, and weak continuous signals can cause false start, thus affecting the normal use of electrical equipment.
[0003] The contents of the background technology section are merely the technologies known to the public and do not necessarily represent the existing technologies in the field. Summary of the invention
[0004] In view of at least one defect of the prior art, the present invention provides a circuit for detecting short circuit of a load, the circuit comprising a first photocoupler and a second photocoupler.
[0005] The input side of the first photocoupler can receive a driving pulse, and the collector of the transistor on the output side can be coupled to the positive electrode of the power supply;
[0006] The anode end of the diode on the input side of the second photocoupler is coupled to the emitter of the transistor of the first photocoupler, the cathode end of the diode is coupled to the load, and the output side of the second photocoupler outputs an electrical signal that can be used to determine whether the load is short-circuited.
[0007] According to one aspect of the present invention, the circuit also includes a rectifier unit, which is connected between the positive pole of the power supply, the collector of the transistor of the first photocoupler, the cathode end of the diode of the second photocoupler, and the load, and is configured to only allow current to flow in the direction of the positive pole of the power supply, the first photocoupler, the second photocoupler, and the load.
[0008] According to one aspect of the present invention, the circuit further comprises a current limiting unit connected between the positive electrode of the power supply and the rectifying unit.
[0009] According to one aspect of the present invention, the circuit further includes a detection resistor, which is connected in parallel with the load, has one end connected to the rectifier unit, and the other end connected to the negative electrode of the power supply.
[0010] According to one aspect of the present invention, the circuit also includes a control unit, which is coupled to the input side of the first photocoupler and can provide the drive pulse, and is coupled to the output side of the second photocoupler and receives the electrical signal that can be used to determine whether the load is short-circuited.
[0011] According to one aspect of the present invention, the control unit is configured to determine whether the load is open or short-circuited based on the electrical signal.
[0012] According to one aspect of the present invention, the anode terminal of the diode on the input side of the first photocoupler is coupled to the control unit and receives the drive pulse, and the cathode terminal is grounded through a resistor; the collector of the transistor at the output end of the second photocoupler is coupled to a voltage source, and the emitter is coupled to the control unit and outputs the electrical signal that can be used to determine whether the load is short-circuited.
[0013] According to one aspect of the present invention, the control unit is configured to: when it is detected that the electrical signal is at a high level, determine that the load is normal; when the electrical signal is at a low level, determine that the load is short-circuited.
[0014] According to one aspect of the present invention, the pulse width of the detection pulse is 500 microseconds, and the duty cycle is 0.017%-0.033%.
[0015] The present invention also relates to a load short circuit detection method, wherein the load short circuit detection method uses a circuit as described in any one of the above items for detection, and the load short circuit detection method comprises:
[0016] S101: Provide a circuit as described in any one of the above items;
[0017] S102: Connecting the collector of the transistor of the first photocoupler of the circuit to the positive electrode of the power supply;
[0018] S103: Connecting the cathode terminal of the diode of the second photocoupler of the circuit to a load;
[0019] S104: Connecting the negative electrode of the power supply to the load;
[0020] S105: providing a driving pulse to the input side of the first photocoupler;
[0021] S106: collecting an electrical signal outputted by the output side of the second photoelectric coupler; and
[0022] S107: judging the short-circuit state of the load according to the collected electrical signal.
[0023] According to one aspect of the present invention, it also includes:
[0024] Providing a relay, connecting the relay between the positive pole of the power supply, the circuit and the load;
[0025] Controlling the relay so that the positive electrode of the power supply is connected to the circuit, and executing steps S105, S106 and S107;
[0026] The relay is controlled so that the positive pole of the power source is connected to the load.
[0027] The embodiments of the present invention provide a circuit and a detection method for load short-circuit detection, thereby overcoming the defect that the traditional circuit for implementing the load short-circuit detection function is prone to cause false start-up of the device due to the existence of large leakage current, and improving the safety, stability and reliability of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0029] Figure 1 shows a circuit functional block diagram according to an embodiment of the present invention;
[0030] Figure 2 shows a circuit diagram according to an embodiment of the present invention;
[0031] Figure 3 A flow chart showing a method for detecting a load short circuit according to an embodiment of the present invention is shown; and
[0032] Figure 4 A schematic diagram showing the connection between a relay and a circuit according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0033] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0034] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0035] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0036] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is lower in level than the second feature.
[0037] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.
[0038] The embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0039] Figure 1 FIG. 1 shows a circuit functional block diagram according to an embodiment of the present invention. Figure 2 FIG. 1 shows a circuit diagram according to an embodiment of the present invention. Figure 1 As shown, the circuit 100 for detecting short circuit of the load 40 includes a first photocoupler 10 and a second photocoupler 20. Figure 2 As shown, the input side of the first photocoupler 10 (terminal 1 of the first photocoupler 10, i.e., the anode end of the diode of the first photocoupler 10) can receive the driving pulse DR ( Figure 2 The collector of the transistor on the output side (terminal 4 of the first photocoupler 10) can be coupled to the positive electrode HV of the power supply 30. The anode terminal of the diode on the input side of the second photocoupler 20 (terminal 1 of the second photocoupler 20) is coupled to the emitter of the transistor of the first photocoupler 10 (terminal 3 of the first photocoupler 10), and the cathode terminal of the diode (terminal 2 of the second photocoupler 20) is coupled to the load 40. The output side of the second photocoupler 20 outputs an electrical signal ( Figure 2 The power supply 30 and the load 40 are external circuit components.
[0040] According to a preferred embodiment of the present invention, Figure 1 and Figure 2 As shown, the circuit 100 further includes a rectifier unit 50. The rectifier unit 50 is connected between the positive electrode HV of the power source 10, the collector of the transistor of the first photocoupler 10, the cathode end of the diode of the second photocoupler 20, and the load 40, and is configured to only allow current to flow in the direction of the positive electrode of the power source, the first photocoupler 10, the second photocoupler 20, and the load 40. Specifically, as Figure 2 As shown, the rectifier unit 50 is composed of four diodes in a bridge structure, the input end 50-1 of the rectifier unit 50 is connected to the positive electrode HV of the power supply 30, the input end 50-1 and the input end 50-2 of the rectifier unit 50 are connected to the collector of the transistor of the first photocoupler 10 through the two diodes of the rectifier unit 50, the cathode end of the diode of the second photocoupler 20 is connected to the input end 50-1 and the input end 50-2 of the rectifier unit 50 through the two diodes of the rectifier unit 50, and the input end 50-2 of the rectifier unit 50 is connected to the negative electrode of the power supply 10 through the load 40.
[0041] According to one embodiment of the present invention, Figure 1 and Figure 2 As shown, the circuit 100 further includes a current limiting unit 60, and the current limiting unit 60 is connected between the positive electrode of the power supply and the rectifying unit 50. Specifically, as Figure 2 As shown, a port Pin_NC1 is provided upstream of the circuit of the current limiting unit 60, a port Pin_NC2 is provided downstream of the circuit of the input terminal 50-2 of the rectifier unit 50, the port Pin_NC1 is connected to the positive electrode HV of the power source 30, and the port Pin_NC2 is connected to the load 40. The current limiting unit 60 is connected between the positive electrode of the power source 10 and the input terminal 50-1 of the rectifier unit 50, and includes two current limiting resistors connected in series, namely R17 and R40 in the figure.
[0042] According to one embodiment of the present invention, the circuit 100 further includes a detection resistor (not shown in the figure), which is connected in parallel with the load 40 , one end of which is connected to the rectifier unit 50 , and the other end of which is connected to the negative electrode of the power supply 30 .
[0043] According to one embodiment of the present invention, Figure 1 As shown, the circuit further includes a control unit 70. Figure 2 As shown, the control unit 70 is coupled to the input side of the first photocoupler 10 (port 1 of the first photocoupler 10 as shown in the figure) through the OUT_C terminal and can provide the driving pulse DR, and the control unit 70 is coupled to the output side of the second photocoupler 20 and receives the electrical signal output from the DEV_C terminal that can be used to determine whether the load is short-circuited. According to one embodiment of the present invention, the control unit 70 is an MCU.
[0044] According to one embodiment of the present invention, Figure 2As shown, the anode end of the diode on the input side of the first photocoupler 10 is coupled to the control unit 70 and receives the drive pulse DR, and the cathode end is grounded through a resistor R37; the collector of the transistor at the output end of the second photocoupler 20 is coupled to the voltage source, and the emitter is coupled to the control unit 70 and outputs the electrical signal that can be used to determine whether the load is short-circuited.
[0045] According to one embodiment of the present invention, the control unit 70 is configured to determine whether the load 40 is short-circuited according to the electrical signal. The detection mechanism of the circuit 100 is that the control unit 70 generates a high-speed pulse signal DR to drive the optoelectronic isolation switch type element (e.g., the first optocoupler) to turn on the circuit. When the connected load is normal and there is no open circuit fault, the circuit forms a closed loop. At this time, the control unit can collect the standard logic level through the optoelectronic isolation switch type element (e.g., the second optoelectronic coupler) to monitor the load and line status; when the line of the connected load 40 is open circuit, the circuit cannot form a closed loop. At this time, the control unit can collect different levels through the optoelectronic isolation switch type element (e.g., the second optoelectronic coupler). When the power supply line and the load line are short-circuited, the internal detection loses the electrical signal, and the output open circuit is the same logic level, thereby judging that the output load unit end is short-circuited, and reporting the fault state, thereby realizing the fire alarm detection function.
[0046] Specifically, refer to Figure 2As shown, when the detection function of the circuit 100 is applied, the control unit 70 outputs a high level at the OUT_C terminal, the first photocoupler 10 is turned on, and the second photocoupler 20 is turned on at the same time, so the power supply circuit formed by the positive electrode HV of the power supply, the rectifier circuit 50, the first photocoupler 10, the second photocoupler 20, and the load 40 is turned on to form a current. Since the second photocoupler 20 is turned on, the transistor of the second photocoupler 20 is also turned on. At this time, the electrical signal collected by the control unit 70 at the DEV_C terminal is a high level, then it is judged that the power supply circuit is turned on normally, and it is judged that the load 40 is normal. When the load 40 is short-circuited or open-circuited, even if the control unit 70 sends a driving pulse DR, the power supply circuit cannot be turned on due to the short circuit of the load 40, so the diode of the second photocoupler 20 cannot be turned on, and the transistor of the second photocoupler 20 cannot be turned on. Therefore, the electrical signal collected by the control unit 70 at the DEV_C terminal is low level, and it is judged that the power supply circuit is abnormally turned on, and the load 40 is judged to be short-circuited. After the detection is completed, the OUT_C terminal is reset to a low level. The circuit 100 can realize pulse detection, there is no continuous leakage current in the power supply circuit, and the fixed pulse detection can effectively avoid the false start of the external load. The start of the external load will be carried out after multiple detections and confirmations. Optionally, the pulse width of the detection pulse is 500 microseconds and the duty cycle is 0.017%-0.033%. Those skilled in the art can understand that the pulse width and duty cycle of the detection pulse can be adjusted according to the actual circuit requirements, which are all within the protection scope of the present invention.
[0047] The present invention also relates to a load short circuit detection method, such as Figure 3 The load short circuit detection method 300 uses the circuit 100 to detect the load short circuit. Figure 2 As shown, the load short circuit detection method 300 includes:
[0048] In step S101 : the circuit 100 is provided.
[0049] In step S102 : the collector of the transistor of the first photocoupler 10 of the circuit 100 is connected to the positive electrode of the power source 30 .
[0050] In step S103 : the cathode terminal of the diode of the second photocoupler 20 of the circuit 100 is connected to the load 40 .
[0051] In step S104 : the negative electrode of the power source 10 is connected to the load 40 . At this time, the first photoelectric coupler 10 , the second photoelectric coupler 20 , the power source 30 , and the load 40 form a loop of the circuit 100 .
[0052] In step S105 : providing a driving pulse to the input side of the first photocoupler 10 . The anode terminal of the diode on the input side of the first photocoupler 10 is coupled to the control unit 70 and receives the driving pulse.
[0053] In step S106 : collecting the electrical signal outputted from the output side of the second photoelectric coupler 20 . The emitter of the transistor at the output end of the second photoelectric coupler 20 is coupled to the control unit 70 , and the control unit 70 collects the outputted electrical signal.
[0054] In step S107: the short-circuit state of the load 40 is judged according to the collected electrical signal. When the collected electrical signal is at a high level, it means that the circuit 100 where the load is located is in a normal state, and the load 40 is judged to be normal; when the collected electrical signal is at a low level, it means that the circuit 100 where the load is located is in a short-circuit state, and the load 40 is judged to be short-circuited. Thus, the fire alarm detection function is realized.
[0055] Figure 4 A schematic diagram of a relay and a circuit connection according to an embodiment of the present invention is shown. As shown in the figure, the load short circuit detection method 300 also includes:
[0056] A relay is provided, and the relay is connected between the positive electrode of the power supply, the circuit and the load. The relay includes two groups of single-pole double-throw switches and an overcurrent protection unit, wherein the positive electrode HV of the power supply 30 can be selectively connected to one of the ports Pin_NC1 (normally closed) or Pin_NO1 (normally open) in one group of single-pole double-throw switches and can be switched between the two, and correspondingly, the positive electrode of the load 40 can be selectively connected to one of the ports Pin_NC2 (normally closed) or Pin_NO2 (normally open) in another group of single-pole double-throw switches and can be switched between the two. Thus, by controlling the relay, the positive electrode HV of the power supply 30 can be connected to the positive electrode of the circuit 100 or the load 40 respectively. When the relay is connected to the load 40, the overcurrent protection unit in the relay plays a role in overcurrent protection of the circuit.
[0057] Control the relay so that the positive electrode of the power supply is connected to the circuit, and execute steps S105, S106 and S107. Figure 2 It can be known that the relay is controlled to connect the positive electrode HV of the power source 30 to the port Pin_NC1 and the positive electrode of the load 40 to the port Pin_NC2, thereby connecting to the circuit 100.
[0058] The relay is controlled so that the positive pole of the power source is connected to the load. Figure 2As shown, the relay is controlled to connect the positive electrode HV of the power supply 30 to the port Pin_NO1, and the positive electrode of the load 40 to the port Pin_NO2, so that the overcurrent protection unit is in the circuit, so that when the current in the circuit exceeds a predetermined maximum threshold value, the overcurrent protection unit is activated to perform overcurrent protection on the circuit.
[0059] The embodiment of the present invention provides a detection circuit in a fire alarm system, thereby overcoming the defect that the load short circuit detection function circuit in the prior art has a large leakage current, which easily causes the external device to start up incorrectly. The detection circuit of the embodiment of the present invention has a simple principle, and the load and the core control unit are isolated by a photoelectric element, thereby improving the safety and reliability of the circuit, and there is almost no leakage current, and the energy leaked in the positive cycle is close to 0, which will not cause the external device to malfunction, and the performance is safe and stable, and the load short circuit detection function and fire alarm detection are reliably realized.
[0060] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A circuit for detecting short circuit of a load, the circuit comprising a first photocoupler and a second photocoupler, The input side of the first photocoupler receives a driving pulse, and the collector of the transistor on the output side is coupled to the positive electrode of the power supply; The anode terminal of the diode on the input side of the second photocoupler is coupled to the emitter of the transistor of the first photocoupler, the cathode terminal of the diode is coupled to the load, and the output side of the second photocoupler outputs an electrical signal for determining whether the load is short-circuited. The circuit further includes a rectifier unit, which is connected between the positive electrode of the power supply, the collector of the transistor of the first photocoupler, the cathode end of the diode of the second photocoupler, and the load, and is configured to only allow current to flow in the direction of the positive electrode of the power supply, the first photocoupler, the second photocoupler, and the load; The circuit further includes a control unit, which is coupled to the input side of the first photocoupler and provides the driving pulse, and is coupled to the output side of the second photocoupler and receives an electrical signal for determining whether the load is short-circuited. The control unit is configured to determine whether the load is short-circuited according to the electrical signal. The anode end of the diode on the input side of the first photocoupler is coupled to the control unit and receives the driving pulse, and the cathode end is grounded through a resistor; the collector of the transistor at the output end of the second photocoupler is coupled to the voltage source, and the emitter is coupled to the control unit and outputs the electrical signal for judging whether the load is short-circuited. The control unit is configured to: when it is detected that the electrical signal is at a high level, determine that the load is normal; when it is detected that the electrical signal is at a low level, determine that the load is short-circuited. 2 . The circuit according to claim 1 , further comprising a current limiting unit connected between the positive electrode of the power supply and the rectifying unit.
3. The circuit according to claim 1 or 2, further comprising a detection resistor, wherein the detection resistor is connected in parallel with the load, one end of the detection resistor is connected to the rectifier unit, and the other end is connected to the negative electrode of the power supply.
4. The circuit according to claim 1 or 2, wherein the circuit is a pulse detection circuit, the pulse width of the detection pulse is 500 microseconds, and the duty cycle is 0.017%-0.033%.
5. A load short circuit detection method, the load short circuit detection method using the circuit as described in any one of claims 1 to 4 for detection, the load short circuit detection method comprising: S101: Provide a circuit as described in any one of claims 1 to 3; S102: Connecting the collector of the transistor of the first photocoupler of the circuit to the positive electrode of the power supply; S103: Connecting the cathode terminal of the diode of the second photocoupler of the circuit to a load; S104: Connecting the negative electrode of the power supply to the load; S105: providing a driving pulse to the input side of the first photocoupler; S106: collecting an electrical signal output by the output side of the second photoelectric coupler; and S107: judging the short-circuit state of the load according to the collected electrical signal.
6. The detection method according to claim 5, further comprising: Providing a relay, connecting the relay between the positive pole of the power supply, the circuit and the load; Controlling the relay so that the positive electrode of the power supply is connected to the circuit, and executing steps S105, S106 and S107; The relay is controlled so that the positive pole of the power source is connected to the load.
Citation Information
Patent Citations
Load circuit and breakage detection method thereof
CN107727992A
Short circuit and open circuit detection circuit of relay loop
CN109254245A
Load access detection circuit
CN110514932A
Short-circuit test circuit, tester and method for negative electrode protection type lithium battery protection board
CN110736917A
AC charging pile grounding detection and control device and AC charging pile
CN110884380A
