Skip to content
ELECTRONICS ENGINEERINGelectronics-engineering.com
Author's pick Applied Electronics Electronic Devices

Transistor biasing: BJT, JFET and MOSFET

Biasing BJT, JFET and MOSFET transistors: load line, divider, feedback and operating-point stability with beta and temperature, Monte Carlo analysis.

https://www.electronics-engineering.com/en/transistor-biasing-bjt-jfet-mosfet/

Was this page useful? Rate it:
average 4.5 from 2 ratings
Transistor biasing: BJT, JFET and MOSFET

Before amplifying a signal, a transistor must be biased: the DC voltages and currents must bring it to a precise operating point, in the region where it behaves as an amplifier (active region for the BJT, saturation for the FET), and keep it there. The problem is that real transistors differ greatly from one another: the current gain \beta of two BJTs of the same type can vary from 100 to 400, the threshold voltage of a discrete MOSFET by a volt, the current of a JFET by a factor of two and a half. On top of that, everything changes with temperature. This lesson shows the bias circuits of the BJT (npn and pnp), of the JFET and of the MOSFET (n- and p-channel, enhancement and depletion), proves why some are stable and others are not, and checks it with a Monte Carlo simulation and with SPICE.

The idea in simple words

The transistor is like a controlled tap: a small quantity at the input (the base current, or the gate voltage) decides how much current flows. To amplify a signal you must open the tap “halfway”, so that the signal can make it swing up and down without ever closing it completely or opening it completely. Biasing means choosing this half-open setting. The delicate point is that every tap is different: if you set the knob to the same position, one unit gives little water and another gives too much. Good bias circuits do not fix the knob, but measure the current that flows and correct it: this is feedback, and thanks to it the current depends almost only on the resistors, which are precise, and not on the transistor.

The operating point and the load line

In the npn BJT in the active region three simple DC relations hold: V_{BE} \approx 0{,}7 V, I_C = \beta I_B and I_E = I_C + I_B = (\beta + 1) I_B; moreover V_{CE} \mathchar"313E  V_{CE,sat} \approx 0{,}2 V is required, otherwise the transistor is saturated and no longer amplifies.

The operating point (or quiescent point, Q) is the pair (V_{CE}, I_C) in the absence of signal. On the output circuit Kirchhoff’s law gives V_{CC} = I_C R_C + V_{CE} + I_E R_E, that is, with I_E \approx I_C,

    \[ I_C = \frac{V_{CC} - V_{CE}}{R_C + R_E} \]

This is the static load line: all the possible operating points with those resistors lie on it; which one is the actual point is decided by the base current, that is, by the input circuit. To obtain the maximum symmetrical swing of the signal, the point Q is placed roughly halfway along the useful stretch of the line.

BJT output characteristics and load line
The blue curves are the collector current as a function of the collector-emitter voltage for different base currents, slightly tilted by the Early effect. The dashed line, from V_CC on the horizontal axis to V_CC/(R_C + R_E) on the vertical one, contains all the possible operating points. The red point Q is the one of the lesson example: 4.97 V and 2.06 mA.

The example for the whole lesson: V_{CC} = 12 V, desired collector current I_C = 2 mA, transistor with a nominal \beta of 200 which in reality can lie between 100 and 400 (a normal spread for small-signal transistors).

Four BJT bias circuits
1: fixed bias, with a single base resistor to the supply. 2: voltage divider on the base and emitter resistor. 3: collector feedback, with the base resistor connected to the collector instead of the supply. 4: the same circuit 2 with a pnp transistor, with the emitter towards the supply and the collector towards ground.

Fixed bias (circuit 1)

A resistor R_B from the supply to the base fixes the base current:

    \[ I_B = \frac{V_{CC} - V_{BE}}{R_B},\qquad I_C = \beta\,\frac{V_{CC} - V_{BE}}{R_B} \]

With R_B = 1{,}13 MΩ and R_C = 3 kΩ one obtains 2 mA with \beta = 200. But the collector current is proportional to \beta: with \beta = 100 it becomes 1 mA, with \beta = 400 it should become 4 mA, but above 3.93 mA the drop across R_C uses up the whole supply and the transistor saturates. The same circuit, built with different transistors from the same box, has completely different operating points. It is the circuit of textbooks, almost never that of real designs.

