# Two-port network

A **two-port network** (a kind of **four-terminal network** or **quadripole**) is an electrical network (circuit) or device with two *pairs* of terminals to connect to external circuits. Two terminals constitute a port if the currents applied to them satisfy the essential requirement known as the port condition: the electric current entering one terminal must equal the current emerging from the other terminal on the same port.[1][2] The ports constitute interfaces where the network connects to other networks, the points where signals are applied or outputs are taken. In a two-port network, often port 1 is considered the input port and port 2 is considered the output port.

The two-port network model is used in mathematical circuit analysis techniques to isolate portions of larger circuits. A two-port network is regarded as a "black box" with its properties specified by a matrix of numbers. This allows the response of the network to signals applied to the ports to be calculated easily, without solving for all the internal voltages and currents in the network. It also allows similar circuits or devices to be compared easily. For example, transistors are often regarded as two-ports, characterized by their h-parameters (see below) which are listed by the manufacturer. Any linear circuit with four terminals can be regarded as a two-port network provided that it does not contain an independent source and satisfies the port conditions.

Examples of circuits analyzed as two-ports are filters, matching networks, transmission lines, transformers, and small-signal models for transistors (such as the hybrid-pi model). The analysis of passive two-port networks is an outgrowth of reciprocity theorems first derived by Lorentz.[3]

In two-port mathematical models, the network is described by a 2 by 2 square matrix of complex numbers. The common models that are used are referred to as *z-parameters*, *y-parameters*, *h-parameters*, *g-parameters*, and *ABCD-parameters*, each described individually below. These are all limited to linear networks since an underlying assumption of their derivation is that any given circuit condition is a linear superposition of various short-circuit and open circuit conditions. They are usually expressed in matrix notation, and they establish relations between the variables

- , voltage across port 1
- , current into port 1
- , voltage across port 2
- , current into port 2

which are shown in figure 1. The difference between the various models lies in which of these variables are regarded as the independent variables. These current and voltage variables are most useful at low-to-moderate frequencies. At high frequencies (e.g., microwave frequencies), the use of power and energy variables is more appropriate, and the two-port current–voltage approach is replaced by an approach based upon scattering parameters.

## General properties

There are certain properties of two-ports that frequently occur in practical networks and can be used to greatly simplify the analysis. These include:

- Reciprocal networks
- A network is said to be reciprocal if the voltage appearing at port 2 due to a current applied at port 1 is the same as the voltage appearing at port 1 when the same current is applied to port 2. Exchanging voltage and current results in an equivalent definition of reciprocity. A network that consists entirely of linear passive components (that is, resistors, capacitors and inductors) is usually reciprocal, a notable exception being passive circulators and isolators that contain magnetized materials. In general, it
*will not*be reciprocal if it contains active components such as generators or transistors.[4]

- Symmetrical networks
- A network is symmetrical if its input impedance is equal to its output impedance. Most often, but not necessarily, symmetrical networks are also physically symmetrical. Sometimes also antimetrical networks are of interest. These are networks where the input and output impedances are the duals of each other.[5]

- Lossless network
- A lossless network is one which contains no resistors or other dissipative elements.[6]

## Impedance parameters (z-parameters)

where

All the z-parameters have dimensions of ohms.

For reciprocal networks . For symmetrical networks . For reciprocal lossless networks all the are purely imaginary.[7]

### Example: bipolar current mirror with emitter degeneration

Figure 3 shows a bipolar current mirror with emitter resistors to increase its output resistance.[nb 1] Transistor *Q*_{1} is *diode connected*, which is to say its collector-base voltage is zero. Figure 4 shows the small-signal circuit equivalent to Figure 3. Transistor *Q*_{1} is represented by its emitter resistance *r _{E}* ≈

*V*(

_{T}/ I_{E}*V*= thermal voltage,

_{T}*I*= Q-point emitter current), a simplification made possible because the dependent current source in the hybrid-pi model for

_{E}*Q*

_{1}draws the same current as a resistor 1 /

*g*connected across

_{m}*r*. The second transistor

_{π}*Q*is represented by its hybrid-pi model. Table 1 below shows the z-parameter expressions that make the z-equivalent circuit of Figure 2 electrically equivalent to the small-signal circuit of Figure 4.

_{2}Expression | Approximation | |
---|---|---|

[nb 2] | ||

The negative feedback introduced by resistors *R _{E}* can be seen in these parameters. For example, when used as an active load in a differential amplifier,

*I*, making the output impedance of the mirror approximately

_{1}≈ −I_{2}*R*≈ 2 β

_{22}-R_{21}*r*/(

_{O}R_{E}*r*) compared to only

_{π}+ 2R_{E}*r*without feedback (that is with

_{O}*R*= 0 Ω) . At the same time, the impedance on the reference side of the mirror is approximately

_{E}*R*

_{11}−

*R*

_{12}≈ , only a moderate value, but still larger than

*r*with no feedback. In the differential amplifier application, a large output resistance increases the difference-mode gain, a good thing, and a small mirror input resistance is desirable to avoid Miller effect.

_{E}## Admittance parameters (y-parameters)

where

All the Y-parameters have dimensions of siemens.

For reciprocal networks . For symmetrical networks . For reciprocal lossless networks all the are purely imaginary.[7]

## Hybrid parameters (h-parameters)

where

This circuit is often selected when a current amplifier is desired at the output. The resistors shown in the diagram can be general impedances instead.

Off-diagonal h-parameters are dimensionless, while diagonal members have dimensions the reciprocal of one another.

### Example: common-base amplifier

**Note:** Tabulated formulas in Table 2 make the h-equivalent circuit of the transistor from Figure 6 agree with its small-signal low-frequency hybrid-pi model in Figure 7. Notation: *r _{π}* = base resistance of transistor,

*r*

_{O}= output resistance, and

*g*= transconductance. The negative sign for

_{m}*h*

_{21}reflects the convention that

*I*

_{1},

*I*

_{2}are positive when directed

*into*the two-port. A non-zero value for

*h*

_{12}means the output voltage affects the input voltage, that is, this amplifier is

**bilateral**. If

*h*

_{12}= 0, the amplifier is

**unilateral**.

Expression | Approximation | |
---|---|---|

### History

The h-parameters were initially called *series-parallel parameters*. The term *hybrid* to describe these parameters was coined by D. A. Alsberg in 1953 in "Transistor metrology".[8] In 1954 a joint committee of the IRE and the AIEE adopted the term *h parameters* and recommended that these become the standard method of testing and characterising transistors because they were "peculiarly adaptable to the physical characteristics of transistors".[9] In 1956 the recommendation became an issued standard; 56 IRE 28.S2. Following the merge of these two organisations as the IEEE, the standard became Std 218-1956 and was reaffirmed in 1980, but has now been withdrawn.[10]

## Inverse hybrid parameters (g-parameters)

where

Often this circuit is selected when a voltage amplifier is wanted at the output. Off-diagonal g-parameters are dimensionless, while diagonal members have dimensions the reciprocal of one another. The resistors shown in the diagram can be general impedances instead.

### Example: common-base amplifier

**Note:** Tabulated formulas in Table 3 make the g-equivalent circuit of the transistor from Figure 8 agree with its small-signal low-frequency hybrid-pi model in Figure 9. Notation: *r _{π}* = base resistance of transistor,

*r*

_{O}= output resistance, and

*g*= transconductance. The negative sign for

_{m}*g*

_{12}reflects the convention that

*I*

_{1},

*I*

_{2}are positive when directed

*into*the two-port. A non-zero value for

*g*means the output current affects the input current, that is, this amplifier is

_{12}**bilateral**. If

*g*

_{12}= 0, the amplifier is

**unilateral**.

Expression | Approximation | |
---|---|---|

*ABCD*-parameters

*ABCD*-parameters

The *ABCD*-parameters are known variously as chain, cascade, or transmission parameters. There are a number of definitions given for *ABCD* parameters, the most common is,[11][12]

where

