Electronic – Arduino/Atmega with TIP120/121/122 transistors: base current question

atmegacurrentmicrocontrollertransistors

I am learning about transistors, and can't seem to find the answer to a few questions which are stumping me. I will be referring to the TIP120/121/122 Darlington Transistor.

  1. As I understand transistors so far, I need to apply a current from
    my Arduino to the base of the transistor in order to allow current
    to flow between the collector and emitter. What I don't understand
    is how a microcontroller is used with the transistor in so many
    projects and tutorials. The arduino and other atmegas give ~50mA out
    of their pins, but according to the data sheet, the TIP needs 120mA
    at the base. On top of that, a resistor is used between the pin of
    the microcontroller and base of the transistor, which I would assume
    reduces the current going into the base even more. So what's going
    on here?
  2. I want to experiment with these transistors, but noticed that the
    TIP120 and 121 are more expensive than the TIP122. I am curious to
    know why this is, because as per the data sheet, it seems the TIP122
    can handle higher voltages (which I suppose is a good thing), with
    all other things pretty much the same. So is there a scientific
    reason for this price discrepancy and is there any reason I should
    select the TIP120 over the 122 to use for my microcontroller
    projects?

Best Answer

The TIP120 does not need 120mA at the base for normal operation, that's the absolute maximum rating, above which you don't want to go.
The spec you are mostly interested in is the hFE (current gain), which for a darlington is very high, since it's two transistors connected in a way so the current gains multiply. For the TIP120 it's given as minimum 1,000 (compare with a typical 200 for a single bipolar transistor)
Also important are the max collector current (5A) and the collector emitter voltage (60V)

The main disadvantages are that the base-emitter voltage is doubled compared to a single transistor (~1.4V), and the saturation voltage is higher (typically ~0.8V compared to ~0.2V at low currents)
These points are rarely a problem for a simple switch driven from a micro pin. At higher collector-emitter currents though, the Vsat rises and can interfere with desired operation and cause problems with dissipation.
For example, in the TIP120 datasheet note that at 3A Ice, Vsat is given as 2V, but at 5A it has risen to 4V. That's 20W of dissipation, a lot to heat to try and get rid of to keep the temperature down. So when switching a large current you need to take these factors into account, and maybe decide to look at a more suitable part (e.g. logic level, low Rsdon power MOSFET)

Since we have a gain of 1000, we hardly have to draw anything from the micro pin. Let's say we want to switch 1 Amp:

1A / 1000 = 1mA into the base needed.
If we have a drive voltage of 5V, then we subtract the Vbe from the drive voltage and divide by the current:

(5V - 1.4V) / 1mA = 3.6k resistor. To give it a bit of leeway select something a bit smaller like 2.2k. This still only draws ~1.6mA.

I wouldn't read too much into the different prices - the price of components is often dictated by how popular they are, the more they sell the less they cost. If you see better specs at a cheaper price, go for it ;-)
You can some pretty odd prices when the component is scarce/new/obsolete - I saw a 10uF ceramic capacitor priced at £7.50 (qty 1) on Farnell the other week...