Design Idea

Circuit efficiently switches bipolar LED

Edited by Bill Travis

Spehro Pefhany, Trexon Inc, Toronto, ON, Canada -- EDN, 11/22/2001

The circuit in Figure 1 represents one method to switch a bipolar, two-color LED using an SPDT mechanical switch or relay. This circuit wastes power and does not work properly if the power-supply voltage is not substantially more than the sum of the LEDs' forward voltages. The circuit is, therefore, marginal, to the point of being unusable, with a 5V supply and a red or green LED, which typically has a total forward voltage of 4V. You can use a circuit resembling a flip-flop (Figure 2) that doesn't suffer the disadvantages of the circuit in Figure 1. It adds only one VCE(SAT) voltage to the VF of each LED, so plenty of headroom exists with a 5V supply and a series resistor to control the LEDs' current. The circuit in Figure 2 costs less than a dime for the parts, which include three resistors and two inexpensive, general-purpose npn transistors, such as the 2N4401 or the C8050. In this example, D1 is red (VF1=1.6V), and D2 is green (VF2=2.4V). Based on D2, the green LED, you can calculate that RS=(5V–2.4V–0.1V)/0.02A=125Ω (use 130Ω for 19 mA).

As a result, using a single resistor, D1 has a current of 25 mA. If it is desirable to have equal or arbitrarily different currents, you can insert an additional resistor in one leg of the switch to increase the effective RS for that switch position. The base drive is a function of the VF of the driven LED, so you can calculate the base resistors, using a forced beta of 20, as follows:

R1=20(VF1–0.7V)/ILED1=720Ω (use 750Ω).

R2=20(VF2–0.7V)/ILED2=1.8 kΩ.

The base drive reduces the actual LED current by 5%, which is visually negligible. As a bonus, the circuit does not introduce any switching glitches into the power supply. The circuit requires only two connections, rendering it ideal for front-panel use. Because the 130Ω resistor is in series with the power supply, any part of the circuit beyond RS can short to ground without causing damage.

Is this the best Design Idea in this issue? Vote at www.ednmag.com.



ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

There are no comments posted for this article.

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center



Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites