Summary of the invention
The object of the embodiment of the present invention is to provide a kind of power-fail detection circuit, is intended to solve the occasion in frequent power down, and light fixture is repeatedly through the influenced problem that can shorten the useful life of light fixture.
The embodiment of the present invention is achieved in that a kind of power-fail detection circuit, connects the power down protection control end of light fixture, and described power-fail detection circuit comprises:
Diode D1, diode D2, voltage-stabiliser tube D3, resistance R 1, resistance R 2, adjustable resistance RP, resistance R 4, photoelectric switch U1, operational amplifier U2 and capacitor C 1;
The anode of described diode D1 connects AC power, the negative electrode of described diode D1 connects the first end of described resistance R 1, the anode of the light-emitting diode of photoelectric switch U1 described in the second termination of described resistance R 1, the negative electrode of described light-emitting diode connects AC power, the collector electrode of the triode of described photoelectric switch U1 connects DC power supply, the emitter of the triode of described photoelectric switch U1 connects the anode of described diode D2, the first end of the negative electrode connecting resistance R2 of described diode D2, the in-phase input end of operational amplifier U2 described in the second termination of described resistance R 2, described capacitor C 1 is connected between the first end and ground of described resistance R 2, described adjustable resistance RP is connected between second end and ground of described resistance R 2, the negative electrode of described voltage-stabiliser tube D3 connects DC power supply, the plus earth of described voltage-stabiliser tube D3, the negative electrode of voltage-stabiliser tube D3 described in the anti-phase input termination of described operational amplifier U2, the power down protection control end of the output termination light fixture of described operational amplifier U2, described resistance R 4 is connected between described DC power supply and the output of operational amplifier U2.
Another object of the embodiment of the present invention is to provide a kind of light fixture, comprises power-fail detection circuit, and described power-fail detection circuit connects the power down protection control end of light fixture, and described power-fail detection circuit comprises:
Diode D1, diode D2, voltage-stabiliser tube D3, resistance R 1, resistance R 2, adjustable resistance RP, resistance R 4, photoelectric switch U1, operational amplifier U2 and capacitor C 1;
The anode of described diode D1 connects AC power, the negative electrode of described diode D1 connects the first end of described resistance R 1, the anode of the light-emitting diode of photoelectric switch U1 described in the second termination of described resistance R 1, the negative electrode of described light-emitting diode connects AC power, the collector electrode of the triode of described photoelectric switch U1 connects DC power supply, the emitter of the triode of described photoelectric switch U1 connects the anode of described diode D2, the first end of the negative electrode connecting resistance R2 of described diode D2, the in-phase input end of operational amplifier U2 described in the second termination of described resistance R 2, described capacitor C 1 is connected between the first end and ground of described resistance R 2, described adjustable resistance RP is connected between second end and ground of described resistance R 2, the negative electrode of described voltage-stabiliser tube D3 connects DC power supply, the plus earth of described voltage-stabiliser tube D3, the negative electrode of voltage-stabiliser tube D3 described in the anti-phase input termination of described operational amplifier U2, the power down protection control end of the output termination light fixture of described operational amplifier U2, described resistance R 4 is connected between described DC power supply and the output of operational amplifier U2.
In embodiments of the present invention, power-fail detection circuit adopts common discrete component to form, alternating current is through diode D1 rectification, resistance R 1 current limliting, make photoelectric switch U1 conducting, thereby DC power supply conducting, via diode D2 rectification, capacitor C 1 filtering, resistance R 2 and adjustable resistance RP form partial pressure circuit of steady voltage, rationally adjusting RP resistance value makes the voltage of in-phase input end of operational amplifier U2 higher than inverting input, operational amplifier U2 exports high level, when power down, operational amplifier U2 output low level, so that the in the situation that of frequent power down, can carry out power down protection, improved the useful life of light fixture.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the circuit structure of the power-fail detection circuit that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention, and details are as follows.
A power-fail detection circuit, connects the power down protection control end of light fixture, and described power-fail detection circuit comprises:
Diode D1, diode D2, voltage-stabiliser tube D3, resistance R 1, resistance R 2, adjustable resistance RP, resistance R 4, photoelectric switch U1, operational amplifier U2 and capacitor C 1;
The anode of described diode D1 connects AC power, the negative electrode of described diode D1 connects the first end of described resistance R 1, the anode of the light-emitting diode of photoelectric switch U1 described in the second termination of described resistance R 1, the negative electrode of described light-emitting diode connects AC power, the collector electrode of the triode of described photoelectric switch U1 meets DC power supply (+5V, following DC power supply is all+5V), the emitter of the triode of described photoelectric switch U1 connects the anode of described diode D2, the first end of the negative electrode connecting resistance R2 of described diode D2, the in-phase input end of operational amplifier U2 described in the second termination of described resistance R 2, described capacitor C 1 is connected between the first end and ground of described resistance R 2, described adjustable resistance RP is connected between second end and ground of described resistance R 2, the negative electrode of described voltage-stabiliser tube D3 connects DC power supply, the plus earth of described voltage-stabiliser tube D3, the negative electrode of voltage-stabiliser tube D3 described in the anti-phase input termination of described operational amplifier U2, the power down protection control end of the output termination light fixture of described operational amplifier U2, described resistance R 4 is connected between described DC power supply and the output of operational amplifier U2.
As one embodiment of the invention, described photoelectric switch U1 adopts the photoelectric switch that model is TLP521.
As one embodiment of the invention, described operational amplifier U2 adopts the operational amplifier that model is LM358.
The embodiment of the present invention also provides a kind of light fixture, comprises power-fail detection circuit, and described power-fail detection circuit connects the power down protection control end of light fixture, and described power-fail detection circuit comprises:
Diode D1, diode D2, voltage-stabiliser tube D3, resistance R 1, resistance R 2, adjustable resistance RP, resistance R 4, photoelectric switch U1, operational amplifier U2 and capacitor C 1;
The anode of described diode D1 connects AC power, the negative electrode of described diode D1 connects the first end of described resistance R 1, the anode of the light-emitting diode of photoelectric switch U1 described in the second termination of described resistance R 1, the negative electrode of described light-emitting diode connects AC power, the collector electrode of the triode of described photoelectric switch U1 connects DC power supply, the emitter of the triode of described photoelectric switch U1 connects the anode of described diode D2, the first end of the negative electrode connecting resistance R2 of described diode D2, the in-phase input end of operational amplifier U2 described in the second termination of described resistance R 2, described capacitor C 1 is connected between the first end and ground of described resistance R 2, described adjustable resistance RP is connected between second end and ground of described resistance R 2, the negative electrode of described voltage-stabiliser tube D3 connects DC power supply, the plus earth of described voltage-stabiliser tube D3, the negative electrode of voltage-stabiliser tube D3 described in the anti-phase input termination of described operational amplifier U2, the power down protection control end of the output termination light fixture of described operational amplifier U2, described resistance R 4 is connected between described DC power supply and the output of operational amplifier U2.
As one embodiment of the invention, described photoelectric switch U1 adopts the photoelectric switch that model is TLP521.
As one embodiment of the invention, described operational amplifier U2 adopts the operational amplifier that model is LM358.
The operation principle of power-fail detection circuit is:
Power-fail detection circuit adopts common discrete component to form; alternating current is through diode D1 rectification; resistance R 1 current limliting; make photoelectric switch U1 conducting; thereby DC power supply conducting; via diode D2 rectification; capacitor C 1 filtering; resistance R 2 and adjustable resistance RP form partial pressure circuit of steady voltage, rationally adjust RP resistance value and make the voltage of in-phase input end of operational amplifier U2 higher than inverting input, and operational amplifier U2 exports high level; when power down; operational amplifier U2 output low level, to the in the situation that of frequent power down, can carry out power down protection.
In embodiments of the present invention, power-fail detection circuit adopts common discrete component to form, alternating current is through diode D1 rectification, resistance R 1 current limliting, make photoelectric switch U1 conducting, thereby DC power supply conducting, via diode D2 rectification, capacitor C 1 filtering, resistance R 2 and adjustable resistance RP form partial pressure circuit of steady voltage, rationally adjusting RP resistance value makes the voltage of in-phase input end of operational amplifier U2 higher than inverting input, operational amplifier U2 exports high level, when power down, operational amplifier U2 output low level, so that the in the situation that of frequent power down, can carry out power down protection, improved the useful life of light fixture.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.