---
title: Bias design for BJT and MOSFET stages
heading: Choosing the resistors, and other ways to hold a transistor still
eyebrow: C5 · Lesson 31 · Bias design
xp: 40
---

::: hook
Lesson 30 showed why a divider and an emitter resistor hold a BJT's current steady. This lesson turns that into a procedure you can follow from a target current to resistor values, does the same for a MOSFET, and adds two other ways to bias a transistor: feedback from the collector or drain, and a current mirror, which is how integrated circuits do it. Each trades simplicity against how well the current stays put when β, $V_t$ or the temperature changes.
:::

::: play
- Two collector-feedback stages, identical except that one transistor has β = 100 and the other β = 300. The base resistor runs from each collector to its base.
- Compare the currents: they differ by about 27%. With a plain base resistor they'd differ threefold.
- Slide $R_{B1}$ to move the first stage's operating point: a larger base resistor gives less current, and $R_B/(\beta + 1)$ grows relative to $R_C$, so the current depends more on β.
:::
:::

```sim circuit
RC1 vcc c1 4.7k                 @ 3,-1 down 2
RB1 b1 c1 220k                  @ 1,2 up 1
Q1 c1 b1 0 npn BF=100           @ 2,2
RC2 vcc c2 4.7k                 @ 7,-1 down 2
RB2 b2 c2 220k                  @ 5,2 up 1
Q2 c2 b2 0 npn BF=300           @ 6,2
VCC vcc 0 10                    @ 9,-1 down 5
slider: RB1 47k..1M log
scope: v(c1), v(c2)
time: 0..1m s
meter: i(RC1), i(RC2), v(c1), v(c2)
```

::: predict
## In a collector-feedback stage ($R_C$ = 4.7 kΩ, $R_B$ = 220 kΩ, 10 V), the transistor's β goes from 100 to 300. By roughly how much does its current change?

- [ ] It triples
- [ ] It doubles
- [x] It rises by about a quarter
- [ ] Not at all

::: reveal
It rises by about a quarter, from 1.35 mA to 1.71 mA. If the current rises, the collector voltage falls, and since the base resistor is fed from the collector, the base current falls too: the circuit corrects itself. The correction is only partial because $R_B/(\beta + 1)$ is still comparable to $R_C$.
:::
:::

::: nameit
## Designing divider bias (BJT)

Given $V_{CC}$ and a target $I_C$:

1. **Emitter:** put about a tenth of the supply across $R_E$: $V_E \approx V_{CC}/10$, $R_E = V_E/I_C$.
2. **Base:** $V_B = V_E + 0.7$.
3. **Divider:** run about $I_C/10$ through it: $R_2 = V_B/(I_C/10)$ and $R_1 = (V_{CC} - V_B)/(I_C/10)$.
4. **Collector:** put the collector midway between $V_E$ and $V_{CC}$ for the most room to swing: $R_C = \frac{V_{CC} - V_C}{I_C}$.
5. **Check** with the Thevenin equivalent and the worst-case β. The base current loads the divider through $R_{TH}/(\beta + 1)$; a stiffer divider costs supply current and lowers the stage's input resistance.

## Designing MOSFET bias

No gate current, so the divider can be megohms. Given $I_D$, $K$ and $V_t$:

1. $v_{OV} = \sqrt{2I_D/K}$, so $V_{GS} = V_t + v_{OV}$.
2. Choose $V_S$ (a volt or two, larger for better stability): $R_S = V_S/I_D$.
3. $V_G = V_S + V_{GS}$, set by the divider.
4. $R_D$ puts the drain where you want it, keeping $V_D \ge V_G - V_t$.

Because $V_t$ and K vary widely between MOSFETs, a larger $V_S$ makes the current depend more on $R_S$ and less on the device.

## Feedback bias

**Collector to base:** $R_B$ from the collector to the base. Since $R_C$ carries nearly all of $I_E$,

$$I_E = \frac{V_{CC} - 0.7}{R_C + R_B/(\beta + 1)}$$

It can never saturate: if the collector fell below 0.7 V, the base would have nothing to draw from. **Drain to gate** for a MOSFET: a large resistor from drain to gate makes $V_{GS} = V_{DS}$ (no gate current), so it's always saturated, with the same quadratic as a diode-connected device.