For reciprocal networks . For symmetrical networks . For networks which are reciprocal and lossless, *A* and *D* are purely real while *B* and *C* are purely imaginary.[6]

This representation is preferred because when the parameters are used to represent a cascade of two-ports, the matrices are written in the same order that a network diagram would be drawn, that is, left to right. However, a variant definition is also in use[13],

where

The negative sign of arises to make the output current of one cascaded stage (as it appears in the matrix) equal to the input current of the next. Without the minus sign the two currents would have opposite senses because the positive direction of current, by convention, is taken as the current entering the port. Consequently, the input voltage/current matrix vector can be directly replaced with the matrix equation of the preceding cascaded stage to form a combined matrix.

The terminology of representing the parameters as a matrix of elements designated *a*_{11} etc. as adopted by some authors[14] and the inverse parameters as a matrix of elements designated *b*_{11} etc. is used here for both brevity and to avoid confusion with circuit elements.

An *ABCD* matrix has been defined for Telephony four-wire Transmission Systems by P K Webb in British Post Office Research Department Report 630 in 1977.

### Table of transmission parameters

The table below lists *ABCD* and inverse *ABCD* parameters for some simple network elements.

Element | [a] matrix |
[b] matrix |
Remarks |
---|---|---|---|

Series impedance | Z, impedance | ||

Shunt admittance | Y, admittance | ||

Series inductor | L, inductances, complex angular frequency | ||

Shunt inductor | L, inductances, complex angular frequency | ||

Series capacitor | C, capacitances, complex angular frequency | ||

Shunt capacitor | C, capacitances, complex angular frequency | ||

Transmission line | [15] | Z_{0}, characteristic impedanceγ, propagation constant ()l, length of transmission line (m) |

## Scattering parameters (S-parameters)

The previous parameters are all defined in terms of voltages and currents at ports. *S*-parameters are different, and are defined in terms of incident and reflected waves at ports. *S*-parameters are used primarily at UHF and microwave frequencies where it becomes difficult to measure voltages and currents directly. On the other hand, incident and reflected power are easy to measure using directional couplers. The definition is,[16]

where the are the incident waves and the are the reflected waves at port *k*. It is conventional to define the and in terms of the square root of power. Consequently, there is a relationship with the wave voltages (see main article for details).[17]

For reciprocal networks . For symmetrical networks . For antimetrical networks .[18] For lossless reciprocal networks and .[19]

## Scattering transfer parameters (T-parameters)

Scattering transfer parameters, like scattering parameters, are defined in terms of incident and reflected waves. The difference is that *T*-parameters relate the waves at port 1 to the waves at port 2 whereas *S*-parameters relate the reflected waves to the incident waves. In this respect *T*-parameters fill the same role as *ABCD* parameters and allow the *T*-parameters of cascaded networks to be calculated by matrix multiplication of the component networks. *T*-parameters, like *ABCD* parameters, can also be called transmission parameters. The definition is,[16][20]

*T*-parameters are not so easy to measure directly unlike *S*-parameters. However, *S*-parameters are easily converted to *T*-parameters, see main article for details.[21]

## Combinations of two-port networks

When two or more two-port networks are connected, the two-port parameters of the combined network can be found by performing matrix algebra on the matrices of parameters for the component two-ports. The matrix operation can be made particularly simple with an appropriate choice of two-port parameters to match the form of connection of the two-ports. For instance, the z-parameters are best for series connected ports.

The combination rules need to be applied with care. Some connections (when dissimilar potentials are joined) result in the port condition being invalidated and the combination rule will no longer apply. A Brune test can be used to check the permissibility of the combination. This difficulty can be overcome by placing 1:1 ideal transformers on the outputs of the problem two-ports. This does not change the parameters of the two-ports, but does ensure that they will continue to meet the port condition when interconnected. An example of this problem is shown for series-series connections in figures 11 and 12 below.[22]

### Series-series connection

When two-ports are connected in a series-series configuration as shown in figure 10, the best choice of two-port parameter is the *z*-parameters. The *z*-parameters of the combined network are found by matrix addition of the two individual *z*-parameter matrices.[23][24]

