---
title: Dependent sources
heading: Sources controlled by another part of the circuit
eyebrow: C1 · Lesson 21 · Dependent sources
xp: 50
---

::: hook
Every source so far has had a fixed value. A **dependent source** takes its value from somewhere else in the circuit: a current set by a voltage, or a voltage set by a current. That's how amplifiers are modeled. A transistor, for small signals, acts like a current source controlled by its input; an op amp acts like a voltage source a hundred thousand times its input. Analyze the circuit with these sources in it and you're analyzing an amplifier.

::: play
- This is a simple model of a transistor amplifier. $V_B$ is a 0 V source used as an ammeter for the base current $i_b$. The diamond $F_1$ is a current source of $\beta i_b$ into the collector.
- Read the input and output on the scope. The output is upside down and larger. By how much?
- Change β. How does the gain change? What does $R_C$ do?
:::
:::

```sim circuit
V1 in 0 sine 10m V 1k Hz      @ 0,0 down
RB in b 10k                   @ 0,0 right
VB b e 0                      @ 2,0 down
RPI e 0 2.5k                  @ 2,2 down
F1 c 0 VB 100                 @ 5,0 down
RC c 0 2k                     @ 9,0 down
slider: F1 20..300
slider: RC 500..10k log
scope: v(in), v(c)
time: 0..3m s
meter: i(VB), v(c)
```

::: predict
## In the sim, 10 mV drives 10 kΩ + 2.5 kΩ, so the base current is 0.8 µA. With β = 100 and $R_C$ = 2 kΩ, what's the output amplitude?

- [ ] 10 mV
- [ ] 80 mV
- [x] 160 mV, inverted
- [ ] 1.6 V

::: reveal
160 mV, inverted. The collector current is $100 \times 0.8$ µA $= 80$ µA, flowing down through $F_1$ and pulled through $R_C$ from ground, so the collector sits at $-80\text{ µA} \times 2\text{ kΩ} = -160$ mV when the input is at +10 mV. A gain of −16. Small changes at the input control larger changes at the output, which is all an amplifier is.
:::
:::

::: nameit
## The four dependent sources

Drawn as diamonds, to set them apart from independent sources:

| Name | Output | Controlled by | Gain | Netlist |
|---|---|---|---|---|
| VCVS | voltage | a voltage | $\mu$ (V/V) | `E1 a b cp cn μ` |
| VCCS | current | a voltage | $g_m$ (A/V, siemens) | `G1 a b cp cn gm` |
| CCCS | current | a current | $\beta$ (A/A) | `F1 a b Vx β` |
| CCVS | voltage | a current | $r_m$ (V/A, ohms) | `H1 a b Vx rm` |

(In the netlists, cp and cn are the controlling nodes, and Vx is a voltage source, often 0 V, whose current is the control.)

**Models of real devices.**

- A **bipolar transistor** for small signals: a CCCS of $\beta i_b$ (β around 100), or equivalently a VCCS of $g_m v_{be}$.
- A **MOSFET**: a VCCS of $g_m v_{gs}$.
- An **op amp**: a VCVS with a gain of $10^5$ or more (C5).
- An **amplifier block** in general: an input resistance $R_i$, a VCVS of gain $A$, and an output resistance $R_o$. Driven from a source with resistance $R_s$ into a load $R_L$, its overall gain is

$$\frac{v_\text{out}}{v_s} = \frac{R_i}{R_s + R_i}\,A\,\frac{R_L}{R_o + R_L}$$

which shows why amplifiers want high input resistance and low output resistance.

**Analyzing circuits with them.** Write nodal or mesh equations as usual, treating the dependent source as a source. Then write its control (a voltage or current) in terms of your unknowns. You get one more relation and the same number of unknowns.

**What changes.**

- In **superposition**, dependent sources are never switched off; they respond to whatever the independent sources do.
- For **Thevenin resistance**, you can't just switch off sources and combine resistors. Switch off the independent sources, apply a test voltage $v_t$ at the terminals, find the current $i_t$, and take $R_\text{th} = v_t/i_t$. With dependent sources, $R_\text{th}$ can come out very large, very small, or even negative: something no network of resistors can do.
:::

