Universal method for driving LEDs using high voltage

09794992 · 2017-10-17

Assignee

Inventors

Cpc classification

International classification

Abstract

An apparatus for driving LEDs using high voltage includes two LED driving circuits and two switches that can be turned on or off by a universal controller so as to connect the two LED driving circuits in two different configurations. When the input voltage is in a range from rectified 90 volt AC to rectified 140 volt AC, the two switches are controlled in such a way that the two LED driving circuits are connected in parallel. When the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, the two switches are controlled to connect the LED segments of the LED unit in one LED driving circuit in series with the other LED driving circuit.

Claims

1. An apparatus for driving a plurality of LEDs, comprising: first and second LED driving circuits, each LED driving circuit including: a plurality of LEDs divided into a plurality of LED segments connected in series including a leading LED segment and a trailing LED segment, each of said plurality LED segments having a positive end and a negative end; a plurality of voltage controlled current limiting devices, each of said plurality of voltage controlled current limiting devices being associated with one of said plurality of LED segments, and having a first terminal connected to the negative end of the associated LED segment, a second terminal being applied with a bias voltage and a third terminal being connected to a common node; a power-loss reduction circuit having a positive end connected to said common node; and a current source having a first end connected to a negative end of said power-loss reduction circuit and a second end connected to ground; a first switching device having a first end connected to the positive end of the leading LED segment of said first LED driving circuit, and a second end connected to the positive end of the leading LED segment of said second LED driving circuit; a second switching device having a first end connected to the negative end of the trailing LED segment of said first LED driving circuit, and a second end connected to the positive end of the leading LED segment of said second LED driving circuit; a universal controller controlling said first and second switching devices and the current source of said first LED driving circuit; and an input voltage connected to the positive end of the leading LED segment of said first LED driving circuit and said universal controller; wherein said first switching device is turned on and said second switching device is turned off when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off and said second switching device is turned on when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

2. The apparatus as claimed in claim 1, wherein said second switching device is a diode.

3. The apparatus as claimed in claim 1, wherein the current source of said first LED driving circuit has a current setting resistor Rset and a node Vset for receiving a current setting signal from said universal controller.

4. The apparatus as claimed in claim 3, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a voltage comparator comparing a voltage sensing signal with a threshold voltage and outputting a voltage comparison signal; a NAND gate receiving said second switch control signal and said voltage comparison signal and outputting a voltage selection signal; and a voltage selector controlled by said voltage selection signal for selecting a reference voltage or a ground voltage as said current setting signal to control the current source of said first LED driving circuit.

5. The apparatus as claimed in claim 4, wherein said voltage sensing signal is connected to the input node of said peak voltage detector.

6. The apparatus as claimed in claim 4, wherein the current source of said second LED driving circuit has a current sensing resistor connected to ground and a voltage level across said current sensing resistor is fed back to said universal controller as said voltage sensing signal.

7. The apparatus as claimed in claim 3, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a voltage subtractor subtracting a voltage sensing signal from a reference voltage and outputting a subtracted voltage; and a voltage selector controlled by said second switch control signal for selecting said subtracted voltage or said reference voltage as said current setting signal to control the current source of said first LED driving circuit; wherein the current source of said second LED driving circuit has a current sensing resistor connected to ground and a voltage level across said current sensing resistor is fed back to said universal controller as said voltage sensing signal.

8. The apparatus as claimed in claim 3, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a first voltage comparator comparing a voltage sensing signal with a threshold voltage and outputting a first voltage comparison signal; a NAND gate receiving said second switch control signal and said first voltage comparison signal and outputting a voltage selection signal; a first voltage selector controlled by said voltage selection signal for selecting a reference voltage or a transitional voltage as said current setting signal to control the current source of said first LED driving circuit; a second voltage comparator comparing said voltage sensing signal with a sum of said threshold voltage and said reference voltage and outputting a second voltage comparison signal; a voltage subtractor subtracting said voltage sensing signal from the sum of said threshold voltage and said reference voltage and outputting a subtracted voltage; and a second voltage selector controlled by said second voltage comparison signal for selecting said subtracted voltage or a ground voltage as said transitional voltage.

9. The apparatus as claimed in claim 8, wherein said voltage sensing signal is connected to the input node of said peak voltage detector.

