TExcelTAD
Home › Circuit Theory & Network Analysis › Two-Port Networks: z and y Parameters

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 (zz) and admittance (yy) parameters; h and ABCD parameters follow.

linear two-port I1 I1 I2 I2 + - V1 + - V2 port 1 port 2

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 I1I_1, I2I_2 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:

[V1V2]=[z11z12z21z22][I1I2]\begin{bmatrix} V_1 \\ V_2 \end{bmatrix} = \begin{bmatrix} z_{11} & z_{12} \\ z_{21} & z_{22} \end{bmatrix} \begin{bmatrix} I_1 \\ I_2 \end{bmatrix}

Each parameter is measured with the other port open (I=0I = 0), so they are also called open-circuit parameters:

z11=V1I1∣I2=0,z21=V2I1∣I2=0,z12=V1I2∣I1=0,z22=V2I2∣I1=0z_{11} = \left.\frac{V_1}{I_1}\right|_{I_2 = 0}, \quad z_{21} = \left.\frac{V_2}{I_1}\right|_{I_2 = 0}, \quad z_{12} = \left.\frac{V_1}{I_2}\right|_{I_1 = 0}, \quad z_{22} = \left.\frac{V_2}{I_2}\right|_{I_1 = 0}

z11z_{11} and z22z_{22} are the input impedances with the far port open; z21z_{21} and z12z_{12} are transfer impedances. For the T network below they can be written by inspection: with port 2 open, I1I_1 flows through R1R_1 and R3R_3, so z11=R1+R3z_{11} = R_1 + R_3, and V2V_2 equals the voltage across R3R_3, so z21=R3z_{21} = R_3.

R1 100 Ohm R2 200 Ohm R3 300 Ohm m port 1 port 2 z11 = R1 + R3, z12 = z21 = R3, z22 = R2 + R3

Admittance parameters

Treat the voltages as inputs:

[I1I2]=[y11y12y21y22][V1V2],y11=I1V1∣V2=0, …\begin{bmatrix} I_1 \\ I_2 \end{bmatrix} = \begin{bmatrix} y_{11} & y_{12} \\ y_{21} & y_{22} \end{bmatrix} \begin{bmatrix} V_1 \\ V_2 \end{bmatrix}, \qquad y_{11} = \left.\frac{I_1}{V_1}\right|_{V_2 = 0}, \ \ldots

measured with the other port short-circuited. The two sets describe the same network, so where both exist y=z−1\mathbf{y} = \mathbf{z}^{-1}. A π\pi network (one series element between the ports, a shunt element at each port) has yy parameters by inspection, just as the T has zz parameters: y11=Ya+Ycy_{11} = Y_a + Y_c, y12=y21=−Ycy_{12} = y_{21} = -Y_c, y22=Yb+Ycy_{22} = Y_b + Y_c, with YcY_c the series element and YaY_a, YbY_b the shunts. This is exactly the conductance-matrix stamping of nodal analysis: the yy 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 zz parameters (with port 2 open no current can flow, so I1=0I_1 = 0 for any V1V_1 and z11=V1/I1z_{11} = V_1/I_1 is undefined; equivalently its y\mathbf{y} matrix is singular), and a single shunt element has no yy parameters.

Reciprocity and symmetry

  • A network of R, L, C and coupled coils (no dependent sources) is reciprocal: z12=z21z_{12} = z_{21} and y12=y21y_{12} = y_{21}. Swapping source and meter between the ports gives the same reading.
  • It is also symmetric if z11=z22z_{11} = z_{22}: the ports can be swapped without changing anything.
  • An amplifier is not reciprocal. A transistor's small-signal model has a large y21y_{21} (the transconductance) and a tiny y12y_{12}: the signal goes forward, not back.

The terminated two-port

Connect a source VsV_s with resistance ZsZ_s at port 1 and a load ZLZ_L at port 2 (V2=−ZLI2V_2 = -Z_L I_2). Substituting into the zz equations:

Zin=z11−z12z21z22+ZL,V2V1=z21ZLz11(z22+ZL)−z12z21,Zout=z22−z12z21z11+ZsZ_\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}}, \qquad Z_\text{out} = z_{22} - \frac{z_{12} z_{21}}{z_{11} + Z_s}

The input impedance depends on the load and the output impedance on the source, unless z12z21=0z_{12} z_{21} = 0 (a perfectly one-way, unilateral network).

Worked example

Given: the T network: R1=100 ΩR_1 = 100\ \Omega, R2=200 ΩR_2 = 200\ \Omega, R3=300 ΩR_3 = 300\ \Omega; a 500 Ω500\ \Omega load; a source resistance of 50 Ω50\ \Omega.

Find: z\mathbf{z}, y\mathbf{y}, ZinZ_\text{in}, V2/V1V_2/V_1 and ZoutZ_\text{out}.

Solve:

z=[400300300500] Ω,det⁡z=400⋅500−3002=110 000 Ω2y=1110 000[500−300−300400]=[4.545−2.727−2.7273.636] mSZin=400−3002500+500=310 Ω,V2V1=300⋅500400⋅1000−90 000=0.484Zout=500−90 000400+50=300 Ω\begin{aligned} \mathbf{z} &= \begin{bmatrix} 400 & 300 \\ 300 & 500 \end{bmatrix}\ \Omega, \qquad \det \mathbf{z} = 400 \cdot 500 - 300^2 = 110\,000\ \Omega^2 \\ \mathbf{y} &= \frac{1}{110\,000}\begin{bmatrix} 500 & -300 \\ -300 & 400 \end{bmatrix} = \begin{bmatrix} 4.545 & -2.727 \\ -2.727 & 3.636 \end{bmatrix}\ \text{mS} \\ Z_\text{in} &= 400 - \frac{300^2}{500 + 500} = 310\ \Omega, \qquad \frac{V_2}{V_1} = \frac{300 \cdot 500}{400 \cdot 1000 - 90\,000} = 0.484 \\ Z_\text{out} &= 500 - \frac{90\,000}{400 + 50} = 300\ \Omega \end{aligned}

Check: directly, R2+RL=700 ΩR_2 + R_L = 700\ \Omega in parallel with R3R_3 is 210 Ω210\ \Omega, plus R1R_1: 310 Ω310\ \Omega. And y11=4.545 mSy_{11} = 4.545\ \text{mS} is 1/220 Ω1/220\ \Omega: with port 2 shorted, R1+R2∥R3=100+120=220 ΩR_1 + R_2 \parallel R_3 = 100 + 120 = 220\ \Omega.

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 y\mathbf{y}, and checks the terminated formulas.

python · try it yourself
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 1 mA1\ \text{mA} into port 1 with port 2 open, so V(p1)/1 mA=z11V(\text{p1})/1\ \text{mA} = z_{11} and V(p2)/1 mA=z21V(\text{p2})/1\ \text{mA} = z_{21}. Change R3R_3: both z11z_{11} and z21z_{21} move by the same amount, because R3R_3 is the shared branch.

node voltages (to ground 0)p1400.0 mVm300.0 mVp2300.0 mVnetlistI1 0 p1 DC 1mR1 p1 m 100R2 m p2 200R3 m 0 300element currents (node 1 to node 2 through it)I10>p11.00 mAR1p1>m1.00 mAR2m>p20 AR3m>01.00 mA

At the defaults it reads V(p1)=0.400 VV(\text{p1}) = 0.400\ \text{V} and V(p2)=0.300 VV(\text{p2}) = 0.300\ \text{V}: z11=400 Ωz_{11} = 400\ \Omega, z21=300 Ωz_{21} = 300\ \Omega. With port 2 open, no current flows in R2R_2, so V(p2)=V(m)V(\text{p2}) = V(\text{m}).

Guided lab: measure the z parameters of a resistor T

