# Bipolar Junction Transistor (BJT) Switch

The Bipolar Junction Transistor can be used as a switch. This is required when the typical digital output (max current output 20ma) does not provide sufficent current drive for high current devices like lamps, solenoids or motors. The transistor current gain provides the order of magnitude increase in collector current.

First we redraw the schematic using the BJT DC equivalent circuit

Using KCL (Kirchhoff's current law)

Current through R_{B}

\label{1}
I_{RB} = I_B

Current through R

_{C}
\label{2}
I_C = \beta I_B

Current at Node E

\label{3}
I_E = I_B + I_C

Using KVL (Kirchhoff's voltage law)

\label{4}
V_B = I_BR_B + V_{BE}

\label{5}
V_C = I_CR_C + V_{CE}

Substitute equation 2 into equation 5:

\label{6}
V_C = \beta I_BR_C + V_{CE}

If after substituting circuit values into the equations and we obtain V_{CE}<0 in equation 6 , then the transistor behaves like an on-switch. It is no longer a current controlled current source, and equations 7 and 8 apply instead.

\label{7}
V_{CE} = 0

Equation 5 simplifies to equation 8 and I

_{C} is no longer dependent on I

_{B}
\label{8}
V_C = I_CR_C

Notes

- Observe the node voltages when you change VIN by adjusting the knob.
- To calculate the node voltages
- Use equation 4 to calculate I
_{B}. Assume V_{BE}=0.7
- When VIN<0.7V, assume I
_{B}=0. See diode circuit analysis for explanation.
- Assume β=100, and use equation 6 to calculate V
_{CE}

- Change the values of R1 and R2 and press the Simulate button. If you have a small load (R2=100 ohm), you will need a sufficiently large base current to operate the BJT as a switch (observe the problem when R1=10K). One way to reduce this base current is to use a Darlington transistor.
- In a real transistor V
_{CE} never reaches 0, instead it saturates at around 0.1V. This is also known as the saturation voltage of a BJT. In this operation the collector current I_{C} is determined using equation 8.

## Switching an Inductive Load

When an inductive load is connected to the collector, a recirculation diode is required across the load to damp the output voltage when the transistor is switched off. When a high current amplification is required, a darlington transistor is used.

## Common Emitter Amplifier (BJT)

When a small signal source is connected to the base of the transistor instead of a on/off DC source, the circuit is a common emitter amplifier. This is a high gain voltage amplifier.