10. An apparatus for driving a plurality of LEDs, comprising: first and second LED driving circuits, each LED driving circuit including: a plurality of LEDs divided into a plurality of LED segments connected in series including a leading LED segment and a trailing LED segment, each of said plurality LED segments having a positive end and a negative end; a plurality of voltage controlled current limiting devices, each of said plurality of voltage controlled current limiting devices being associated with one of said plurality of LED segments, and having a first terminal connected to the negative end of the associated LED segment, a second terminal being applied with a bias voltage and a third terminal being connected to a common node; a power-loss reduction circuit having a positive end connected to said common node; and a bottom voltage controlled current limiting device having a first terminal connected to a negative end of said power-loss reduction circuit, a second terminal connected to a control voltage, and a third terminal; a first switching device having a first end connected to the positive end of the leading LED segment of said first LED driving circuit, and a second end connected to the positive end of the leading LED segment of said second LED driving circuit; a second switching device having a first end connected to the negative end of the trailing LED segment of said first LED driving circuit, and a second end connected to the positive end of the leading LED segment of said second LED driving circuit; a current source having a first end connected to the third terminals of the bottom voltage controlled current limiting devices of said first and second LED driving circuits and a second end connected to ground; a universal controller controlling said first and second switching devices and said current source, and providing the control voltages of the bottom voltage controlled current limiting devices of said first and second LED driving circuits; and an input voltage connected to the positive end of the leading LED segment of said first LED driving circuit and said universal controller; wherein said first switching device is turned on, said second switching device is turned off, and the two control voltages are set identical when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off, said second switching device is turned on and the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit is set greater than or equal to the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

11. The apparatus as claimed in claim 10, wherein said second switching device is a diode.

12. The apparatus as claimed in claim 10, wherein said current source has a current setting resistor Rset and a node Vset for receiving a current setting signal sent from said universal controller.

13. The apparatus as claimed in claim 12, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a first voltage selector controlled by said second switch control signal for selecting a reference voltage V.sub.ref or twice of the reference voltage 2V.sub.ref as said current setting signal to control said current source; a voltage comparator comparing a voltage sensing signal with a threshold voltage and outputting a voltage comparison signal; a NAND gate receiving said second switch control signal and said voltage comparison signal and outputting a voltage selection signal; a turn-on voltage V.sub.ON as the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit; and a second voltage selector controlled by said voltage selection signal for selecting said turn-on voltage V.sub.ON or a ground voltage as the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit; wherein said first switching device is turned on, said second switching device is turned off, said twice of the reference voltage 2V.sub.ref is selected as said current setting signal to control said current source and the two control voltages are both set to V.sub.ON when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off, said second switching device is turned on and said reference voltage V.sub.ref is selected as said current setting signal to control said current source when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

14. The apparatus as claimed in claim 13, wherein said voltage sensing signal is connected to the input node of said peak voltage detector.

15. The apparatus as claimed in claim 13, wherein when said input voltage is between rectified 180 volt AC to rectified 265 volt AC and said voltage sensing signal is less than said threshold voltage, the two control voltages are both set to V.sub.ON, and when said input voltage is between rectified 180 volt AC to rectified 265 volt AC and said voltage sensing signal is greater than said threshold voltage, the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit is set to said ground voltage.

16. The apparatus as claimed in claim 12, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a first voltage selector controlled by said second switch control signal for selecting a reference voltage V.sub.ref or twice of the reference voltage 2V.sub.ref as said current setting signal to control said current source; a turn-on voltage V.sub.ON as the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit; and a second voltage selector controlled by said second switch control signal for selecting said turn-on voltage V.sub.ON or a sum of said turn-on voltage V.sub.ON and a differential voltage ΔV as the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit; wherein said first switching device is turned on, said second switching device is turned off, said twice of the reference voltage 2V.sub.ref is selected as said current setting signal to control said current source and the two control voltages are both set to V.sub.ON when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off, said second switching device is turned on and said reference voltage V.sub.ref is selected as said current setting signal to control said current source when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

17. The apparatus as claimed in claim 16, wherein when said input voltage is between rectified 180 volt AC to rectified 265 volt AC, the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit is set to said sum of said turn-on voltage V.sub.ON and said differential voltage ΔV.

18. The apparatus as claimed in claim 10, wherein said current source has two current setting resistors Rset connected with one being controllable by a current selection switch so as to be connected in parallel with the other or disconnected.

