• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • Circuits for Beginners
  • Basic Circuits
  • Hobby Projects
  • Transistor Circuits

New-Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright

Home » Electronic Devices and Circuit Theory » Calculating Transistor as a Switch

Calculating Transistor as a Switch

Last Updated on April 30, 2022 by Swagatam 5 Comments

Although transistors (BJTs) are popularly used for making amplifier circuits, these can be also effectively used for switching applications.

A transistor switch is a circuit in which the collector of the transistor is switched ON/OFF with relatively larger current in response to a correspondingly switching low current ON/OFF signal at its base emitter.

As an example, the following BJT configuration can be used as a switch for inverting an input signal for a computer logic circuit.

Here you can find that the output voltage Vc is opposite to the potential applied across the base/emitter of the transistor.

Also, the base is not connected with any fixed DC source, unlike amplifier based circuits. The collector has a DC source which corresponds to the supply levels of the system, for example 5 V and 0 V in this computer application case.

We will talk about how this voltage inversion could be designed to ensure that the operating point correctly switches from cut off to saturation along the load line as shown in the following figure:

For the present scenario, in the above figure we have assumed that IC = ICEO = 0 mA, when IB = 0 uA (a great approximation with regards to enhancing construction strategies). Additionally let's assume that VCE = VCE(sat) = 0 V, instead of the usual 0.1 to 0.3 V level.

Now, at Vi = 5 V the BJT will switch ON, and the design consideration must ensure that the configuration is highly saturated, by a magnitude of IB which may be more than the value associated with the IB curve seen close to the saturation level.

As can be witnessed in the above figure, this conditions calls for IB to be greater than 50 uA.

Calculating Saturation Levels

The collector saturation level for the shown circuit can be calculated using the formula:

IC(sat) = Vcc / Rc

The magnitude of base current in the active region just prior to the saturation level can be calculated using the formula:

IB(max) ≅ IC(sat) / βdc ----------Equation 1

This implies that, to implement the saturation level, the following condition must be met:

IB > IC(sat) / IC(sat) / βdc -------- Equation 2

In the graph discussed above, when Vi = 5 V, the resulting IB level can be evaluated in the following method:

If we test the the equation 2 with these results we get:

This appears to be perfectly satisfying the required condition. No doubt, any value of IB which is higher than 60 uA will be allowed to enter across Q-point over the load line situated extremely closely to the vertical axis.

Now, referring to the BJT network shown in the first diagram, while Vi = 0 V, IB = 0 uA, and asuming IC = ICEO = 0 mA, the voltage drop occurring across RC will be as per the formula:

VRC = ICRC = 0 V.

This gives us VC = +5 V for the first diagram above.

In addition to computer logic switching applications, this BJT configuration can be also implemented like a switch using the same extreme points of the load line.

When saturation takes place, the current IC tends to get quite high, which corresponding drops the voltage VCE to a lowest point.

This gives rise to a resistance level across the two terminals as depicted in the following figure and calculated using the following formula:

R(sat) = VCE(sat) / IC(sat) as indicated in the following figure.

If we assume a typical average value for the VCE(sat) such as 0.15 V in the above formula, we get:

This resistance value across the collector emitter terminals looks quite small when compared to a series resistance in kilo Ohms at the collector terminals of the BJT.

Now, when the input Vi = 0 V, the BJT switching will be cut off causing the resistance across the collector emitter to be:

R(cutoff) = Vcc / ICEO = 5 V / 0 mA = ∞ Ω

This gives rise to an open circuit kind of situation across the collector emitter terminals. If we consider a typical value 10 uA for the ICEO, the value of the cut off resistance will be as given below:

Rcutoff = Vcc / ICEO = 5 V / 10 uA = 500 k Ω

This value looks significantly large and an equivalent to an open circuit for most BJT configuration as a switch.

Solving a Practical Example

Calculate the values of RB and RC for a transistor switch configured like an inverter below, given that ICmax = 10mA

The formula for expressing collector saturation is:

ICsat = Vcc / Rc

∴ 10 mA = 10 V / Rc

