1. Field of the Invention
The present invention relates to a light-emitting diode (LED) driving circuit. More particularly, the present invention relates to an LED driving circuit for driving a plurality of lightbars each including a plurality of LEDs coupled in series.
2. Description of the Prior Art
If too many lightbars LB1-LBm are employed, or if LEDs D1-Dn with high brightness are employed, the total current of the lightbars LB1-LBm may cause the LED controller 12 to be destroyed. Accordingly, there is a need for an LED driving circuit to employ external control manner shown in
The LED driving circuits 1 and 2 employ the LED controllers 12 and 22 which are specific-purpose integrated circuits (ICs). However, a commercially available LED controller IC supports a fixed number of lightbars. It may be necessary to employ a plurality of LED controller ICs to drive the lightbars as the number of the lightbars increases. The number of the transistors M1-Mm and the resistors R1-Rm employed in the LED driving circuit 2 will increase as the number of the lightbars increases. Therefore, as the number of the lightbars increases, the conventional LED driving circuits become more complex and expensive to design and manufacture.
It is therefore an object of the present invention to provide an LED driving circuit employing a simple driving structure with reduced components and without using a specific-purpose LED controller IC.
The present invention provides an LED driving circuit for driving a plurality of first lightbars and a plurality of second lightbars. Each of the first lightbars and the second lightbars includes a plurality of LEDs coupled in series. Each of the first lightbars and the second lightbars has a first terminal coupled to receive a direct-current (DC) voltage and a second terminal. The LED driving circuit includes a first current mirror, a second current mirror and a control circuit. The first current mirror is coupled to the second terminals of the first lightbars. The first current mirror balances currents of the first lightbars when the first current mirror is enabled, and causes the currents of the first lightbars to become zero when the first current mirror is disabled. The second current mirror is coupled to the second terminals of the second lightbars. The second current mirror balances currents of the second lightbars when the second current mirror is enabled, and causes the currents of the second lightbars to become zero when the second current mirror is disabled. The control circuit is coupled to the first current mirror and the second current mirror. During a first period, the control circuit disables the second current mirror and adjusts the duration of enabling the first current mirror according to a dimming signal. During a second period, the control circuit disables the first current mirror and adjusts the duration of enabling the second current minor according to the dimming signal. The first period and the second period are repeated alternatively.
The control circuit includes a controller, a first switch, a first current detector, a second switch and a second current detector. The controller outputs a first pulse-width modulation (PWM) signal and a second PWM signal. A duty cycle of the first PWM signal is determined by the dimming signal and the total current of the first lightbars, and a duty cycle of the second PWM signal is determined by the dimming signal and the total current of the second lightbars. The first switch has a first terminal coupled to the first current mirror to receive the total current of the first lightbars, a second terminal and a control terminal coupled to the controller to receive the first PWM signal. The first current detector has a first terminal coupled to the second terminal of the first switch and the controller and a second terminal coupled to a ground. The first current detector detects the total current of the first lightbars. The second switch has a first terminal coupled to the second current mirror to receive the total current of the second lightbars, a second terminal and a control terminal coupled to the controller to receive the second PWM signal. The second current detector has a first terminal coupled to the second terminal of the second switch and the controller and a second terminal coupled to the ground. The second current detector detects the total current of the second lightbars.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The LED driving circuit 3 includes a first current mirror 31, a second current mirror 32 and a control circuit 33. The first current mirror 31 is coupled to the second terminals of the first lightbars LB11-LB1m to receive currents I11-I1m of the first lightbars LB11-LB1m. The first current mirror 31 balances the currents I11-I1m of the first lightbars LB11-LB1m when the first current mirror 31 is enabled, and causes the currents I11-I1m of the first lightbars LB11-LB1m to become zero when the first current mirror 31 is disabled. The second current mirror 32 is coupled to the second terminals of the second lightbars LB21-LB2m to receive currents I21-I2m of the second lightbars LB21-LB2m. The second current mirror 32 balances the currents I21-I2m of the second lightbars LB21-LB2m when the second current mirror 32 is enabled, and causes the currents I21-I2m of the second lightbars LB21-LB2m to become zero when the second current mirror 32 is disabled. The control circuit 33 is coupled to the first current mirror 31 and the second current mirror 32. During a first period, the control circuit 33 disables the second current mirror 32, and the control circuit 33 enables the first current mirror 31 and adjusts the duration of enabling the first current mirror 31 according to a dimming signal Vdim. During a second period, the control circuit 33 disables the first current mirror 31, and the control circuit 33 enables the second current mirror 32 and adjusts the duration of enabling the second current mirror 32 according to the dimming signal Vdim. The first period and the second period are repeated alternatively.
The control circuit 33 includes a controller U1, a first switch M1, a first current detector Rd1, a second switch M2 and a second current detector Rd2. The controller U1 outputs a first pulse-width modulation (PWM) signal Vpwm1 and a second PWM signal Vpwm2. A duty cycle of the first PWM signal Vpwm1 is determined by the dimming signal Vdim and the total current I31 of the first lightbars LB11-LB1m, and a duty cycle of the second PWM signal Vpwm2 is determined by the dimming signal Vdim and the total current I32 of the second lightbars LB21-LB2m, in which the total current I31 is the sum of the currents I11-I1m, and the total current I32 is the sum of the currents I21-I2m. The first switch M1 has a first terminal coupled to the second terminals of the first transistors Q11-Q1m to receive the total current I31 of the first lightbars LB11-LB1m, a second terminal and a control terminal coupled to receive the first PWM signal Vpwm1. The first current detector Rd1 has a first terminal coupled to the second terminal of the first switch M1 and the controller U1 and a second terminal coupled to a ground. The first current detector Rd1 detects the total current I31 of the first lightbars LB11-LB1m. The second switch M2 has a first terminal coupled to the second terminals of the second transistors Q21-Q2m to receive the total current I32 of the second lightbars LB21-LB2m, a second terminal and a control terminal coupled to receive the second PWM signal Vpwm2. The second current detector Rd2 has a first terminal coupled to the second terminal of the second switch M2 and the controller U1 and a second terminal coupled to the ground. The second current detector Rd2 detects the total current I32 of the second lightbars LB21-LB2m.
In this embodiment, the controller U1 is a general-purpose PWM controller IC such as TL494 or OZ9938. The controller U1 has a dimming terminal DIM, output terminals G1 and G2 and a current sensing terminal IS. The controller U1 receives the dimming signal Vdim from the dimming terminal DIM, obtains the detection result of the total current I31 of the first lightbars LB11-LB1m and the total current I32 of the second lightbars LB21-LB2m from the current sensing terminal IS, and outputs the first PWM signal Vpwm1 and the second PWM signal Vpwm2 from the output terminals G1 and G2. The first transistors Q11-Q1m and the second transistors Q21-Q2m are N-channel field-effect transistors (FETs). The first switch M1 and the second switch M2 are implemented by N-channel FETs. The first current detector Rd1 and the second current detector Rd2 are implemented by resistors. In an alternative embodiment, the first transistors Q11-Q1m and the second transistors Q21-Q2m are NPN bipolar junction transistors (BJTs), and the first switch M1 and the second switch M2 are implemented by NPN BJTs.
During the first period T1, the second PWM signal Vpwm2 remains at low level and controls the second switch M2 to be open to disable the second current mirror 32, then the disabled second current mirror 32 controls the second lightbars LB21-LB2m to be turned off and causes the currents I21-I2m of the second lightbars LB21-LB2m to become zero (here, taking the total current I32, the sum of the currents I21-I2m, as an example shown in
During the second period T2, the first PWM signal Vpwm1 remains at low level and controls the first switch M1 to be open to disable the first current mirror 31, then the disabled first current mirror 31 controls the first lightbars LB11-LB1m to be turned off and causes the currents I11-I1m of the first lightbars LB11-LB1m to become zero. The second PWM signal Vpwm2 is at high level except in the interval from (2j+1)×T to ((2j+1)×T+Td). The second PWM signal Vpwm2 at high level of a duration Ton2 controls the second switch M2 to be closed to enable the second current mirror 32, then the enabled second current mirror 32 controls the second lightbars LB21-LB2m to be turned on and balances the currents I21-I2m of the second lightbars LB21-LB2m. The second PWM signal Vpwm2 at low level of a duration Td controls the second switch M2 to be open to disable the second current mirror 32, then the disabled second current mirror 32 controls the second lightbars LB21-LB2m to be turned off and causes the currents I21-I2m of the second lightbars LB21-LB2m to become zero. The duty cycle of the second PWM signal Vpwm2, Ton2/2T, will be adjusted by the controller U1 according to the dimming signal Vdim and the total current I32 of the second lightbars LB21-LB2m; that is, the duration of enabling the second current mirror 32 or the duration of the second PWM signal Vpwm2 at high level, Ton2, will be adjusted.
In this embodiment, the dimming signal Vdim is a DC signal whose magnitude influences the duty cycles of the first PWM signal Vpwm1 and the second PWM signal Vpwm2. In alternative embodiment, the dimming signal Vdim is a PWM signal whose duty cycle influences the duty cycles of the first PWM signal Vpwm1 and the second PWM signal Vpwm2.
In summary, the LED driving circuit of the present invention divides all lightbars into the first lightbars and the second lightbars for time division control, and only the first lightbars or the second lightbars are driven in each period. For example, only the first lightbars are driven in the first period, and only the second lightbars are driven in the second period. It reduces the amount of current provided by the DC/DC converter for driving the lightbars in each period; hence, the DC/DC converter can reduce voltage ripple therein and employ a filter capacitor of smaller capacitance at its output to reduce its cost. In addition, the LED driving circuit of the present invention employs a simple driving structure with reduced components and without using a specific-purpose LED controller IC to reduce its cost.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
098136410 | Oct 2009 | TW | national |
098138314 | Nov 2009 | TW | national |
The present application is a division of U.S. application Ser. No. 12/913,837 filed Oct. 28, 2010, which claims the priority benefit of Taiwan application serial no. 98136410, filed Oct. 28, 2009, and Taiwan application serial no. 98138314, filed Nov. 11, 2009, the contents of which are hereby incorporated by reference herein in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 12913837 | Oct 2010 | US |
Child | 13913758 | US |