19. The apparatus as claimed in claim 18, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device and said current selection switch of said current source; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a voltage comparator comparing a voltage sensing signal with a threshold voltage and outputting a voltage comparison signal; a NAND gate receiving said second switch control signal and said voltage comparison signal and outputting a voltage selection signal; a turn-on voltage V.sub.ON as the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit; and a voltage selector controlled by said voltage selection signal for selecting said turn-on voltage V.sub.ON or a ground voltage as the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit; wherein said first switching device is turned on, said second switching device is turned off and the two control voltages are both set to V.sub.ON when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off and said second switching device is turned on when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

20. The apparatus as claimed in claim 19, wherein said voltage sensing signal is connected to the input node of said peak voltage detector.

21. The apparatus as claimed in claim 19, wherein when said input voltage is between rectified 180 volt AC to rectified 265 volt AC and said voltage sensing signal is less than said threshold voltage, the two control voltages are both set to V.sub.ON, and when said input voltage is between rectified 180 volt AC to rectified 265 volt AC and said voltage sensing signal is greater than said threshold voltage, the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit is set to said ground voltage.

22. The apparatus as claimed in claim 18, where said universal controller comprises: a peak voltage detector having an input node and an output node, said output node sending a first switch control signal for controlling said first switching device and said current selection switch of said current source; input voltage divider resistors R.sub.1 and R.sub.2, one end of R.sub.2 being connected to said input voltage and the other end of R.sub.2 being connected to one end of R.sub.1 and the input node of said peak voltage detector, and the other end of R.sub.1 being connected to ground; an inverter inverting said first switch control signal to form a second switch control signal for controlling said second switching device; a turn-on voltage V.sub.ON as the control voltage of the bottom voltage controlled current limiting device of said first LED driving circuit; and a voltage selector controlled by said second switch control signal for selecting said turn-on voltage V.sub.ON or a sum of said turn-on voltage V.sub.ON and a differential voltage ΔV as the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit; wherein said first switching device is turned on, said second switching device is turned off and the two control voltages are both set to V.sub.ON when said input voltage is between rectified 90 volt AC to rectified 140 volt AC, and said first switching device is turned off and said second switching device is turned on when said input voltage is between rectified 180 volt AC to rectified 265 volt AC.

23. The apparatus as claimed in claim 22, wherein when said input voltage is between rectified 180 volt AC to rectified 265 volt AC, the control voltage of the bottom voltage controlled current limiting device of said second LED driving circuit is set to said sum of said turn-on voltage V.sub.ON and said differential voltage ΔV.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The present invention will be apparent to those skilled in the art by reading the following detailed description of preferred embodiments thereof, with reference to the attached drawings, in which:

(2) FIG. 1 shows a block diagram of an apparatus for driving LEDs using high voltage according to a preferred embodiment of the present invention.

(3) FIG. 2 shows an example of the current source in the block diagram of the preferred embodiment of FIG. 1.

(4) FIG. 3 shows an example of the universal controller in the block diagram of the preferred embodiment of FIG. 1.

(5) FIG. 4 shows another example of the universal controller in the block diagram of the preferred embodiment of FIG. 1.

(6) FIG. 5 shows a block diagram of an apparatus for driving LEDs using high voltage according to a modified version of the preferred embodiment of the present invention shown in FIG. 1.

(7) FIG. 6 shows an example of the universal controller in the block diagram of the preferred embodiment of FIG. 5.

(8) FIG. 7 shows another example of the universal controller in the block diagram of the preferred embodiment of FIG. 5.

(9) FIG. 8 shows a block diagram of an apparatus for driving LEDs using high voltage according to another preferred embodiment of the present invention.

(10) FIG. 9 shows an example of the universal controller in the block diagram of the preferred embodiment of FIG. 8.

(11) FIG. 10 shows another example of the universal controller in the block diagram of the preferred embodiment of FIG. 8.

(12) FIG. 11 shows an example of a current source that includes a current selecting switch for enabling one current setting resistor to be connected in parallel with the other current setting resistor so as to double the current flowing through the current source.

(13) FIG. 12 shows an example of the universal controller in the block diagram of the preferred embodiment of FIG. 8 in which the current source shown in FIG. 11 is used.

(14) FIG. 13 shows another example of the universal controller in the block diagram of the preferred embodiment of FIG. 8 in which the current source shown in FIG. 11 is used.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

(15) 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 drawing illustrates embodiments of the invention and, together with the description, serves to explain the principles of the invention.