∴ Rc = 10 V / 10 mA = 1 kΩ

Also, at saturation point

IB ≅ IC(sat) / βdc = 10 mA / 250 = 40 μA

For guaranteed saturation let's select IB = 60 μA, and by using the formula

IB = Vi - 0.7 V / RB, we get

RB = 10 V - 0.7 V / 60 μA = 155 kΩ ,

Rounding off the above result to 150 kΩ, and evaluating the above formula again we get:

IB = Vi - 0.7 V / RB

= 10 V - 0.7 V / 150 kΩ = 62 μA,

since IB = 62 μA > ICsat / βdc = 40 μA

This confirms the we have to use RB = 150 kΩ

Calculating Switching Transistors

You will find special transistors called switching transistors due to their fast rate of switching from one voltage level to another.

The following Figure compares the time periods symbolized as ts, td, tr, and tf with the collector current of the device.

The effect of the time periods on the collector speed response is defined by the collector current response as shown below:

The total time needed for the transistor to switch from the “off” to the “on” state is symbolized as t(on) and can be established by the formula:

t(on) = tr + td

Here td identifies the delay happening while the input switching signal is changing state and the transistor output is responding to the change. The time tr indicates the final switching delay from 10% to 90%.

The total time taken by a bJt from a turned ON state to turned OFF state is indicated as t(off), and expressed by the formula:

t(off) = ts + tf

ts determines the storage time, while tf identifies the fall time from 90% to 10% of the original value.

Referring to the above graph, for a general purpose BJT, if the collector current Ic = 10 mA, we can see that:

ts = 120 ns, td = 25 ns, tr = 13 ns, tf = 12 ns

which means t(on) = tr + td = 13 ns + 25 ns = 38 ns

t(off) = ts + tf = 120 ns + 12 ns = 132 ns

You'll also like:

  • 1.  Darlington Transistor Calculations
  • 2.  Comparator Datasheet Parameters
  • 3.  DC Biasing in Transistors – BJTs
  • 4.  Solid State Relay (SSR) Circuit using MOSFETs
  • 5.  Voltage-Divider Bias in BJT Circuits – More Stability without beta Factor
  • 6.  Optocouplers – Working, Characteristics, Interfacing, Application Circuits

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Subscribe2


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Victor simutowe says

    I would like to learn designing practical electronic circuits using PCBs. I want to start making Arc Welding Machines, Battery chargers and many more just to mention a few. I am not an Engineer but I have a Hamble knowledge of Electronics in general and I would like to improve that knowledge by interacting with High Powered Engineers like you. I will be sending you some requests and questions from time to time in this regard.

    Kind regards,

    Victor.

    Reply
  2. Geo says

    Hi, Sorry for this dumb question.
    Can we build transistor as a switch with common base / common collector configuration?
    Thanks.

    Reply
    • Swagatam says

      Hi, yes transistors are used as switches in DC circuits

      Reply
      • Geo says

        Can you show me what the circuit looks like?
        I’ve been searching on google, but I can’t find the circuit that use common base/collector configuration.

        Reply
        • Swagatam says

          There are some good videos on youtube which you can watch and understand them thoroughly…

          Reply

Primary Sidebar

Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (53)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Amplifiers (58)
  • Arduino Engineering Projects (82)
  • Audio Projects (94)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • DIY LED Projects (89)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (109)
  • Fish Aquarium (5)
  • Free Energy (35)
  • Fun Projects (11)
  • GSM Projects (9)
  • Health Related (18)
  • Heater Controllers (28)
  • Home Electrical Circuits (101)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (62)
  • Mini Projects (172)
  • Motor Controller (66)
  • MPPT (7)
  • Oscillator Circuits (24)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (74)
  • Radio Circuits (9)
  • Remote Control (47)
  • Security and Alarm (61)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (61)
  • Timer and Delay Relay (54)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (14)
  • Water Level Controller (45)

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

© 2022 · Swagatam Innovations

We use cookies on our website to give you the best experience.
Cookie settingsAccept All
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Please visit the Privacy Policy Page for more info.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT