A kind of non-isolation LED drive circuit
Technical field
The present invention relates to LED drive circuit, specifically a kind of non-isolation LED drive circuit.
Background technology
LED drive circuit is the core devices of LED lamp, is one and is used for making the shinny circuit of LED.Along with green illumination and energy-conservation active demand are advocated in the whole world.Increasing illuminating product enters into the epoch of LED source.And as the core devices of LED lamp, LED drives chip playing the part of more and more important role.
Conventional is LED drive circuit at present, formula LED drive circuit as described in patent application 200920297323.6, mainly by integrated circuit (IC) chip U and load LED, formed, the anode of this load LED is connected with the output cathode of ac rectifier, and its negative electrode is connected with integrated circuit (IC) chip U through inductor L1; This ac rectifier is also connected with integrated circuit (IC) chip U after DC output circuit and potentiometer R1; The anode of diode D1 is connected with integrated circuit (IC) chip U and inductor L1, and its negative electrode is connected with the anode of load LED.Yet in LED drive circuit, the deviation of the VF value of LED and inductance deviation are produced the maximum problem facing just in batches.
As shown in Figure 1, traditional LED drive circuit, system works is at the lowest point switching mode.By detection CS level, reach Vref and carry out closing switch pipe M0; By the R3 in parallel with inductance L 0, R4, obtain FB signal, by FB signal, do demagnetization and detect, when demagnetization end being detected, reopen switching tube M0.The feature of this circuit is need to do demagnetization for FB signal to detect, and FB signal depends on two resistance R 3, the R4 that is parallel to inductance L 0, and therefore, the performance requirement of resistance R 3, R4 can affect testing result, and can improve testing cost.
Summary of the invention
Based on this, primary and foremost purpose of the present invention is to provide a kind of non-isolation LED drive circuit, and this drive circuit makes CS signal not only be used for doing current limliting comparison, is also used for doing demagnetization and detects simultaneously, can ensure the result that demagnetization detects.
Another object of the present invention is to provide a kind of non-isolation LED drive circuit, and this driving circuit structure is simple, effectively reduces testing cost.
In order to achieve the above object, the present invention realizes according to following manner:
A kind of LED drive circuit for demagnetizing and detecting, it is LED drive circuit, system works is at the lowest point switching mode, it is characterized in that, shown in LED drive circuit be to reach Vref and carry out closing switch pipe M1 by detecting CS level, also by detecting CS level, be reduced to 0 and open switching tube M1 simultaneously.
Say exactly, described drive circuit, demagnetization detect to adopt CS signal, and in demagnetization process, it is 0 constantly namely to demagnetize when finishing that CS level can be reduced to 0, CS level gradually, now reopens switching tube M1.
Further, described LED drive circuit, it includes demagnetization detector, logic device and comparator, detections that be used for demagnetizing of described demagnetization detector, logic device and comparator, and the input of described demagnetization detector is connected in the inductance place of generation CS signal.
Further, between the input of described demagnetization detector and above-mentioned inductance, also there is a resistance, to ensure the stability of sampled signal.
The present invention is by the improvement to LED drive circuit, adopts detections of demagnetize of CS signal, can not only ensure the effect of demagnetization detection, can also effectively reduce the employing of components and parts in drive circuit, reduction testing cost.
Accompanying drawing explanation
Fig. 1 is the circuit diagram that the demagnetization that adopts of prior art detects.
Fig. 2 is the LED drive circuit circuit diagram that the demagnetization implemented of the present invention detects.
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 is only in order to explain invention, and be not used in restriction invention.
As shown in Figure 2, newly the demagnetize LED drive circuit of detection method of the employing of implementing for the present invention, system works is at the lowest point switching mode.This drive circuit is to improve and form on the basis of original LED drive circuit, so still comprise original peripheral circuit and demagnetization testing circuit: demagnetization detector, logic device and comparator, switching tube M1.
Demagnetization detector no longer obtains FB signal, but is directly connected with inductance L 0, obtains CS level signal.And inductance L 0 is serially connected with a resistance R 11 above.Other components and parts in LED drive circuit all do not have to change, therefore repeat no more.
Therefore, in the present invention, by detection CS level, reach Vref and carry out closing switch pipe M1; Doing demagnetizes detects the same CS of employing signal, and in demagnetization process, CS level can be reduced to 0 gradually, when demagnetization end being detected, reopens switching tube M1.
Innovation of the present invention is, CS signal is not only used for doing current limliting comparison, also be used for doing demagnetization detects simultaneously, current limliting and demagnetization detection are combined, not only can ensure the result that demagnetization detects, also save two resistance (R3 in Fig. 1 and R4) that are used for producing demagnetization signal FB in original system, saved system cost.