As mentioned above, there are some networks which will not yield directly to this analysis.[22] A simple example is a two-port consisting of a L-network of resistors *R*_{1} and *R*_{2}. The *z*-parameters for this network are;

Figure 11 shows two identical such networks connected in series-series. The total *z*-parameters predicted by matrix addition are;

However, direct analysis of the combined circuit shows that,

The discrepancy is explained by observing that *R*_{1} of the lower two-port has been by-passed by the short-circuit between two terminals of the output ports. This results in no current flowing through one terminal in each of the input ports of the two individual networks. Consequently, the port condition is broken for both the input ports of the original networks since current is still able to flow into the other terminal. This problem can be resolved by inserting an ideal transformer in the output port of at least one of the two-port networks. While this is a common text-book approach to presenting the theory of two-ports, the practicality of using transformers is a matter to be decided for each individual design.

### Parallel-parallel connection

When two-ports are connected in a parallel-parallel configuration as shown in figure 13, the best choice of two-port parameter is the *y*-parameters. The *y*-parameters of the combined network are found by matrix addition of the two individual *y*-parameter matrices.[25]

### Series-parallel connection

When two-ports are connected in a series-parallel configuration as shown in figure 14, the best choice of two-port parameter is the *h*-parameters. The *h*-parameters of the combined network are found by matrix addition of the two individual *h*-parameter matrices.[26]

### Parallel-series connection

When two-ports are connected in a parallel-series configuration as shown in figure 15, the best choice of two-port parameter is the *g*-parameters. The *g*-parameters of the combined network are found by matrix addition of the two individual *g*-parameter matrices.

### Cascade connection

When two-ports are connected with the output port of the first connected to the input port of the second (a cascade connection) as shown in figure 16, the best choice of two-port parameter is the *ABCD*-parameters. The *a*-parameters of the combined network are found by matrix multiplication of the two individual *a*-parameter matrices.[27]

A chain of *n* two-ports may be combined by matrix multiplication of the *n* matrices. To combine a cascade of *b*-parameter matrices, they are again multiplied, but the multiplication must be carried out in reverse order, so that;

#### Example

Suppose we have a two-port network consisting of a series resistor *R* followed by a shunt capacitor *C*. We can model the entire network as a cascade of two simpler networks:

The transmission matrix for the entire network is simply the matrix multiplication of the transmission matrices for the two network elements:

Thus:

## Interrelation of parameters

Where is the determinant of [**x**].

Certain pairs of matrices have a particularly simple relationship. The admittance parameters are the matrix inverse of the impedance parameters, the inverse hybrid parameters are the matrix inverse of the hybrid parameters, and the [**b**] form of the ABCD-parameters is the matrix inverse of the [**a**] form. That is,

## Networks with more than two ports

While two port networks are very common (e.g., amplifiers and filters), other electrical networks such as directional couplers and circulators have more than 2 ports. The following representations are also applicable to networks with an arbitrary number of ports:

For example, three-port impedance parameters result in the following relationship:

However the following representations are necessarily limited to two-port devices:

- Hybrid (
*h*) parameters - Inverse hybrid (
*g*) parameters - Transmission (
*ABCD*) parameters - Scattering transfer (
*T*) parameters

## Collapsing a two-port to a one port

A two-port network has four variables with two of them being independent. If one of the ports is terminated by a load with no independent sources, then the load enforces a relationship between the voltage and current of that port. A degree of freedom is lost. The circuit now has only one independent parameter. The two-port becomes a one-port impedance to the remaining independent variable.

For example, consider impedance parameters

Connecting a load, *Z*_{L} onto port 2 effectively adds the constraint

The negative sign is because the positive direction for I2 is directed into the two-port instead of into the load. The augmented equations become

The second equation can be easily solved for *I*_{2} as a function of *I*_{1} and that expression can replace *I*_{2} in the first equation leaving *V*_{1} ( and *V*_{2} and *I*_{2} ) as functions of *I*_{1}

