---
title: Two-port networks
heading: Describing a box by what it does at its terminals
eyebrow: C4 · Lesson 19 · Two-port networks
xp: 50
---

::: hook
A filter, an amplifier, a transformer and a stretch of cable all have an input pair of terminals and an output pair. Engineers describe such a two-port by a 2×2 matrix that relates the voltages and currents at both ends, without caring what's inside. That's how datasheets specify transistors and RF parts, and how a chain of stages is analyzed: multiply their matrices.

::: play
- A T network of three resistors between a source and a load. The meters give the input current and output voltage.
- Change the load. The output voltage changes, and so does the current drawn at the input: the network's input impedance depends on what's connected at its output.
- With the load removed (very large), compare $v_\text{out}$ with $v_\text{in}$. Which resistors set that ratio?
:::
:::

```sim circuit
V1 in 0 10          @ 0,0 down
R1 in m 1k          @ 0,0 right
R3 m 0 2k           @ 2,0 down
R2 m out 1k         @ 2,0 right
RL out 0 3k         @ 4,0 down
slider: RL 10..1M log
scope: v(out)
time: 0..1m s
meter: i(R1), v(out)
```

::: predict
## With the load disconnected, what fraction of the 10 V reaches the T network's output?

- [ ] 1/3
- [x] 2/3
- [ ] 1/2
- [ ] All of it

::: reveal
2/3. With no load current, $R_2$ carries nothing, so the output equals the middle node, which is a divider of $R_1$ and $R_3$: $2/(1 + 2) = 2/3$. In two-port terms, that's $z_{21}/z_{11}$: the open-circuit voltage gain.
:::
:::

::: nameit
## Two-port parameters

A two-port has voltages $V_1$, $V_2$ and currents $I_1$, $I_2$, both currents flowing *into* the network.

**Impedance (z) parameters:**

$$\begin{pmatrix}V_1 \\ V_2\end{pmatrix} = \begin{pmatrix}z_{11} & z_{12} \\ z_{21} & z_{22}\end{pmatrix}\begin{pmatrix}I_1 \\ I_2\end{pmatrix}$$

Each is found with the other port open: $z_{11} = V_1/I_1$ with $I_2 = 0$, and so on. For the T network: $z_{11} = R_1 + R_3$, $z_{22} = R_2 + R_3$, $z_{12} = z_{21} = R_3$.

**Others.** Admittance (y) parameters swap the roles; **hybrid (h)** parameters mix them and describe bipolar transistors ($h_{fe}$ is the current gain β); **transmission (ABCD)** parameters relate input to output:

$$\begin{pmatrix}V_1 \\ I_1\end{pmatrix} = \begin{pmatrix}A & B \\ C & D\end{pmatrix}\begin{pmatrix}V_2 \\ -I_2\end{pmatrix}$$

and they **multiply for cascades**: the ABCD matrix of two stages in a row is the product of theirs. Two building blocks:

$$\text{series } Z: \begin{pmatrix}1 & Z \\ 0 & 1\end{pmatrix} \qquad \text{shunt } Y: \begin{pmatrix}1 & 0 \\ Y & 1\end{pmatrix}$$

**With a load $Z_L$:**

$$Z_\text{in} = z_{11} - \frac{z_{12}z_{21}}{z_{22} + Z_L} \qquad \frac{V_2}{V_1} = \frac{z_{21}Z_L}{z_{11}(z_{22} + Z_L) - z_{12}z_{21}}$$

**Reciprocity.** Networks of R, L, C and transformers have $z_{12} = z_{21}$; amplifiers don't, which is what lets them send signals one way.

**At RF**, scattering (S) parameters describe waves going in and out of each port, measured by a network analyzer (C10).
:::


::: example
## A T network has $R_1$ = 100 Ω, $R_2$ = 200 Ω and $R_3$ = 1 kΩ, loaded by 800 Ω. Find its input impedance and voltage gain.

::: solution
1. **z-parameters.**
   $$\begin{aligned} z_{11} &= 1100\ \Omega \\ z_{22} &= 1200\ \Omega \\ z_{12} &= 1000\ \Omega \\ z_{21} &= 1000\ \Omega \end{aligned}$$
2. **Input impedance.**
   $$\begin{aligned} Z_\text{in} &= 1100 - \frac{10^6}{2000} \\ &= 600\ \Omega \end{aligned}$$
3. **Voltage gain.**
   $$\begin{aligned} \frac{V_2}{V_1} &= \frac{1000 \times 800}{1100 \times 2000 - 10^6} \\ &= 0.667 \end{aligned}$$