::: example
## A 10 mV source with 1 kΩ of its own drives an amplifier with 9 kΩ input resistance, a VCVS gain of 100 and 100 Ω output resistance, loaded by 900 Ω. What reaches the load?

::: solution
1. **Input divider.**
   $$\begin{aligned} v_\text{in} &= 10 \times \frac{9}{10} \\ &= 9\ \text{mV} \end{aligned}$$
2. **The VCVS.**
   $$100 \times 9 = 900\ \text{mV}$$
3. **Output divider.** The 100 Ω and the 900 Ω load pass $\frac{900}{1000}$ of it:
   $$900 \times \frac{900}{1000} = 810\ \text{mV}$$

**Answer:** 810 mV reaches the load.
:::
:::

::: example
## A transistor modeled as a CCCS with β = 100 has 20 µA of base current; its collector has 2 kΩ to 9 V. What is the collector voltage?

::: solution
1. **Collector current.**
   $$\begin{aligned} I_c &= 100 \times 20\ \text{µA} \\ &= 2\ \text{mA} \end{aligned}$$
2. **Collector voltage.** The resistor drops 4 V, so the collector sits at
   $$9 - 4 = 5\ \text{V}$$

**Answer:** the collector sits at 5 V.
:::
:::

::: example
## A transistor is modeled as a resistor R from its input node to ground, plus a dependent current source that adds βi to R's current, where i is the input current. What input resistance does it present for R = 1 kΩ and β = 100?

::: solution
1. **Apply a test voltage.** Apply v and find the current: the input current i enters.
2. **Current in R.** The source adds βi, so R carries $(\beta + 1)i$ and
   $$v = (\beta + 1)iR$$
3. **Input resistance.**
   $$\begin{aligned} R_{in} &= \frac{v}{i} \\ &= (\beta + 1)R \\ &= 101\ \text{k}\Omega \end{aligned}$$
4. **What it means.** A dependent source can make a resistor look 101 times larger from the input. That's how an emitter follower presents a high input resistance while driving a low-resistance load.

**Answer:** the input resistance is 101 kΩ.
:::
:::

::: check
given: gm = 10 | 20 | 40; vin = 5 | 10; RL = 2 | 5 | 10
answer: gm*vin*RL/1000
unit: V
tolerance: 0.5%

## A VCCS with $g_m$ = {gm} mS is controlled by a {vin} mV input and drives its current into a {RL} kΩ load. What is the output amplitude?

::: right
Right. $g_m v_\text{in}R_L$ = {answer}.
:::

::: misses
- [gm*vin*RL] Watch the units: mS × mV × kΩ gives millivolts, then convert.
- [gm*vin/RL/1000] The current flows through the load: multiply by $R_L$.
- [any] Not yet. Current $g_m v_\text{in}$, then $v = iR_L$.
:::
:::

::: check
given: beta = 50 | 100 | 200; ib = 5 | 10 | 20
answer: beta*ib/1000
unit: mA
tolerance: 0.5%

## A transistor modeled as a CCCS with β = {beta} has {ib} µA of base current. What is the collector current?

::: right
Right. $\beta i_b$ = {answer}.
:::

::: misses
- [beta*ib] That's in µA. Give it in mA.
- [ib/beta] Multiply by β.
- [any] Not yet. $i_c = \beta i_b$.
:::
:::

::: check
given: Rs = 1 | 10; Ri = 10 | 100; A = 20 | 50; Ro = 50 | 100; RL = 100 | 1000
answer: Ri/(Rs + Ri)*A*RL/(Ro + RL)
tolerance: 0.5%

## An amplifier has input resistance {Ri} kΩ, open-circuit gain {A} and output resistance {Ro} Ω. It's driven from a source with {Rs} kΩ resistance into a {RL} Ω load. What is the overall voltage gain?