(16) FIG. 1 shows a block diagram of an apparatus for driving LEDs using high voltage according to a preferred embodiment of the present invention. In the embodiment, the apparatus comprises two LED driving circuits and two switches SW1, SW2 controlled by a universal controller 100. The LED driving circuit shown on the left side of FIG. 1 includes an LED unit 101a connected in series with a power-loss reduction circuit 102a and a current source 103a. The LED driving circuit shown on the right side of FIG. 1 includes an LED unit 101b connected in series with a power-loss reduction circuit 102b and a current source 103b.

(17) The LED unit 101a has a plurality of LEDs connected with a plurality of voltage controlled current limiting devices controlled by bias voltages V.sub.1,a, V.sub.2,a, . . . , V.sub.M.a, and the LED unit 101b has a plurality of LEDs connected with a plurality of voltage controlled current limiting devices controlled by bias voltages V.sub.1,b, V.sub.2,b, . . . , V.sub.N.b. The universal controller 100 controls how the two switches SW1 and SW2 are turned on or turned off to connect the two LED driving circuits according to the input voltage V.sub.IN.

(18) As shown in FIG. 1, the plurality of LEDs in each LED unit is divided into a plurality of LED segments with each LED segment having an associated voltage controlled current limiting device. Except for the first and last LED segments, each LED segment has a positive end and a negative end connected respectively to the negative end of its preceding LED segment and the positive end of its following LED segment.

(19) The voltage controlled current limiting device is a three-terminal device that has a first terminal connected to the negative end of its associated LED segment, a second terminal connected to a bias voltage and a third terminal connected to a common node in the LED unit. In each LED driving circuit, the power-loss reduction circuit 102a or 102b and the current source 103a or 103b are connected in series between the common node of the LED unit and ground. The operational principle of the three-terminal voltage controlled current limiting device in the LED unit and the power-loss reduction circuit has been disclosed in detail in U.S. Pat. No. 8,847,501, which is incorporated herewith by reference, and will not be repeated in this specification.

(20) In the present invention, the two driving circuits may comprise different or identical circuits. For example, the LED unit 101a may be the same as or different from the LED unit 101b, and the power-loss reduction circuit 102a may also be the same as or different from the power-loss reduction circuit 102b. In the embodiment shown in FIG. 1, the current I.sub.a of the current source 103a in the LED driving circuit shown on the left side is also controlled by the universal controller 100.

(21) According to the present invention, when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC, for example, a rectified 110 volt AC voltage, switch SW1 is turned on and switch SW2 is turned off by the universal controller 100. At the same time, the current source 103a is also turned on. As a result, the two LED driving circuits are connected in parallel.

(22) When the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, for example, a rectified 220 volt AC voltage, switch SW1 is turned off and switch SW2 is turned on so as to connect the LED segments of the LED unit 101a in series with the LED driving circuit shown on the right side of FIG. 1. At the same time, the universal controller 100 controls the current I.sub.a flowing through the current source 103a according to voltage variation in the input voltage V.sub.IN.

(23) The voltage variation in the input voltage V.sub.IN can be detected by directly sensing the input voltage V.sub.IN, or detecting a related node voltage such as the voltage at one end of switch SW2, or a branch current of the LED driving circuits such as the current I.sub.b of the current source 103b. The switch SW2 may also be a passive switch such as a diode.

(24) According to the present invention, when the input voltage V.sub.IN is not large enough to make the LED driving circuit shown on the right side of FIG. 1 conductive, the current source 103a is turned on. However, when the input voltage V.sub.IN is large enough to make the LED driving circuit shown on the right side of FIG. 1 conductive, the current source 103a is turned off.

(25) FIG. 2 shows an example for the current source 103a. The current source has a differential amplifier 201 that receives a current setting signal Vset and a current sensing signal Vsense to control a transistor device. The current of the current source set by the current setting signal Vset equals to Vset/Rset, where Rset is a current setting resistor connecting the transistor device to ground and the actual current of the current source is Vsense/Rset.

(26) When the voltage Vout is less than the headroom voltage of the current source, the output current I.sub.out=Vsense/Rset of the current source is less than Vset/Rset. When the voltage Vout is greater or equal to the headroom voltage, the output current I.sub.out=Vsense/Rset is identical to Vset/Rset.