## Current-source bias

A **current mirror**: a reference current $I_\text{ref}$ through a diode-connected transistor sets a $V_{BE}$ (or $V_{GS}$) that a matched transistor copies, so it carries the same current. For BJTs the two base currents steal a little: $I_O = \frac{I_\text{ref}}{1 + 2/\beta}$. For MOSFETs the copy scales with size: $I_O = I_\text{ref}\frac{(W/L)_2}{(W/L)_1}$. Integrated circuits bias almost everything this way; C6 develops it.
:::

::: example
## Design divider bias for 1 mA from 12 V, and check it with β = 100 and 300.

::: solution
1. **Emitter resistor.** $V_E$ = 1.2 V, so $R_E$ = 1.2 kΩ.
2. **Divider.** $V_B$ = 1.9 V; with 0.1 mA in the divider, $R_2$ = 19 kΩ and $R_1$ = 101 kΩ.
3. **Collector resistor.** $V_C$ = 6.6 V, so $R_C$ = 5.4 kΩ.
4. **Check with β.** $V_{TH}$ = 1.9 V and $R_{TH}$ = 16.0 kΩ, so
   $$I_E = \frac{1.2}{1.2\ \text{k} + 16\ \text{k}/101}$$
   which is 0.88 mA at β = 100 and 0.96 mA at β = 300.
5. **What the check shows.** The two are within 9% of each other, though both below target, because the base current drops voltage in $R_{TH}$; raising $V_B$ a little, or a stiffer divider, corrects it.

**Answer:** $R_E$ = 1.2 kΩ, $R_1$ = 101 kΩ, $R_2$ = 19 kΩ and $R_C$ = 5.4 kΩ; the current is 0.88 mA at β = 100 and 0.96 mA at β = 300.
:::
:::

::: example
## Design MOSFET bias for 0.5 mA from 12 V with $K$ = 2 mA/V² and $V_t$ = 1 V, with the source at 2 V and the drain at 7 V.

::: solution
1. **Overdrive.**
   $$\begin{aligned} v_{OV} &= \sqrt{2 \times 0.5/2} \\ &= 0.71\ \text{V} \end{aligned}$$
   so $V_{GS}$ = 1.71 V.
2. **Source resistor and gate voltage.** $R_S = 2/0.5 = 4$ kΩ, and $V_G$ = 3.71 V (say 1 MΩ over 450 kΩ).
3. **Drain resistor.**
   $$\begin{aligned} R_D &= (12 - 7)/0.5 \\ &= 10\ \text{k}\Omega \end{aligned}$$
4. **Check the region.** The drain at 7 V is well above $V_G - V_t$ = 2.71 V, so it's saturated.

**Answer:** $R_S$ = 4 kΩ, $R_D$ = 10 kΩ, and a divider of about 1 MΩ over 450 kΩ sets $V_G$ = 3.71 V.
:::
:::

::: example
## Design collector-feedback bias for 1 mA with $R_C$ = 5.6 kΩ from 12 V and β = 100. Then check it with β = 300.

::: solution
1. **Base resistor.** From $I_E = \frac{V_{CC} - 0.7}{R_C + R_B/(\beta + 1)}$, 1 mA needs $R_C + \frac{R_B}{101}$ = 11.3 kΩ, so
   $$\begin{aligned} R_B &= 101 \times 5.7\ \text{k}\Omega \\ &= 576\ \text{k}\Omega \end{aligned}$$
2. **Collector.** It sits at 12 − 5.6 = 6.4 V.
3. **With β = 300.**
   $$\begin{aligned} I_E &= \frac{11.3}{5.6 + 576/301} \\ &= 1.50\ \text{mA} \end{aligned}$$
   and the collector falls to 3.58 V.
4. **How much the feedback helps.** The feedback halves the effect of tripling β but doesn't remove it: it only works as well as $R_C$ dominates $R_B/(\beta + 1)$, and here they're comparable. Its merit is simplicity, and that it can never saturate the transistor.

**Answer:** $R_B$ = 576 kΩ puts the collector at 6.4 V; with β = 300 the current rises to 1.50 mA and the collector falls to 3.58 V.
:::
:::

