---
title: MOSFET circuits at DC
heading: Assume a region, solve, and check
eyebrow: C5 · Lesson 17 · MOSFET circuits at DC
xp: 40
---

::: hook
Before a transistor can amplify or switch anything, you have to know its DC operating point: the current through it and the voltages on its terminals. With a MOSFET that means solving the square law together with the resistors around it, and the square law has a different form in each region. The method is the same one you used for diodes: assume a region, solve, and check that the answer is consistent with the assumption. Most of the time the first guess, saturation, is right.
:::

::: play
- A divider sets the gate at 5 V; $R_S$ in the source and $R_D$ in the drain set the operating point. The meters show the drain current and voltages.
- Raise $R_S$: the current falls, because the source rises and eats into $V_{GS}$.
- Raise $R_D$ until the drain falls below $V_G - V_t$ = 4 V: the transistor leaves saturation, and the current stops depending only on the gate.
:::
:::

```sim circuit
R1 vdd g 1M                     @ 1,-2 down 3
R2 g 0 1M                       @ 1,1 down 4
M1 d g s nmos VTO=1 KP=1m       @ 2,1
RD vdd d 3k                     @ 3,-2 down 2
RS s 0 2k                       @ 3,2 down 3
VDD vdd 0 10                    @ 5,-2 down 7
slider: RD 1k..20k log
slider: RS 100..10k log
scope: v(d), v(s)
time: 0..1m s
meter: i(M1), v(d), v(s)
```

::: predict
## The gate sits at 5 V and $V_t$ = 1 V. With $R_S$ = 2 kΩ and $K$ = 1 mA/V², about how much current flows?

- [ ] 8 mA: $\frac K2(V_G - V_t)^2$
- [ ] 2 mA: $(V_G - V_t)/R_S$
- [x] About 1.2 mA
- [ ] About 0.1 mA

::: reveal
About 1.2 mA. The current raises the source to $I_DR_S$, which subtracts from $V_{GS}$, which lowers the current: the two settle where $\frac K2v_{OV}^2R_S + v_{OV} = V_G - V_t$, at $v_{OV}$ = 1.56 V and 1.22 mA. The source resistor is negative feedback, and it makes the current far less sensitive to the transistor's own $K$ and $V_t$.
:::
:::

::: nameit
## The method

1. **Assume saturation** (the usual intent in amplifier bias): $I_D = \frac K2v_{OV}^2$.
2. **Solve** with the surrounding circuit. With the gate at $V_G$ (no gate current) and a source resistor $R_S$, $V_{GS} = V_G - I_DR_S$, so

$$\frac K2R_Sv_{OV}^2 + v_{OV} - (V_G - V_t) = 0 \qquad v_{OV} = \frac{\sqrt{1 + 2KR_S(V_G - V_t)} - 1}{KR_S}$$

taking the positive root (the negative one has the gate below threshold).

3. **Check:** $v_{OV} > 0$ and $V_{DS} \ge v_{OV}$, which is the same as $V_D \ge V_G - V_t$: the drain may not fall more than a threshold below the gate. If it fails, redo the solution with the triode equation.

**Diode-connected transistor.** With drain tied to gate, $V_{DS} = V_{GS} > v_{OV}$, so it's always saturated (or off). Fed through R from a supply, it gives the same quadratic with $V_\text{supply}$ for $V_G$ and R for $R_S$.

**Triode.** If the drain resistor is large, the transistor turns fully on and the drain falls near ground. Then

$$K\left(v_{OV}V_{DS} - \tfrac12V_{DS}^2\right) = \frac{V_{DD} - V_{DS}}{R_D}$$

another quadratic, whose smaller root is the answer.

**PMOS.** Same steps with $v_{SG}$, $|V_{tp}|$ and $v_{SD}$; saturation needs $V_D \le V_G + |V_{tp}|$.
:::

::: example
## Find the operating point of the circuit above: $V_{DD}$ = 10 V, $V_G$ = 5 V, $V_t$ = 1 V, $K$ = 1 mA/V², $R_S$ = 2 kΩ, $R_D$ = 3 kΩ.

::: solution
1. **Overdrive.** $KR_S = 2$, so
   $$\begin{aligned} v_{OV} &= \frac{\sqrt{1 + 2 \times 2 \times 4} - 1}{2} \\ &= 1.56\ \text{V} \end{aligned}$$
2. **Drain current.**
   $$\begin{aligned} I_D &= \frac12(1.56)^2 \\ &= 1.22\ \text{mA} \end{aligned}$$
3. **Node voltages.** $V_S$ = 2.44 V, and
   $$\begin{aligned} V_D &= 10 - 3.66 \\ &= 6.34\ \text{V} \end{aligned}$$
4. **Check the region.** $V_D$ = 6.34 V is above $V_G - V_t$ = 4 V, so it's saturated.

**Answer:** $I_D$ = 1.22 mA, with $V_S$ = 2.44 V and $V_D$ = 6.34 V, in saturation.
:::
:::

::: example
## The same transistor with $R_S$ = 0 and $R_D$ = 10 kΩ: where does it settle?

