AbiAxo
DE
← Electrical Engineering · Step 11 of 14

Electronic componentsca. 80 min

Bipolar transistor and MOSFET as a switch

In short

In a bipolar transistor a small base current controls a collector current up to \(B\) times larger; as a switch it is driven safely into saturation with an overdrive factor. A MOSFET, by contrast, switches via the gate voltage with almost no control current, and inductive loads need a freewheeling diode in both cases.

Your goal: You can explain the structure and characteristics of an NPN transistor and an n-channel MOSFET, size the base resistor of a switching stage with an overdrive factor, design a MOSFET switching stage, justify the freewheeling diode and calculate the power dissipation in the switch.

Practise now

Helpful first: Semiconductor diode, rectifier and Zener diode, Coil, magnetic field and induction

Structure of the bipolar transistor

An NPN transistor consists of three layers: emitter (n), a very thin base (p) and collector (n). So it has two pn junctions. In operation the base-emitter diode is forward-biased (\(U_{BE}\approx0{,}7\,\text{V}\)), the base-collector diode reverse-biased.

The electrons from the emitter enter the thin base. Only a few recombine there; most are pulled away by the field of the reverse-biased collector diode. Therefore:

\[I_C=B\cdot I_B,\qquad I_E=I_B+I_C.\]

The DC current gain \(B\) is typically between 50 and a few hundred and varies a lot from one part to the next. The data sheet therefore gives a minimum value \(B_{\min}\), which you calculate with. In a PNP transistor all voltages and currents are reversed.

Characteristics and operating regions

Three characteristics describe the transistor:

This gives three regions:

RegionStateFeature
Cut-off regionswitch open\(I_B=0\), \(I_C\approx0\), \(U_{CE}\approx U_B\)
Active regionamplifier\(I_C=B\cdot I_B\), \(U_{CE}\) medium
Saturationswitch closed\(U_{CE}=U_{CE,\text{sat}}\approx0{,}1\)–\(0{,}3\,\text{V}\), \(I_C\) is limited by the load

As a switch the transistor only jumps between cut-off and saturation. It passes through the active region as quickly as possible when switching.

Base resistor with overdrive

The load (lamp, relay, LED with series resistor) sits between \(+U_B\) and the collector, the emitter is at ground. The control signal \(U_{St}\) reaches the base via the base resistor \(R_B\). This is how you proceed:

  1. Find the load current: \(I_C\approx\frac{U_B-U_{CE,\text{sat}}}{R_L}\) or from the rated power \(I_C=\frac{P}{U_B}\).
  2. Minimum base current: \(I_{B,\min}=\frac{I_C}{B_{\min}}\).
  3. Overdrive (Übersteuerung): so that the transistor saturates safely despite part variation and temperature, you supply more base current: \(I_B=\ddot u\cdot I_{B,\min}\) with the overdrive factor \(\ddot u\) of about 2 to 5.
  4. Base resistor: \(R_B=\frac{U_{St}-U_{BE}}{I_B}\).
  5. Choose the next smaller standard value (more base current is the safe side here).

Too little base current is the typical mistake: the transistor stays in the active region, \(U_{CE}\) is large, and it gets hot.

The MOSFET as a switch

An n-channel MOSFET (enhancement type) has the terminals gate, drain and source. The gate is insulated by a thin oxide layer. If the voltage between gate and source is above the threshold voltage \(U_{GS(\text{th})}\), a conducting channel forms between drain and source.

The bipolar transistor, by contrast, needs base current all the time. With large load currents and weak control outputs the MOSFET is therefore usually the better choice.

Inductive load and power dissipation

When the transistor switches off the current through a coil (relay, motor, solenoid valve), the coil tries to maintain the current. According to \(u=-L\frac{di}{dt}\) a very high voltage spike arises when switching off quickly, which can destroy the transistor.

The freewheeling diode (Freilaufdiode) is connected antiparallel to the coil: cathode to \(+U_B\), anode to the collector or drain. In operation it blocks. When switching off it takes over the coil current, which decays in the loop of coil and diode. The voltage at the switch only rises to about \(U_B+0{,}7\,\text{V}\).

Power dissipation in the switch (static):

\[P_{\text{Bipolar}}\approx U_{CE,\text{sat}}\cdot I_C+U_{BE}\cdot I_B,\qquad P_{\text{MOSFET}}=I_D^2\cdot R_{DS(\text{on})}.\]

In the off state \(P\approx0\), because no current flows; in saturation \(P\) is small, because hardly any voltage drops. The power dissipation is greatest during the transition, when current and voltage are large at the same time. That is why switching must be fast, especially at a high switching frequency.

Worked example

