4
\$\begingroup\$

schematic

simulate this circuit – Schematic created using CircuitLab

I am trying to correctly bias a BC337 NPN whose collector is connected to a 9V source. I wish to use it as a switch in response to a separate signal (which is either 0V or 9V) applied to its base.

I think I'm right in understanding that the current Ib applied to the base must be limited to that which does not allow excessive current Ice. I I believe I can calculate that.

But on the one hand I keep reading that Vbe should not exceed 5V, on the other I keep reading that Vbe is simply a diode drop ~0.7V. I cannot see how both can be true.

What is the correct way to understand how Vbe behaves?

EDIT: In response to @unimportant I have included a schematic. SW1 is there to simulate incoming signal (0/9V). R1 and R2 I put in case voltage divider is required in order to control VB. My concern is the conflict in what I have read about the behaviour of VBE. It is not clear to me how there is risk of VBE rising above 5V (which apparently destroys transistor) and if there is no risk then surely voltage divider is unnecessary, only R1 or RB if at all.

EDIT 2: per @greybeard, ground connections added

\$\endgroup\$
6
  • \$\begingroup\$ You're describing a emitter follower (but add a schematic to be sure). No base resistor is needed. Collector-emitter current trough the load resistance will raise emitter voltage to about 0.6V below base voltage at which point it starts pinching off base-emitter current automatically. \$\endgroup\$ Apr 7 at 18:51
  • \$\begingroup\$ I will try to add a schematic - new to this forum \$\endgroup\$
    – RickyBoy
    Apr 7 at 18:53
  • \$\begingroup\$ @RickyBoy - Hi, As you're new to the site, please see the main site rules in the tour & the help center as Stack Exchange has different rules to typical forums, including that questions should be edited to add more details i.e. don't add details relevant to answering the question in comments here. Regarding adding a schematic, either click Ctrl+G when editing the question, to upload an image of an existing schematic (e.g. something hand-drawn) or use Ctrl+M when editing, to use the Circuit Lab editor. More details kindly written by another user in this comment. Thanks \$\endgroup\$
    – SamGibson
    Apr 7 at 19:00
  • \$\begingroup\$ Thank you very much for the guidance... I hope I edited my question appropriately \$\endgroup\$
    – RickyBoy
    Apr 7 at 19:17
  • \$\begingroup\$ Without another connection, the components to the right of RB don't get to see any voltage from the left part: Voltage is difference between potentials. You put in "voltage arrows" implying where to measure each - it would be reassuring to see ground symbols on both sides, or another connection. \$\endgroup\$
    – greybeard
    Apr 7 at 19:53

2 Answers 2

5
\$\begingroup\$

Vbe, if negative, should not be greater magnitude than -5V for the BC337.

For example if you have your collector connected to +9V, base at 9V, and a capacitor parallel with a resistor connected from the emitter to ground (so emitter voltage about 8.3V), when you pull the base to 0V the transistor can be damaged as the load capacitance discharges through the reverse-biased base-emitter junction.

You may be confused about the sign since datasheets will sometimes state the parameter as Vebo (emitter with respect to base) and 5V rather than Vbe or Vbeo and -5V.

It sounds like you want to make a “high side switch” which is better made with a PNP transistor or a P-channel MOSFET.

n.b. Your added schematic does not match the description (collector is not connected to the supply) so the example may not be exactly applicable.

\$\endgroup\$
4
  • \$\begingroup\$ Ah! I will check datasheet - good point! \$\endgroup\$
    – RickyBoy
    Apr 7 at 19:15
  • \$\begingroup\$ You are exactly right, the datasheet states Vebo = +5V. That explains it. Good spot. Don't worry about the example, would have been made easier if I'd known how to submit the schematic in the first place. Thank you. \$\endgroup\$
    – RickyBoy
    Apr 7 at 20:13
  • 1
    \$\begingroup\$ Sorry I can't vote for your response, apparently I'm too new! \$\endgroup\$
    – RickyBoy
    Apr 7 at 20:15
  • 1
    \$\begingroup\$ Apparently I am now able to vote for your answer! So I have. Thanks again \$\endgroup\$
    – RickyBoy
    Apr 7 at 22:18
3
\$\begingroup\$

How the transistor output behaves when saturated

I think I'm right in understanding that the current Ib applied to the base must be limited to that which does not allow excessive current Ice.

This statement would be true for a transistor amplifier stage where the base current controls the collector current. In your case, however, the transistor works as a switch with two states - "on" (closed) and "off" (open).

For the transistor to be in the "on" state ("saturated"), a sufficiently high current must be applied to the base. From this moment, the collector current does not depend on the base current, but only on the supply voltage and the collector resistor (load), according to Ohm's law - Isat = Vcc/Rc.

So even if you keep increasing the base current, the collector current will not change because the transistor has "saturated". If you think of it as a "variable resistor" (very useful viewpoint), its "resistance" has gone to zero and cannot decrease any further.