(27) As mentioned above, the universal controller 100 controls how the two switches SW1 and SW2 are turned on or turned off to connect the two LED driving circuits according to the input voltage V.sub.IN. FIG. 3 shows an example of the block diagram of the universal controller. In the universal controller 300 of FIG. 3, a peak voltage detector 301 outputs logic “1” when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC. As a result, switch SW1 is turned on and switch SW2 is turned off. In the meantime, NAND gate 302 also selects position S1 and sends reference voltage Vref to the current source 103a shown in FIG. 2 as the current setting signal Vset to turn on the current source 103a.

(28) In the universal controller 300, the peak voltage detector 301 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. A voltage comparator 303 compares a voltage sensing signal with a threshold voltage V.sub.th1. If the voltage sensing signal is less than the threshold voltage V.sub.th1, NAND gate 302 also selects and sends the reference voltage Vref to the current source 103a as the current setting signal to turn on the current source 103a. If the voltage sensing signal is greater than the threshold voltage V.sub.th1, NAND gate 302 selects position S0, and the current source 103a is turned off because the current setting signal is connected to ground. In this example, the voltage sensing signal may be connected to the output of the resistive voltage divider consisting of resistors R1 and R2 or some other related node in the LED driving circuit.

(29) FIG. 4 shows another example of the block diagram of the universal controller. Similar to the example shown in FIG. 3, in the universal controller 400 of FIG. 4, a peak voltage detector 401 outputs logic “1” when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC. As a result, switch SW1 is turned on and switch SW2 is turned off. In the meantime, NAND gate 402 also enables the reference voltage Vref to be sent to the current source 103a shown in FIG. 2 as the current setting signal Vset to turn on the current source 103a.

(30) In the universal controller 400, the peak voltage detector 401 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. In this example, there are two voltage comparators 403 and 404, and a voltage subtractor 405 in the universal controller 400. The voltage sensing signal is compared in both comparators. If the voltage sensing signal is less than the threshold voltage V.sub.th2, the output of the comparator 403 makes NAND gate 402 enable the reference voltage Vref to be sent to the current source 103a as the current setting signal to turn on the current source 103a. If the voltage sensing signal is greater than the threshold voltage V.sub.th2+Vref, the output of the comparator 404 selects position S0 and the current source 103a is turned off because the current setting signal is connected to ground.

(31) In this example, if the voltage sensing signal is between V.sub.th2 and V.sub.th2+Vref, the current setting signal of the current source 103a comes from the output of the voltage subtractor 405 which is between 0 and Vref by subtracting the voltage sensing signal from the voltage V.sub.th2+Vref. Because the current source 103a has a current transition state in addition to the turn-on and turn-off states, this example has the advantage that the effects of flicker, EMI, power loss and low power factor caused by the sudden switching between the turn-on and turn-off states can be reduced. Similar to the example of FIG. 3, the voltage sensing signal may be connected to the output of the resistive voltage divider consisting of resistors R1 and R2 or some other related node in the LED driving circuit.

(32) FIG. 5 shows a block diagram of an apparatus for driving LEDs using high voltage according to a modified version of the preferred embodiment of the present invention shown in FIG. 1. In the embodiment, the apparatus also comprises two LED driving circuits and two switches SW1, SW2 controlled by a universal controller 500. The LED driving circuit shown on the left side of FIG. 5 includes an LED unit 501a connected in series with a power-loss reduction circuit 502a and a current source 503a. The LED driving circuit shown on the right side of FIG. 5 includes an LED unit 501b connected in series with a power-loss reduction circuit 502b and a current source 503b.

(33) As shown in FIG. 5, in addition to controlling the current source 503a, the universal controller 500 in this embodiment receives a current sensing signal from the current source 503b so that the current I.sub.a of the current source 503a can be determined by sensing current I.sub.b flowing through the current source 503b.

(34) FIG. 6 shows an example of the block diagram of the universal controller 500 in the preferred embodiment shown in FIG. 5. The universal controller 600 of FIG. 6 is very similar to the universal controller 300 of FIG. 3 except for the voltage comparator 603. The operation of the universal controller 600 when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC is the same as that in the universal controller 300 of FIG. 3.

(35) In the universal controller 600, the peak voltage detector 601 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. The voltage comparator 603 compares the voltage sensing signal, which is the current sensing signal Vsense from the current source 503b, with a threshold voltage V.sub.th3. If the voltage sensing signal is less than the threshold voltage V.sub.th3, NAND gate 602 enables the reference voltage Vref to be sent to the current source 503a as the current setting signal to turn on the current source 503a. If the voltage sensing signal is greater than the threshold voltage V.sub.th3, NAND gate 602 selects position S0, and the current source 503a is turned off because the current setting signal is connected to ground. As a result, the current I.sub.a of the current source 503a is determined by sensing the current I.sub.b flowing through the current source 503b in this embodiment.