::: check
given: VCC = 9 | 12 | 15; IC = 0.5 | 2
answer: VCC/10/IC
unit: kΩ
tolerance: 0.5%

## Following the procedure, a stage on {VCC} V is designed for {IC} mA. What emitter resistor does it get?

::: right
Right. $V_E = V_{CC}/10$, so $R_E$ = {answer}.
:::

::: misses
- [any] Not yet. A tenth of the supply across $R_E$, at the target current.
:::
:::

::: check
given: VCC = 9 | 12 | 15; IC = 0.5 | 2
answer: (VCC/10 + 0.7)/(IC/10)
unit: kΩ
tolerance: 0.5%

## For the same stage ({VCC} V, {IC} mA), with $I_C/10$ in the divider, what is $R_2$ (the lower divider resistor)?

::: right
Right. $V_B = V_{CC}/10 + 0.7$, over $I_C/10$: {answer}.
:::

::: misses
- [(VCC/10)/(IC/10)] The base sits 0.7 V above the emitter.
- [any] Not yet. $R_2 = V_B/(I_C/10)$.
:::
:::

::: check
given: VCC = 9 | 12 | 15; IC = 0.5 | 2
answer: (VCC - (VCC + VCC/10)/2)/IC
unit: kΩ
tolerance: 0.5%

## For the same stage, what $R_C$ puts the collector midway between the emitter and the supply?

::: right
Right. $V_C = (V_{CC} + V_E)/2$, so $R_C$ = {answer}.
:::

::: misses
- [VCC/2/IC] Midway between the emitter and the supply, not between ground and the supply.
- [any] Not yet. Find $V_C$, then $R_C = (V_{CC} - V_C)/I_C$.
:::
:::

::: check
given: ID = 0.2 | 1; K = 1 | 4; VS = 1 | 2
answer: VS + 1 + sqrt(2*ID/K)
unit: V
tolerance: 0.5%

## A MOSFET stage ($V_t$ = 1 V, $K$ = {K} mA/V²) is biased at {ID} mA with its source at {VS} V. Where must the gate be?

::: right
Right. $V_S + V_t + \sqrt{2I_D/K}$ = {answer}.
:::

::: misses
- [VS + 1] Add the overdrive for that current.
- [any] Not yet. $V_G = V_S + V_t + v_{OV}$.
:::
:::

::: check
given: VCC = 9 | 12; RC = 2.2 | 4.7; RB = 100 | 330; beta = 50 | 200
answer: (VCC - 0.7)/(RC + RB/(beta + 1))
unit: mA
tolerance: 0.5%

## A collector-feedback stage has $R_C$ = {RC} kΩ from {VCC} V and $R_B$ = {RB} kΩ from collector to base; β = {beta}. What emitter current flows?

::: right
Right. $\frac{V_{CC} - 0.7}{R_C + R_B/(\beta + 1)}$ = {answer}.
:::

::: misses
- [(VCC - 0.7)/RB*beta] That's base-resistor bias from the supply; here the base resistor is fed from the collector.
- [any] Not yet. Loop from $V_{CC}$ through $R_C$, $R_B$ and the base-emitter junction.
:::
:::

::: check
given: VDD = 5 | 10; RD = 2.2 | 10; K = 0.5 | 2
answer: K/2*((sqrt(1 + 2*K*RD*(VDD - 1)) - 1)/(K*RD))^2
unit: mA
tolerance: 0.5%

## A MOSFET ($V_t$ = 1 V, $K$ = {K} mA/V²) has {RD} kΩ from {VDD} V to its drain and a large resistor from drain to gate. What current flows?

::: right
Right. $V_{GS} = V_{DS}$, so it solves like a diode-connected device: {answer}.
:::

::: misses
- [K/2*(VDD - 1)^2] The gate follows the drain, which falls as the current rises.
- [any] Not yet. $\frac K2(V_{DD} - I_DR_D - V_t)^2 = I_D$.
:::
:::

::: check
given: VCC = 5 | 12; R = 4.3 | 10; beta = 50 | 200
answer: (VCC - 0.7)/R/(1 + 2/beta)
unit: mA
tolerance: 0.2%