::: solution
1. **Try saturation.** It would need 8 mA, which would put the drain at −70 V: impossible, so it's in triode with $v_{OV}$ = 4 V.
2. **Set the triode current equal to the resistor's.**
   $$10^{-3}\left(4V_D - \frac12V_D^2\right) = \frac{10 - V_D}{10^4}$$
   which gives
   $$5V_D^2 - 41V_D + 10 = 0$$
3. **Solve.** The smaller root is the one that fits:
   $$\begin{aligned} V_D &= 0.25\ \text{V} \\ I_D &= 0.97\ \text{mA} \end{aligned}$$
   so it acts as a closed switch.

**Answer:** it settles in triode with $V_D$ = 0.25 V and $I_D$ = 0.97 mA, acting as a closed switch.
:::
:::

::: example
## A MOSFET with its gate tied to its drain ($K$ = 1 mA/V², $V_t$ = 1 V) is fed from 10 V through 10 kΩ. Find its voltage and current.

::: solution
1. **Find the region.** With $v_{DS} = v_{GS}$, the drain is always above $v_{GS} - V_t$, so the device is saturated whenever it conducts.
2. **Match the resistor to the square law.** With $u = V_{GS} - 1$,
   $$\frac{10 - 1 - u}{10\ \text{k}\Omega} = \frac{1\ \text{mA/V}^2}{2}u^2$$
   which gives
   $$5u^2 + u - 9 = 0$$
3. **Solve.**
   $$\begin{aligned} u &= 1.245\ \text{V} \\ V_{GS} &= 2.245\ \text{V} \\ I_D &= 0.775\ \text{mA} \end{aligned}$$
4. **What it's for.** This diode-connected transistor sets the gate voltage for a current mirror: a second, matched transistor with the same $V_{GS}$ copies its current.

**Answer:** it sits at 2.245 V with 0.775 mA flowing.
:::
:::

::: check
given: K = 0.5 | 2; RS = 1 | 4.7; VGt = 2 | 4
answer: (sqrt(1 + 2*K*RS*VGt) - 1)/(K*RS)
unit: V
tolerance: 0.5%

## An NMOS ($K$ = {K} mA/V²) has $V_G - V_t$ = {VGt} V, with $R_S$ = {RS} kΩ from its source to ground. What is its overdrive?

::: right
Right. $\frac{\sqrt{1 + 2KR_S(V_G - V_t)} - 1}{KR_S}$ = {answer}.
:::

::: misses
- [VGt] The source resistor's voltage takes part of $V_G - V_t$.
- [any] Not yet. Solve $\frac K2R_Sv_{OV}^2 + v_{OV} = V_G - V_t$.
:::
:::

::: check
given: K = 0.5 | 2; RS = 1 | 4.7; VGt = 2 | 4
answer: K/2*((sqrt(1 + 2*K*RS*VGt) - 1)/(K*RS))^2
unit: mA
tolerance: 0.5%

## For the same transistor ($K$ = {K} mA/V², $V_G - V_t$ = {VGt} V, $R_S$ = {RS} kΩ), what drain current flows?

::: right
Right. {answer}.
:::

::: misses
- [K/2*VGt^2] That ignores the source resistor.
- [VGt/RS] That would put no overdrive on the transistor at all.
- [any] Not yet. Find $v_{OV}$, then $\frac K2v_{OV}^2$.
:::
:::

::: check
given: VDD = 5 | 9; Vt = 0.5 | 1; K = 1 | 4; R = 4.7 | 22
answer: Vt + (sqrt(1 + 2*K*R*(VDD - Vt)) - 1)/(K*R)
unit: V
tolerance: 0.5%

## A diode-connected NMOS ($K$ = {K} mA/V², $V_t$ = {Vt} V) is fed through {R} kΩ from {VDD} V. What is its $V_{GS}$?

::: right
Right. {answer}.
:::

::: misses
- [Vt] Some overdrive is needed to carry the current.
- [any] Not yet. The same quadratic, with $V_{DD}$ for $V_G$ and R for $R_S$.
:::
:::

::: check
given: K = 1 | 2; RD = 10 | 20; VOV = 3 | 4; VDD = 10 | 12
answer: ((K*RD*VOV + 1) - sqrt((K*RD*VOV + 1)^2 - 2*K*RD*VDD))/(K*RD)
unit: V
tolerance: 0.5%

## An NMOS ($K$ = {K} mA/V²) with {VOV} V of overdrive and its source grounded drives {RD} kΩ from {VDD} V. What is its drain voltage?

::: right
Right. Saturation is impossible, so it's in triode: {answer}.
:::

::: misses
- [VDD - K/2*VOV^2*RD] That assumes saturation and gives an impossible drain voltage.
- [any] Not yet. Check saturation, then solve the triode quadratic.
:::
:::

::: check
given: VDD = 5 | 6; VG = 1.5 | 2; Kp = 0.5 | 1; RD = 0.1 | 0.2
answer: RD*Kp/2*(VDD - VG - 1)^2
unit: V
tolerance: 0.5%

## A PMOS ($K_p$ = {Kp} mA/V², $|V_{tp}|$ = 1 V) has its source at {VDD} V, its gate at {VG} V and {RD} kΩ from drain to ground. What is the drain voltage?

