Disclosure of Invention
The invention aims to provide an LED driving circuit and an LED lamp for solving the technical problems.
The LED driving circuit comprises a first LED module, a second LED module, a linear constant current driving circuit, an input voltage detection circuit, a first switch circuit, a second switch circuit, a switch driving circuit and a unidirectional conduction circuit, wherein the first LED module, the unidirectional conduction circuit and the second LED module are sequentially connected in series and then connected with the output end of the linear constant current driving circuit, the first LED module is connected in series with the first switch circuit and then connected with the output end of the linear constant current driving circuit, the second switch circuit is connected in series with the second LED module and then connected with the output end of the linear constant current driving circuit, and the switch driving circuit is configured to drive the first switch circuit and the second switch circuit to be disconnected when the input voltage detection circuit detects that the input voltage is higher than a certain value, otherwise, the first switch circuit and the second switch circuit are driven to be connected.
Further, the unidirectional conduction circuit is realized by adopting a diode.
Further, the first switch circuit is implemented by an NMOS transistor Q1.
Further, a capacitor C1 is connected between the gate and the source of the NMOS transistor Q1.
Further, the second switching circuit is implemented by an NMOS transistor Q2.
Further, a capacitor C2 is connected between the gate and the source of the NMOS transistor Q2.
Further, the input voltage detection circuit includes a resistor R1, a resistor R2, a resistor R3, an electrolytic capacitor EC2 and a voltage stabilizing tube ZD1, the resistor R2 and the resistor R3 are sequentially connected in series and then connected between input ends of the linear constant current driving circuit, the electrolytic capacitor EC2 and the voltage stabilizing tube ZD1 are respectively connected in parallel with the resistor R3, and a node between the resistor R2 and the resistor R3 is an output end of the input voltage detection circuit.
Further, the switch driving circuit is formed by an optical coupler U2 and an optical coupler U3, the input ends of the optical coupler U2 and the optical coupler U3 are connected in series and then are connected with the output end of the input voltage detection circuit, and the output ends of the optical coupler U2 and the optical coupler U3 respectively drive the first switch circuit and the second switch circuit.
Further, the circuit further comprises a resistor R4, and the resistor R4 is connected in series with the input end loops of the optocoupler U2 and the optocoupler U3.
The invention further provides an LED lamp, which is provided with the LED driving circuit.
The beneficial technical effects of the invention are as follows:
The invention can realize wide voltage input (100V-264V) and dual voltage output, has strong adaptability, can be suitable for various lamp types, has smaller selection limit of the LED light source, is suitable for global universal commercial power (100V-264V), and can only need one linear constant current source module, thereby having simple circuit structure, easy realization, low cost and improving market competitiveness.
Detailed Description
For further illustration of the various embodiments, the invention is provided with the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments and together with the description, serve to explain the principles of the embodiments. With reference to these matters, one of ordinary skill in the art will understand other possible embodiments and advantages of the present invention. The components in the figures are not drawn to scale and like reference numerals are generally used to designate like components.
The invention will now be further described with reference to the drawings and detailed description.
Example 1
As shown in fig. 1, an LED driving circuit includes a first LED module 1, a second LED module 2, a linear constant current driving circuit, an input voltage detecting circuit, a first switch circuit, a second switch circuit, a switch driving circuit, and a unidirectional conduction circuit, where the linear constant current driving circuit may be any of various linear constant current driving circuits that are formed by using a single linear constant current chip.
In this embodiment, the linear constant current driving circuit includes a rectifier bridge BG, a filter electrolytic capacitor EC1 and a linear constant current chip U1, where the input end of the rectifier bridge BG is connected to an ac power supply (mains supply), the positive output end of the rectifier bridge BG is connected to the positive output end Vbus of the linear constant current driving circuit, the negative output end of the rectifier bridge BG is grounded, the first end of the linear constant current chip U1 is used as the negative output end of the linear constant current driving circuit to connect to the negative electrode of the LED light source, the second end of the linear constant current chip U1 is grounded, the filter electrolytic capacitor EC1 is connected between the positive output end and the negative output end of the rectifier bridge BG, and the more specific circuit structure is shown in fig. 1, but not limited thereto.
The first LED module 1, the unidirectional conduction circuit and the second LED module 2 are sequentially connected in series and then are connected with the output end of the linear constant current driving circuit, specifically, the positive electrode of the first LED module 1 is connected with the positive output end Vbus of the linear constant current driving circuit, the negative electrode of the first LED module 1 is connected with the positive electrode of the second LED module 2 in series in a positive direction, and the negative electrode of the second LED module 2 is connected with the negative output end (the first end of the linear constant current chip U1) of the linear constant current driving circuit.
In this embodiment, the first LED module 1 and the second LED module 2 are each formed by connecting a plurality of LED beads in series, and the number of LED beads of the first LED module 1 and the second LED module 2 can be selected according to actual needs, which can be easily implemented by those skilled in the art, and it is needless to say that, in some embodiments, the first LED module 1 and the second LED module 2 may also be formed by one LED bead.
Preferably, in this embodiment, the unidirectional conduction circuit is implemented by using the diode D1, and the circuit has a simple structure, is easy to implement, and has low cost, but is not limited thereto.
Specifically, the positive end of the diode D1 is connected to the negative electrode of the first LED module 1, and the negative end of the diode D1 is connected to the positive electrode of the second LED module 2.
The first LED module is connected with the output end of the linear constant current driving circuit after being connected with the first switch circuit in series, the second switch circuit is connected with the output end of the linear constant current driving circuit after being connected with the second LED module in series, in particular, the negative electrode of the first LED module 1 is connected in series with the first end of the linear constant current chip U1, and the positive electrode of the second LED module 2 is connected in series with the second switch circuit and is connected with the positive output end Vbus of the linear constant current driving circuit.
In this embodiment, the first switching circuit is preferably implemented by using an NMOS transistor Q1, which has high current resistance and low power consumption, and specifically, the drain electrode of the NMOS transistor Q1 is connected to the negative electrode of the first LED module 1, the source electrode of the NMOS transistor Q1 is connected to the first end of the linear constant current chip U1, and the gate electrode of the NMOS transistor Q1 is connected to the driving output end of the switching driving circuit. Of course, in other embodiments, the first switching circuit may be implemented using other existing switching circuits.
In this embodiment, the second switching circuit is preferably implemented by using an NMOS transistor Q2, which has high current resistance and low power consumption, and specifically, the drain electrode of the NMOS transistor Q2 is connected to the positive output end Vbus of the linear constant current driving circuit, the source electrode of the NMOS transistor Q21 is connected to the positive electrode of the second LED module 2, and the gate electrode of the NMOS transistor Q2 is connected to the driving output end of the switching driving circuit. Of course, in other embodiments, the second switching circuit may be implemented using other switching circuits already existing.
The switch driving circuit is configured to drive both the first switch circuit and the second switch circuit to be turned off when the input voltage detection circuit detects that the input voltage is high to a certain value, and to drive both the first switch circuit and the second switch circuit to be turned on otherwise.
In this embodiment, the switch driving circuit is formed by adopting an optocoupler U2 and an optocoupler U3, the input ends of the optocoupler U2 and the optocoupler U3 are connected in series and then connected between the output end of the input voltage detection circuit and the ground, the two output ends of the optocoupler U2 are respectively connected with the gate and the source of the NMOS tube Q1, the two output ends of the optocoupler U3 are respectively connected with the gate and the source of the NMOS tube Q2, and by adopting the switch driving circuit, the NMOS tube Q1 and the NMOS tube Q2 can be simultaneously turned on and off, so that the NMOS tube or the LED module is prevented from being burnt out due to the asynchronous connection between the two.
In this embodiment, the optocouplers U2 and U3 are implemented by using phototriodes, but not limited thereto.
Of course, in other embodiments, the switch drive circuit may be implemented using other existing switch drive circuits.
Further, in this embodiment, the circuit further includes a resistor R4, where the resistor R4 is connected in series to the input circuits of the optocoupler U2 and the optocoupler U3, and is used to regulate the current flowing through the input terminals of the optocoupler U2 and the optocoupler U3, so as to protect the optocoupler U2 and the optocoupler U3.
Preferably, in this embodiment, a capacitor C1 is connected between the gate and the source of the NMOS transistor Q1, and a capacitor C2 is connected between the gate and the source of the NMOS transistor Q2, so as to avoid strobe.
In this embodiment, the input voltage detection circuit includes a resistor R1, a resistor R2, a resistor R3, an electrolytic capacitor EC2 and a voltage stabilizing tube ZD1, where the resistor R1, the resistor R2 and the resistor R3 are sequentially connected in series and then connected between outputs of the rectifier bridge BG (between input ends of the linear constant current driving circuit), the electrolytic capacitor EC2 and the voltage stabilizing tube ZD1 are respectively connected in parallel with the resistor R3, and a node (an output end of the input voltage detection circuit) between the resistor R2 and the resistor R3 is sequentially connected in series with an input end of the optocoupler U2 and the optocoupler U3 and a resistor R4 to be grounded. By adopting the input voltage detection circuit, larger driving current can be provided for the optocoupler U2 and the optocoupler U3, and the driving is smoother, but the input voltage detection circuit is not limited to the above, and in other embodiments, the input voltage detection circuit can also be realized by adopting other existing voltage detection circuits, for example, the electrolytic capacitor EC2 can be replaced by a common capacitor and the like.
The working process comprises the following steps:
When the input voltage is high voltage, the voltage of the electrolytic capacitor EC2 is enough to drive the optocoupler U2 and the optocoupler U3 to be conducted, the grid electrodes of the NMOS tubes Q1 and Q2 are pulled down, the NMOS tubes Q1 and Q2 are disconnected, the current of the positive output end Vbus of the linear constant current driving circuit passes through the diode D1 from the first LED module 1 to the second LED module 2 and then to the linear constant current chip U1, serial output is achieved, and the output voltage is higher.
When the input voltage is low, the voltage of the electrolytic capacitor EC2 is too low to drive the optocoupler U2 and the optocoupler U3 to be conducted, the NMOS transistors Q1 and Q2 are conducted, the current of the positive output end Vbus of the linear constant current drive circuit is divided into two paths, one path passes through the first LED module 1 to the NMOS transistor Q1 and then to the linear constant current chip U1, the other path passes through the second LED module 2 to the NMOS transistor Q2 and then to the linear constant current chip U1, the diode D1 is reversely cut off, parallel output of the first LED module 1 and the second LED module 2 is realized, and the output voltage is low. The LED light source has the advantages of realizing wide voltage input (100V-264V) and dual voltage output, being strong in adaptability, being applicable to various lamp types, being small in selection limit of the LED light source, being applicable to global universal commercial power (100V-264V), being capable of being realized by only needing one linear constant current source module (linear constant current chip), being simple in circuit structure, easy to realize, low in cost and improving market competitiveness.
Example two
The difference between the first embodiment and the second embodiment is that the first switch circuit and the second switch circuit of the embodiment are implemented by NPN transistors.
The invention further provides an LED lamp, which is provided with the LED driving circuit. The LED lamp can be various LED lamps such as a flat lamp, a ceiling lamp, a down lamp and the like.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.