Tricolor LED emits light of any color or hue
Vary the current in three LEDs to produce any color.
Marián Štofka, Slovak University of Technology, Bratislava, Slovakia; Edited by Martin Rowe and Fran Granville -- EDN, September 9, 2010
| View as PDF |
The human eye can see any color as a mixture of blue, red, and green. The circuit in Figure 1 produces all three colors through an Avago ASMT-YTB0 tricolor LED. You can produce a wide range of colors by varying the current in the blue, red, and green LEDs.
The differential stages let you vary IR, IG, and IB over a range of 0 to IO, where IR+IG+IB≈IO=4.43 mA. This value is approximate because IR+IG+IB is lower by a relative value of 3/β, where β is a current gain of the bipolar transistors. The relative error is less than 1%. Transistor Q6 equalizes Q2’s collector voltage with those of the Q1 and Q3 collectors. This approach preserves the matching of the base-emitter voltages of Q1, Q2, and Q3. The base currents of bipolar transistors in this case can reach to as much as 100 μA. For this reason, you route the color and hue control voltages, VA and VB, which you derive from resistive potentiometers P1 and P2, to the bases of Q2 and Q5 through voltage-follower-connected op amps IC3A and IC3B, two halves of an Analog Devices’ ADA4091-2. The ADA4091-2 has low power consumption and input offset voltage of less than 500 μV with a typical value of 80 μV.
| Read More Design Ideas |
Potentiometer P1 controls the blue LED’s intensity. At the upper-end position, when the LED is 100% blue, transistors Q2 and Q3 are off, which turns off Q4 and Q5. Thus IO flows solely through Q2 and Q6. The red and green LEDs are therefore off. When P1’s wiper is at 0V, output current flows exclusively through paralleled Q1 and Q3 and distributes itself to Q4 and Q5, depending on the position of the wiper of potentiometer P2. With P2’s wiper at its upper end, the circuit emits 100% green light. At 0V, the emitted light is fully red. An intermediate position of the wiper yields a mixture of red and green. By moving P1’s wiper from the ground position, the circuit produces a mixture of red, green, and blue.
Transistors Q1, Q2, and Q3 should tightly match. You need a difference in base-emitter voltages of less than 1.5 mV. The same requirement holds true for the Q4/Q5 pair. Matching requirements are less stringent for Q6. You should use a bipolar NPN matched-transistor pair for Q1 through Q6, or at least Q1 through Q5, whereas Q6 is a single transistor. Eventually, you can use three matched-transistor pairs.
Talkback


