Hand calculation. For R1=100 ΩR_1 = 100\ \Omega, R2=220 ΩR_2 = 220\ \Omega, R3=330 ΩR_3 = 330\ \Omega (E12 values): z11=430 Ωz_{11} = 430\ \Omega, z12=z21=330 Ωz_{12} = z_{21} = 330\ \Omega, z22=550 Ωz_{22} = 550\ \Omega.

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 4.30 V4.30\ \text{V} with a 20 mA20\ \text{mA} current limit, port 2 open. Measure I1I_1 with a DMM in series and V1V_1, V2V_2 with a second DMM: expect I1=10.0 mAI_1 = 10.0\ \text{mA}, V2=3.30 VV_2 = 3.30\ \text{V}. Then drive port 2 instead, port 1 open, for z22z_{22} and z12z_{12}. With 1 % resistors expect each parameter within about ±1.5 %\pm 1.5\,\% and z12=z21z_{12} = z_{21} within the meter's resolution: reciprocity, measured. Finally short port 2 with the ammeter and repeat: I2/V1I_2/V_1 is y21y_{21}, predicted −330/(430⋅550−3302) S=−2.59 mS-330/(430 \cdot 550 - 330^2)\ \text{S} = -2.59\ \text{mS}.

Hazards and safe setup. Low voltage, current limited; the circuit takes 43 mW43\ \text{mW} in total at these settings, 33 mW33\ \text{mW} of it in R3R_3, 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 −I2-I_2.
  • Mixing test conditions. zz parameters need the other port open; yy parameters need it shorted.
  • Expecting Zin=z11Z_\text{in} = z_{11} with a load. z11z_{11} is the input impedance only with port 2 open.
  • Inverting a singular matrix. If det⁡z=0\det \mathbf{z} = 0, the yy parameters do not exist; choose another set.

Practice

  1. Write the yy parameters of a π\pi network with 10 mS10\ \text{mS} shunts at both ports and a 20 mS20\ \text{mS} series element. Is it symmetric?
  2. For the T network of the worked example, find ZinZ_\text{in} with port 2 shorted, using the zz parameters.
  3. A two-port has y12=0y_{12} = 0 and y21=−40 mSy_{21} = -40\ \text{mS}, y11=1 mSy_{11} = 1\ \text{mS}, y22=0.1 mSy_{22} = 0.1\ \text{mS}. Find V2/V1V_2/V_1 with a 1 kΩ1\ \text{k}\Omega load.
Answer
  1. y11=y22=10+20=30 mSy_{11} = y_{22} = 10 + 20 = 30\ \text{mS}, y12=y21=−20 mSy_{12} = y_{21} = -20\ \text{mS}; symmetric and reciprocal.
  2. ZL=0Z_L = 0: Zin=400−90 000/500=220 ΩZ_\text{in} = 400 - 90\,000/500 = 220\ \Omega, which is 1/y111/y_{11}.
  3. I2=−V2/RLI_2 = -V_2/R_L, so −V2/RL=y21V1+y22V2-V_2/R_L = y_{21} V_1 + y_{22} V_2, giving V2/V1=−y21/(y22+1/RL)=40/(0.1+1)=36.4V_2/V_1 = -y_{21}/(y_{22} + 1/R_L) = 40/(0.1 + 1) = 36.4: an amplifier.

Test yourself

The z parameters are measured with the other port…

  1. short-circuited
  2. open-circuited
  3. terminated in 50 ohms
  4. driven by an identical source

For a T network with series arms R1R_1, R2R_2 and shunt arm R3R_3, z21z_{21} equals…

  1. R1+R3R_1 + R_3
  2. R3R_3
  3. R2+R3R_2 + R_3
  4. R1R2/R3R_1 R_2/R_3

A two-port built only from resistors, capacitors and inductors always has…

  1. z11=z22z_{11} = z_{22}
  2. z12=z21z_{12} = z_{21}
  3. z12=0z_{12} = 0
  4. det⁡z=1\det \mathbf{z} = 1

For the T network (z=[[400,300],[300,500]] Ω\mathbf{z} = [[400, 300], [300, 500]]\ \Omega) loaded by 500 Ω500\ \Omega, the input impedance is…

  1. 400 Ω400\ \Omega
  2. 310 Ω310\ \Omega
  3. 220 Ω220\ \Omega
  4. 900 Ω900\ \Omega