• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos | Circuits for Beginners | Basic Circuits | Hobby Projects | Transistor Circuits | LED Drivers 

You are here: Home / Electronic Devices and Circuit Theory / Calculating Transistor as a Switch

Calculating Transistor as a Switch

Last Updated on April 30, 2022 by Swagatam 7 Comments

caution electricity can be dangerous

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.  Common Emitter Amplifier – Characteristics, Biasing, Solved Examples
  • 2.  Unijunction Transistor (UJT) – Comprehensive Tutorial
  • 3.  How to Connect IC 4066 in a Circuit
  • 4.  Triacs – Working and Application Circuits
  • 5.  Understanding MOSFET Turn-ON Process
  • 6.  What is Transistor Saturation

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!

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

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

  1. Paresh Panchal says

    December 27, 2022

    Hi ,
    I am using transistor(Two) ckt as level shifting of UART , Could you please help to calculate first transistor and second transistor collector output voltage ?

    Reply
    • Swagatam says

      December 27, 2022

      Hi, can you please show me the link of the schematic. Without seeing it I cannot suggest a solution.

      Reply
  2. Geo says

    August 1, 2020

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

    Reply
    • Swagatam says

      August 1, 2020

      Hi, yes transistors are used as switches in DC circuits

      Reply
      • Geo says

        August 1, 2020

        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

          August 2, 2020

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

          Reply
  3. Victor simutowe says

    December 13, 2019

    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

Primary Sidebar

Calculators

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (114)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (100)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (116)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (13)
  • GSM Projects (9)
  • Health Related (20)
  • Heater Controllers (29)
  • Home Electrical Circuits (102)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LED and Light Effect (93)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (65)
  • Mini Projects (148)
  • Motor Controller (67)
  • MPPT (7)
  • Oscillator Circuits (26)
  • PIR (Passive Infrared) (8)
  • Power Electronics (34)
  • Power Supply Circuits (77)
  • Radio Circuits (10)
  • Remote Control (48)
  • Security and Alarm (61)
  • Sensors and Detectors (120)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (16)
  • Water Level Controller (45)

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

© 2023 · Swagatam Innovations