(36) FIG. 7 shows another example of the block diagram of the universal controller 500 in the preferred embodiment shown in FIG. 5. As shown in FIG. 7, a peak voltage detector 701 outputs logic “1” when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC. As a result, switch SW1 is turned on and switch SW2 is turned off. In this case, the selector that selects the voltage sent as the current setting signal Vset of the current source 503a is positioned to S0 to output reference voltage Vref to turn on the current source 503a.

(37) In the universal controller 700, the peak voltage detector 701 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. A voltage subtractor 703 subtracts the current sensing signal of the current source 503b from reference voltage Vref to output a subtracted voltage at position S1. As shown in FIG. 7, the selector that selects the voltage sent as the current setting signal Vset of the current source 503a is positioned to S1.

(38) Therefore, the current I.sub.a of the current source 503a is determined by the current I.sub.b flowing through the current source 503b in this example. As the current I.sub.b increases, the current I.sub.a decreases. Because the current source 503a has a current transition state in addition to the turn-on and turn-off states, this example also has the advantage that the effects of flicker, EMI, power loss and low power factor caused by the sudden switching between the turn-on and turn-off states can be reduced.

(39) FIG. 8 shows a block diagram of an apparatus for driving LEDs using high voltage according to another preferred embodiment of the present invention. In the embodiment, the apparatus comprises two LED driving circuits and two switches SW1, SW2 controlled by a universal controller 800. The LED driving circuit shown on the left side of FIG. 8 includes an LED unit 801a connected in series with a power-loss reduction circuit 802a and a voltage controlled current limiting device 803a. The LED driving circuit shown on the right side of FIG. 8 includes an LED unit 801b connected in series with a power-loss reduction circuit 802b and a voltage controlled current limiting device 803b. A current source 804 connects both voltage controlled current limiting devices 803a and 803b to ground.

(40) In this embodiment, the universal controller 800 controls the two switches SW1, SW2, the two voltage controlled current limiting devices 803a, 803b and the current source 804. FIG. 9 is a block diagram of an example 900 of the universal controller 800. As shown in FIG. 9, the universal controller 900 comprises a peak voltage detector 901 that outputs logic “1” when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC. V.sub.C1 and V.sub.C2 are control voltages for the two voltage controlled current limiting devices 803a and 803b respectively with V.sub.C2 being connected to a voltage V.sub.ON.

(41) As a result, switch SW1 is turned on and switch SW2 is turned off. In the meantime, the selector that selects the voltage sent as the current setting signal Vset of the current source 804 is positioned to S0 to output a voltage level equal to 2Vref to turn on the current source 804 with a current twice of the current flowing through each LED driving circuit. The selector that selects the voltage provided for V.sub.C1 is positioned to S1 by a NAND gate 902 to pass voltage V.sub.ON to V.sub.C1. In this example, the control voltages V.sub.C1 and V.sub.C2 of the two voltage controlled current limiting devices 803a and 803b are both set to V.sub.ON.

(42) In the universal controller 900, the peak voltage detector 901 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. The selector that selects the voltage sent as the current setting signal Vset of the current source 804 is positioned to S1 to output a voltage level equal to Vref to turn on the current source 804.

(43) A voltage comparator 903 compares a voltage sensing signal with a threshold voltage V.sub.th4. If the voltage sensing signal is less than the threshold voltage V.sub.th4, the selector that selects the voltage provided for V.sub.C1 is positioned to S1 by the NAND gate 902 to pass voltage V.sub.ON to V.sub.C1 and, therefore, the control voltages V.sub.C1 and V.sub.C2 of the two voltage controlled current limiting devices 803a and 803b are both set to V.sub.ON. At this moment, because the input voltage V.sub.IN is not large enough to drive both LED driving circuits connected in series, only voltage controlled current limiting device 803a controlled by V.sub.C1 has a current flowing through.

(44) If the voltage sensing signal is greater than the threshold voltage V.sub.th4, the selector that selects the voltage provided for V.sub.C1 is positioned to S0 to connect V.sub.C1 to ground, only V.sub.C2 is provided with V.sub.ON and, therefore, only the voltage controlled current limiting device 803b controlled by V.sub.C2 has a current flowing through. In this example, the voltage sensing signal may be connected to the output of the resistive voltage divider consisting of resistors R1 and R2 or some other related node in the LED driving circuit.