So, in effect, *I*_{1} sees an input impedance and the two-port's effect on the input circuit has been effectively collapsed down to a one-port; i.e., a simple two terminal impedance.

## Notes

- The emitter-leg resistors counteract any current increase by decreasing the transistor
*V*. That is, the resistors_{BE}*R*cause negative feedback that opposes change in current. In particular, any change in output voltage results in less change in current than without this feedback, which means the output resistance of the mirror has increased._{E} - The double vertical bar denotes a parallel connection of the resistors: .

## References

- Gray, §3.2, p. 172
- Jaeger, §10.5 §13.5 §13.8
- Jasper J. Goedbloed. "Reciprocity and EMC measurements" (PDF). EMCS. Retrieved 28 April 2014.
- Nahvi, p.311.
- Matthaei et al, pp. 70–72.
- Matthaei et al, p.27.
- Matthaei et al, p.29.
- 56 IRE 28.S2, p. 1543
- AIEE-IRE committee report, p. 725
- IEEE Std 218-1956
- Matthaei et al, p.26.
- Ghosh, p.353.
- A. Chakrabarti, p.581, ISBN 81-7700-000-4 ,Dhanpat Rai & Co pvt. ltd.
- Farago, p.102.
- Clayton, p.271.
- Vasileska & Goodnick, p.137
- Egan, pp.11-12
- Carlin, p.304
- Matthaei et al, p.44.
- Egan, pp.12-15
- Egan, pp.13-14
- Farago, pp.122-127.
- Ghosh, p.371.
- Farago, p.128.
- Ghosh, p.372.
- Ghosh, p.373.
- Farago, pp.128-134.

## Bibliography

- Carlin, HJ, Civalleri, PP,
*Wideband circuit design*, CRC Press, 1998. ISBN 0-8493-7897-4. - William F. Egan,
*Practical RF system design*, Wiley-IEEE, 2003 ISBN 0-471-20023-9. - Farago, PS,
*An Introduction to Linear Network Analysis*, The English Universities Press Ltd, 1961. - Gray, P.R.; Hurst, P.J.; Lewis, S.H.; Meyer, R.G. (2001).
*Analysis and Design of Analog Integrated Circuits*(4th ed.). New York: Wiley. ISBN 0-471-32168-0. - Ghosh, Smarajit,
*Network Theory: Analysis and Synthesis*, Prentice Hall of India ISBN 81-203-2638-5. - Jaeger, R.C.; Blalock, T.N. (2006).
*Microelectronic Circuit Design*(3rd ed.). Boston: McGraw–Hill. ISBN 978-0-07-319163-8. - Matthaei, Young, Jones,
*Microwave Filters, Impedance-Matching Networks, and Coupling Structures*, McGraw-Hill, 1964. - Mahmood Nahvi, Joseph Edminister,
*Schaum's outline of theory and problems of electric circuits*, McGraw-Hill Professional, 2002 ISBN 0-07-139307-2. - Dragica Vasileska, Stephen Marshall Goodnick,
*Computational electronics*, Morgan & Claypool Publishers, 2006 ISBN 1-59829-056-8. - Clayton R. Paul,
*Analysis of Multiconductor Transmission Lines*, John Wiley & Sons, 2008 ISBN 0470131543, 9780470131541.

### h-parameters history

- D. A. Alsberg, "Transistor metrology",
*IRE Convention Record*, part 9, pp. 39-44, 1953.- also published as "Transistor metrology",
*Transactions of the IRE Professional Group on Electron Devices*, vol. ED-1, iss. 3, pp. 12-17, August 1954.

- also published as "Transistor metrology",
- AIEE-IRE joint committee, "Proposed methods of testing transistors",
*Transactions of the American Institute of Electrical Engineers: Communications and Electronics*, pp. 725-740, January 1955. - "IRE Standards on solid-state devices: methods of testing transistors, 1956",
*Proceedings of the IRE*, vol. 44, iss. 11, pp. 1542-1561, November, 1956. *IEEE Standard Methods of Testing Transistors*, IEEE Std 218-1956.