Voltage divider and emitter resistor (circuit 2)

This is the standard bias of discrete-component circuits. The divider R_1, R_2 fixes the base voltage; the resistor R_E on the emitter provides the feedback. To compute it, the divider is replaced by its Thévenin equivalent:

    \[ V_{TH} = V_{CC}\,\frac{R_2}{R_1 + R_2},\qquad R_{TH} = R_1 \parallel R_2 \]

On the base-emitter loop, V_{TH} = I_B R_{TH} + V_{BE} + I_E R_E, and with I_B = I_E/(\beta + 1):

    \[ I_E = \frac{V_{TH} - V_{BE}}{R_E + R_{TH}/(\beta + 1)} \]

Theorem. In the divider circuit the relative sensitivity of the emitter current to \beta is

    \[ \frac{\partial I_E / I_E}{\partial (\beta + 1)/(\beta + 1)} = \frac{R_{TH}/(\beta + 1)}{R_E + R_{TH}/(\beta + 1)} \]

and it is smaller the more R_{TH} \ll (\beta + 1) R_E holds. In fixed bias the same sensitivity is 1.

Proof. Setting x = \beta + 1, \ln I_E = \ln(V_{TH} - V_{BE}) - \ln(R_E + R_{TH}/x). Differentiating with respect to \ln x, that is, multiplying the derivative with respect to x by x: \dfrac{d\ln I_E}{d\ln x} = -\dfrac{x \cdot (-R_{TH}/x^2)}{R_E + R_{TH}/x} = \dfrac{R_{TH}/x}{R_E + R_{TH}/x}. In fixed bias I_C = \beta (V_{CC} - V_{BE})/R_B is proportional to \beta, and the logarithmic derivative is 1. ∎

The physical meaning: if the current tends to grow, the voltage across R_E grows, that is, the emitter rises, and for the same base voltage the V_{BE} decreases and pushes the current back. It is a negative current feedback.

The design rules that follow:

  • give R_E a drop of about one tenth or one fifth of the supply (more drop means more stability, but less swing for the signal);
  • choose R_{TH} \le 0{,}1\,\beta_{min} R_E, so that the term R_{TH}/(\beta + 1) is at most one tenth of R_E;
  • derive R_1 and R_2 from V_{TH} and R_{TH}, and R_C from the desired collector voltage.

In the example: R_E = 1{,}2 kΩ (about 2.5 V on the emitter), R_1 = 47 kΩ, R_2 = 18 kΩ, R_C = 2{,}2 kΩ. Then V_{TH} = 3{,}32 V, R_{TH} = 13{,}0 kΩ, and with \beta = 200: I_C = 2{,}06 mA, V_B = 3{,}19 V, V_E = 2{,}49 V, V_C = 7{,}46 V, V_{CE} = 4{,}97 V. The sensitivity to \beta is 64{,}8/(1200 + 64{,}8) = 0{,}051: twenty times less than fixed bias. With \beta from 100 to 400 the current goes from 1.95 to 2.12 mA. (Here R_{TH} = 13{,}0 kΩ is just above the limit 0{,}1\,\beta_{min}R_E = 12 kΩ of the rule: with commercial values it is an acceptable compromise, and the variation stays below 9 %.)

Collector feedback (circuit 3)

The base resistor is connected to the collector instead of the supply. If the collector current grows, the collector voltage falls and with it the base current: this too is a negative feedback. From the loop supply, R_C, R_B, base:

    \[ V_{CC} = (I_C + I_B) R_C + I_B R_B + V_{BE} \;\Rightarrow\; I_C = \frac{\beta\,(V_{CC} - V_{BE})}{R_B + (\beta + 1) R_C} \]

It is stable if R_B \ll (\beta + 1) R_C, but to have a reasonable operating point R_B cannot be too small: with R_C = 3 kΩ and R_B = 510 kΩ one obtains 2.03 mA with \beta = 200, but from 1.39 to 2.64 mA with \beta between 100 and 400. It lies halfway between the other two circuits; it has the advantage of using only two resistors and of never being able to saturate (the collector cannot fall below the base). It does, however, reduce the gain for the signal, because the feedback acts on it too.

The pnp (circuit 4)