How the transistor input behaves

What is the correct way to understand how Vbe behaves?

Think of the transistor base-emitter junction as a diode that can be forward biased (then the transistor is "on"), "zero biased" or backward biased (then the transistor is "off"). In your case, only the first two can be observed; so there is no point in bothering about the third one and trying to understand it by reading hard-to-understand data sheets (the purpose of manufacturers is to sell you devices, not to explain how they work).

How to control the transistor switch

Turning it on

So, to turn on ("bias", as you said) the transistor, you have to pass sufficient base current Ib > Isat/beta through the base-emitter junction. For this purpose, as you may have guessed, you need only a humble resistor.

Turning it off

Conversely, to turn off the transistor, you must interrupt the base current, or even more safely, make Vbe equal to zero. The simplest way to do it is to connect a resistor in parallel to the base-emitter junction.

Another (preferable) way is if your switch not only breaks but also grounds the circuit input (i.e., it is an SPDT switch). This is how electronic circuits are made by means of the complementary output stages.

Building the circuit

To realize the philosophy behind the transistor switch, let's follow its evolution by building it step by step. I have shown below in six steps how a mechanical switch (button) can control the load through a transistor. The schematics are conceptual; try each of them in both states (closed and open) of the button. You can set them from the SW parameters window of CircuitLab; then hover the mouse over the interesting nodes and elements to see the voltages and currents.

Of course, the most interesting is the voltage across the load. I have used a little trick to simplify the circuit - combined the load and the voltmeter into only one "bad" voltmeter with low resistance (the suitable 1 kohm value); thus it can serve as a "voltage-visualized 1 k load". If you want to monitor the current in the same way, you can set 1 k internal resistance of the ammeter to "worsen" it.

STEP 1: Ideal switch

To control the voltage across and the current through a load, first we can connect an "ideal" switch in series. It has zero resistance when closed and infinite resistance when open.

As we expected, the output voltage across the load is exactly equal to Vcc when SW is closed...

schematic

simulate this circuit – Schematic created using CircuitLab

... and exactly 0 V when open.

schematic

simulate this circuit

STEP 2: Real switch

But real switches have some small resistance Ron when closed and some high but finite resistance Roff when open. From this viewpoint, they can be considered as variable resistors with two extreme values of that resistance. In the schematics below, I have set in the R parameters window suitable values (Ron = 10 ohm and Roff = 1 Mohm).

As you can see, the effect of these resistances on the output voltage is small. It is close to Vcc (8.9 V) when SW is closed and reached the lowest resistance. Figuratively speaking, it is "saturated" because no matter how hard we press the button, SW cannot lower its resistance more than 10 ohm...

schematic

simulate this circuit

... and close to 0 V (8.9 mV) when open.

schematic

simulate this circuit

STEP 3: Transistor switch...

Now we have only to replace the mechanical switch by a transistor that acts as the variable resistor above. But it is a much more versatile "variable resistor" because it can smoothly change its "resistance". As they say, it is an analog device, but here we make it work as a digital one. It can even change its current "resistance" when the load changes its resistance... but that is another story.

In order to ensure the maximum collector current through the load when the transistor is "on", we must pass the corresponding base current through its base-emitter junction. We can do it with just one resistor R1 acting as a voltage-to-current converter. So there is current flowing through and voltage across the base-emitter junction; so the transistor is "on". It acts as a closed real switch with low resistance.

schematic

simulate this circuit

When SW is open, there is no current flowing through and no voltage across the base-emitter junction; so the transistor is "off". It acts as an open real switch with relatively high resistance.

schematic

simulate this circuit

STEP 4: ... with leakage...

Unfortunately, in addition to the useful ones, undesired voltages and currents try to affect the transistor base. For example, it could be a "leakage resistance" Rleak between Vcc and the base.

When SW is closed, it does not really matter...

schematic

simulate this circuit

... but when SW is open, the effect can be significant (look at the voltmeter to see).

schematic

simulate this circuit

STEP 5: ... neutralized

That is why we include another resistor R2 to divert the leakage current from the base. It is not useful (even harmful) when SW is closed...

schematic

simulate this circuit

... but will work when SW is open.

schematic

simulate this circuit

STEP 6: Final circuit

After all that, here is what your schematic would look like.

schematic

simulate this circuit

\$\endgroup\$
3
  • 1
    \$\begingroup\$ Thank you for that info \$\endgroup\$
    – RickyBoy
    Apr 7 at 21:19
  • 1
    \$\begingroup\$ OMG! This is so thorough! I'm going to have to print it off and go through it in detail. Will report back, thank you for all the effort!!!! \$\endgroup\$
    – RickyBoy
    Apr 8 at 12:21
  • \$\begingroup\$ @RickyBoy, I am glad you liked it. Feel free to ask me more questions. \$\endgroup\$ Apr 8 at 12:34

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.