×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Transistor Switch

Transistor Switch

Transistor Switch

(OP)
Is there a way to calculate the ideal resistances required to properly design a simple transistor switch?  Let's take an NPN low side switch with the emitter grounded. The circuit has an input resistor (Rin) from an external input and a resistor from the base to ground (Rb) to hold the transistor OFF if the external drive signal is open circuit.  What is the proper method to choose the values for the resistors.

For an example, lets use a 2N2222A with a minumum beta of 50 and we want to fully saturate the transistor to drive a relay requiring 500mA (5 volt relay)
The input driving the transistor can be a CMOS HC output that is either 0 or 5 volts.  Now there are many ratios for Rin and Rb that will work (within reason), but is there an ideal set of values that are optimal?

RE: Transistor Switch

I'm not sure what you're asking.  You pick a WWC beta, like 25, which means you need a minimum of 20 mA of base current.  Add in the current needed by the base shunt. Subtract out Vbe from Vcc and calculate the input resistor.

TTFN



RE: Transistor Switch

(OP)
I've heard of a method for selecting the shunt resistor.  I had something to do with the leakage current of the transistor.  Anyone have any information on this?

RE: Transistor Switch

I frequently use this when the signal to the base goes through a connector and I want to make sure the transistor is off even in the presence of strong EM fields.

I generally just pick values from previous experience. Sometimes, I will select the base series resistor and base shunt resistor values as a voltage divider to require an approximate minimum input voltage to make the transistor switch.

RE: Transistor Switch

Unless you've got a crappy transistor, its Icbes should be minimal and rarely enters the considerations.  Nonetheless, that is one approach.  You can choose the resistor to sink 0.1 mA at Vbeon, which would call for a 70 K base resistor.

TTFN



RE: Transistor Switch

That consideration (transistor leakage) was common some 50 years ago when germanium transistors were en vogue. The base to ground transistor then usually was taken to a positive voltage (most germanium transistors were PNP with a negative Vce). You should not need to worry about that with silicon transistors. As IR said: "Unless you have a crappy transistor"

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: Transistor Switch

Oops, that should have been 7K

TTFN



RE: Transistor Switch

There are so many different issues and parameters that one might want to optimize, that there really is no single ideal value.

For example you would need different values depending on whether you need to minimize the power dissipation in your circuit versus minimize the switching time of the transistor.

You'd need different values depending on the specific transistor type (say a 2N2222 versus a 2N3055), temperature range your circuit need to operate over, et cetera.

On the other hand, for many applications, it really doesn't make a whole lot of difference.  In IRstuff's example with a 7K resistor sinking 100 uA just in case the transistor was exceptionally leaky.  If you also used a bunch of 4.7K resistors elsewhere in your design, why specify yet another value in your bill of materials?  Does the extra 50 uA really matter?  (If it does, your design is probably marginal anyway.)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources