Visual alarm system and method for preventing live-line reverse irrigation of ground wire
By designing a visual alarm system to prevent live ground wire backfeeding, using current transformers and peak detection circuits to detect the ground current, and combining it with a single-chip microcomputer to control the LCD display and alarm prompts, the problem of detection and protection of live ground wires has been solved, and the detection and protection of electrical equipment has been realized. and the safety of electricity users.
Patent Information
- Application Number
- CN202410596142.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult to effectively detect and prevent electrical equipment damage and personal injury caused by electrified ground wires with existing technology, especially when the electrical socket wiring is incorrect, the grounding is poor, or the line quality is poor, and there is a lack of obvious prompts and protective measures.
A visual alarm system for preventing ground wire live backfeeding is designed, which includes a single-chip microcomputer circuit, a liquid crystal display circuit, a power supply voltage conversion circuit, a peak detection circuit, a current transformer, a line switching circuit, an alarm circuit and a status indicator circuit. It uses current mutual inductance The device detects the ground current, the peak detection circuit detects the voltage, the microcontroller controls the LCD display and alarm prompt, and disconnects the live ground wire through the line switching circuit.
It is possible to detect the live ground wire immediately and disconnect the live ground wire, providing a visual reminder of the live ground wire, ensuring the safe operation of electrical equipment and the personal safety of power users, and avoiding equipment damage and injury caused by the live ground wire.
Smart Images

