9
\$\begingroup\$

I am new to electronics. I am reading this book called Practical Electronics for Inventors.

This is a portion about bipolar transistors from the book:

enter image description here

There are two things I don't get from this:

  1. When the switch is thrown to the "on" position, I think \$I_{B}\$ should be:

$$I_B = I_{R_1} = \frac{V_{cc} - V_B}{R_1} = \frac{V_{cc} - 0.6}{R_1}$$

Supposing \$V_{BE}\$ = 0.6V. Why does the author have \$I_B = 0.6/R_1\$ ?

  1. When the switch is thrown to the "off" position, why do we need R2? How about this:

enter image description here

If the author has to have R2, I still have a question: How does the current can goes from the collector to the base to R2 to ground? Look at this:

enter image description here

I think the current would have trouble if it wants to follow from collector to base because there is a NP junction between the collector and the base. How does the current flow when the switch is "off" with R2 in the circuit?

\$\endgroup\$
11
  • \$\begingroup\$ 1.incorrect formula. 2. Switch could ground base with no R2. As noted, floating base may allow leakage to turn on transistor in some situations. \$\endgroup\$
    – Russell McMahon
    Jul 28, 2021 at 9:27
  • 2
    \$\begingroup\$ Also really, do not ever think that current goes down the collector to the base (at least in this circuit configuration and with a working transistor) \$\endgroup\$ Jul 28, 2021 at 9:50
  • \$\begingroup\$ Also, Vce is about 0.2 V when the transistor is fully on, so Vc will be 0.2 V above Ve, not 0.6 V as stated in the book. \$\endgroup\$
    – tim
    Jul 28, 2021 at 10:33
  • \$\begingroup\$ Dat - As an FYI, I recommend you search online for "practical electronics for inventors" "errata" then download the relevant one(s) for whichever edition of the book you have. Several are available (free). \$\endgroup\$
    – SamGibson
    Jul 28, 2021 at 15:23
  • \$\begingroup\$ Wow that's an abysmal error from such a popular book. Maybe you are using an old edition? R2 is used as a weak pull down here. It never hurts to have it, in case some accidental short happens. \$\endgroup\$
    – Mitu Raj
    Jul 28, 2021 at 21:01

4 Answers 4

3
\$\begingroup\$
  1. You are correct. The book is wrong, strike one.

  2. Again, you make a good point - current can't flow out of the base (OK, it can, but it's picoamps, nanoamps at worst, just leakage current). However, while it's unlikely that leaving a bipolar transistor's base unconnected will cause any great current to flow (either into the base, or from collector to emitter), it is possible. The base is a relatively high impedance, and it's easy to couple current into it capacitively (from your own body in its vicinity), or electromagnetically (like an antenna). If the load being driven were less heavy, such as an LED, you would probably be able switch the LED on by just touching the base with your finger, injecting current into the base (thereby also raising its potential), current which is coupled capacitively to your body from the mains wiring around you. I've had fun making touch sensors this way. The author uses R2 to prevent that from happening, but actually that's an extra, unnecessary component. Connecting the base directly to ground would have the same effect, holding the base potential at zero. I think that's strike two for this book.

  3. I know there's no question three, but I'm going to answer it anyway. The author states that the relationship Ic = hfe × Ib holds true unless Vc drops below 0.6V above Ve. This is also incorrect. It holds true right up until saturation, at which point the collector voltage is only 0.2V higher than the emitter (or somewhere in that vicinity, depending on the transistor - some transistors are better than others in this respect). That's strike three. It is most definitely out.

\$\endgroup\$
7
  • \$\begingroup\$ Witty answer... In addition to these AC sensor switches, I would add a DC sensor switch - touch with one hand Vcc and with the other the transistor base:-) \$\endgroup\$ Jul 31, 2021 at 20:30
  • 1
    \$\begingroup\$ @Circuitfantasist As a boy I made a "switchboard" by connecting alternating strips of a Veroboard, and using the finger pressed on them to bridge the strips and switch transistors on in that "DC" way. Ah, nostalgia. \$\endgroup\$ Aug 1, 2021 at 1:54
  • \$\begingroup\$ The author makes me confused, he said: "R2 should be large so that very little current flows to ground". Does that mean: from the author's point of view, if we connect the base to ground by a wire (R2 is small) then there is a larger current flows to ground, then where does this larger current come from? \$\endgroup\$
    – Dat
    Aug 1, 2021 at 4:20
  • \$\begingroup\$ @Dat: You have well understood the author's claim, but the author is wrong. No current will flow to ground (except a tiny, tiny leakage current) because the base cannot source current. In other words, no current can leave the base and flow down to ground, because the transistor does not operate that way. Current can enter the base, but not leave, because it's effectively a diode. Disregard the author's opinion here, it's wrong. \$\endgroup\$ Aug 1, 2021 at 5:31
  • \$\begingroup\$ @SimonFitch great, I understand now \$\endgroup\$
    – Dat
    Aug 1, 2021 at 5:45
7
\$\begingroup\$

For the point 1) the current loop is VCC, R1, and the VBE junction which is more-or-less a 0.6V diode for most practical purposes.

So you have VCC=I*R1+VBE and the book has a serious mistake…

For the second point, you current diagram is wrong: you can't pull collector current from the base (in the usual biasing mode!). When you switch an NPN transistor you put current thru the VBE junction and it gives collector gain.

Turning it off empties the VBE junction from whatever charge remains and stop the collector flow. In practice with an open base you would only have the collector cut-off current (about 100nA, usually trascurable) but from parasitics some current could leak into the base and turn on the transistor.

If you actually switched the transistor with a mechanical switch like in figure you could ground the base without issues. In practice using a throw switch is not useful and the 'usual' transistor setup is like this