(45) FIG. 10 shows another example 1000 of the block diagram of the universal controller 800 in the preferred embodiment shown in FIG. 8. As shown in FIG. 10, the universal controller 1000 comprises a peak voltage detector 1001 that outputs logic “1” when the input voltage V.sub.IN is in a range from rectified 90 volt AC to rectified 140 volt AC.

(46) Therefore, switch SW1 is turned on and switch SW2 is turned off. In the meantime, the selector that selects the voltage sent as the current setting signal Vset of the current source 804 is positioned to S0 to output a voltage level equal to 2Vref to turn on the current source 804 with a current twice of the current flowing through each LED driving circuit. The selector that selects the voltage provided for V.sub.C2 is positioned to S0 to pass voltage V.sub.ON to V.sub.C2, and the control voltages V.sub.C1 and V.sub.C2 of the two voltage controlled current limiting devices 803a and 803b are both set to V.sub.ON.

(47) The peak voltage detector 1001 outputs logic “0” when the input voltage V.sub.IN is in a range from rectified 180 volt AC to rectified 265 volt AC, switch SW1 is turned off and switch SW2 is turned on. The selector that selects the voltage sent as the current setting signal Vset of the current source 804 is positioned to S1 to output a voltage level equal to Vref to turn on the current source 804. The selector that selects the voltage provided for V.sub.C2 is also positioned to S1 to pass the voltage sum of voltage V.sub.ON and a differential voltage, i.e., V.sub.ON+ΔV to V.sub.C2.

(48) When the input voltage V.sub.IN is not large enough to drive both LED driving circuits connected in series, only voltage controlled current limiting device 803a controlled by V.sub.C1 has a current flowing through. When the input voltage V.sub.IN is large enough to drive both LED driving circuits connected in series and the current starts to flow through the voltage controlled current limiting device 803b controlled by V.sub.C2, the voltage at the node where the current source 804 is connected to the two voltage controlled current limiting devices 803a and 803b will increase.

(49) As a result, the current flowing through the voltage controlled current limiting device 803a controlled by V.sub.C1 will decrease and finally reduce to zero. Only the voltage controlled current limiting device 803b controlled by V.sub.C2 has a current flowing through. Because the two voltage controlled current limiting devices 803a and 803b are gradually switched, this example has the advantage that the effects of flicker, EMI, power loss and low power factor caused by the sudden switching between the turn-on and turn-off states can be reduced.

(50) In the two examples shown in FIGS. 9 and 10, two different reference voltage levels, i.e., Vref or 2Vref are used to control the current flowing through the current source 804. The current source shown in FIG. 2 is an example that can be used so that the current flowing through the current source 804 can be controlled according to the current setting signal which is either Vref or 2Vref.

(51) FIG. 11 shows a current source in which the current flowing through the current source can be controlled by a switch S.sub.I. In comparison with the current source shown in FIG. 2, the current source of FIG. 11 has one additional resistor Rset controlled by S.sub.I that can be connected in parallel with another resistor Rset to double the current flowing through the current source with the same Vref as the current setting signal without using 2Vref.

(52) The current source shown in FIG. 11 can be used in the preferred embodiment shown in FIG. 8 to simplify the circuit of the universal controller 800. FIG. 12 shows an example of the block diagram of the universal controller 800 that can be used with the current source of FIG. 11. As can be seen from FIG. 12, the universal controller is almost identical to the one shown in FIG. 9 except that the selector which selects reference voltage Vref or 2Vref passed as the current setting signal of the current source 804 is eliminated. Instead, a current selecting signal S.sub.1 is provided for controlling the current flowing through the current source 804.

(53) Similarly, with the current source shown in FIG. 11, the example of the block diagram of the universal controller 800 shown in FIG. 10 can be simplified as shown in FIG. 13. As can be seen from FIG. 13, the universal controller is almost identical to the one shown in FIG. 10 except that the selector associated with passing reference voltages Vref or 2Vref to the current setting signal of the current source 804 is eliminated. Instead, a current selecting signal S.sub.I is provided for controlling the current flowing through the current source 804.

(54) Although the present invention has been described with reference to the preferred embodiment thereof, it is apparent to those skilled in the art that a variety of modifications and changes may be made without departing from the scope of the present invention which is intended to be defined by the appended claims.