::: right
Right. $V_{SG} - |V_{tp}|$ of overdrive, then $I_DR_D$: {answer}.
:::

::: misses
- [RD*Kp/2*(VG - 1)^2] The overdrive is measured from the source: $V_{SG} = V_{DD} - V_G$.
- [any] Not yet. Find $v_{SG}$, the current, then $I_DR_D$.
:::
:::

::: check
given: VG = 3 | 5; K = 1 | 4; ID = 0.25 | 1
answer: (VG - 1 - sqrt(2*ID/K))/ID
unit: kΩ
tolerance: 0.5%

## Design: an NMOS ($K$ = {K} mA/V², $V_t$ = 1 V) with its gate at {VG} V must carry {ID} mA. What $R_S$ does it need?

::: right
Right. $v_{OV} = \sqrt{2I_D/K}$, then $R_S = (V_G - V_t - v_{OV})/I_D$ = {answer}.
:::

::: misses
- [(VG - 1)/ID] Leave room for the overdrive.
- [any] Not yet. Find $V_{GS}$ for that current first.
:::
:::

::: check
kind: choice

## An NMOS with $V_t$ = 1 V has its gate at 4 V. In which case is it saturated?

- [ ] Drain at 2 V, source at 0 V
- [x] Drain at 3.5 V, source at 1 V
- [ ] Drain at 2.5 V, source at 0.5 V
- [ ] Drain at 1 V, source at 0 V

::: misses
- [1] $v_{OV}$ = 3 V but $V_{DS}$ = 2 V: triode.
- [3] $v_{OV}$ = 2.5 V but $V_{DS}$ = 2 V: triode.
- [4] $V_{DS}$ = 1 V, far below the 3 V overdrive: triode.
:::
:::

::: check
kind: parts
given: K = 0.5 | 1 | 2; V = 5 | 12; R = 4.7 | 10 | 22

## A MOSFET with its gate tied to its drain ($K$ = {K} mA/V², $V_t$ = 1 V) is fed from {V} V through {R} kΩ.

::: part
answer: 1 + (sqrt(1 + 2*K*R*(V - 1)) - 1)/(K*R)
unit: V
tolerance: 0.5%

### What's its $V_{GS}$?

::: misses
- [any] Solve $\frac{K}{2}u^2R + u - (V - V_t) = 0$ for the overdrive u.
:::
:::

::: part
answer: K/2*((sqrt(1 + 2*K*R*(V - 1)) - 1)/(K*R))^2
unit: mA
tolerance: 0.5%

### What current flows?

::: misses
- [(V - 1)/R] The transistor drops more than its threshold.
- [any] $\frac K2u^2$.
:::
:::
:::

::: check
kind: derivation
vars: K = 0.0001..0.01, R = 100..100000, G = 0.5..10

## A saturated MOSFET (gain factor K) has a source resistor R, and its gate sits G volts above the threshold measured from ground.

::: step
answer: (sqrt(1 + 2*K*R*G) - 1)/(K*R)

### What's its overdrive?
:::

::: step
answer: K/2*((sqrt(1 + 2*K*R*G) - 1)/(K*R))^2

### What's its drain current?
:::

::: step
answer: G/R

### What does the current approach when KR is very large?
:::

::: right
Right. A large source resistor makes the current depend on R, not on the transistor.
:::
:::

::: explain
## Why does a source resistor make a MOSFET's bias current less sensitive to the transistor's own parameters?

::: model
Without it, the gate-source voltage is fixed and the current follows the square law directly, so a transistor with a lower threshold or a higher K carries much more current. With a source resistor, any extra current raises the source voltage, which reduces the gate-source voltage and pulls the current back down. If $K R_S$ is large, the overdrive ends up small and most of $V_G - V_t$ appears across $R_S$, so the current is close to $(V_G - V_t)/R_S$ whatever K is. It's negative feedback: the circuit measures its own current and corrects it.
:::
:::

::: practice

::: check
given: VG = 3 | 6; Vt = 0.7 | 1.2
answer: VG - Vt
unit: V
tolerance: 0.5%

## An NMOS has its gate at {VG} V and $V_t$ = {Vt} V. What is the lowest drain voltage at which it's still saturated?

::: misses
- [any] $V_D \ge V_G - V_t$.
:::
:::

::: check
given: VDD = 10 | 12; ID = 0.5 | 2; RD = 2 | 4.7
answer: VDD - ID*RD
unit: V
tolerance: 0.5%

## A MOSFET carrying {ID} mA through a {RD} kΩ drain resistor from {VDD} V: where is its drain?

::: misses
- [any] $V_{DD} - I_DR_D$.
:::
:::

::: check
given: VDD = 9 | 15; R1 = 100 | 470; R2 = 47 | 220
answer: VDD*R2/(R1 + R2)
unit: V
tolerance: 0.5%

## A divider of {R1} kΩ over {R2} kΩ from {VDD} V sets a MOSFET's gate. What is the gate voltage?

::: misses
- [any] No gate current: a plain divider.
:::
:::
:::
