Summary of the invention
In view of this, the invention is directed to a kind of three-phase power input phase-loss detection circuit, to improve pile defection accuracy with effective.
For reaching above-mentioned purpose, the technical scheme of the invention is achieved in that
A kind of three-phase power input phase-loss detection circuit, output circuit, signal output conversion circuit is compared including the three phase mains input change-over circuit being sequentially connected with, signal, described three phase mains input change-over circuit is the Phototube Coupling change-over circuit for three phase mains is converted to low-voltage dc signal, described signal compares output circuit and includes multiple comparator and switching tube, by the switch of the output output control switching tube of comparator;Described signal output conversion circuit is signal to compare the output signal of output circuit carry out the photoelectric coupling circuit of photoelectric coupling
Further, described three phase mains input change-over circuit includes 3 optocouplers, and the three-phase output signal in three phase mains connects the input of 3 optocouplers respectively by a resistance, and the outfan of an each optocoupler diode in parallel, the anode of 3 diodes is connected;The outfan of 3 optocouplers connects power supply by a pull-up resistor respectively, is simultaneously connected with signaling conversion circuit two.
Relative to prior art, the invention has the advantage that
(1) this circuit is possible not only to the detection realizing directly carrying out three phase mains input phase failure, access single-chip microcomputer pin, it is easy to the single-chip microcomputer detection to three phase mains input phase failure, and three optocouplers of circuit front-end add the circuit that a chip just can realize the zero point detection of three phase mains again;There is the highest accuracy with effective, very easy to use;
(2) good stability, capacity of resisting disturbance is strong, can support single-chip microcomputer collection.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the invention and the feature in embodiment can be mutually combined.
Describe the invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
A kind of three-phase power input phase-loss detection circuit, as shown in Figure 1, output circuit 200, signal output conversion circuit 300 is compared including the three phase mains input change-over circuit 100 being sequentially connected with, signal, described three phase mains input change-over circuit 100 is the Phototube Coupling change-over circuit being used for being converted to three phase mains low-voltage dc signal, described signal compares output circuit 200 and includes multiple comparator and switching tube, by the switch of the output output control switching tube of comparator;Described signal output conversion circuit 300 is the photoelectric coupling circuit of output signal.
As in figure 2 it is shown, described three phase mains input change-over circuit 100 includes resistance R1, resistance R2, resistance R3, diode D1, diode D2, diode D3, optocoupler U1, optocoupler U2, optocoupler U3, resistance R4, resistance R5, resistance R6, electric capacity C1;
One end of described resistance R1 is used for being connected with the B phase in three phase mains, the other end connects diode D1 forward pin, reconnect 1 foot of optocoupler U1,2 feet of optocoupler U1 are connected with the negative sense pin of diode D1, outfan 3 foot of optocoupler U1 meets a pull-up resistor R4, being connected with the input of signal comparator circuit 200 as output, resistance R4 is 12V voltage pull-up, the 4 foot ground connection (GND) of optocoupler U1;
One end of described resistance R2 is used for being connected with the C phase in three phase mains, and the other end connects diode D2 forward pin, reconnects 1 foot of optocoupler U2, and 2 feet of optocoupler U2 are connected with the negative sense pin of diode D2.Outfan 3 foot of optocoupler U2 meets a pull-up resistor R5, is connected as output and with signal comparator circuit 200 input, and resistance R5 is 12V voltage pull-up, the 4 foot ground connection (GND) of optocoupler U2.
One end of described resistance R3 is used for being connected with the A phase in three phase mains, and the other end connects diode D3 forward pin, reconnects 1 foot of optocoupler U3, and 2 feet of optocoupler U3 are connected with the negative sense pin of diode D3.Outfan 3 foot of optocoupler U3 meets a pull-up resistor R6, is connected with signal comparator circuit 200 input as output, and resistance R6 is 12V voltage pull-up, the 4 foot ground connection (GND) of optocoupler U3.
As shown in Figure 3, described signal comparator circuit 200 includes that resistance R7, resistance R8, resistance R9, resistance R10, resistance R11, resistance R12, resistance R13, electric capacity C2, electric capacity C3, electric capacity C4, diode D4, diode D5, diode D6, audion Q1, audion Q2, chip U4A, chip U4B, chip U4C, chip U4D, described chip U4A, chip U4B, chip U4C, chip U4D are and haggle over device;
Outfan 3 foot of described optocoupler U1 is connected with 7 pins of chip U4A, and outfan 3 foot of optocoupler U2 is connected with 11 pins of chip U4D, and outfan 3 foot of optocoupler U3 is connected with 9 pins of chip U4C;
Resistance R7 mono-terminates 12V power supply, another ground connection of other end connecting resistance R8, resistance R8, forms a bleeder circuit, dividing potential drop is filtered processing by electric capacity C2, and the voltage that dividing potential drop obtains connects 6 feet of chip U4A respectively, connects 10 feet of chip U4D, 8 feet of connection chip U4C;1 foot of chip U4A, 13 feet of chip U4D, 14 feet of chip U4C link together, and are connected to the base stage of audion Q1, are simultaneously connected with another termination 12V power supply of resistance R9, resistance R9;
12V power supply is by diode D4 and diode D5, the base stage of difference connecting triode Q2 and one end of resistance R10, the colelctor electrode of the other end connecting triode Q1 of resistance R10, the grounded emitter of audion Q1;
12V power supply is connected by the emitter stage of resistance R11 and audion Q2, and the colelctor electrode of audion Q2 connects diode D6 and resistance R12 one end and 4 feet of chip U4B, two has another of pipe D6 to terminate 12V power supply;The other end ground connection of resistance R12;Electric capacity C3, one end of electric capacity C4 are all connected with 4 feet of chip U4B, electric capacity C3, the other end ground connection of electric capacity C4.
2 feet of described chip U4B compare outfan as signal, and connect 12V power supply by resistance R13.
As shown in Figure 4, described signal output conversion circuit 300 includes resistance R14, resistance R15, optocoupler U5,2 feet of described optocoupler U5 connect the outfan of signal comparator circuit 200,1 foot of optocoupler U5 connects 12V power supply by resistance R14,4 feet of optocoupler U5 are as the outfan after signal conversion, and the input power V3 meeting 5V or 3.3V by resistance R15, it is suitable for different level system.
Described resistance R1, resistance R2, resistance R3 be nominal resistance be 100K, power be the metal film oxide capacitance of 3W.
Described resistance R4, resistance R5, resistance R6, resistance R9, the nominal resistance of resistance R14 is 2K.
The nominal resistance of described resistance R7 is 2.4K, the nominal resistance of described resistance R8 is 5.6K, the nominal resistance of described resistance R10 is 1K, the nominal resistance of described resistance R11 is 910 Ω, the nominal resistance of described resistance R12 is 59K, the nominal resistance of described resistance R13 is 15K, and the nominal resistance of described resistance R15 is 10K.
Described diode D1, diode D2, diode D3, diode D4, diode D5 are the 1N4148 being encapsulated as DO-35.
Described electric capacity C1, the nominal capacitance of electric capacity C3 are 1UF, and the nominal capacitance of described electric capacity C2 is 100NF, and the nominal capacitance of described electric capacity C4 is 4.7UF.
Described chip U4A, chip U4B, chip U4C, chip U4D all select LM339AD.
Described audion Q1 is PN222 (or 9013 etc NPN audion);Audion Q2 is 2N2905A (or 9015 etc PNP triode).
Described optocoupler U1, optocoupler U2, optocoupler U3, optocoupler U5 are TLP521 (or being PC817).
Three phase mains is converted to low-voltage dc signal by three phase mains input change-over circuit (100) of the invention three-phase power input phase-loss detection circuit, compare output circuit (200) to be connected with signal, the input of output pin and signal output conversion circuit (300) that signal compares output circuit (200) is connected, the output signal of final signal output conversion circuit (300) can be sent directly into single-chip microcomputer pin and detect, in the case of there is no phase shortage, OUTPUT pin in signal output conversion circuit (300) will export high level always, in the case of three phase mains input phase failure, OUTPUT pin in signal output conversion circuit (300) can export the square-wave signal that a series of dutycycle is the same.Therefore, when three phase mains input has the situation of phase shortage, single-chip microcomputer can collect default phase signal timely, and the very first time makes a response, it is to avoid the generation of fault.
The foregoing is only the preferred embodiment of the invention; not in order to limit the invention; within all spirit in the invention and principle, any modification, equivalent substitution and improvement etc. made, within should be included in the protection domain of the invention.