4. **Check directly.** 1 kΩ ∥ 1 kΩ = 500 Ω, and $R_1$ in front of it gives 600 Ω. Then
   $$\begin{aligned} \frac{V_2}{V_1} &= \frac{500}{600} \times \frac{800}{1000} \\ &= 0.667 \end{aligned}$$

**Answer:** the input impedance is 600 Ω and the voltage gain is 0.667.
:::
:::

::: example
## Find the ABCD matrix of a series 100 Ω followed by a shunt 1 kΩ, and its gain into a 1 kΩ load.

::: solution
1. **Multiply the two matrices.** The series 100 Ω comes first, then the shunt 1 kΩ:
   $$\begin{aligned} T &= \begin{pmatrix}1 & 100 \\ 0 & 1\end{pmatrix}\begin{pmatrix}1 & 0 \\ 0.001 & 1\end{pmatrix} \\ &= \begin{pmatrix}1.1 & 100 \\ 0.001 & 1\end{pmatrix} \end{aligned}$$
2. **Add the load.** With $-I_2 = V_2/R_L$,
   $$\begin{aligned} V_1 &= (A + B/R_L)V_2 \\ &= 1.2V_2 \end{aligned}$$
3. **Gain.**
   $$\begin{aligned} \frac{V_2}{V_1} &= \frac{1}{1.2} \\ &= 0.833 \end{aligned}$$
   the same as $\frac{500}{600}$ from the divider.

**Answer:** the ABCD matrix is $\begin{pmatrix}1.1 & 100 \\ 0.001 & 1\end{pmatrix}$, and the gain into 1 kΩ is 0.833.
:::
:::

::: example
## Two identical L-sections, each a series 100 Ω then a shunt 1 kΩ, are cascaded. Find the overall ABCD matrix and the open-circuit voltage gain.

::: solution
1. **One section.**
   $$\begin{pmatrix}1.1 & 100\\ 0.001 & 1\end{pmatrix}$$
2. **Multiply two, entry by entry.**
   $$\begin{aligned} A &= 1.1 \times 1.1 + 100 \times 0.001 \\ &= 1.31 \\ B &= 1.1 \times 100 + 100 \\ &= 210 \\ C &= 0.001 \times 1.1 + 0.001 \\ &= 0.0021 \\ D &= 0.001 \times 100 + 1 \\ &= 1.1 \end{aligned}$$
3. **The overall matrix.**
   $$\begin{pmatrix}1.31 & 210\\ 0.0021 & 1.1\end{pmatrix}$$
4. **Open-circuit gain.**
   $$\begin{aligned} \frac{V_2}{V_1} &= \frac1A \\ &= 0.763 \end{aligned}$$
5. **Compare.** That's less than the 0.909² = 0.826 that multiplying two unloaded gains would suggest: the second section loads the first.
6. **Why ABCD.** ABCD matrices multiply in order, which handles loading automatically.

**Answer:** the overall matrix is $\begin{pmatrix}1.31 & 210\\ 0.0021 & 1.1\end{pmatrix}$, and the open-circuit gain is 0.763.
:::
:::

::: check
given: R1 = 1 | 2.2; R2 = 1 | 4.7; R3 = 2 | 3.3
answer: R1 + R3
unit: kΩ
tolerance: 0.5%

## A T network has series arms $R_1$ = {R1} kΩ and $R_2$ = {R2} kΩ and a shunt leg $R_3$ = {R3} kΩ. What is $z_{11}$?

::: right
Right. With the output open, the input sees $R_1 + R_3$ = {answer}.
:::

::: misses
- [R1 + R2 + R3] With the output open, $R_2$ carries no current.
- [R1 + R2*R3/(R2 + R3)] That's the input with the output shorted.
- [any] Not yet. Open the output and look in.
:::
:::

::: check
given: R1 = 1 | 2.2; R2 = 1 | 4.7; R3 = 2 | 3.3
answer: R3
unit: kΩ
tolerance: 0.5%

## Same T network ({R1}, {R2}, {R3} kΩ). What is $z_{21}$?

::: right
Right. A current into port 1 makes $I_1R_3$ at the open port 2: $z_{21}$ = {answer}.
:::

::: misses
- [R1 + R3] That's $z_{11}$.
- [any] Not yet. $z_{21} = V_2/I_1$ with port 2 open.
:::
:::

::: check
given: R1 = 1 | 2.2; R2 = 1 | 4.7; R3 = 2 | 3.3; RL = 1 | 10
answer: R1 + R3*(R2 + RL)/(R3 + R2 + RL)
unit: kΩ
tolerance: 0.5%