In the pnp all currents and voltages change sign: the current enters from the emitter and exits from the collector and the base, and in the active region V_{EB} \approx 0{,}7 V. With a positive supply the emitter goes towards +V_{CC} through R_E and the collector towards ground through R_C. The formulas are the same read “from above”: V_{TH} is measured from V_{CC} downwards. The same operating point as the example is obtained by swapping the divider resistors (R_1 = 18 kΩ towards the supply, R_2 = 47 kΩ towards ground): the base sits 3.32 V below V_{CC} and the current is again 2.06 mA. The pnp is used when the load must sit towards ground, in complementary output stages and in current sources towards the supply.

Temperature

Two effects shift the operating point when the transistor heats up:

  • the V_{BE} at constant current decreases by about 2 mV per degree: between 25 and 75 °C it falls by 0.1 V;
  • \beta increases by a few tenths of a percent per degree: in the example from 200 to 260.

(The collector reverse current I_{CBO}, which doubles every 10 °C, was important in germanium transistors; in silicon ones it is negligible.)

Between 25 and 75 °C fixed bias goes from 2.00 to 2.62 mA (+31 %), collector feedback from 2.03 to 2.29 mA (+13 %), the divider from 2.06 to 2.17 mA (+5 %). In the divider the effect of the V_{BE} weighs \Delta V_{BE}/(R_E + R_{TH}/(\beta + 1)): once again, a large emitter resistor makes the circuit insensitive.

In power transistors temperature can trigger thermal runaway: more current heats the transistor, the V_{BE} needed decreases, the current grows again. The same emitter resistor (or a diode mounted on the same heatsink that compensates the V_{BE}) prevents it.

The test: Monte Carlo and SPICE

A Monte Carlo simulation draws 100 000 transistors with \beta uniform between 100 and 400 and computes the collector current in the three circuits:

circuitmean currentstandard deviationrange
1, fixed2.50 mA0.87 mAfrom 1.00 to 3.93 mA (saturates)
2, divider2.07 mA0.04 mAfrom 1.95 to 2.12 mA
3, collector feedback2.17 mA0.35 mAfrom 1.39 to 2.64 mA
Collector current with β distributed between 100 and 400
Histograms of the collector current in 100 000 simulated transistors. 1 (blue): fixed bias, with the current spread over the whole range from 1 to 3.93 mA and a peak on the right where the transistor saturates. 2 (red): divider with emitter resistor, all concentrated between 1.95 and 2.12 mA. 3 (orange): collector feedback, in an intermediate position.

The same circuit simulated with SPICE (Gummel-Poon model with I_S = 10^{-14} A and Early voltage of 100 V) gives, with \beta = 100, 200, 400: 1.09, 2.11 and 3.91 mA for fixed bias; 1.98, 2.09 and 2.15 mA for the divider; 1.45, 2.08 and 2.67 mA for collector feedback. The differences of a few percent with respect to the hand calculations come from the real V_{BE} (0.67 V instead of 0.7) and from the Early effect: the simple model is enough for design.

The JFET

