0
\$\begingroup\$

Resistor is required to limit the current flow through the LED since otherwise so much current will pass through that power dissipation shall destroy the LED in less than a second.

For nonmultiplexed display it is quite simple to determine the value of this resistor since... the LED has 1 diode drop when it is turned on, the rest shall be across the resistor. This enables use of simple Ohm's law.

The situation gets complicated for a multiplexed display, now there is voltage drop across the PNP (for common anode) emitter collector junction and the base of this transistor also needs a resistor.

(1) Is the resistor on the base used to limit base current?

(2) How does one determine how much current shall be flowing through the transistor i.e collector current? I don't think the transistor action equations can be used since the transistor is likely in saturation mode. Using beta value will not help. Besides, the base current value is also unknown.

(3) How does one determine the value of the base resistor and the display resistors in this case? The collector-emitter voltage drop is unknown which is creating the complication.

\$\endgroup\$
2
  • \$\begingroup\$ You mean Vce(sat)? \$\endgroup\$ May 9, 2016 at 23:56
  • \$\begingroup\$ Yes that is correct \$\endgroup\$
    – quantum231
    May 10, 2016 at 8:20

1 Answer 1

1
\$\begingroup\$

I think you're looking for something like this

enter image description here (Source)

where the individual LED current is controlled by a resistor Rs on the cathode side of each LED. (This prevents variations in LED Vf from making some elements brighter than others!)

1) No, the resistor on the cathode is used to limit current

2) You can pulse current up to the maximum pulsed current rating, which is different from the maximum steady-state current. You still must make sure that the average power dissipated is less than the maximum allowable.

For example, in this Lite-On datasheet, it gives

enter image description here

enter image description here

100mA as the peak forward current. So the maximum Rs value will be 5V-2V / 100mA = 30 Ohms (discounting Vce(sat) of T).

At that value, the dissipation in the LED will be, at most, 2V * 100mA = 200mW

This is much larger than the maximum LED dissipation of 75mW, so we should run it at a maximum duty cycle of 75/200 = 37% (edit: the datasheet give 1/10th duty and .1ms pulse width for 100mA, so that is the limiting factor here!)

3) Determine the base resistor so that T will definitely saturate for the worst-case Beta. Assuming B=50, that would be around Ib=2mA, so Rb~2k

Note: All of this is quite back-of-the-napkin, but these values guide you through the process of getting close to the answer. In reality, this is probably much brighter/hotter than you'd ever run one of these.

\$\endgroup\$
5
  • \$\begingroup\$ Hmm so it is about using worst case beta. Hmmm... I have seen a few pictures on the internet where there is no Rb. Shouldn't that destroy the transistor? I mean the pnp emitter base junction is after all a diode. Not limiting current using Rb should destroy it. \$\endgroup\$
    – quantum231
    May 10, 2016 at 8:20
  • \$\begingroup\$ If you don't use an Rb with the PNP in that configuration, it will short +5 into the inputs of the micro (RAx) \$\endgroup\$
    – Daniel
    May 10, 2016 at 15:05
  • \$\begingroup\$ Are u saying the HIGH-time here should be 37% of 0.1ms? Could you further explain the part about the duty cycle and how it affects the power dissipation? \$\endgroup\$ May 12, 2016 at 12:43
  • \$\begingroup\$ No, I'm saying my calculation of 37% is higher than the maximum allowable duty cycle for that current, even though it seems to meet the power spec. 37% is my calculated value. On for .1ms and off for .9ms at 100mA is given by the datasheet as the allowable cycle at that current. \$\endgroup\$
    – Daniel
    May 12, 2016 at 15:07
  • \$\begingroup\$ While this has been quite helpful in the past, I have a new follow up comment just to make this answer completely complete. When you calculated the Rb, you assumed Ic to be 25mA. However, that means that only 1 segment is on which will not be the case usually. Also, as more segments turn on, the current is divided between them so the more segments are on, the dimmer each segment will become. It is best if you could add this information into the answer. That would make it awesome. As things stand, this answer shows up on google in front when we search for seven segment displays. Thanks. \$\endgroup\$
    – quantum231
    Feb 5, 2017 at 0:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.