Power-losing and network-breaking alarm circuit
By designing a power failure and network disconnection alarm circuit and using the main control component and anti-misjudgment module to detect the power supply and network status of the cluster switch in real time, the problem of low fault detection efficiency of the cluster switch is solved and efficient fault detection is achieved.
Patent Information
- Application Number
- CN202422450247.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2034-10-10
AI Technical Summary
In cluster switch scenarios, existing technologies require manual inspection of the power supply and network status of each switch, resulting in low fault detection efficiency.
A power failure and network disconnection alarm circuit is designed, including a main control component, an alarm module, a network disconnection detection module, a power failure detection module and an anti-misjudgment module. The control chip detects the power supply and network status of the cluster switch in real time to prevent misjudgment.
It achieves unified real-time detection of cluster switches, improves fault detection efficiency, and reduces the time and labor of manual inspection.
Smart Images

Figure CN223308682U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of alarm circuits, in particular to a power failure and network disconnection alarm circuit. Background Art
[0002] A network switch, or simply a switch, is a piece of network hardware that receives and forwards data to a target device through message exchange. A network switch is a device that expands a network, providing a dedicated electrical signal path between any two network nodes connected to the switch. This allows for more connection ports within a subnetwork, thus connecting different devices on a computer network.
[0003] Currently, switches rely on indicator lights to display signals indicating whether the power supply is normal and whether the network is normal, and the two are displayed independently on the same switch. However, this method of alarming a single switch has the following shortcomings in cluster signal processing scenarios: in scenarios such as computer rooms where multiple switches are configured, when some switches fail due to network or power outages, staff are often required to conduct this investigation, which is time-consuming and labor-intensive. Therefore, in order to improve the efficiency of detecting network or power outage faults in switches, the power failure and network disconnection alarm circuit of this application is proposed. Utility Model Content
[0004] The purpose of the utility model is to overcome the shortcomings of the prior art and provide a power failure and network failure alarm circuit for uniformly detecting power failure and network failure of cluster switches to improve the efficiency of fault detection.
[0005] The purpose of this utility model is achieved through the following technical solutions:
[0006] A power failure and network disconnection alarm circuit, comprising:
[0007] A main control component, comprising a control chip, an alarm module, a network disconnection detection module, and several power disconnection detection modules, each of which is connected to a power supply port of a switch, the control chip is connected to a signal port of each switch, the network disconnection detection module is connected to the control chip, and the network disconnection detection module and each of the power disconnection detection modules are connected to the alarm module; and
[0008] An anti-misjudgment module, one end of which is connected to the control chip, and the other end of which is respectively connected to the alarm module, the network disconnection detection module and each of the power failure detection modules.
[0009] Optionally, the device connection structure of the power outage detection module is as follows: one end of the resistor R1 is connected to the power supply port P1+ of the switch, the other end of the resistor R1 is connected to the non-inverting input end of the comparison unit U1, the inverting input end of the comparison unit U1 is connected to the first comparison voltage, the cathode of the voltage regulator diode D1 is connected to the non-inverting input end of the comparison unit U1, the anode is grounded GND, the output end of the comparison unit U1 is connected to the cathode of the diode D2, and the anode of the diode D2 is connected to the alarm module.
[0010] Optionally, the device connection structure of the network disconnection detection module is: one end of the resistor R3 is connected to the pin GPIOA of the control chip, the other end of the resistor R3 is connected to the inverting input end of the comparison unit U3, the non-inverting input end of the comparison unit U3 is connected to the second comparison voltage, the output end of the comparison unit U3 is connected to the cathode of the diode D6, and the anode of the diode D6 is connected to the alarm module.
[0011] Optionally, the device connection structure of the alarm module is: one end of the resistor R4 is connected to a 12V power supply, the other end of the resistor R4 is connected to the cathode of the voltage-stabilizing diode D5, the anode of the diode D5 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the switching unit through the resistor R5, and the cathode of the voltage-stabilizing diode D5 is connected to the anode of the diode D2 and the anode of the diode D3 respectively.
[0012] Optionally, the device connection structure of the switching unit is: the base of the transistor Q1 is connected to the resistor R5, the emitter of the transistor Q1 is grounded GND, the collector of the transistor Q1 is connected to the positive electrode of the diode D8, the negative electrode of the diode D8 is connected to the 12V power supply, and the diode D8 is also connected in parallel with the input end of the relay K1, and the relay K1 is used to connect the signal sending device.
[0013] Optionally, the device connection structure of the anti-misjudgment module is as follows: the resistor R6 is respectively connected to the pin GPIOB of the control chip and the inverting input end of the comparison unit U4, the non-inverting input end of the comparison unit U4 is connected to the second comparison voltage, the output end of the comparison unit U4 is connected to the 3.3V power supply through the resistor R7, and the output end of the comparison unit U4 is also connected to the positive electrode of the diode D9, and the negative electrode of the diode D9 is connected to the base of the transistor Q1.
[0014] Optionally, the anti-misjudgment module further includes the following device connection structure: the cathode of the light-emitting diode LED1 is connected to the output end of the comparison unit U3, and the anode of the light-emitting diode LED1 is connected to the 3.3V power supply through R8.
[0015] Optionally, the comparison unit U1 , the comparison unit U3 , and the comparison unit U4 are all voltage comparators.
[0016] Optionally, the comparison unit U1 , the comparison unit U3 , and the comparison unit U4 are all connected to a 12V power supply.
[0017] Optionally, the first comparison voltage is 8V, and the second comparison voltage is 1.2V.
[0018] Compared with the prior art, the present invention has at least the following advantages:
[0019] The utility model discloses a power failure and network disconnection alarm circuit, comprising a main control component and an anti-false positive module. The main control component comprises a control chip, an alarm module, a network disconnection detection module, and a plurality of power failure detection modules. Each power failure detection module is connected to a power supply port of a switch. The control chip is connected to a signal port of each switch. The network disconnection detection module is connected to the control chip, and both the network disconnection detection module and each power failure detection module are connected to the alarm module. One end of the anti-false positive module is connected to the control chip, and the other end of the anti-false positive module is connected to the alarm module, the network disconnection detection module, and each power failure detection module. In this way, it is possible to detect in real time whether each switch in the cluster has lost power or network connectivity. Compared with the existing method of checking each switch individually, this method can effectively improve the efficiency of fault detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 Schematic diagram of a power failure and network disconnection alarm circuit in one embodiment of the present invention;
[0022] Figure 2 for Figure 1 The circuit schematic diagram of the power failure and network disconnection alarm circuit is shown.
[0023] Description of reference numerals:
[0024] 100, anti-misjudgment module; 200, alarm module; 300, network disconnection detection module; 400, power failure detection module. DETAILED DESCRIPTION
[0025] In order to facilitate the understanding of the present invention, the present invention will be described in more detail below with reference to the accompanying drawings, in which preferred embodiments of the present invention are shown.
[0026] like Figure 1As shown, a power failure and network disconnection alarm circuit includes a main control component and an anti-false judgment module 100. The main control component includes a control chip, an alarm module 200, a network disconnection detection module 300 and several power failure detection modules 400. Each power failure detection module 400 is respectively connected to the power supply port of a switch, the control chip is connected to the signal port of each switch, the network disconnection detection module 300 is connected to the control chip, and the network disconnection detection module 300 and each power failure detection module 400 are all connected to the alarm module 200. One end of the anti-false judgment module 100 is connected to the control chip, and the other end of the anti-false judgment module 100 is respectively connected to the alarm module 200, the network disconnection detection module 300 and each power failure detection module 400.
[0027] It should be noted that the control chip can be any programmable chip in the prior art. It is not the structure to be solved by this application, so it will not be described in detail here. In this application, only two IO ports of the control chip need to be used. The two IO ports are used to connect to the network disconnection detection module 300 and the anti-false positive module 100 respectively. The IO port used to connect to the network disconnection detection module 300 is used to force the output of a low level within 40 seconds of startup. After 40 seconds, the control chip outputs a high level or a low level according to whether each switch is actually connected to the network. When all switches are stably connected to the network, the control chip outputs a low level to the network disconnection test module 300 to the IO port. When any of the switches is disconnected from the network, the control chip outputs a high level to the network disconnection test module 300 to the IO port. Furthermore, the IO port used to connect to the anti-false positive module 100 is used to force the output of a low level within 40 seconds of startup, and after 40 seconds, it is forced to output a high level to the anti-false positive module 100. Furthermore, one end of the power outage detection module 400 is connected to the power supply end of a switch, and the network disconnection detection module 300 and each power outage detection module 400 are all connected to the alarm module 200. Thus, within 40 seconds of power-on, since the device has just been powered on and its power supply is not yet stable, the anti-false positive module 100 hijacks each power outage detection module 400. That is, the anti-false positive module 100 directly acts on the alarm module 200, forcibly controlling the alarm module 200 to be in a non-alarm state within 40 seconds of power-on through the control chip. After 40 seconds of power-on, the anti-false positive module 100 exits operation, and the network disconnection detection module 300 and several power outage detection modules 400 act on the alarm module 200 to operate normally. This allows real-time detection of power outages and network disconnections on each switch in the cluster, effectively improving fault detection efficiency compared to the existing method of individually checking each switch.
[0028] like Figure 1As shown, in one embodiment, the device connection structure of the power outage detection module 400 is as follows: one end of the resistor R1 is connected to the power supply port P1+ of the switch, the other end of the resistor R1 is connected to the non-inverting input end of the comparison unit U1, the inverting input end of the comparison unit U1 is connected to the first comparison voltage, the cathode of the voltage regulator diode D1 is connected to the non-inverting input end of the comparison unit U1, the anode is grounded GND, the output end of the comparison unit U1 is connected to the cathode of the diode D2, and the anode of the diode D2 is connected to the alarm module 200.
[0029] Thus, when the switch is powered off, the voltage at its power port P1+ is lower than the first comparison voltage connected to the inverting input of comparison unit U1, and the output of comparison unit U1 outputs a low level. When the switch is powered normally, the output of comparison unit U1 is cut off, rendering its output in an open circuit state. It should be noted that each switch's power port is connected to a power outage detection module 400. For ease of description, the figures of this application illustrate an embodiment in which two power outage detection modules 400 are provided. Furthermore, in one embodiment, the first comparison voltage is 8V.
[0030] like Figure 1 As shown, in one embodiment, the device connection structure of the network disconnection detection module is as follows: one end of the resistor R3 is connected to the pin GPIOA of the control chip, the other end of the resistor R3 is connected to the inverting input end of the comparison unit U3, the non-inverting input end of the comparison unit U3 is connected to the second comparison voltage, the output end of the comparison unit U3 is connected to the cathode of the diode D6, and the anode of the diode D6 is connected to the alarm module 200.
[0031] It should be noted that, in one embodiment, the second comparison voltage is 1.2V. Within 40 seconds of powering on, pin GPIOA is at a low level. After 40 seconds of powering on, pin GPIOA outputs a high level or a low level depending on whether the switch is disconnected from the network. Specifically, when any switch is disconnected from the network, pin GPIOA outputs a high level, the voltage at the non-inverting input of comparison unit U3 is lower than the voltage at the inverting input of comparison unit U3, causing the output of comparison unit U3 to output a low level. When none of the switches are disconnected from the network, pin GPIOA of the control chip outputs a low level, the voltage at the non-inverting input of comparison unit U3 is higher than the voltage at the inverting input of comparison unit U3, and the output of comparison unit U3 is cut off, that is, the output of comparison unit U3 is open.
[0032] like Figure 1As shown, in one embodiment, the device connection structure of the alarm module 200 is as follows: one end of the resistor R4 is connected to the 12V power supply, the other end of the resistor R4 is connected to the cathode of the voltage-stabilizing diode D5, the anode of the diode D5 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the switch unit through the resistor R5, and the cathode of the voltage-stabilizing diode D5 is connected to the anode of the diode D2 and the anode of the diode D3 respectively.
[0033] It should be noted that when the switch is not powered off or disconnected from the network, the alarm module 200 drives the switch unit to operate normally. When the switch is powered off or disconnected from the network, the alarm module 200 cannot continue to drive the switch unit, causing the switch unit to be closed.
[0034] like Figure 1 As shown, in one embodiment, the device connection structure of the switch unit is as follows: the base of the transistor Q1 is connected to the resistor R5, the emitter of the transistor Q1 is grounded GND, the collector of the transistor Q1 is connected to the positive electrode of the diode D8, the negative electrode of the diode D8 is connected to the 12V power supply, and the diode D8 is also connected in parallel with the input end of the relay K1, and the relay K1 is used to connect to the signal sending device.
[0035] It's important to note that when the switch loses power or is disconnected from the network, transistor Q1 fails to turn on properly, and relay K1 is de-energized. When the switch is not disconnected from the network or power, transistor Q1 turns on properly, and relay K1 is energized. Relay K1 is used to connect to signaling devices such as speakers and lights. Therefore, when the switch loses power or the network is disconnected, relay K1 loses power and stops functioning.
[0036] like Figure 1 As shown, in one embodiment, the device connection structure of the anti-false judgment module 100 is as follows: the resistor R6 is respectively connected to the pin GPIOB of the control chip and the inverting input terminal of the comparison unit U4, the non-inverting input terminal of the comparison unit U4 is connected to the second comparison voltage, the output terminal of the comparison unit U4 is connected to the 3.3V power supply through the resistor R7, the output terminal of the comparison unit U4 is also connected to the anode of the diode D9, and the cathode of the diode D9 is connected to the base of the transistor Q1.
[0037] It should be noted that within 40 seconds of powering on, the GPIOB pin of the control chip is forced to output a low level, and the voltage at the non-inverting input terminal of the comparison unit U4 is higher than the voltage at the inverting input terminal of the comparison unit U4. Therefore, the output terminal of the comparison unit U4 is cut off, that is, it is open circuited. Then, the 3.3V power supply passes through the resistor R7 and the diode D9 to make the transistor Q1 normally open, so the relay K1 remains normally energized. After 40 seconds of powering on, the GPIOB pin of the control chip is forced to output a high level, and the voltage at the non-inverting input terminal of the comparison unit U4 is lower than the voltage at the inverting input terminal of the comparison unit U4. Therefore, the output terminal of the comparison unit U4 is a low level, which is equivalent to the 3.3V power supply being grounded to GND through the resistor R7, that is, the anti-misjudgment module 100 no longer has an effect on the transistor Q1. In this way, false alarms caused by unstable power supply status are avoided during the power-on process.
[0038] like Figure 1 As shown, in one embodiment, the anti-misjudgment module 100 further includes the following device connection structure: the cathode of the light-emitting diode LED1 is connected to the output end of the comparison unit U3, and the anode of the light-emitting diode LED1 is connected to the 3.3V power supply through R8.
[0039] It should be noted that when all switches are connected, pin GPIOA outputs a low level, the output of comparison unit U3 is open, and LED1 is inoperative. When any switch is disconnected, pin GPIOA outputs a high level, the output of comparison unit U3 is low, and LED1 is operative. In this way, LED1 can be used to signal whether a switch is disconnected.
[0040] In one embodiment, the comparison unit U1, the comparison unit U3, and the comparison unit U4 are all voltage comparators. For example, the comparison unit U1, the comparison unit U3, and the comparison unit U4 are all LM339. Furthermore, the comparison unit U1, the comparison unit U3, and the comparison unit U4 are all connected to a 12V power supply.
[0041] The above-mentioned embodiments only express several implementation methods of the present invention, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the utility model patent. Unless otherwise specifically defined, the installation / fixing / setting mentioned in the present invention can be understood to include but not be limited to locking and fixing with screws / screws and welding. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of the utility model patent shall be based on the attached claims.
Claims
1. A power failure and network disconnection alarm circuit, characterized in that: include: A main control component, comprising a control chip, an alarm module, a network disconnection detection module, and several power disconnection detection modules, each of which is connected to a power supply port of a switch, the control chip is connected to a signal port of each switch, the network disconnection detection module is connected to the control chip, and the network disconnection detection module and each of the power disconnection detection modules are connected to the alarm module; and An anti-misjudgment module, one end of which is connected to the control chip, and the other end of which is respectively connected to the alarm module, the network disconnection detection module and each of the power failure detection modules.
2. The power failure and network disconnection alarm circuit according to claim 1, characterized in that: The device connection structure of the power outage detection module is as follows: one end of the resistor R1 is connected to the power supply port P1+ of the switch, the other end of the resistor R1 is connected to the non-inverting input end of the comparison unit U1, the inverting input end of the comparison unit U1 is connected to the first comparison voltage, the cathode of the voltage regulator diode D1 is connected to the non-inverting input end of the comparison unit U1, the anode is grounded GND, the output end of the comparison unit U1 is connected to the cathode of the diode D2, and the anode of the diode D2 is connected to the alarm module.
3. The power failure and network disconnection alarm circuit according to claim 2, characterized in that: The device connection structure of the network disconnection detection module is as follows: one end of the resistor R3 is connected to the pin GPIOA of the control chip, the other end of the resistor R3 is connected to the inverting input end of the comparison unit U3, the non-inverting input end of the comparison unit U3 is connected to the second comparison voltage, the output end of the comparison unit U3 is connected to the cathode of the diode D6, and the anode of the diode D6 is connected to the alarm module.
4. The power failure and network disconnection alarm circuit according to claim 3, characterized in that: The device connection structure of the alarm module is as follows: one end of the resistor R4 is connected to the 12V power supply, the other end of the resistor R4 is connected to the cathode of the voltage-stabilizing diode D5, the anode of the diode D5 is connected to the anode of the diode D7, the cathode of the diode D7 is connected to the switch unit through the resistor R5, and the cathode of the voltage-stabilizing diode D5 is connected to the anode of the diode D2 and the anode of the diode D3 respectively.
5. The power failure and network disconnection alarm circuit according to claim 4, characterized in that: The device connection structure of the switch unit is as follows: the base of the transistor Q1 is connected to the resistor R5, the emitter of the transistor Q1 is grounded GND, the collector of the transistor Q1 is connected to the positive electrode of the diode D8, the negative electrode of the diode D8 is connected to the 12V power supply, and the diode D8 is also connected in parallel with the input end of the relay K1, and the relay K1 is used to connect to the signal sending device.
6. The power failure and network disconnection alarm circuit according to claim 5, characterized in that: The device connection structure of the anti-misjudgment module is as follows: the resistor R6 is respectively connected to the pin GPIOB of the control chip and the inverting input terminal of the comparison unit U4, the non-inverting input terminal of the comparison unit U4 is connected to the second comparison voltage, the output terminal of the comparison unit U4 is connected to the 3.3V power supply through the resistor R7, and the output terminal of the comparison unit U4 is also connected to the anode of the diode D9, and the cathode of the diode D9 is connected to the base of the transistor Q1.
7. The power failure and network disconnection alarm circuit according to claim 6, characterized in that: The anti-misjudgment module further includes the following device connection structure: the cathode of the light-emitting diode LED1 is connected to the output end of the comparison unit U3, and the anode of the light-emitting diode LED1 is connected to the 3.3V power supply through R8.
8. The power failure and network disconnection alarm circuit according to claim 7, characterized in that: The comparison unit U1 , the comparison unit U3 , and the comparison unit U4 are all voltage comparators.
9. The power failure and network disconnection alarm circuit according to claim 8, characterized in that: The comparison unit U1 , the comparison unit U3 , and the comparison unit U4 are all connected to a 12V power supply.
10. The power failure and network disconnection alarm circuit according to claim 6, characterized in that: The first comparison voltage is 8V, and the second comparison voltage is 1.2V.