Two-Port Networks: z and y Parameters
An attenuator pad, a filter, a transformer, a transistor amplifier stage and a 10 km telephone line all have the same outline: a signal goes in at one pair of terminals and comes out at another. When you design the system around them, you rarely care about every node inside; you need to know how the block relates its input and output voltages and currents, so you can connect any source and any load to it. That description is a two-port model: four numbers (at each frequency) that capture everything the outside world can see. This lesson introduces the two-port idea and the first two parameter sets, impedance () and admittance () parameters; h and ABCD parameters follow.
Ports and conventions
A port is a pair of terminals where the current entering one terminal equals the current leaving the other. With the standard conventions (both currents , flowing into the top terminals, both voltages positive at the top), a linear two-port without internal independent sources relates the four port quantities by two linear equations. Choosing which two are the "inputs" gives the different parameter sets.
Impedance parameters
Treat the currents as inputs and the voltages as outputs:
Each parameter is measured with the other port open (), so they are also called open-circuit parameters:
and are the input impedances with the far port open; and are transfer impedances. For the T network below they can be written by inspection: with port 2 open, flows through and , so , and equals the voltage across , so .
Admittance parameters
Treat the voltages as inputs:
measured with the other port short-circuited. The two sets describe the same network, so where both exist . A network (one series element between the ports, a shunt element at each port) has parameters by inspection, just as the T has parameters: , , , with the series element and , the shunts. This is exactly the conductance-matrix stamping of nodal analysis: the matrix of a network is its nodal matrix reduced to the two port nodes.
Some networks have one set but not the other. An ideal series impedance between the ports has no parameters (with port 2 open no current can flow, so for any and is undefined; equivalently its matrix is singular), and a single shunt element has no parameters.
Reciprocity and symmetry
- A network of R, L, C and coupled coils (no dependent sources) is reciprocal: and . Swapping source and meter between the ports gives the same reading.
- It is also symmetric if : the ports can be swapped without changing anything.
- An amplifier is not reciprocal. A transistor's small-signal model has a large (the transconductance) and a tiny : the signal goes forward, not back.
The terminated two-port
Connect a source with resistance at port 1 and a load at port 2 (). Substituting into the equations:
The input impedance depends on the load and the output impedance on the source, unless (a perfectly one-way, unilateral network).
Worked example
Given: the T network: , , ; a load; a source resistance of .
Find: , , , and .
Solve:
Check: directly, in parallel with is , plus : . And is : with port 2 shorted, .
In Python: measure the parameters with simulated tests
The code builds the network's nodal matrix, performs the two open-circuit tests numerically (inject 1 A at one port, leave the other open, read both voltages), inverts to get , and checks the terminated formulas.
import numpy as np
R1, R2, R3 = 100.0, 200.0, 300.0
# nodes: 0 = port-1 top (p1), 1 = middle (m), 2 = port-2 top (p2); common bottom = ground
G = np.zeros((3, 3))
def stamp(a, b, R):
g = 1 / R
for i, j in ((a, a), (b, b)): G[i, j] += g
G[a, b] -= g; G[b, a] -= g
stamp(0, 1, R1); stamp(1, 2, R2); G[1, 1] += 1 / R3
def port_voltages(I1, I2):
v = np.linalg.solve(G, np.array([I1, 0.0, I2]))
return v[0], v[2]
z = np.column_stack([port_voltages(1, 0), port_voltages(0, 1)])
y = np.linalg.inv(z)
print("z (ohm):\n", np.round(z, 3))
print("y (mS):\n", np.round(y * 1e3, 3))
print("reciprocal:", bool(np.isclose(z[0, 1], z[1, 0])))
ZL, Zs = 500.0, 50.0
Zin = z[0, 0] - z[0, 1] * z[1, 0] / (z[1, 1] + ZL)
Av = z[1, 0] * ZL / (z[0, 0] * (z[1, 1] + ZL) - z[0, 1] * z[1, 0])
Zout = z[1, 1] - z[0, 1] * z[1, 0] / (z[0, 0] + Zs)
print(f"Zin = {Zin:.1f} ohm, V2/V1 = {Av:.4f}, Zout = {Zout:.1f} ohm")z (ohm):
[[400. 300.]
[300. 500.]]
y (mS):
[[ 4.545 -2.727]
[-2.727 3.636]]
reciprocal: True
Zin = 310.0 ohm, V2/V1 = 0.4839, Zout = 300.0 ohm
Interactive: the open-circuit test
The lab injects into port 1 with port 2 open, so and . Change : both and move by the same amount, because is the shared branch.
At the defaults it reads and : , . With port 2 open, no current flows in , so .
Guided lab: measure the z parameters of a resistor T
Hand calculation. For , , (E12 values): , , .
Simulation. Change the three resistances in the Python code and in the lab.
What you would measure. Drive port 1 from a bench supply set to with a current limit, port 2 open. Measure with a DMM in series and , with a second DMM: expect , . Then drive port 2 instead, port 1 open, for and . With 1 % resistors expect each parameter within about and within the meter's resolution: reciprocity, measured. Finally short port 2 with the ammeter and repeat: is , predicted .
Hazards and safe setup. Low voltage, current limited; the circuit takes in total at these settings, of it in , so 0.25 W resistors are fine. An ammeter used as a short goes across a port, never across the supply.
Pitfalls
- Current direction. Both port currents point into the network. A load current flowing out of port 2 is .
- Mixing test conditions. parameters need the other port open; parameters need it shorted.
- Expecting with a load. is the input impedance only with port 2 open.
- Inverting a singular matrix. If , the parameters do not exist; choose another set.
Practice
- Write the parameters of a network with shunts at both ports and a series element. Is it symmetric?
- For the T network of the worked example, find with port 2 shorted, using the parameters.
- A two-port has and , , . Find with a load.
Answer
- , ; symmetric and reciprocal.
- : , which is .
- , so , giving : an amplifier.
Test yourself
The z parameters are measured with the other port…
- short-circuited
- open-circuited
- terminated in 50 ohms
- driven by an identical source
For a T network with series arms , and shunt arm , equals…
A two-port built only from resistors, capacitors and inductors always has…
For the T network () loaded by , the input impedance is…