The LED daylight lamp drive circuit of compatible electronic formula, inductance type and alternating current
Technical field
The present invention relates to a kind of drive circuit, more particularly to LED daylight lamp drive circuit.
Background technology
Conventional electronic ballast is adapted to the power supply of fluorescent lamp, and LED power driver is only suitable for the power supply of LED.Electronics
Ballast output for high voltage-small current, and the output of LED power supply driver is low-voltage, high-current.
Electric ballast refers to the electronic equipment for using electronic technology driving electric light source, being allowed to illumination needed for producing.Therewith
Corresponding is inductance type ballast.Modern fluorescent lamp more and more uses electric ballast, light compact, it might even be possible to by electricity
Sub-ballast and fluorescent tube etc. integrate, meanwhile, electric ballast can generally have starter function concurrently, so can save again
Single starter.Electric ballast can also have it is more multi-functional, such as can be by improving power frequency or current wave
Shape (such as becoming square wave) improves or eliminated the scintillation of fluorescent lamp;Also be able to can be made by power inverter process fluorescent lamp
Use dc source.Some shortcomings of traditional inductance type rectifier make it be taken by growing ripe electric ballast
Generation.
Therefore, in daylight lamp holder now on the market, situation is extremely complex, there is the daylight lamp holder suitable for LED, i.e., directly
Exchange the lamp socket of input;Also there is the lamp socket using electric ballast or Inductive ballast.Consumer is difficult to understand own home
In lamp socket be any on earth, the situation for a little not working or damaging will be produced by buying back LED fluorescent lamp tube rashly.
The content of the invention
Technical problem underlying to be solved by this invention is to provide a kind of drive circuit of LED daylight lamp, being capable of compatible electricity
The situation that sub-ballast, Inductive ballast and alternating current directly input, so that LED daylight lamp insertion is directly by consumer
It can be achieved normally to light.
In order to solve above-mentioned technical problem, the invention provides the LED daylight of compatible electronic formula, inductance type and alternating current
Lamp drive circuit, it is characterised in that including:
First current rectifying and wave filtering circuit, the L with LED daylight lamp, N-terminal are connected two input respectively;
Second current rectifying and wave filtering circuit, two input are connected with L1, N1 terminal of LED daylight lamp respectively;
Relay switch switching circuit, two inputs of the relay, two with the first current rectifying and wave filtering circuit respectively
Output end is corresponding to be connected, the connection corresponding with the output end of the second current rectifying and wave filtering circuit respectively of two normally opened contacts;
BUCK constant-current drive circuits, its input are connected respectively with two normally opened contacts of the relay, output end with
LED series winding connects;
The N-terminal connection of detecting voltage loop, one input and LED daylight lamp, another input and LED daylight
The N1 terminals connection of lamp;
Between the L of the LED daylight lamp, N-terminal, a filament simulative resistance circuit is also respectively connected between L1, N1 terminal;
When N, N1 or L, the L1 terminals of the LED daylight lamp have input current simultaneously, the detecting voltage loop works are simultaneously
The filament simulative resistance circuit is controlled to work.
In a preferred embodiment:When the L of the LED daylight lamp, N-terminal incoming transport electricity, the first current rectifying and wave filtering circuit
The direct current of output closes the normally opened contact of relay, and direct current gives the LED after the decompression of BUCK constant-current drive circuits
Lamp string is powered.
In a preferred embodiment:The output end of the L terminals of the LED daylight lamp and Inductive ballast connects, N-terminal and
Zero line connects, when L1, N1 short circuit;The direct current of first current rectifying and wave filtering circuit output closes the normally opened contact of relay, direct current
Electricity gives LED statements based on collusion electricity after the decompression of BUCK constant-current drive circuits.
In a preferred embodiment:The L terminals of the LED daylight lamp, N-terminal respectively with quick-starting direct electric ballast
The connection of two output ends, the direct current of the first current rectifying and wave filtering circuit output closes the normally opened contact of relay, direct current warp
LED statements based on collusion electricity is given after crossing the decompression of BUCK constant-current drive circuits.
In a preferred embodiment:L, N, L1, N1 terminal of the LED daylight lamp respectively with pre-heating electronic ballast
Four output end connections;The direct current of first current rectifying and wave filtering circuit output closes the normally opened contact of relay, the first rectification filter
Wave circuit, the direct current of the second current rectifying and wave filtering circuit output are acted in collusion to make each other's confessions after the decompression of BUCK constant-current drive circuits to the LED
Electricity;
The detecting voltage loop works simultaneously control filament simulative resistance circuit work to complete filament simulation.
In a preferred embodiment:The filament analog circuit includes the photo-coupler and resistance R1 being connected in series.
In a preferred embodiment:The detecting voltage loop includes diode D4, D5, D6, D7;Wherein D4 negative electrode connects
Connect D5 anode, D4 plus earth;D6 negative electrode connection D7 anode, D6 plus earth;D4 and D5 connection end is electricity
One input in pressure detecting loop;D6 and D7 connection end is another input in detecting voltage loop;
It is connected after the negative electrode connection of D5 negative electrode and D7 with the colelctor electrode of a triode Q1;Triode Q1 base stage and two poles
Pipe D1 anode connection, emitter stage and D1 negative electrode connect.
Compared to prior art, technical scheme possesses following beneficial effect:
The invention provides the LED daylight lamp drive circuit of compatible electronic formula, inductance type and alternating current, electronics is operable with
Ballast, Inductive ballast and alternating current directly input three kinds of situations.By two rectification circuits respectively to the two of LED daylight lamp
End input carries out rectification, control relay switch, single-ended electrical leakage problems when preventing from installing.In addition, by there is pre- thermoelectron town
The detecting of device output voltage is flowed, the simulation of filament resistance is completed, completes the compatibility to electric ballast.
Brief description of the drawings
Fig. 1 is the circuit diagram of invention preferred embodiment.
Embodiment
Technical scheme is described further below in conjunction with accompanying drawing.
With reference to figure 1, the LED daylight lamp drive circuit of compatible electronic formula, inductance type and alternating current, including:
First current rectifying and wave filtering circuit, the L with LED daylight lamp, N-terminal are connected two input respectively;
Second current rectifying and wave filtering circuit, two input are connected with L1, N1 terminal of LED daylight lamp respectively;
Relay switch switching circuit, two inputs of the relay, two with the first current rectifying and wave filtering circuit respectively
Output end is corresponding to be connected, the connection corresponding with the output end of the second current rectifying and wave filtering circuit respectively of two normally opened contacts;
BUCK constant-current drive circuits, its input are connected respectively with two normally opened contacts of the relay, output end with
LED series winding connects;
The N-terminal connection of detecting voltage loop, one input and LED daylight lamp, another input and LED daylight
The N1 terminals connection of lamp;
Between the L of the LED daylight lamp, N-terminal, a filament simulative resistance circuit is also respectively connected between L1, N1 terminal;
When N, N1 or L, the L1 terminals of the LED daylight lamp have input current simultaneously, the detecting voltage loop works are simultaneously
The filament simulative resistance circuit is controlled to work.
In the present embodiment, the filament analog circuit includes the photo-coupler and resistance R1 being connected in series.
The detecting voltage loop includes diode D4, D5, D6, D7;Wherein D4 negative electrode connection D5 anode, D4 sun
Pole is grounded;D6 negative electrode connection D7 anode, D6 plus earth;D4 and D5 connection end is one of detecting voltage loop defeated
Enter end;D6 and D7 connection end is another input in detecting voltage loop;
It is connected after the negative electrode connection of D5 negative electrode and D7 with the colelctor electrode of a triode Q1;Triode Q1 base stage and two poles
Pipe D1 anode connection, emitter stage and D1 negative electrode connect.
Specific work process is analyzed as follows:
1) when the L of the LED daylight lamp, N-terminal incoming transport electricity, the direct current of the first current rectifying and wave filtering circuit output will be after
The normally opened contact closure of electrical equipment, direct current give LED statements based on collusion electricity after the decompression of BUCK constant-current drive circuits.Therefore, exist
Input for alternating current when, the LED daylight lamp can be lighted normally.
2) output end of the L terminals of the LED daylight lamp and Inductive ballast is connected, and N-terminal is connected with zero line, L1, N1
During short circuit;The direct current of first current rectifying and wave filtering circuit output closes the normally opened contact of relay, and direct current passes through BUCK constant currents
LED statements based on collusion electricity is given after drive circuit decompression.Therefore, when LED daylight lamp accesses Inductive ballast, the LED daylight lamp
Can normally it light.Now the input of circuit work in 50,60HZ exchange, circuital current be less than inductance current limit compared with
More, Inductive ballast just corresponds to a filtering device, and circuit passes through DB2, C5, L2, and after C4 rectifying and wave-filterings, voltage is one
100th, 120HZ SIN wave voltages, by resistance R5, R6's circuit charges to electric capacity C6, when voltage reaches setting value, controls core
Piece U1 starts working, and turns on switching tube Q1, now has electric current to be powered by T1, this electric current which part to LED lamp bead, part
EC1, EC2 charging are given, when flowing through resistance R12, when R13 electric current reaches setting value, control chip U1 on-off switching tube Q1, now
T1 flows back to T1 by LED string and EC1, EC2, then by diode D2, and when current discharge is completed, control chip U1 passes through control
Switching tube Q1 conductings processed carry out next cycle, so pass through a HF switch cycle, constant current output electric current.
3) two output ends of the L terminals of the LED daylight lamp, N-terminal respectively with quick-starting direct electric ballast connect
Connect, the direct current of the first current rectifying and wave filtering circuit output closes the normally opened contact of relay, and direct current drives by BUCK constant currents
LED statements based on collusion electricity is given after circuit decompression.Therefore, when LED daylight lamp accesses quick-starting direct electric ballast, the LED
Fluorescent lamp can be lighted normally.After circuit is by quick action electronic ballast, become 30- from 50,60HZ low-frequency currents
100KHZ high frequency electric, circuit is by DB2, C5, L2, after C4 rectifying and wave-filterings, has essentially become the straight of smaller ripple
Voltage is flowed, this voltage passes through after BUCK loops, becomes constant current output, drives LED string.
4) L, N, L1, N1 terminal of the LED daylight lamp are connected with four output ends of pre-heating electronic ballast respectively;
The direct current of first current rectifying and wave filtering circuit output closes the normally opened contact of relay, the first current rectifying and wave filtering circuit, the second rectification
The direct current of filter circuit output gives LED statements based on collusion electricity after the decompression of BUCK constant-current drive circuits;
Now the detecting voltage loop works and control the filament simulative resistance circuit work complete filament simulation.Voltage
By C3, C9 resistance-capacitance depressurizations and then by D4, D5, D6, D7, C10 rectifying and wave-filterings, then by Q2, D8 loop of voltage regulation, give
U1A, U2A, L3 power, and complete the detecting of voltage.U1A, U2A lead to K3 by corresponding U1B and U2B controls simulation filament, L3 respectively
Complete driving relay.
The invention is not limited in foregoing embodiment.Above-described embodiment should not be considered as the model of the limitation present invention
Enclose.Those skilled in the art can modify and change while foregoing detailed description is read and understood.Specifically
Protection domain should be defined by claims.