## A BJT current mirror's reference transistor is fed through {R} kΩ from {VCC} V; β = {beta}. What current does the output transistor carry?

::: right
Right. $I_\text{ref} = (V_{CC} - 0.7)/R$, then $\frac{I_\text{ref}}{1 + 2/\beta}$ = {answer}.
:::

::: misses
- [(VCC - 0.7)/R] Close: the two base currents come out of the reference.
- [any] Not yet. Find $I_\text{ref}$, then correct for the base currents.
:::
:::

::: check
given: Iref = 10 | 100; W1 = 2 | 5; W2 = 10 | 40
answer: Iref*W2/W1
unit: µA
tolerance: 0.5%

## A MOSFET mirror's reference device is {W1} µm wide and its output device {W2} µm wide (same length), with {Iref} µA in. What comes out?

::: right
Right. Scaled by $W_2/W_1$: {answer}.
:::

::: misses
- [Iref*W1/W2] The wider device carries more.
- [any] Not yet. $I_O = I_\text{ref}(W/L)_2/(W/L)_1$.
:::
:::

::: check
kind: parts
given: VCC = 9 | 12; RC = 3.3 | 4.7 | 6.8; I = 0.5 | 1; b = 50 | 100

## Collector-feedback bias with $R_C$ = {RC} kΩ from {VCC} V must give {I} mA with β = {b}.

::: part
answer: (b + 1)*((VCC - 0.7)/I - RC)
unit: kΩ
tolerance: 0.5%

### What base resistor?

::: misses
- [b*((VCC - 0.7)/I - RC)] The base resistor's current is $I_E/(\beta + 1)$.
- [any] $R_B = (\beta + 1)\left(\frac{V_{CC} - 0.7}{I_E} - R_C\right)$.
:::
:::

::: part
answer: (VCC - 0.7)/(RC + ((VCC - 0.7)/I - RC)*(b + 1)/(2*b + 1))
unit: mA
tolerance: 0.5%

### With that resistor, what current flows if β doubles?

::: misses
- [2*I] Feedback holds the current well below double.
- [any] $\frac{V_{CC} - 0.7}{R_C + R_B/(2\beta + 1)}$.
:::
:::
:::

::: check
kind: derivation
vars: V = 5..30, C = 1000..20000, I = 0.0001..0.005, b = 20..500

## Collector-feedback bias from supply V with collector resistor C must set emitter current I with gain b.

::: step
answer: (b + 1)*((V - 0.7)/I - C)

### What base resistor?
:::

::: step
answer: V - C*I

### Where does the collector sit?
:::

::: step
answer: V - C*I - 0.7

### What voltage does the base resistor drop?
:::

::: right
Right. The base resistor carries the collector's voltage back to the base.
:::
:::

::: explain
## Why can't a collector-feedback stage saturate?

::: model
Its base current comes through a resistor from its own collector, not from the supply. If the transistor tried to pull its collector down toward saturation, the voltage feeding the base resistor would fall with it, and the base current would shrink. Once the collector came down to about 0.7 V, the base resistor would have no voltage across it at all and the base current would stop. So the collector can never fall below the base, and the transistor stays out of saturation by construction.
:::
:::

::: practice

::: check
given: R1 = 47 | 100; R2 = 10 | 22
answer: (R1*R2/(R1 + R2))
unit: kΩ
tolerance: 0.5%

## What is the Thevenin resistance of a bias divider with $R_1$ = {R1} kΩ and $R_2$ = {R2} kΩ?

::: misses
- [any] $R_1 \parallel R_2$.
:::
:::

::: check
given: ID = 0.25 | 4; K = 0.5 | 8
answer: sqrt(2*ID/K)
unit: V
tolerance: 0.5%

## What overdrive does a MOSFET with $K$ = {K} mA/V² need to carry {ID} mA?

::: misses
- [any] $\sqrt{2I_D/K}$.
:::
:::

::: check
given: VS = 1 | 3; ID = 0.5 | 2
answer: VS/ID
unit: kΩ
tolerance: 0.5%

## What source resistor puts a MOSFET's source at {VS} V when it carries {ID} mA?

::: misses
- [any] $V_S/I_D$.
:::
:::
:::
