SUMMERY OF THE UTILITY MODEL
To the problem, the utility model provides a commercial power zero live wire detection circuitry and prevent uninterrupted power source that commercial power misconnected can accurate detection commercial power zero live wire.
The utility model provides a commercial power zero live line detection circuit in a first aspect, which comprises a half-wave rectifier module, a current limiting module and an optocoupler module; the half-wave rectification module is respectively connected with the current limiting module, the optocoupler module and a detection node, the detection node is used for accessing a line to be detected of commercial power, and the half-wave rectification module is used for converting alternating current into half-wave direct current when the alternating current is input into the detection node; the current limiting module is also connected to a grounding node, the grounding node is used for being connected with a mains supply ground wire, and the current limiting module is used for limiting circuit current when alternating current is input into the detection node so as to protect the optocoupler module; the optical coupling module is used for outputting a first signal representing that the detection line to be detected is a live wire when detecting that the half-wave rectification module outputs half-wave direct current, and outputting a second signal representing that the detection line to be detected is a zero wire when detecting that the half-wave rectification module does not output half-wave direct current.
Preferably, the half-wave rectification module comprises a first diode and a second diode, and the optical coupling module comprises an optical coupler, an optical coupling resistor and an optical coupling power supply; the anode of the first diode and the cathode of the second diode are both connected to the current limiting module; the cathode of the first diode is connected to the detection node and the anode of the light-emitting diode of the optical coupler; the anode of the second diode is connected to the cathode of the light-emitting diode of the optical coupler; an emitting electrode of a phototriode of the optocoupler is grounded; a collector electrode of a phototriode of the optocoupler is connected with a first end of the optocoupler resistor, and a connected common end is used as an output end of the optocoupler module; and the second end of the optical coupler resistor is connected with the optical coupler power supply.
Preferably, the current limiting module comprises a first resistor and a second resistor, the first resistor and the second resistor are connected in series, a first end of the series connection of the first resistor and the second resistor is connected to the half-wave rectification module, and a second end of the series connection of the first resistor and the second resistor is connected to the ground node.
Preferably, the circuit further includes a filtering module, the filtering module is connected between the current limiting module and the ground node, and the filtering module is configured to filter so that the optical coupling module stably operates.
Preferably, the filtering module comprises a first capacitor and a second capacitor, the first capacitor and the second capacitor are connected in parallel, a first common end of the first capacitor and the second capacitor connected in parallel is connected to the current limiting module, and a second common end of the first capacitor and the second capacitor connected in parallel is connected to the ground node.
Preferably, the circuit further comprises a processor and a fault handling module; the processor is respectively connected with the optical coupling module and the fault processing module and used for controlling the fault processing module to carry out fault early warning or fault processing when the optical coupling module outputs the first signal.
Preferably, the processor is an ARM chip or a DSP chip.
The utility model provides a second aspect provides an uninterrupted power source who prevents commercial power misconnection, include first uninterrupted power source and like this first aspect commercial power zero live wire detection circuitry, first uninterrupted power source's casing is connected to ground connection node, first uninterrupted power source's zero line interface connection is to detect the node.
In a commercial power zero live wire detection circuitry that this application provided, detection node is used for inserting treats the detection line, and half-wave rectifier module will when detection node input alternating current the alternating current converts half-wave direct current into, and the opto-coupler module is detecting output characterization when half-wave rectifier module outputs half-wave direct current treat the first signal that the detection line is the live wire, detect output characterization when half-wave rectifier module does not output half-wave direct current treat that the detection line is the second signal of zero line, can accurately treat according to the signal of opto-coupler module output that the detection line is live wire or zero line.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings, which are given for illustrative purposes only and are not to be construed as limiting the invention, including the drawings, which are only used for reference and illustration, and which do not constitute limitations to the scope of the invention, since many modifications may be made to the invention without departing from the spirit and scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a commercial power zero line and live line detection circuit provided in an embodiment of the present application, including:
the half-wave rectification module 11 is used for converting alternating current into half-wave direct current when the alternating current is input into the detection node;
the current limitingmodule 12 is used for limiting circuit current when the alternating current is input into a detection node so as to protect the optical coupling module;
theoptical coupling module 13 is configured to output a first signal indicating that the to-be-detected line is a live line when detecting that the half-wave rectification module outputs a half-wave direct current, and output a second signal indicating that the to-be-detected line is a zero line when detecting that the half-wave rectification module does not output a half-wave direct current.
When the commercial power zero-live wire detection circuit provided by the embodiment is used for commercial power zero-live wire detection, the grounding node is connected with a commercial power ground wire, a wire to be detected is connected to the detection node, if the connected line to be detected is a live wire, at the moment, because the potential of the detection node is higher than that of the grounding node, the live wire inputs alternating current at the detection node, the half-wave rectification module 11 converts the alternating current in the circuit into half-wave direct current (at the moment, the current waveform of the circuit is changed from sine wave to square wave), and theoptical coupling module 13 detects the half-wave direct current and outputs a first signal representing that the line to be detected is the live wire; if the accessed to-be-detected line is a zero line, at this time, because the potential of the detection node is equal to the potential of the grounding node, the half-wave rectification module 11 does not work, theoptical coupling module 13 cannot detect the half-wave direct current and outputs a second signal representing that the to-be-detected line is the zero line. Therefore, the detection node can be judged to be connected with the live wire or the zero wire only according to the signal output by the output node.
Preferably, commercial power zero live line detection circuitry can also include treater and fault handling module, the treater connect respectively in optical coupling module with fault handling module is used for optical coupling module output during first signal, control fault handling module carries out trouble early warning or fault handling. Preferably, the processor is an ARM chip or a DSP chip.
The embodiment is generally used as a test circuit, and after the signal output by the optical coupling module is connected with the processor, when the zero line and the live line of the commercial power are reversely connected, the processor receives the representation of the optical coupling module, after the signal of the live line of the detection line is detected, the display screen is controlled to display an alarm code, and the UPS is not started before the zero line and the live line of the commercial power are corrected.
For example, the fault processing module is specifically a signal lamp, the signal lamp is kept unlighted when the detection line is a zero line, the processor controls the signal lamp to be lit when theoptical coupling module 13 outputs a first signal, and at this time, a worker can visually judge that the detection line is a live line.
For example, the fault processing module is specifically a circuit switch, when the switch is closed, the to-be-detected line connected to the detection node is normally connected to the electric equipment, when the switch is disconnected, the to-be-detected line connected to the detection node is disconnected from the electric equipment, and when theoptical coupling module 13 outputs a first signal, the processor controls the switch to be disconnected, so that the electric equipment cannot be damaged due to reverse connection of a zero line and a live line of a mains supply.
The utility model provides a commercial power zero live wire detection circuitry is for prior art, including half-wave rectifier module, current-limiting module and opto-coupler module, half-wave rectifier module is when detecting node input alternating current, will the alternating current converts half-wave direct current into, and the opto-coupler module is detecting the characterization is exported when half-wave rectifier module exports half-wave direct current treat that the detection line is the first signal of live wire, detect the characterization is exported when half-wave rectifier module does not export half-wave direct current treat that the detection line is the second signal of zero line, can judge whether the commercial power zero live wire connects correctly according to the signal of opto-coupler module output. The method and the device can accurately detect the commercial power zero-live wire and have good isolation and low cost.
Based on the above embodiment, this embodiment further describes and optimizes the technical solution, please refer to fig. 2, fig. 2 is a circuit diagram of another commercial power zero line and live line detection circuit provided in this embodiment, and as a preferred embodiment, the circuit diagram includes a half-wave rectification module 21, a current limiting module 22, and an optical coupling module 23.
Specifically, the half-wave rectification module 21 includes a first diode D1 and a second diode D2, and the optocoupler module includes an optocoupler OC1, an optocoupler resistor R1, and an optocoupler power supply; wherein the anode of the first diode D1 and the cathode of the second diode D2 are both connected to the current limiting module 22; the cathode of the first diode D1 is connected to the detection node and the anode of the light emitting diode of the optocoupler OC 1; the anode of the second diode D2 is connected to the cathode of the light emitting diode of the optocoupler OC 1; an emitting electrode of a phototriode of the optocoupler OC1 is grounded; a collector electrode of a phototriode of the optocoupler OC1 is connected with a first end of the optocoupler resistor R1, and a connected common end is used as an output end of the optocoupler module 23; and the second end of the optical coupler resistor R1 is connected with an optical coupler power supply.
When the commercial power zero-live line detection circuit provided by the embodiment is used for commercial power zero-live line detection, the grounding node is connected with a commercial power ground wire, a line to be detected is connected to the detection node, if the access line is a live wire, at the moment, because the potential of the detection node is higher than that of the grounding node, the live wire inputs alternating current at the detection node, and under the combined action of the first diode D1 and the second diode D2, the alternating current passing through the light-emitting diode of the optocoupler OC1 is converted into half-wave direct current (at the moment, the current waveform is changed from sine wave to square wave), so that the light-emitting diode of the optocoupler OC1 is conducted, further, the secondary side of the optocoupler OC1 is conducted, the optocoupler power supply is communicated with the grounding point, and therefore, a low-level signal is output at the output node; if the incoming line is the zero line, because the electric potential of detection node equals with ground connection node this moment, no current in the circuit, opto-coupler OC 1's emitting diode does not switch on, opto-coupler OC 1's vice limit also does not switch on, opto-coupler power and ground connection do not switch on, therefore output node output high level signal. Therefore, the detection node access line can be judged to be a live line or a zero line only according to the signal output by the output node.
Based on the above embodiments, the present embodiment further describes and optimizes the technical solution, please refer to fig. 3, fig. 3 is a circuit diagram of another commercial power zero line and live line detection circuit provided in the present embodiment, as a preferred implementation, including a half-wave rectification module 31, a current limiting module 32, an optical coupling module 33 and a filtering module 34;
specifically, the half-wave rectification module 31 includes a first diode D1 and a second diode D2, the optocoupler module 33 includes an optocoupler OC1, an optocoupler resistor R1 and an optocoupler power supply, the current limiting module 32 includes a first resistor R2 and a second resistor R3, and the filtering module 34 includes a first capacitor C1 and a second capacitor C2; wherein the anode of the first diode D1 and the cathode of the second diode D2 are both connected to the current limiting module 32; the cathode of the first diode D1 is connected to the detection node and the anode of the light emitting diode of the optocoupler OC 1; the anode of the second diode D2 is connected to the cathode of the light emitting diode of the optocoupler OC 1; an emitting electrode of a phototriode of the optocoupler OC1 is grounded; a collector electrode of a phototriode of the optocoupler OC1 is connected with a first end of the optocoupler resistor R1, and a connected common end is used as an output end of the optocoupler module 33; the second end of the optocoupler resistor R1 is connected with an optocoupler power supply; the first resistor R2 and the second resistor R3 are connected in series, and a first end of the series connection of the first resistor R2 and the second resistor R3 is connected to the half-wave rectification module 31, and a second end is connected to the filtering module 34; the first capacitor C1 and the second capacitor C2 are connected in parallel, and a first common terminal of the first capacitor C1 and the second capacitor C2 connected in parallel is connected to the current limiting module 32, and a second common terminal is connected to the ground node. In this embodiment, a specific implementation method of the current limiting module is provided, that is, two resistors are connected in series to limit the current of the circuit, and in an actual application scenario, a person skilled in the art may use other means to set the current limiting module to limit the current of the circuit, which is not limited in this application.
In this embodiment, a filtering module is added in the commercial power zero line and live line detection circuit for filtering, and a specific implementation method of the filtering module is provided, that is, two capacitors are connected in parallel at the ground, and in an actual application scenario, a person skilled in the art can adopt other means to perform filtering processing on the circuit, which is not limited in this application.
The embodiment of the present application still provides an uninterrupted power source who prevents commercial power misconnection, including first uninterrupted power source and like aforementioned embodiment commercial power zero live wire detection circuitry (hereinafter referred to as detection circuitry), first uninterrupted power source's casing is connected to the ground connection node, first uninterrupted power source's zero line interface connection is to detection node.
Specifically, usually, the chassis of the ups is grounded, and the neutral interface of the ups is used to connect to the neutral line of the utility power. In this embodiment, since the ground node of the detection circuit is connected to the housing of the first ups, the ground node of the detection circuit is grounded. When the first uninterruptible power supply in this embodiment is connected to the mains supply, if the line connected to the zero line interface is a live line, at this time, since the zero line interface is connected to a detection node of the detection circuit, the potential of the detection node is higher than that of the ground node, the live line inputs an alternating current at the detection node, the half-wave rectifier module converts the alternating current in the detection circuit into a half-wave direct current (at this time, the current waveform of the detection circuit is changed from a sine wave to a square wave), and the optocoupler module detects the half-wave direct current and outputs a first signal indicating that the line to be detected is the live line; if the line accessed by the zero line interface is the zero line, the half-wave rectification module does not work because the potential of the detection node is equal to the potential of the grounding node, and the optical coupling module cannot detect half-wave direct current and outputs a second signal representing that the line to be detected is the zero line. Therefore, the line accessed to the zero line interface of the uninterruptible power supply can be judged to be the live line or the zero line only according to the signal output by the output node.
The utility model provides a prevent uninterrupted power source of commercial power misconnection is for prior art, uninterrupted power source's zero line interface connection to commercial power zero live wire detection circuitry's detection node, half-wave rectifier module is when detection node input alternating current, will the alternating current converts half-wave direct current into, and opto-coupler module is detecting output representation when half-wave rectifier module exports half-wave direct current treat that the detection line is the first signal of live wire, detect output representation when half-wave rectifier module does not export half-wave direct current treat that the detection line is the second signal of zero line, can judge whether the commercial power zero live wire connects correctly according to the signal of opto-coupler module output. The embodiment of the application can accurately detect the commercial power zero-live wire, and has isolation and low cost.
The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be equivalent replacement modes, and all are included in the scope of the present invention.