A lamp \(24\,\text{V}/4{,}8\,\text{W}\) is to be switched by a \(5\) V control signal via an NPN transistor (\(B_{\min}=100\), \(U_{BE}=0{,}7\,\text{V}\), \(U_{CE,\text{sat}}=0{,}2\,\text{V}\), overdrive factor \(\ddot u=3\)). Size \(R_B\) and calculate the power dissipation of the transistor.

  1. Load current: \(I_C=\frac{4{,}8\,\text{W}}{24\,\text{V}}=0{,}2\,\text{A}\).
  2. Minimum base current: \(I_{B,\min}=\frac{0{,}2\,\text{A}}{100}=2\,\text{mA}\); with overdrive \(I_B=3\cdot2\,\text{mA}=6\,\text{mA}\).
  3. \(R_B=\frac{5\,\text{V}-0{,}7\,\text{V}}{0{,}006\,\text{A}}=717\,\Omega\). Next smaller E12 value: \(680\,\Omega\). This gives \(I_B=\frac{4{,}3\,\text{V}}{680\,\Omega}=6{,}3\,\text{mA}\).
  4. Power dissipation: \(P\approx0{,}2\,\text{V}\cdot0{,}2\,\text{A}+0{,}7\,\text{V}\cdot0{,}0063\,\text{A}=0{,}040\,\text{W}+0{,}004\,\text{W}=0{,}044\,\text{W}\). The switch stays cool although it switches almost \(5\,\text{W}\).
Remember

As a switch the bipolar transistor is driven into saturation with \(I_B=\ddot u\cdot\frac{I_C}{B_{\min}}\) and \(R_B=\frac{U_{St}-U_{BE}}{I_B}\), the MOSFET is fully switched on with enough gate voltage, and every coil gets a freewheeling diode.

Typical exam mistakes

Practice

Flashcards

Current gain B
\(B=\frac{I_C}{I_B}\) in the active region; for switching stages calculate with \(B_{\min}\).
Overdrive factor
\(\ddot u=\frac{I_B}{I_{B,\min}}\), typically 2 to 5; ensures safe saturation.
Base resistor
\(R_B=\frac{U_{St}-U_{BE}}{I_B}\), choose the next smaller standard value.
When does an n-channel MOSFET conduct?
when \(U_{GS}\) is above the threshold voltage \(U_{GS(\text{th})}\); fully on at the gate voltage for which \(R_{DS(\text{on})}\) is specified.
Purpose of the freewheeling diode
When a coil is switched off, it takes over the coil current and prevents the induced voltage spike at the switch.
Power dissipation in the switch
Bipolar: \(U_{CE,\text{sat}}I_C+U_{BE}I_B\); MOSFET: \(I_D^2R_{DS(\text{on})}\).

Exam-style task 11 marks

At the invented company Lüfterhof Grendau a controller is to switch a DC fan (\(12\,\text{V}\), \(0{,}5\,\text{A}\)) on and off. The control output supplies \(3{,}3\,\text{V}\) and at most \(8\,\text{mA}\). Marks are given in BE (Bewertungseinheiten, marks).

  1. One option is an NPN transistor with \(B_{\min}=50\), \(U_{BE}=0{,}7\,\text{V}\), \(U_{CE,\text{sat}}=0{,}3\,\text{V}\). Calculate the required base current with overdrive factor 2 and justify whether the control output can drive the transistor directly. (3 BE)
  2. Alternatively an n-channel MOSFET with \(R_{DS(\text{on})}=80\,\text{m}\Omega\) at \(U_{GS}=3{,}3\,\text{V}\) is used. Calculate its power dissipation and compare it with the collector-emitter power dissipation of the bipolar transistor. (3 BE)
  3. Explain why a freewheeling diode is needed parallel to the fan motor, state its orientation and describe what happens without it when switching off. (3 BE)
  4. A \(10\,\text{k}\Omega\) resistor is fitted between gate and source. Explain its purpose and check whether the control output can supply the additional current. (2 BE)
Show solution
  1. \(I_{B,\min}=\frac{0{,}5\,\text{A}}{50}=10\,\text{mA}\), with overdrive \(I_B=20\,\text{mA}\). That is more than the \(8\,\text{mA}\) of the output. Even without overdrive it would already be \(10\,\text{mA}\). The transistor cannot be driven directly; a second stage would be needed.
  2. \(P_{\text{MOSFET}}=(0{,}5\,\text{A})^2\cdot0{,}08\,\Omega=0{,}02\,\text{W}\). Bipolar: \(P=0{,}3\,\text{V}\cdot0{,}5\,\text{A}=0{,}15\,\text{W}\). The MOSFET has only about one seventh of the losses and needs no static control current.
  3. The motor has an inductance. When switching off, \(u=-L\frac{di}{dt}\) forces a high voltage spike that can destroy the MOSFET. The diode is antiparallel to the motor: cathode to \(+12\,\text{V}\), anode to the drain. When switching off it takes over the current, which decays in the loop of motor and diode; the drain voltage stays at about \(12{,}7\,\text{V}\).
  4. The pull-down resistor discharges the gate when the output is high-impedance (for example while the controller starts up), so the fan stays reliably off. Current with the output switched on: \(I=\frac{3{,}3\,\text{V}}{10\,000\,\Omega}=0{,}33\,\text{mA}\), well below \(8\,\text{mA}\).
Report a mistake

Reporting needs JavaScript. Or write to us via Contact.

Step 11 of 14

A topic counts as learned once you get 80% of the practice right first time.

Practise now Back to the path