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 witssed 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, eferring to the BJT network shown in the first diagram, while Vi = 0 V, IB = 0 uA, and asuming IC = ICEO = 0 mA, the volatge 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 logoc 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.

Refferrng 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

## Search Related Posts for Commenting

Geo says

Hi, Sorry for this dumb question.

Can we build transistor as a switch with common base / common collector configuration?

Thanks.

Swagatam says

Hi, yes transistors are used as switches in DC circuits

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.

Swagatam says

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

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.