schematic

simulate this circuit – Schematic created using CircuitLab

(resistor values and voltages are not correct, it's just to show the shape of the circuit)

This is usually known as a common emitter switch. Common emitter since the control current flows from base to emitter (base current) and the load current from collector to emitter (collector current).

In this circuit you can see why the base-to-ground resistor should be somewhat big: otherwise all the control current would go thru it!

The calculation of the two resistor values is called biasing the transistor: you would substantially want some mA of base current when the switch is closed and less than 0.6V of VBE with the switch open. Hopefully your book will explain that a couple of pages later.

\$\endgroup\$
5
  • \$\begingroup\$ "about 100nA, usually trascurable" – I think the word you want is "negligible." \$\endgroup\$ Jul 28, 2021 at 23:51
  • \$\begingroup\$ "For the second point, you current diagram is wrong: you can't pull collector current from the base (in the usual biasing mode!)" Do you mean biasing mode is "on" mode of the transistor? No, my current diagram is when transistor is off \$\endgroup\$
    – Dat
    Jul 29, 2021 at 8:14
  • 1
    \$\begingroup\$ I would swap the "order" of R1 & R2 in this circuit - as it is drawn now it makes choosing R2 unnecessarily overcomplicated because you have to take into account the current that flows into R1 on top of what flows into the BJT base. \$\endgroup\$ Jul 29, 2021 at 9:00
  • \$\begingroup\$ Although possible, this input configuration (an "ideal" voltage source and a switch in series) is rarely used in conventional digital circuits. Its main disadvantage is that it leaves the input of the controlled stage floating and this requires the inclusion of R2 but this is not desirable. The usual solution is a real voltage source (with a resistor in series) and a switch in parallel (as @Vladimir said). This configuration is implemented by a common-emitter transistor stage (i.e., the same transistor switch). In this case, the transistor base can be directly connected to the stage output... \$\endgroup\$ Jul 31, 2021 at 19:37
  • \$\begingroup\$ ... The more sophisticated solution is the complementary stage (e.g., CMOS) that implements the SPDT switch. In this case, the transistor base must be connected through a base resistor to the stage output. \$\endgroup\$ Jul 31, 2021 at 19:38
4
\$\begingroup\$
  1. Yes, you are correct, the book has an error.

  2. Taking into account leakage, the collector current Ic = \$\beta I_B +(\beta+1)I_{CBO}\$ Adding the resistor in the absence of Ib reduces the collector current to \$I_{CBO}\$. The resistor needs to be low enough that the highest vaLue of \$I_{CBO}\$ only presents a few hundred mV at most at the base. A short is an acceptable value, though you may prefer a resistor in some cases when possible failure modes are considered (beyond the scope of this answer).

The difference between \$I_{CBO}\$ and \$(\beta+1)I_{CBO}\$ may not be all that great under benign conditions (room temperature) since \$\beta\$ is very low at nA collector current (it's not a constant as the simplified view holds- it decreases at both high and low collector currents).

Especially at high junction temperatures (or with leaky transistors such as the old germanium types) \$I_{CBO}\$ is exponentially higher and the total collector leakage can rise to objectionable levels. For example, an LED might appear visible illuminated with only a few uA of current. Or a battery supply could be drained prematurely in standby state.

\$\endgroup\$
9
  • \$\begingroup\$ So I could replace R2 with a wire? \$\endgroup\$
    – Dat
    Jul 28, 2021 at 10:28
  • \$\begingroup\$ No, then the base will be forced to 0V and cannot be turned on with R1. \$\endgroup\$ Jul 28, 2021 at 10:33
  • 1
    \$\begingroup\$ @JakobHalskov There's a SPDT switch, so a wire is fine. \$\endgroup\$ Jul 28, 2021 at 10:34
  • 1
    \$\begingroup\$ @Dat As I said it's beyond the scope of this answer. Imagine the transistor fails in some way that puts load current through the switch and that is enough to damage the switch. \$\endgroup\$ Jul 28, 2021 at 10:46
  • 1
    \$\begingroup\$ The circuit is conceptually wrong and it is not worth looking for a reason to insert R2 (OP intuitively guesses this). Both resistors are redundant. Only one (base) resistor is needed to switch between Vcc and ground. This corresponds to a CMOS transistor implementation of the SPDT switch that controls a classic BJT switch with only a base resistor. \$\endgroup\$ Jul 31, 2021 at 18:22
1
\$\begingroup\$
  1. It should be a typo. I = (Vdd - 0.6)/R1.

  2. If we don't have R2, the base could be floating. We need something to pull down. There can be some leakage current happening in the BJT.

\$\endgroup\$
5
  • \$\begingroup\$ why should R2 be large? Can I replace R2 with a wire? \$\endgroup\$
    – Dat
    Jul 28, 2021 at 9:25
  • 3
    \$\begingroup\$ Also, when you apply 'real' logical signals (that doesn't go really to 0V) the pull down resistor helps when there's some risk that the voltage could go near 0.6V and turn the transistor one. Either way, just pick up the habitude since when you graduate to MOSFETs the pulldown is absolutely mandatory \$\endgroup\$ Jul 28, 2021 at 9:27
  • \$\begingroup\$ @LorenzoMarcantonio have answered your question. Learning about why we require pulldown resistors could help. You can get many websites explaining the same. If you still have doubts then ask here. \$\endgroup\$ Jul 28, 2021 at 9:32
  • 4
    \$\begingroup\$ 1) Is a bit more than a typo, it's worked out completely wrong. \$\endgroup\$
    – Finbarr
    Jul 28, 2021 at 10:02
  • \$\begingroup\$ Yeah it's blunder @Finbarr \$\endgroup\$ Jul 28, 2021 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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