::: right
Right. Loss at the input, the gain, then loss at the output: {answer}.
:::

::: misses
- [A] The input and output dividers both lose some signal.
- [Ri/(Rs + Ri)*A] Include the divider at the output.
- [A*RL/(Ro + RL)] Include the divider at the input.
- [any] Not yet. $\frac{R_i}{R_s + R_i}A\frac{R_L}{R_o + R_L}$.
:::
:::

::: check
given: rm = 1 | 2.2 | 10; i = 0.5 | 2 | 3
answer: rm*i
unit: V
tolerance: 0.5%

## A CCVS has $r_m$ = {rm} kΩ. Its controlling current is {i} mA. What voltage does it produce?

::: right
Right. $r_m i$ = {answer}.
:::

::: misses
- [rm/i] Multiply: volts per amp times amps.
- [any] Not yet. $v = r_m i$.
:::
:::

::: check
kind: choice

## When finding the Thevenin resistance of a circuit with a dependent source, what do you do with the dependent source?

- [ ] Replace it with a short
- [ ] Replace it with an open
- [x] Leave it in, switch off only independent sources, and apply a test source at the terminals
- [ ] Ignore it

::: right
Right. Its value depends on the circuit, so it stays; a test source shows how the terminals respond.
:::

::: misses
- [1] It isn't independent, so it can't be zeroed.
- [2] It isn't independent, so it can't be zeroed.
- [4] It changes the result.
:::
:::

::: check
kind: parts
given: b = 20 | 50 | 100; R = 0.5 | 1 | 2

## A model has resistor R = {R} kΩ to ground, and a dependent source adds β = {b} times the input current to R's current.

::: part
answer: (b + 1)*R
unit: kΩ
tolerance: 0.5%

### What input resistance does it present?

::: misses
- [b*R] R carries the input current too: $(\beta + 1)i$.
- [any] $(\beta + 1)R$.
:::
:::

::: part
answer: 1/((b + 1)*R)*1000
unit: µA
tolerance: 0.5%

### How much current does 1 V at the input draw?

::: misses
- [any] $\frac{1\text{ V}}{R_{in}}$.
:::
:::
:::

::: check
kind: derivation
vars: b = 10..500, R = 0.1..10, v = 0.01..10

## A test voltage v drives the same model, with β = b and resistor R (kΩ).

::: step
answer: v/((b + 1)*R)

### What input current flows, in mA?
:::

::: step
answer: (b + 1)*v/((b + 1)*R)

### What current flows in R?
:::

::: right
Right. R carries $(\beta + 1)$ times the input current, which is why it looks $(\beta + 1)$ times larger.
:::
:::

::: explain
## Why can't a dependent source be switched off when applying superposition?

::: model
Superposition adds up the effects of the circuit's independent inputs, the things that drive it from outside. A dependent source isn't an input; its value is set by a voltage or current inside the circuit, so it's part of how the circuit responds. Switching it off would change the circuit itself, like removing a transistor from an amplifier. Left in place, it simply responds to whichever independent source is active at the time.
:::
:::

::: practice

::: check
given: mu = 10 | 50 | 100; v = 1 | 2 | 5
answer: mu*v
unit: mV
tolerance: 0.5%

## A VCVS with gain {mu} is controlled by {v} mV. Its output?

::: misses
- [any] $\mu v$.
:::
:::

::: check
given: gm = 1 | 4 | 40; v = 1 | 5 | 10
answer: gm*v
unit: µA
tolerance: 0.5%

## A VCCS with $g_m$ = {gm} mS is controlled by {v} mV. Its current, in µA?

::: misses
- [gm*v/1000] mS × mV = µA.
- [any] $g_m v$.
:::
:::

::: check
given: beta = 80 | 150; ib = 2 | 4
answer: beta*ib
unit: µA
tolerance: 0.5%

## β = {beta}, base current {ib} µA. Collector current, in µA?

::: misses
- [any] $\beta i_b$.
:::
:::
:::