Figure CN118629169A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ground wire live detection, and in particular to a visual alarm system and method for preventing ground wire live backflow. Background Art
[0002] The grounding wire is a line connected to the outer shell of electrical equipment and other parts to promptly conduct away unsafe charges or leakage currents generated due to various reasons. At present, the electrical appliances used in production and life have many safety hazards due to the complex power grid, such as: incorrect wiring of electrical sockets, poor grounding, random dragging, poor line quality and other power failures causing the outer shell of the appliance to be charged, or when the ground wire is abnormally charged, the user will suffer an electric shock accident due to the lack of obvious warning, or the ground wire will be charged back and cause damage to the user's electrical equipment, or even cause casualties. Summary of the invention
[0003] In response to the problems in the background technology, the purpose of the present invention is to provide a visual alarm system and method for preventing ground wire backflow, which can quickly take protection and indication measures when it is detected that the ground wire is energized, thereby providing equipment and personal safety protection for the safe operation of electrical equipment and electricity users.
[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0005] A visual alarm system for preventing live backflow of ground wires comprises a single-chip computer circuit, a liquid crystal display circuit, a power supply voltage conversion circuit, a peak detection circuit, a current transformer CT, a line switching circuit, an alarm circuit and a status indicator light circuit. The power supply voltage conversion circuit comprises a 220V to ±5V power supply voltage circuit and a 5V to 3.3V power supply voltage circuit. The 220V to ±5V power supply voltage circuit is respectively connected to the 5V to 3.3V power supply voltage circuit and the peak detection circuit. The 5V to 3.3V power supply voltage circuit is respectively connected to the single-chip computer circuit and the liquid crystal display circuit. The single-chip computer circuit is respectively connected to the liquid crystal display circuit, the peak detection circuit, the line switching circuit, the alarm circuit and the status indicator light circuit. The current transformer CT is connected to the peak detection circuit.
[0006] Furthermore, the above-mentioned ground wire protection visual alarm system also includes an Android power supply circuit and a serial port download circuit, the Android power supply circuit is connected to the serial port download circuit, and the serial port download circuit is connected to the single-chip computer circuit.
[0007] Further, the Android power supply circuit includes a USB chip U1, a capacitor C1 and a capacitor C2, the capacitor C1 and the capacitor C2 are connected in parallel between the VBUS pin and the GND pin of the USB chip U1, the VBUS pin of the USB chip U1 is connected to a +5V power supply, and the GND pin of the USB chip U1 is grounded;
[0008] The serial port download circuit comprises a USB to serial port chip U2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6 and a crystal oscillator X1, wherein the capacitor C3 is connected between the GND pin and the V3 pin of the USB to serial port chip U2, one end of the capacitor C4 is connected to the XI pin of the USB to serial port chip U2, and the other end is grounded, one end of the capacitor C5 is connected to the XO pin of the USB to serial port chip U2, and the other end is grounded, one end of the capacitor C6 is connected to the VCC pin of the USB to serial port chip U2, and the other end is grounded, the crystal oscillator X1 is connected between the XI pin and the XO pin of the USB to serial port chip U2, the GND pin of the USB to serial port chip U2 is grounded, the UD+ pin of the USB to serial port chip U2 is connected to the D+ pin of the USB chip U1, the UD- pin of the USB to serial port chip U2 is connected to the D- pin of the USB chip U1, and the VCC pin of the USB to serial port chip U2 is connected to a +5V power supply;
[0009] The single-chip microcomputer circuit includes a single-chip microcomputer chip U3, a reset switch K1, a sliding switch U4, a capacitor C7 and a capacitor C8. One end of the reset switch K1 is connected to the P4.4 pin of the single-chip microcomputer chip U3, and the other end is grounded. Pin 1 of the sliding switch U4 is connected to a 5V to 3.3V power supply voltage circuit, pin 2 is connected to the VCC pin of the single-chip microcomputer chip U3, and pin 4 is grounded. One end of the capacitor C7 and the capacitor C8 are connected in parallel to the VCC pin of the single-chip microcomputer chip U3, and the other end is grounded. The AGND pin and the GND pin of the single-chip microcomputer chip U3 are both grounded. The AVREF pin, AVCC pin and VCC pin of the single-chip U3 are connected in parallel, the P3.0 pin of the single-chip microcomputer chip U3 is connected to the TXD pin of the USB-to-serial port chip U2, the P3.1 pin of the single-chip microcomputer chip U3 is connected to the RXD pin of the USB-to-serial port chip U2, the P3.4 pin of the single-chip microcomputer chip U3 is connected to the status indicator light circuit, the P5.4 pin of the single-chip microcomputer chip U3 is connected to the alarm circuit, the P5.5 pin of the single-chip microcomputer chip U3 is connected to the line switching circuit, and the P0.6 pin of the single-chip microcomputer chip U3 is connected to the peak detection circuit;
[0010] The liquid crystal display circuit includes an LCD chip U5, and the CS pin, RST pin, RS pin, SDA pin, SCK pin, ROM_CS pin, ROM_SCK pin, ROM_OUT pin and ROM_IN pin of the LCD chip U5 are connected to the P1.1 pin, P1.0 pin, P0.7 pin, P0.5 pin, P0.4 pin, P0.3 pin, P0.2 pin and P0.0 pin of the LCD chip U5 in sequence, the VDD pin and LEDA pin of the LCD chip U5 are connected to the 5V to 3.3V power supply voltage circuit, and the VSS pin of the LCD chip U5 is grounded.
[0011] Further, the 220V to ±5V power supply voltage circuit includes an isolation transformer T, a rectifier U6, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a voltage regulator chip U7, a voltage regulator chip U8, a rectifier diode D1 and a rectifier diode D2; one end of the primary side of the isolation transformer T is connected to the live wire L of the 220V external power supply, and the other end is connected to the neutral wire N of the 220V external power supply, one end of the secondary side of the isolation transformer T is connected to the AC1 AC end of the rectifier, and the other end is connected to the AC2 AC end of the rectifier, the DC+ DC end of the rectifier U6 is connected to one end of the capacitor C9, one end of the capacitor C10 and the VIN pin of the voltage regulator chip U7 in sequence, and the DC- DC end of the rectifier U6 is connected to one end of the capacitor C11, one end of the capacitor C12 and the VIN pin of the voltage regulator chip U7 in sequence. The voltage regulator chip U7 is connected to the IN pin of the voltage regulator chip U8, the VOUT pin of the voltage regulator chip U7 is connected to one end of the capacitor C13, one end of the capacitor C14 and the negative electrode of the rectifier diode D1 in sequence, the OUT pin of the voltage regulator chip U8 is connected to one end of the capacitor C15, one end of the capacitor C16 and the positive electrode of the rectifier diode D2 in sequence, the other end of the capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, capacitor C15 and capacitor C16, the GND pin of the voltage regulator chip U7, the GND pin of the voltage regulator chip U8, the positive electrode of the rectifier diode D1 and the negative electrode of the rectifier diode D2 are all grounded, the VOUT pin of the voltage regulator chip U7 outputs a +5V power supply voltage, and the OUT pin of the voltage regulator chip U8 outputs a -5V power supply voltage.
[0012] Furthermore, the 5V to 3.3V power supply voltage circuit includes a power converter chip U9, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a resistor R6 and a light-emitting diode LED2; the VIN pin of the power converter chip U9 is connected to a +5V voltage, one end of the capacitor C17 and one end of the capacitor C18 in sequence, the VOUT pin of the power converter chip U9 is connected to capacitor C19, capacitor C20 and one end of the resistor R6 in sequence, the other ends of the capacitors C17, C18, C19 and C20 are connected to the ground in parallel with the GND pin of the power converter chip U9, the other end of the resistor R6 is connected to the positive electrode of the light-emitting diode LED2, the negative electrode of the light-emitting diode LED2 is grounded, and the VOUT pin of the power converter chip U9 outputs a +3.3V power supply voltage, which is used to provide the power supply voltage required for the single-chip microcomputer circuit and the liquid crystal display circuit to work.
[0013] Further, the line switching circuit includes a resistor R2, a transistor U10, a relay RLY1, a switching diode D4 and a relay pin H1, one end of the resistor R2 is connected to the P5.5 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U10, the collector of the transistor U10 is connected to one end of the coil of the relay RLY1, the emitter of the transistor U10 is grounded, the other end of the coil of the relay RLY1 is connected to a +5V power supply, the switching diode D4 is connected in parallel to both ends of the coil of the relay RLY1, the normally open contact of the relay RLY1 is connected to pin 1 of the relay pin row H1, and the normally closed contact of the relay RLY1 is connected to pin 3 of the relay pin row H1.
[0014] Furthermore, the alarm circuit includes a resistor R1, a transistor U11, a transistor U12, a rectifier diode D3 and a buzzer BUZZER1, one end of the resistor R1 is connected to the P5.4 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U11, the collector of the transistor U11 and the collector of the transistor U12 are connected in parallel to the cathode of the rectifier diode D3, the emitter of the transistor U11 is connected to the base of the transistor U12, the emitter of the transistor U12 is grounded, the anode of the rectifier diode D3 is connected to the cathode of the buzzer BUZZER1, and the anode of the buzzer BUZZER1 is connected to a +5V power supply.
[0015] Furthermore, the status indicator light circuit includes a resistor R3, a resistor R4, a transistor U13 and a light-emitting diode LED1, one end of the resistor R3 is connected to the P3.4 pin of the single-chip chip U3, and the other end is connected to the base of the transistor U13, the collector of the transistor U13 is connected to the cathode of the light-emitting diode LED1, the emitter of the transistor U13 is grounded, the anode of the light-emitting diode LED1 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to a +5V power supply.
[0016] Further, the peak detection circuit includes a voltage comparator circuit, a capacitor charging and discharging circuit and a voltage follower circuit. The voltage comparator circuit is composed of a voltage comparator U14, a resistor R5 and a switch diode D5. The capacitor charging and discharging circuit is composed of a capacitor C21, a capacitor C22 and a capacitor discharge switch K2. The voltage follower circuit is composed of a voltage follower U15. Pin 3 of the voltage comparator U14 is connected to pin 2 of the current transformer CT, pin 1 of the current transformer CT is grounded, and pin 2 of the voltage comparator U14 is connected in parallel with pin 2 and pin 6 of the voltage follower U15 to a single chip. The P0.6 pin of the machine chip U3, the 4th pin of the voltage comparator U14 is connected to the +5V power supply, the 8th pin is connected to the -5V power supply, the resistor R5 is connected in parallel between the 1st pin and the 4th pin of the voltage comparator U14, the positive pole of the switching diode D5 is connected to the 1st pin of the voltage comparator U14, and the negative pole is connected to the 3rd pin of the voltage follower U15, one end of the capacitor C21, the capacitor C22 and the capacitor discharge switch K2 are connected in parallel between the negative pole of the switching diode D5 and the 3rd pin of the voltage follower U15, and the other end is grounded, the 4th pin of the voltage follower U15 is connected to the +5V power supply, and the 7th pin is connected to the -5V power supply.
[0017] A method for preventing ground wire live backflow from being activated is implemented based on the above-mentioned visual alarm system for preventing ground wire live backflow from being activated, and comprises the following steps:
[0018] S1. Insert the ground wire to be tested into the mutual induction coil of the current transformer CT;
[0019] S2, start to perform live detection on the ground wire to be tested. When the ground wire to be tested is live, use the current transformer CT to sense and sample the current generated on the ground wire to be tested, and convert the sensed current sampling signal into a voltage signal and input it into the peak detection circuit;
[0020] S3, using the peak detection circuit to perform peak detection on the input induced voltage signal, and then maintaining the output of the corresponding peak voltage signal;
[0021] S4, inputting the peak voltage signal output by the peak detection circuit into the single-chip microcomputer circuit, using the ADC module of the single-chip microcomputer circuit to perform ADC analog-to-digital conversion on the input peak voltage signal so that it changes from a voltage analog value to a voltage digital value, and using the liquid crystal display module in the liquid crystal display circuit to display the voltage digital value;
[0022] S5, comparing the voltage digital value obtained in step S4 with the voltage standard threshold preset by the system through the single chip circuit to determine whether the ground wire to be tested is energized;
[0023] If the voltage digital value obtained in step S4 is less than the voltage standard threshold preset by the system, it means that the ground wire to be tested is not energized, and the process proceeds to step S6;
[0024] If the voltage digital value obtained in step S4 is greater than the voltage standard threshold preset by the system, it means that the ground wire to be tested is energized, and the process proceeds to step S7;
[0025] S6, controlling the liquid crystal display module in the liquid crystal display circuit through the single chip circuit to display that the ground line to be tested is not energized, and returning to S2 to continue sampling;
[0026] S7, controlling the alarm circuit to emit an alarm tone through the single-chip circuit, and controlling the liquid crystal display module in the liquid crystal display circuit to display that the ground wire to be tested is charged through the single-chip circuit, and then proceeding to step S8;
[0027] S8, disconnect the ground wire through the single-chip circuit control line switching circuit to prevent the ground wire from being charged back, and decide whether to enable the backup ground wire as needed. If there is a backup ground wire, start the backup ground wire, otherwise do not connect the backup ground wire, and return to step S2 to continue sampling;
[0028] S9, check whether there is anyone to inspect, if not, return to S2 to continue sampling; if there is someone to inspect, check whether he presses the sampling reset button;
[0029] If the sampling reset button is not pressed, there are two situations: one is that the maintenance is terminated, the fault still exists, and the alarm sound continues. At this time, you should immediately return to step S2 to continue sampling; the other is maintenance with alarm sound;
[0030] If the sampling reset button is pressed, the alarm sound disappears, and the LCD module shows that it is not powered. Then check whether there is any further maintenance;
[0031] If there is no further maintenance, the process returns to step S2 to continue sampling. At this time, the fault has not been eliminated, the alarm sounds again, and the LCD module shows that the ground wire is energized;
[0032] If further maintenance is required, the ground wire is restored to be unpowered, and the single-chip microcomputer circuit control circuit switching circuit is connected to the ground wire;
[0033] If the backup ground wire is enabled when the original ground wire is disconnected, the backup ground wire is disconnected at this time, and then the process returns to step S2 to continue sampling. At this time, the fault has been eliminated, the alarm sound is no longer ringing, and the LCD module displays that the ground wire is not energized;
[0034] If there is no backup ground wire when the original ground wire is disconnected, the process directly returns to step S2 to continue sampling.
[0035] Compared with the prior art, the advantages of the present invention are as follows:
[0036] 1. It can detect that the ground wire is energized at the first time and disconnect the energized ground wire.
[0037] 2. Whether the ground wire is energized or not can be visually detected, and an alarm sound can be heard to remind the user that there is an abnormality in the circuit.
[0038] 3. When it is detected that the ground wire is energized, effective protection and indication measures can be taken quickly to ensure the safe operation of electrical equipment and the personal safety of electricity users. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solution in this embodiment, the following is a brief introduction to the drawings required for use in the description of the embodiment. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 It is a circuit structure block diagram of the visual alarm system for preventing ground wire live backflow of the present invention;
[0041] Figure 2 It is the circuit schematic of the Android power supply circuit;
[0042] Figure 3 This is the circuit schematic diagram of the serial port download circuit;
[0043] Figure 4 It is the circuit schematic diagram of the single chip microcomputer circuit;
[0044] Figure 5 It is the circuit schematic diagram of the liquid crystal display circuit;
[0045] Figure 6 This is the circuit diagram of the 220V to ±5V power supply voltage circuit;
[0046] Figure 7 This is the circuit schematic diagram of the 5V to 3.3V power supply voltage circuit;
[0047] Figure 8 It is a circuit schematic diagram of a line switching circuit;
[0048] Fig. 9 It is the circuit schematic diagram of the alarm circuit;
[0049] Fig.10 It is a circuit schematic diagram of the status indication circuit;
[0050] Fig.11 It is the circuit schematic diagram of the peak detection circuit;
[0051] Fig.12 It is a flow chart of the visual alarm method for preventing live backflow of ground wire. DETAILED DESCRIPTION
[0052] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the following further describes how the present invention is implemented in conjunction with the accompanying drawings and specific implementation methods.
[0053] See also Figure 1 As shown, the present invention provides a visual alarm system for preventing ground wire live backflow, comprising a single chip microcomputer circuit 003, a liquid crystal display circuit 004, a power supply voltage conversion circuit 005, a peak detection circuit 006, a current transformer CT007, a line switching circuit 008, an alarm circuit 009 and a status indicator circuit 010, wherein the power supply voltage conversion circuit 005 comprises a 220V to ±5V power supply voltage circuit 0051 and a 5V to 3.3V power supply voltage circuit 0052, and the 220V to ±5 The V power supply voltage circuit 0051 is respectively connected to the 5V to 3.3V power supply voltage circuit 0052 and the peak detection circuit 006, the 5V to 3.3V power supply voltage circuit 0052 is respectively connected to the single-chip computer circuit 003 and the liquid crystal display circuit 004, the single-chip computer circuit 003 is respectively connected to the liquid crystal display circuit 004, the peak detection circuit 006, the line switching circuit 008, the alarm circuit 009 and the status indicator light circuit 010, and the current transformer CT007 is connected to the peak detection circuit 006. When in use, the input end of the 220V to ±5V power supply voltage circuit 0051 is used to connect to an external 220V power supply, and the output end is used to connect to a 5V to 3.3V power supply voltage circuit 0052, which converts the external 220V AC power into ±5V DC power; the 5V to 3.3V power supply voltage circuit 0052 is used to connect to the single-chip computer circuit 003 and the liquid crystal display circuit 004, and its function is to convert the 5V DC power output by the 220V to ±5V power supply voltage circuit 0051 into 3.3V DC power to power the single-chip computer circuit 003 and the liquid crystal display circuit 004; the function of the liquid crystal display circuit 004 is to display the voltage and charged condition of the ground wire to be tested; the peak detection circuit Circuit 006 is used to detect the peak value of the voltage signal sensed by the current transformer CT007, and generate a corresponding output signal to the single-chip circuit 003, and then the single-chip circuit 003 is used to determine whether the ground wire to be tested is energized; the current transformer CT007 uses the principle of electromagnetic induction to detect the voltage signal generated on the ground wire to be tested; the line switching circuit 008 is used to disconnect or connect the ground line; the alarm circuit 009 is used to issue an alarm prompt sound when the system detects that the ground wire is energized; the status indicator light circuit 010 is used to facilitate the electricity user to determine whether there is a fault in the ground line by changing the color of the indicator light; the power supply voltage conversion circuit 005 is used to provide working power to each corresponding module in the system.
[0054] Specifically, the ground wire live backflow prevention visual alarm system provided by the present invention also includes an Android power supply circuit 001 and a serial port download circuit 002, wherein the Android power supply circuit 001 is connected to the serial port download circuit 002, and the serial port download circuit 002 is connected to the single-chip circuit 003. The functions of the Android power supply circuit 001 and the serial port download circuit 002 are respectively used to provide power and communication ports for the single-chip microcomputer, and are only used for power supply and downloading when downloading programs. It should be noted here that when the ground wire live backflow prevention visual alarm system provided by the present invention is sold as a product, the Android power supply circuit 001 and the serial port download circuit 002 are not used after leaving the factory, unless the system is broken or used for detection and upgrading.
[0055] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 2 As shown, the Android power circuit 001 includes a USB chip U1, a capacitor C1 and a capacitor C2, wherein the capacitor C1 and the capacitor C2 are connected in parallel between the VBUS pin and the GND pin of the USB chip U1, the VBUS pin of the USB chip U1 is connected to a +5V power supply, and the GND pin of the USB chip U1 is grounded. More specifically, in the embodiment of the present invention, the model of the USB chip U1 is MicroUSB-5PIN, the capacitor C1 is a ceramic capacitor with a capacitance value of 10uF, and the capacitor C2 is a ceramic capacitor with a capacitance value of 100nF.
[0056] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 3 As shown, the serial port download circuit 002 includes a USB-to-serial port chip U2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6 and a crystal oscillator X1, wherein the capacitor C3 is connected between the GND pin and the V3 pin of the USB-to-serial port chip U2, one end of the capacitor C4 is connected to the XI pin of the USB-to-serial port chip U2, and the other end is grounded, one end of the capacitor C5 is connected to the XO pin of the USB-to-serial port chip U2, and the other end is grounded, one end of the capacitor C6 is connected to the VCC pin of the USB-to-serial port chip U2, and the other end is grounded, the crystal oscillator X1 is connected between the XI pin and the XO pin of the USB-to-serial port chip U2, the GND pin of the USB-to-serial port chip U2 is grounded, the UD+ pin of the USB-to-serial port chip U2 is connected to the D+ pin of the USB chip U1, the UD- pin of the USB-to-serial port chip U2 is connected to the D- pin of the USB chip U1, and the VCC pin of the USB-to-serial port chip U2 is connected to a +5V power supply. More specifically, in the embodiment of the present invention, the model of the USB-to-serial port chip U2 is CH340G, capacitors C3 and C6 are both ceramic capacitors with a capacitance value of 100nF, capacitors C4 and C4 are both ceramic capacitors with a capacitance value of 33pF, and the frequency of the crystal oscillator X1 is 12MHZ.
[0057] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 4 As shown, the single-chip circuit 003 includes a single-chip chip U3, a reset switch K1, a slide switch U4, a capacitor C7 and a capacitor C8, wherein one end of the reset switch K1 is connected to the P4.4 pin of the single-chip chip U3, and the other end is grounded, the pin 1 of the slide switch U4 is connected to the power supply voltage conversion circuit, the pin 2 is connected to the VCC pin of the single-chip chip U3, and the pin 4 is grounded, one end of the capacitor C7 and the capacitor C8 are connected in parallel to the VCC pin of the single-chip chip U3, and the other end is grounded, the AGND pin and the GND pin of the single-chip chip U3 are both grounded, The AVREF pin, AVCC pin and VCC pin of the single-chip microcomputer chip U3 are connected in parallel, the P3.0 pin of the single-chip microcomputer chip U3 is connected to the TXD pin of the USB-to-serial port chip U2, the P3.1 pin of the single-chip microcomputer chip U3 is connected to the RXD pin of the USB-to-serial port chip U2, the P3.4 pin of the single-chip microcomputer chip U3 is connected to the status indication circuit, the P5.4 pin of the single-chip microcomputer chip U3 is connected to the alarm circuit, the P5.5 pin of the single-chip microcomputer chip U3 is connected to the line switching circuit, and the P0.6 pin of the single-chip microcomputer chip U3 is connected to the peak detection circuit. More specifically, in the embodiment of the present invention, the model of the single-chip microcomputer chip U3 is STC8A8K64S4A12-LQFP44A, the model of the sliding switch U4 is MSS12C02LS-HB2.0, and the capacitors C7 and C8 are both ceramic capacitors with a capacitance value of 10uF.
[0058] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 5 As shown, the liquid crystal display circuit 004 includes an LCD chip U5, and the CS pin, RST pin, RS pin, SDA pin, SCK pin, ROM_CS pin, ROM_SCK pin, ROM_OUT pin and ROM_IN pin of the LCD chip U5 are connected to the P1.1 pin, P1.0 pin, P0.7 pin, P0.5 pin, P0.4 pin, P0.3 pin, P0.2 pin and P0.0 pin of the LCD chip U5 in sequence, and the VDD pin of the LCD chip U5 and the LEDA pin are connected to the 3.3V power supply voltage conversion circuit 0052, and the VSS pin of the LCD chip U5 is grounded. More specifically, in the embodiment of the present invention, the model of the LCD chip U5 is JLX12864G-1504F.
[0059] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 6As shown, the 220V to ±5V power supply voltage circuit 0051 includes an isolation transformer T, a rectifier U6, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a voltage regulator chip U7, a voltage regulator chip U8, a rectifier diode D1 and a rectifier diode D2; wherein, one end of the primary side of the isolation transformer T is connected to the live wire L of the 220V external power supply, and the other end is connected to the neutral wire N of the 220V external power supply, one end of the secondary side of the isolation transformer T is connected to the AC1 AC end of the rectifier, and the other end is connected to the AC2 AC end of the rectifier, the DC+ DC end of the rectifier U6 is connected to one end of the capacitor C9, one end of the capacitor C10 and the VIN pin of the voltage regulator chip U7 in sequence, and the DC- DC end of the rectifier U6 is connected to one end of the capacitor C11, One end of capacitor C12 is connected to the IN pin of the voltage regulator chip U8, the VOUT pin of the voltage regulator chip U7 is connected to one end of capacitor C13, one end of capacitor C14 and the negative electrode of the rectifier diode D1 in sequence, the OUT pin of the voltage regulator chip U8 is connected to one end of capacitor C15, one end of capacitor C16 and the positive electrode of the rectifier diode D2 in sequence, the other end of capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, capacitor C15 and capacitor C16, the GND pin of the voltage regulator chip U7, the GND pin of the voltage regulator chip U8, the positive electrode of the rectifier diode D1 and the negative electrode of the rectifier diode D2 are all grounded, the VOUT pin of the voltage regulator chip U7 outputs a +5V power supply voltage, and the OUT pin of the voltage regulator chip U8 outputs a -5V power supply voltage. More specifically, in an embodiment of the present invention, the model of the isolation transformer T is the SMD audio isolation transformer ED8-600Ω, the model of the rectifier U6 is DB156S (1.5A600V), capacitors C9 and C11 are both ceramic capacitors with a capacitance value of 1mf, capacitors C10 and C12 are both ceramic capacitors with a capacitance value of 330mf, capacitors C13 and C15 are both ceramic capacitors with a capacitance value of 100nf, capacitors C14 and C16 are both ceramic capacitors with a capacitance value of 220uf, the model of the regulator chip U7 is LM7805CT, the model of the regulator chip U8 is LM7905CT, and the model of the rectifier diodes D1 and D2 is 1N4001.
[0060] In the present invention, the 220V to ±5V power supply voltage circuit 0051 is responsible for providing a 5V power supply voltage to the entire single-chip microcomputer circuit. However, since the single-chip microcomputer only requires a 3.3V voltage supply to work, the present invention uses a 5V to 3.3V power supply voltage circuit 0052 to convert the 5V voltage provided by the 220V to ±5V power supply voltage circuit into 3.3V to power the single-chip microcomputer.
[0061] In the present invention, the working principle of the 220V to ±5V power supply voltage circuit 0051 is: first convert the 220V AC into 12V AC through the isolation transformer T, then obtain 12V DC through the rectifier bridge U6, and finally obtain ±5V power through the voltage stabilizing integrated circuit U7 and the voltage stabilizing integrated circuit U8.
[0062] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 7 As shown, the 5V to 3.3V power supply voltage circuit 0052 includes a power converter chip U9, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a resistor R6 and a light emitting diode LED2; wherein, the VIN pin of the power converter chip U9 is connected to the +5V voltage, one end of the capacitor C17 and one end of the capacitor C18 in sequence, the VOUT pin of the power converter chip U9 is connected to the capacitor C19, the capacitor C20 and one end of the resistor R6 in sequence, the other ends of the capacitors C17, C18, C19 and C20 are connected to the ground in parallel with the GND pin of the power converter chip U9, the other end of the resistor R6 is connected to the positive electrode of the light emitting diode LED2, the negative electrode of the light emitting diode LED2 is grounded, and the VOUT pin of the power converter chip U9 outputs a +3.3V power supply voltage, which is used to provide the power supply voltage required for the single-chip computer circuit 003 and the liquid crystal display circuit 004 to work. More specifically, in an embodiment of the present invention, the model of the power converter chip U9 is AMS1117S-3.3, the capacitor C17 is a ceramic capacitor with a capacitance value of 10uf, the capacitors C18 and C20 are both ceramic capacitors with a capacitance value of 100nf, the capacitor C19 is a ceramic capacitor with a capacitance value of 22uf, the resistor R6 is a chip resistor with a resistance value of 1KΩ, and the model of the light-emitting diode LED2 is 150060GS75000.
[0063] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Figure 8As shown, the line switching circuit 008 includes a resistor R2, a transistor U10, a relay RLY1, a switching diode D4 and a relay pin H1; wherein, one end of the resistor R2 is connected to the P5.5 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U10, the collector of the transistor U10 is connected to one end of the coil of the relay RLY1, the emitter of the transistor U10 is grounded, the other end of the coil of the relay RLY1 is connected to the +5V power supply, the switching diode D4 is connected in parallel to the two ends of the coil of the relay RLY1, the normally open contact of the relay RLY1 is connected to the pin 1 of the relay pin row H1, and the normally closed contact of the relay RLY1 is connected to the pin 3 of the relay pin row H1. More specifically, in the embodiment of the present invention, the resistor R2 is a chip resistor with a resistance value of 10KΩ, the model of the transistor U10 is 8050, the relay RLY1 is an optical coupler isolation relay, and the model is SRD-05VDC-SL-C, and the model of the switching diode D4 is IN4148.
[0064] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Fig. 9 As shown, the alarm circuit 009 includes a resistor R1, a transistor U11, a transistor U12, a rectifier diode D3 and a buzzer BUZZER1; wherein, one end of the resistor R1 is connected to the P5.4 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U11, the collector of the transistor U11 and the collector of the transistor U12 are connected in parallel to the cathode of the rectifier diode D3, the emitter of the transistor U11 is connected to the base of the transistor U12, the emitter of the transistor U12 is grounded, the anode of the rectifier diode D3 is connected to the cathode of the buzzer BUZZER1, and the anode of the buzzer BUZZER1 is connected to the +5V power supply. More specifically, in the embodiment of the present invention, the resistor R1 is a chip resistor with a resistance value of 5.6KΩ, the transistors U11 and U12 are both NPN transistors, and the model is 8050, the model of the rectifier diode D3 is IN4001, and the buzzer BUZZER1 is an electromagnetic active buzzer with a frequency of 2700HZ.
[0065] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Fig.10As shown, the state indicating circuit 010 includes a resistor R3, a resistor R4, a transistor U13 and a light emitting diode LED1; wherein one end of the resistor R3 is connected to the P3.4 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U13, the collector of the transistor U13 is connected to the negative electrode of the light emitting diode LED1, the emitter of the transistor U13 is grounded, the positive electrode of the light emitting diode LED1 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to a +5V power supply. More specifically, in the embodiment of the present invention, the resistors R3 and R4 are chip resistors with a resistance value of 10KΩ, the transistor U13 is an NPN transistor, and the model is 8050, and the model of the light emitting diode LED1 is 150060GS75000.
[0066] Specifically, as a specific implementation of the present invention, the visual alarm system for preventing ground wire live backflow: Fig.11 As shown, the peak detection circuit 006 includes a voltage comparator circuit 0061, a capacitor charging and discharging circuit 0062 and a voltage follower circuit 0063, wherein the voltage comparator circuit 0061 is composed of a voltage comparator U14, a resistor R5 and a switch diode D5, the capacitor charging and discharging circuit 0062 is composed of a capacitor C21, a capacitor C22 and a capacitor discharge switch K2, the voltage follower circuit 0063 is composed of a voltage follower U15, the pin 3 of the voltage comparator U14 is connected to the pin 2 of the current transformer CT, the pin 1 of the current transformer CT is grounded, the pin 2 of the voltage comparator U14 is connected to the voltage follower Pin 2 and pin 6 of U15 are connected in parallel to the P0.6 pin of the microcontroller chip U3, pin 4 of the voltage comparator U14 is connected to the +5V power supply, pin 8 is connected to the -5V power supply, resistor R5 is connected in parallel between pin 1 and pin 4 of the voltage comparator U14, the positive pole of the switching diode D5 is connected to pin 1 of the voltage comparator U14, and the negative pole is connected to pin 3 of the voltage follower U15, one end of the capacitor C21, capacitor C22 and capacitor discharge switch K2 are connected in parallel between the negative pole of the switching diode D5 and pin 3 of the voltage follower U15, and the other end is grounded, pin 4 of the voltage follower U15 is connected to the +5V power supply, and pin 7 is connected to the -5V power supply. More specifically, in the embodiment of the present invention, the model of the voltage comparator U14 is LM393ADA, the resistor R5 is a chip resistor with a resistance value of 10KΩ, the model of the switching diode D5 is IN4148, the capacitors C21 and C22 are both ceramic capacitors with a capacitance value of 100nF, the model of the voltage follower U15 is OP07CP, and the current transformer CT007 is a CT505L lead-through type AC micro current transformer.
[0067] See also Fig.12 As shown, the present invention provides a visual alarm method for preventing ground wire live backflow, which is implemented based on the above-mentioned visual alarm system for preventing ground wire live backflow, and specifically comprises the following steps:
[0068] S1. Insert the ground wire to be tested into the mutual induction coil of the current transformer CT007;
[0069] S2, start to conduct live detection on the ground wire to be tested. When the ground wire to be tested is live, use the current transformer CT007 to sense and sample the current generated on the ground wire to be tested, and convert the sensed current sampling signal into a voltage signal and input it into the peak detection circuit 006;
[0070] S3, using the peak detection circuit 006 to perform peak detection on the input induced voltage signal, and then keep outputting the corresponding peak voltage signal;
[0071] S4, input the peak voltage signal output by the peak detection circuit 006 into the single-chip circuit 003, use the ADC module of the single-chip circuit 003 to perform ADC analog-to-digital conversion on the input peak voltage signal so that it changes from a voltage analog value to a voltage digital value, and use the liquid crystal display module in the liquid crystal display circuit 004 to display the voltage digital value;
[0072] S5, comparing the voltage digital value obtained in step S4 with the voltage standard threshold preset by the system through the single chip circuit 003 to determine whether the ground wire to be tested is energized;
[0073] If the voltage digital value obtained in step S4 is less than the voltage standard threshold preset by the system, it means that the ground wire to be tested is not energized, and the process proceeds to step S6;
[0074] If the voltage digital value obtained in step S4 is greater than the voltage standard threshold preset by the system, it means that the ground wire to be tested is energized, and the process proceeds to step S7;
[0075] S6, controlling the liquid crystal display module in the liquid crystal display circuit 004 through the single chip computer circuit 003 to display that the ground line to be tested is not energized, and returning to step S2 to continue sampling;
[0076] S7, control the alarm circuit 009 to sound an alarm through the single chip circuit 003, and control the liquid crystal display module in the liquid crystal display circuit 004 through the single chip circuit 003 to display that the ground wire to be tested is charged, and then enter step S8;
[0077] S8, the single chip circuit 003 controls the line switching circuit 008 to disconnect the ground wire to prevent the ground wire from being charged back, and decides whether to enable the backup ground wire as needed. If there is a backup ground wire, the backup ground wire is enabled, otherwise the backup ground wire is not connected, and the process returns to step S2 to continue sampling;
[0078] S9, check whether there is anyone to inspect, if no one is inspecting, return to step S2 to continue sampling; if there is someone to inspect, check whether the person presses the sampling reset key;
[0079] If the sampling reset button is not pressed, there are two situations: one is that the maintenance is terminated, the fault still exists, and the alarm sound continues. At this time, you should immediately return to step S2 to continue sampling; the other is maintenance with alarm sound;
[0080] If the sampling reset button is pressed, the alarm sound disappears, and the LCD module shows that it is not powered. Then check whether there is any further maintenance;
[0081] If there is no further maintenance, the process returns to step S2 to continue sampling. At this time, the fault has not been eliminated, the alarm sounds again, and the LCD module shows that the ground wire is energized;
[0082] If further maintenance is required, the ground wire is restored to be de-energized, and the single-chip microcomputer circuit 003 controls the line switching circuit 008 to connect the ground wire;
[0083] If the backup ground wire is enabled when the original ground wire is disconnected, the backup ground wire is disconnected at this time, and then the process returns to step S2 to continue sampling. At this time, the fault has been eliminated, the alarm sound is no longer ringing, and the LCD module displays that the ground wire is not energized;
[0084] If there is no backup ground wire when the original ground wire is disconnected, the process directly returns to step S2 to continue sampling.
[0085] In this way, the system constitutes an infinite loop sampling, which can detect in real time whether the ground wire is energized and whether it has been restored. If it is energized, the line is disconnected for protection, and if the fault is eliminated, the line is restored.
[0086] The ground wire live backflow prevention visual alarm system provided by the present invention is mainly used for installation in household high-voltage power boxes and some enterprise high-voltage power boxes.
[0087] When installed in a household power box, it can form an "intelligent anti-ground wire reverse electricity visual alarm household power box" to prevent users in the same unit and the same ground wire from leaking electricity from other homes and making their own ground wire energized when the ground wire wiring is abnormal.
[0088] When installed in the enterprise's high-voltage power box, it can form an "intelligent anti-ground wire reverse electricity visual alarm special high-voltage power box", which can prevent the production line and the same power box from being abnormal due to complex lines. In the case of abnormalities in some lines, the ground wire of the high-voltage power box may be energized, causing abnormalities or damage to the equipment.
[0089] The use principle of the visual alarm system for preventing ground wire live backflow provided by the present invention is: first, a current transformer is used to detect an induced voltage signal generated on the measured ground line. If the measured ground line is live, the current transformer will sense the corresponding voltage signal and input it to the peak detection circuit. Subsequently, after detection and processing by the peak detection circuit, a certain measurement voltage will be sent to the single-chip microcomputer circuit for AD sampling. The single-chip microcomputer circuit determines whether the measurement voltage reaches the trigger voltage. If the measurement voltage reaches the trigger voltage set by the program, the single-chip microcomputer circuit will control the relay in the line switching circuit to be converted from normally closed to normally open, disconnect the live ground wire, and at the same time make the buzzer sound an alarm, and visualize the change of the measurement voltage from high to zero through the liquid crystal screen.
[0090] Finally, it should be noted that the above description is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A visual alarm system to prevent ground wire backflow. Features The invention comprises a single chip computer circuit (003), a liquid crystal display circuit (004), a power supply voltage conversion circuit (005), a peak detection circuit (006), a current transformer CT (007), a line switching circuit (008), an alarm circuit (009) and a status indicator light circuit (010), wherein the power supply voltage conversion circuit (005) comprises a 220V to ±5V power supply voltage circuit (0051) and a 5V to 3.3V power supply voltage circuit (0052), wherein the 220V to ±5V power supply voltage circuit (0051) is connected to the 5V to 3.3V power supply voltage circuit (0052) respectively. .3V power supply voltage circuit (0052) and peak detection circuit (006), the 5V to 3.3V power supply voltage circuit (0052) is respectively connected to the single chip computer circuit (003) and the liquid crystal display circuit (004), the single chip computer circuit (003) is respectively connected to the liquid crystal display circuit (004), the peak detection circuit (006), the line switching circuit (008), the alarm circuit (009) and the status indicator light circuit (010), and the current transformer CT (007) is connected to the peak detection circuit (006).
2. The visual alarm system for preventing ground wire backflow according to claim 1, Features : It also includes an Android power supply circuit (001) and a serial port download circuit (002), wherein the Android power supply circuit (001) is connected to the serial port download circuit (002), and the serial port download circuit (002) is connected to the single-chip computer circuit (003).
3. The ground wire live backflow prevention visual alarm system according to claim 2, Features : The Android power supply circuit (001) comprises a USB chip U1, a capacitor C1 and a capacitor C2, wherein the capacitor C1 and the capacitor C2 are connected in parallel between the VBUS pin and the GND pin of the USB chip U1, the VBUS pin of the USB chip U1 is connected to a +5V power supply, and the GND pin of the USB chip U1 is grounded; The serial port download circuit (002) comprises a USB to serial port chip U2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6 and a crystal oscillator X1, wherein the capacitor C3 is connected between the GND pin and the V3 pin of the USB to serial port chip U2, one end of the capacitor C4 is connected to the XI pin of the USB to serial port chip U2, and the other end is grounded, one end of the capacitor C5 is connected to the XO pin of the USB to serial port chip U2, and the other end is grounded, one end of the capacitor C6 is connected to the VCC pin of the USB to serial port chip U2, and the other end is grounded, the crystal oscillator X1 is connected between the XI pin and the XO pin of the USB to serial port chip U2, the GND pin of the USB to serial port chip U2 is grounded, the UD+ pin of the USB to serial port chip U2 is connected to the D+ pin of the USB to serial port chip U1, the UD- pin of the USB to serial port chip U2 is connected to the D- pin of the USB to serial port chip U1, and the VCC pin of the USB to serial port chip U2 is connected to a +5V power supply; The single-chip computer circuit (003) comprises a single-chip computer chip U3, a reset switch K1, a slide switch U4, a capacitor C7 and a capacitor C8, one end of the reset switch K1 is connected to the P4.4 pin of the single-chip computer chip U3, and the other end is grounded, pin 1 of the slide switch U4 is connected to a 5V to 3.3V power supply voltage circuit (0052), pin 2 is connected to the VCC pin of the single-chip computer chip U3, and pin 4 is grounded, one end of the capacitor C7 and the capacitor C8 are connected in parallel to the VCC pin of the single-chip computer chip U3, and the other end is grounded, the AGND pin and the GND pin of the single-chip computer chip U3 are both grounded, and the A pin of the single-chip computer chip U3 is connected to the VCC pin of the single-chip computer chip U3. The VREF pin, the AVCC pin and the VCC pin are connected in parallel, the P3.0 pin of the single-chip microcomputer chip U3 is connected to the TXD pin of the USB-to-serial port chip U2, the P3.1 pin of the single-chip microcomputer chip U3 is connected to the RXD pin of the USB-to-serial port chip U2, the P3.4 pin of the single-chip microcomputer chip U3 is connected to the status indicator light circuit (010), the P5.4 pin of the single-chip microcomputer chip U3 is connected to the alarm circuit (009), the P5.5 pin of the single-chip microcomputer chip U3 is connected to the line switching circuit (008), and the P0.6 pin of the single-chip microcomputer chip U3 is connected to the peak detection circuit (006); The liquid crystal display circuit (004) includes an LCD chip U5, and the CS pin, RST pin, RS pin, SDA pin, SCK pin, ROM_CS pin, ROM_SCK pin, ROM_OUT pin and ROM_IN pin of the LCD chip U5 are connected to the P1.1 pin, P1.0 pin, P0.7 pin, P0.5 pin, P0.4 pin, P0.3 pin, P0.2 pin and P0.0 pin of the LCD chip U5 in sequence, the VDD pin and LEDA pin of the LCD chip U5 are connected to the 5V to 3.3V power supply voltage circuit (0052), and the VSS pin of the LCD chip U5 is grounded.
4. The visual alarm system for preventing ground wire backflow according to claim 3, Features The 220V to ±5V power supply voltage circuit (0051) comprises an isolation transformer T, a rectifier U6, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a voltage regulator chip U7, a voltage regulator chip U8, a rectifier diode D1 and a rectifier diode D2; one end of the primary side of the isolation transformer T is connected to the live wire L of the 220V external power supply, and the other end is connected to the neutral wire N of the 220V external power supply; one end of the secondary side of the isolation transformer T is connected to the AC1 AC end of the rectifier, and the other end is connected to the AC2 AC end of the rectifier; the DC+ DC end of the rectifier U6 is connected to one end of the capacitor C9, one end of the capacitor C10 and the VIN pin of the voltage regulator chip U7 in sequence; the DC- DC end of the rectifier U6 is connected to one end of the capacitor C11, one end of the capacitor C12 and the VIN pin of the voltage regulator chip U7 in sequence; One end is connected to the IN pin of the voltage regulator chip U8, the VOUT pin of the voltage regulator chip U7 is connected to one end of the capacitor C13, one end of the capacitor C14 and the negative electrode of the rectifier diode D1 in sequence, the OUT pin of the voltage regulator chip U8 is connected to one end of the capacitor C15, one end of the capacitor C16 and the positive electrode of the rectifier diode D2 in sequence, the other end of the capacitor C9, capacitor C10, capacitor C11, capacitor C12, capacitor C13, capacitor C14, capacitor C15 and capacitor C16, the GND pin of the voltage regulator chip U7, the GND pin of the voltage regulator chip U8, the positive electrode of the rectifier diode D1 and the negative electrode of the rectifier diode D2 are all grounded, the VOUT pin of the voltage regulator chip U7 outputs a +5V power supply voltage, and the OUT pin of the voltage regulator chip U8 outputs a -5V power supply voltage.
5. The visual alarm system for preventing ground wire backflow according to claim 3, Features The 5V to 3.3V power supply voltage circuit (0052) comprises a power converter chip U9, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a resistor R6 and a light emitting diode LED2; the VIN pin of the power converter chip U9 is connected to a +5V voltage, one end of the capacitor C17 and one end of the capacitor C18 in sequence, the VOUT pin of the power converter chip U9 is connected to the capacitor C19, the capacitor C20 and one end of the resistor R6 in sequence, the other ends of the capacitors C17, C18, C19 and C20 are connected to the ground in parallel with the GND pin of the power converter chip U9, the other end of the resistor R6 is connected to the positive electrode of the light emitting diode LED2, the negative electrode of the light emitting diode LED2 is grounded, and the VOUT pin of the power converter chip U9 outputs a +3.3V power supply voltage for providing the single chip microcomputer circuit (003) and the liquid crystal display circuit (004) with the power supply voltage required for operation.
6. The visual alarm system for preventing ground wire backflow according to claim 3, Features The line switching circuit (008) comprises a resistor R2, a transistor U10, a relay RLY1, a switching diode D4 and a relay pin H1, one end of the resistor R2 is connected to the P5.5 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U10, the collector of the transistor U10 is connected to one end of the coil of the relay RLY1, the emitter of the transistor U10 is grounded, the other end of the coil of the relay RLY1 is connected to a +5V power supply, the switching diode D4 is connected in parallel to the two ends of the coil of the relay RLY1, the normally open contact of the relay RLY1 is connected to the pin 1 of the relay pin row H1, and the normally closed contact of the relay RLY1 is connected to the pin 3 of the relay pin row H1.
7. The visual alarm system for preventing ground wire backflow according to claim 3, Features The alarm circuit (009) comprises a resistor R1, a transistor U11, a transistor U12, a rectifier diode D3 and a buzzer BUZZER1, one end of the resistor R1 is connected to the P5.4 pin of the single-chip microcomputer chip U3, and the other end is connected to the base of the transistor U11, the collector of the transistor U11 and the collector of the transistor U12 are connected in parallel to the cathode of the rectifier diode D3, the emitter of the transistor U11 is connected to the base of the transistor U12, the emitter of the transistor U12 is grounded, the anode of the rectifier diode D3 is connected to the cathode of the buzzer BUZZER1, and the anode of the buzzer BUZZER1 is connected to a +5V power supply.
8. The visual alarm system for preventing ground wire backflow according to claim 3, Features The status indicator light circuit (010) comprises a resistor R3, a resistor R4, a transistor U13 and a light emitting diode LED1, one end of the resistor R3 is connected to the P3.4 pin of the single chip microcomputer chip U3, and the other end is connected to the base of the transistor U13, the collector of the transistor U13 is connected to the cathode of the light emitting diode LED1, the emitter of the transistor U13 is grounded, the anode of the light emitting diode LED1 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to a +5V power supply.
9. The visual alarm system for preventing ground wire backflow according to claim 3, Features The peak detection circuit (006) comprises a voltage comparator circuit (0061), a capacitor charging and discharging circuit (0062) and a voltage follower circuit (0063), wherein the voltage comparator circuit (0061) is composed of a voltage comparator U14, a resistor R5 and a switch diode D5, the capacitor charging and discharging circuit (0062) is composed of a capacitor C21, a capacitor C22 and a capacitor discharge switch K2, the voltage follower circuit (0063) is composed of a voltage follower U15, the pin 3 of the voltage comparator U14 is connected to the pin 2 of the current transformer CT, the pin 1 of the current transformer CT is grounded, the pin 2 of the voltage comparator U14 is connected to the pin 2 of the current transformer CT, and the pin 1 of the voltage comparator U14 is grounded. Pins 2 and 6 of the voltage follower U15 are connected in parallel to the P0.6 pin of the single-chip microcomputer chip U3, pin 4 of the voltage comparator U14 is connected to a +5V power supply, and pin 8 is connected to a -5V power supply, the resistor R5 is connected in parallel between pins 1 and 4 of the voltage comparator U14, the positive pole of the switching diode D5 is connected to pin 1 of the voltage comparator U14, and the negative pole is connected to pin 3 of the voltage follower U15, one end of the capacitor C21, capacitor C22 and capacitor discharge switch K2 are connected in parallel between the negative pole of the switching diode D5 and pin 3 of the voltage follower U15, and the other end is grounded, pin 4 of the voltage follower U15 is connected to a +5V power supply, and pin 7 is connected to a -5V power supply.
10. A visual alarm method for preventing ground wire live backflow, which is implemented based on the visual alarm system for preventing ground wire live backflow as claimed in claim 1. Features: The following steps are included: S1. Insert the ground wire to be tested into the mutual induction coil of the current transformer CT (007) in the ground wire live backflow prevention visual alarm system described in claim 1; S2, start to perform live detection on the ground wire to be tested. When the ground wire to be tested is live, use the current transformer CT (007) to sense and sample the current generated on the ground wire to be tested, and convert the sensed current sampling signal into a voltage signal and input it into the peak detection circuit; S3, using the peak detection circuit (006) to perform peak detection on the input induced voltage signal, and then maintaining the output of the corresponding peak voltage signal; S4, inputting the peak voltage signal output by the peak detection circuit (006) into the single-chip microcomputer circuit (003), using the ADC module of the single-chip microcomputer circuit (003) to perform ADC analog-to-digital conversion on the input peak voltage signal so that it changes from a voltage analog value to a voltage digital value, and using the liquid crystal display module in the liquid crystal display circuit (004) to display the voltage digital value; S5, comparing the voltage digital value obtained in step S4 with the voltage standard threshold preset by the system through the single chip computer circuit (003), and determining whether the ground wire to be tested is energized; If the voltage digital value obtained in step S4 is less than the voltage standard threshold preset by the system, it means that the ground wire to be tested is not energized, and the process proceeds to step S6; If the voltage digital value obtained in step S4 is greater than the voltage standard threshold preset by the system, it means that the ground wire to be tested is energized, and the process proceeds to step S7; S6, controlling the liquid crystal display module in the liquid crystal display circuit (004) through the single chip computer circuit (003) to display that the ground line to be tested is not energized, and returning to step S2 to continue sampling; S7, controlling the alarm circuit (009) to emit an alarm tone through the single chip computer circuit (003), and controlling the liquid crystal display module in the liquid crystal display circuit (004) to display that the ground wire to be tested is charged through the single chip computer circuit (003), and then proceeding to step S8; S8, controlling the line switching circuit (008) to disconnect the ground wire through the single chip microcomputer circuit (003) to prevent the ground wire from being charged back, and deciding whether to enable the backup ground wire as required. If there is a backup ground wire, the backup ground wire is enabled, otherwise the backup ground wire is not connected, and returning to step S2 to continue sampling; S9, check whether there is anyone to inspect, if not, return to S2 to continue sampling; if there is someone to inspect, check whether he presses the sampling reset button; If the sampling reset button is not pressed, there are two situations: one is that the maintenance is terminated, the fault still exists, and the alarm sound continues. At this time, you should immediately return to step S2 to continue sampling; the other is maintenance with alarm sound; If the sampling reset button is pressed, the alarm sound disappears, and the LCD module shows that it is not powered. Then check whether there is any further maintenance; If there is no further maintenance, the process returns to step S2 to continue sampling. At this time, the fault has not been eliminated, the alarm sounds again, and the LCD module shows that the ground wire is energized; If further maintenance is required, the ground wire is restored to be unpowered, and the single-chip microcomputer circuit control circuit switching circuit is connected to the ground wire; If the backup ground wire is enabled when the original ground wire is disconnected, the backup ground wire is disconnected at this time, and then the process returns to step S2 to continue sampling. At this time, the fault has been eliminated, the alarm sound is no longer ringing, and the LCD module displays that the ground wire is not energized; If there is no backup ground wire when the original ground wire is disconnected, the process directly returns to step S2 to continue sampling.
Citation Information
Patent Citations
Novel protection grounding live-line alarm and protection circuit
CN106602500A
Grounding wire monitoring device, EOS (Electrical Over Stress) monitoring system and method
CN110146769A
Distribution transformer ground wire alarm device
CN112485501A
Substrate processing apparatus and substrate placing method
KR1020240127890A
System for electrical safety alarm through discharge detection
KR102531957B1