The n-channel JFET conducts when V_{GS} = 0 and turns off when the gate voltage falls to the pinch-off voltage V_P (negative). In saturation the Shockley law holds:

    \[ I_D = I_{DSS}\left(1 - \frac{V_{GS}}{V_P}\right)^2,\qquad V_P \mathchar"313C  V_{GS} \le 0 \]

The gate is a junction biased in reverse: it draws no current, so the gate voltage is fixed only by the resistors. The spread is huge: for the same type of JFET I_{DSS} and V_P can vary by a factor of two or three. In the example two extreme specimens are considered: I_{DSS} = 4 mA with V_P = -2 V, and I_{DSS} = 10 mA with V_P = -4 V.

Four FET bias circuits
1: self-biased n-channel JFET, with the gate to ground through R_G and the source resistor R_S. 2: n-channel MOSFET with divider on the gate and source resistor. 3: MOSFET with drain feedback, with the gate resistor connected to the drain. 4: p-channel MOSFET with the source towards the supply.

Self-bias of the JFET (circuit 1)

The gate is connected to ground through R_G (which only serves as a reference, because no current flows into the gate); the drain current creates across R_S a drop that makes the source positive, that is, the gate negative with respect to the source: V_{GS} = -I_D R_S. The operating point is the intersection of the Shockley curve with this line. Solving, with R_S = 470 Ω: 1.58 mA (V_{GS} = -0{,}74 V) for the first specimen and 3.49 mA (V_{GS} = -1{,}64 V) for the second, a ratio of 2.2.

JFET with the divider

If the gate is brought to a positive voltage V_G with a divider (as in circuit 2, with R_1 = 2{,}2 MΩ and R_2 = 1{,}1 MΩ one has V_G = 4 V) and R_S is increased, the line becomes I_D = (V_G - V_{GS})/R_S, much less steep. With R_S = 2{,}2 kΩ: 2.07 and 2.69 mA, a ratio of 1.3. It is the same principle as the BJT: a large voltage on a large resistor makes the current almost independent of the device.

JFET spread and bias lines
The Shockley curves of two JFETs of the same type: blue with I_DSS = 4 mA and V_P = −2 V, green with 10 mA and −4 V. The orange line is self-bias with R_S = 470 Ω and cuts the two curves at very different currents; the red line, with V_G = 4 V and R_S = 2.2 kΩ, is much less steep and the two operating points are close.

Theorem. With the divider, the difference between the currents of two specimens is at most |\Delta V_{GS}|/R_S, where \Delta V_{GS} is the difference between their gate voltages at the operating point.

Proof. In both cases I_D = (V_G - V_{GS})/R_S with the same V_G and the same R_S; subtracting, I_{D1} - I_{D2} = -(V_{GS1} - V_{GS2})/R_S. Since the gate voltages in any case lie between V_P and 0, their difference is bounded, and by increasing R_S (together with V_G, so as not to change the mean current) the current difference shrinks as much as desired. ∎

In the example the two gate voltages differ by 1.36 V, and 1.36 V / 2.2 kΩ = 0.62 mA, exactly the difference between 2.69 and 2.07 mA.

The MOSFET

The n-channel enhancement MOSFET conducts only if V_{GS} exceeds the threshold voltage V_t (positive); in saturation (that is, with V_{DS} \mathchar"313E  V_{GS} - V_t)

    \[ I_D = K\,(V_{GS} - V_t)^2,\qquad K = \tfrac{1}{2}\mu_n C_{ox} \frac{W}{L} \]

In discrete MOSFETs the threshold is very spread: for one type the manufacturer often guarantees only a range of a volt or more. In the example K = 0{,}5 mA/V² and V_t between 1.5 and 2.5 V.

MOSFET with fixed gate voltage

With V_{GS} = 3 V the current is 1.13, 0.50 or 0.12 mA for V_t = 1.5, 2 or 2.5 V: a factor 9. It is the equivalent of fixed bias of the BJT, and for the same reason it is not used.

Divider and source resistor (circuit 2)

With R_1 = 1{,}5 MΩ and R_2 = 1 MΩ the gate sits at V_G = 4{,}8 V; with R_S = 1 kΩ one has V_{GS} = V_G - I_D R_S. Substituting into the quadratic law and setting u = V_{GS} - V_t:

    \[ K R_S\,u^2 + u - (V_G - V_t) = 0 \;\Rightarrow\; u = \frac{-1 + \sqrt{1 + 4 K R_S (V_G - V_t)}}{2 K R_S} \]

(the positive root, because the transistor must conduct). The currents become 1.54, 1.23 and 0.93 mA: the spread falls from a factor 9 to less than 1.7. With V_t = 2 V and R_D = 2{,}2 kΩ: V_{GS} = 3{,}57 V, V_D = 9{,}29 V, and the saturation condition is amply satisfied (V_{DS} = 8{,}06 V against V_{GS} - V_t = 1{,}57 V). SPICE gives the same value, 1.23 mA.

Drain feedback (circuit 3)

A resistor R_G connects the drain to the gate. No current flows into the gate, so there is no drop across R_G and V_{GS} = V_{DS}.

Theorem. With drain feedback, a conducting enhancement MOSFET is always in saturation.

Proof. Saturation requires V_{DS} \mathchar"313E  V_{GS} - V_t. Since V_{DS} = V_{GS}, the condition becomes V_{GS} \mathchar"313E  V_{GS} - V_t, that is V_t \mathchar"313E  0, which is true for every n-channel enhancement MOSFET. ∎

With V_{DD} = 12 V and R_D = 4{,}7 kΩ the current is 1.83, 1.73 and 1.64 mA for the three thresholds: it is the most stable of the three circuits, because the whole supply (minus the V_{GS}) falls on the resistor that provides the feedback. The same connection (gate joined to drain) is the “diode-connected transistor” of current mirrors.

The depletion MOSFET

The depletion MOSFET has the channel already formed: the threshold is negative and the transistor conducts even with V_{GS} = 0, with current I_{DSS} = K V_t^2. It behaves like a JFET, and it is biased with the same circuits (self-bias or divider), with the difference that the insulated gate also accepts positive voltages. Connecting gate and source gives the simplest possible current generator.

The p-channel MOSFET (circuit 4)

As for the pnp, everything changes sign: it conducts when the gate is lower than the source by at least |V_t|, with I_D = K(V_{SG} - |V_t|)^2. The source goes towards the supply through R_S, the drain towards ground through R_D, and the divider fixes the gate voltage with respect to V_{DD}. The formulas are those of the n-channel read “from above”.

How to choose

circuitstabilitywhen it is used
BJT, fixed biasvery poor (proportional to β)almost never; as a saturated switch
BJT, divider + R_Eexcellentstandard in discrete stages
BJT, collector feedbackfairsimple stages, cannot saturate
JFET, self-biasfairhigh-impedance input stages
FET, divider + R_Sgoodstandard with discrete FETs
MOSFET, drain feedbackexcellentsimple stages, current mirrors

In integrated circuits things go differently: all the transistors are made together and are equal to one another, so biasing is done with current mirrors, which copy a reference current from one transistor to another (lesson on current mirrors). The same criterion still holds: the current must depend on resistors and size ratios, not on the absolute parameters of the transistors.

In summary

  • Biasing means fixing the operating point on the load line, far from saturation and cut-off.
  • The transistor parameters (\beta, V_t, I_{DSS}, V_P) are widely spread and change with temperature: the circuit must make them irrelevant.
  • It is obtained with negative feedback: an emitter or source resistor (with the divider on the base or gate), or a collector or drain resistor connected to the input.
  • In the BJT divider the sensitivity to \beta is \frac{R_{TH}/(\beta + 1)}{R_E + R_{TH}/(\beta + 1)}: with R_{TH} \le 0{,}1\,\beta_{min} R_E the current changes by a few percent with \beta from 100 to 400.
  • pnp and p-channel use the same circuits with the polarities inverted.

The code

import math
import numpy as np

VCC, VBE = 12.0, 0.7

# BJT NPN: tre circuiti progettati per IC = 2 mA con beta nominale 200
def fixed(beta, RB=1.13e6, RC=3.0e3, vbe=VBE):            # polarizzazione fissa
    IC = beta * (VCC - vbe) / RB
    return min(IC, (VCC - 0.2) / RC)                       # oltre: saturazione

def divider(beta, R1=47e3, R2=18e3, RC=2.2e3, RE=1.2e3, vbe=VBE):   # partitore + resistenza di emettitore
    VTH, RTH = VCC * R2 / (R1 + R2), R1 * R2 / (R1 + R2)
    IE = (VTH - vbe) / (RE + RTH / (beta + 1))
    return beta / (beta + 1) * IE

def coll_fb(beta, RB=510e3, RC=3.0e3, vbe=VBE):            # retroazione di collettore (RB tra collettore e base)
    IB = (VCC - vbe) / (RB + (beta + 1) * RC)
    return beta * IB

print("IC in mA per beta = 100, 200, 400")
for name, f in (("fissa", fixed), ("partitore", divider), ("retroazione di collettore", coll_fb)):
    print(f"  {name:26s}", "  ".join(f"{1e3 * f(b):.2f}" for b in (100, 200, 400)))
R1, R2, RC, RE = 47e3, 18e3, 2.2e3, 1.2e3
VTH, RTH = VCC * R2 / (R1 + R2), R1 * R2 / (R1 + R2)
IC = divider(200); IE = IC * 201 / 200
print(f"partitore: VTH {VTH:.3f} V, RTH {RTH / 1e3:.2f} kOhm, VB {VTH - IC / 200 * RTH:.2f} V, VE {IE * RE:.2f} V, VC {VCC - IC * RC:.2f} V, VCE {VCC - IC * RC - IE * RE:.2f} V")

# temperatura: da 25 a 75 gradi VBE scende di 2 mV/grado e beta sale da 200 a 260
for name, f in (("fissa", fixed), ("partitore", divider), ("retroazione di collettore", coll_fb)):
    a, b = f(200), f(260, vbe=VBE - 0.1)
    print(f"  {name:26s} da 25 a 75 gradi: {1e3 * a:.2f} -> {1e3 * b:.2f} mA ({100 * (b / a - 1):+.0f} %)")

# Monte Carlo: beta uniforme tra 100 e 400
rng = np.random.default_rng(1)
beta = rng.uniform(100, 400, 100_000)
for name, f in (("fissa", fixed), ("partitore", divider), ("retroazione di collettore", coll_fb)):
    ic = 1e3 * np.vectorize(f)(beta)
    print(f"  Monte Carlo {name:26s} media {ic.mean():.2f} mA, deviazione {ic.std():.2f} mA, tra {ic.min():.2f} e {ic.max():.2f}")

# JFET a canale n: ID = IDSS (1 - VGS/VP)^2, due esemplari agli estremi della dispersione
def bisect(f, a, b):
    for _ in range(100):
        m = (a + b) / 2
        a, b = (m, b) if f(a) * f(m) > 0 else (a, m)
    return (a + b) / 2

def jfet(IDSS, VP, VG, RS):
    # VGS = VG - ID RS deve stare tra VP e 0: si cerca ID in quell'intervallo
    f = lambda ID: ID - IDSS * (1 - (VG - ID * RS) / VP) ** 2
    ID = bisect(f, max(VG / RS, 0), (VG - VP) / RS)
    return ID, VG - ID * RS
for VG, RS in ((0, 470.0), (4.0, 2.2e3)):
    r = [jfet(I, V, VG, RS) for I, V in ((4e-3, -2.0), (10e-3, -4.0))]
    print(f"JFET VG = {VG} V, RS = {RS:.0f}: ID {1e3 * r[0][0]:.2f} mA (VGS {r[0][1]:.2f}) / {1e3 * r[1][0]:.2f} mA (VGS {r[1][1]:.2f})")

# MOSFET ad arricchimento a canale n: ID = K (VGS - Vt)^2, K = 0.5 mA/V^2, Vt tra 1.5 e 2.5 V
K = 0.5e-3
def mos_div(Vt, VG=4.8, RS=1e3):
    # VGS = VG - K (VGS - Vt)^2 RS  ->  radice con VGS > Vt
    u = (-1 + math.sqrt(1 + 4 * K * RS * (VG - Vt))) / (2 * K * RS)    # u = VGS - Vt
    return K * u * u
def mos_fixed(Vt, VGS=3.0):
    return K * (VGS - Vt) ** 2
def mos_drainfb(Vt, RD=4.7e3, VDD=12.0):
    # VGS = VDS = VDD - ID RD
    u = (-1 + math.sqrt(1 + 4 * K * RD * (VDD - Vt))) / (2 * K * RD)
    return K * u * u
for name, f in (("VGS fissa 3 V", mos_fixed), ("partitore 4.8 V + RS 1 k", mos_div), ("retroazione di drain", mos_drainfb)):
    print(f"MOSFET {name:26s}: ID con Vt = 1.5 / 2 / 2.5 V: " + " / ".join(f"{1e3 * f(v):.2f}" for v in (1.5, 2.0, 2.5)) + " mA")
print(f"MOSFET partitore, Vt = 2 V: VGS {4.8 - mos_div(2.0) * 1e3:.2f} V, VD {12 - mos_div(2.0) * 2.2e3:.2f} V con RD = 2.2 k")

The program prints the collector currents of the three circuits for \beta = 100, 200, 400 (fixed 1.00, 2.00, 3.93 mA; divider 1.95, 2.06, 2.12 mA; collector feedback 1.39, 2.03, 2.64 mA), the divider voltages, the temperature effects (+31 %, +5 %, +13 %), the Monte Carlo statistics of the table, the currents of the two JFETs (1.58 and 3.49 mA self-biased, 2.07 and 2.69 mA with the divider) and those of the MOSFETs with the three thresholds.

Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
1
0
Would love your thoughts, please comment.x
()
x