## The T network ({R1}, {R2}, {R3} kΩ) drives a {RL} kΩ load. What is its input impedance?

::: right
Right. $R_1 + R_3 \parallel (R_2 + R_L)$ = {answer}, which matches $z_{11} - z_{12}z_{21}/(z_{22} + Z_L)$.
:::

::: misses
- [R1 + R3] That's with no load.
- [R1 + R2 + R3 + RL] The shunt leg is in parallel with the output branch.
- [any] Not yet. $R_1$ plus $R_3$ in parallel with $R_2 + R_L$.
:::
:::

::: check
given: Z = 10 | 50 | 100; Y = 0.01 | 0.02
answer: 1 + Z*Y
tolerance: 0.5%

## A series impedance of {Z} Ω is followed by a shunt admittance of {Y} S. What is the A entry of the combined ABCD matrix?

::: right
Right. $\begin{pmatrix}1 & Z\\0 & 1\end{pmatrix}\begin{pmatrix}1 & 0\\Y & 1\end{pmatrix}$ has $A = 1 + ZY$ = {answer}.
:::

::: misses
- [1] Multiply the matrices: $A = 1\cdot1 + Z\cdot Y$.
- [Z*Y] Include the 1.
- [any] Not yet. Multiply the two matrices.
:::
:::

::: check
given: R1 = 1 | 2.2; R3 = 2 | 3.3
answer: R3/(R1 + R3)
tolerance: 0.5%

## A T network has $R_1$ = {R1} kΩ and $R_3$ = {R3} kΩ. What is its open-circuit voltage gain $z_{21}/z_{11}$?

::: right
Right. $R_3/(R_1 + R_3)$ = {answer}.
:::

::: misses
- [R1/(R1 + R3)] That's the share across $R_1$.
- [any] Not yet. With no load, it's a divider of $R_1$ and $R_3$.
:::
:::

::: check
kind: parts
given: a = 50 | 100 | 220; b = 500 | 1000 | 4700

## Two identical L-sections, each a series {a} Ω then a shunt {b} Ω, are cascaded.

::: part
answer: (1 + a/b)^2 + a/b
tolerance: 0.5%

### What's the overall A entry?

::: misses
- [(1 + a/b)^2] Matrix multiplication adds the B·C cross term.
- [any] $A_1^2 + B_1C_1$.
:::
:::

::: part
answer: 1/((1 + a/b)^2 + a/b)
tolerance: 0.5%

### What's the open-circuit voltage gain?

::: misses
- [1/(1 + a/b)^2] The second section loads the first.
- [any] $\frac1A$.
:::
:::
:::

::: check
kind: derivation
vars: a = 1..1000, b = 10..100000

## An L-section with series a and shunt b.

::: step
answer: 1 + a/b

### What's its A entry?
:::

::: step
answer: a

### Its B entry?
:::

::: step
answer: 1/b

### Its C entry?
:::

::: right
Right. D is 1, and AD − BC = 1, as for any reciprocal network.
:::
:::

::: explain
## Why are transmission (ABCD) parameters convenient for networks connected one after another?

::: model
ABCD parameters express a network's input voltage and current in terms of its output voltage and current. When networks are cascaded, one stage's output is the next stage's input, so the input of the whole chain can be found by applying each stage's matrix in turn. That's the same as multiplying their matrices together, so the overall network's parameters are simply the product of the individual ones, in order.
:::
:::

::: practice

::: check
given: R2 = 1 | 2; R3 = 3 | 4
answer: R2 + R3
unit: kΩ
tolerance: 0.5%

## A T network with $R_2$ = {R2} kΩ and $R_3$ = {R3} kΩ. $z_{22}$?

::: misses
- [any] $R_2 + R_3$.
:::
:::

::: check
given: Z = 1 | 5 | 10 | 20 | 50 | 100
answer: Z
unit: Ω
tolerance: 0.5%

## What is the B entry of a series impedance {Z} Ω's ABCD matrix?

::: misses
- [any] $B = Z$.
:::
:::

::: check
kind: choice

## Which networks are reciprocal ($z_{12} = z_{21}$)?

- [x] Networks of resistors, capacitors and inductors
- [ ] Amplifiers
- [ ] Any network with a power supply
- [ ] None

::: right
Right. Passive linear networks are reciprocal.
:::

::: misses
- [2] Amplifiers send signals one way: not reciprocal.
- [3] A powered network usually contains amplifying, non-reciprocal parts.
- [4] All passive linear networks are.
:::
:::
:::
