Notes for course EE1.1 Circuit Analysis 2004-05 TOPIC 10 – 2- CIRCUITS Objectives: . Introduction . Re-examination of 1-port sub-circuits . for 2-port circuits . Gain and port impedance from 2-port admittance parameters . for 2-port circuits . Hybrid parameters for 2-port circuits

1 INTRODUCTION Amplifier circuits are found in a large number of appliances, including radios, TV, video, audio, telephony (mobile and fixed), communications and instrumentation. The applications of amplifiers are practically unlimited. It is clear that an amplifier circuit has an input signal and an output signal. This configuration is represented by a device called a 2-port circuit, which has an input port for the input signal and an output port for the output signal. In this topic, we look at circuits from this point of view. To develop the idea of 2-port circuits, consider a general 1-port sub-circuit of the type we are very familiar with:

The basic passive elements, resistor, inductor and capacitor, and the independent sources, are the simplest 1-port sub-circuits. A more general 1-port sub-circuit contains any number of interconnected resistors, capacitors, inductors, and sources and could have many nodes. Sometimes, perhaps when we have finished designing a circuit, we become less interested in the detail of the elements interconnected in the circuit and are happy to represent the 1-port circuit by how it behaves at its terminals. This is achieved by use of circuit analysis to determine the relationship between the voltage V1 across the terminals and the current I1 flowing through the terminals which leads to a Thevenin or Norton equivalent circuit, which can be used as a simpler replacement for the original complex circuit. Consider now the 2-port circuit. A 2-port is a network having two pairs of terminals:

Some elements intrinsically have more than the two terminals; examples are the bipolar junction transistor or the MOSFET. Such circuits cannot be represented as a 1-port circuit and the 2-port is the simplest description available. 2-port circuits also have the same application as 1-port circuits, which is that they enable us to describe the input-output behaviour of a circuit without worrying about circuit details. As an example, consider the BJT amplifier: Topic 10 – 2-port Circuits

This circuit has 6 nodes, 7 2-terminal elements and one 3-terminal element. Once the circuit has been designed we may be happy to describe its behaviour between the input port and the output port, perhaps using parameters like gain. A 2-port description of the circuit allows us to do this systematically. In practice, 2-port circuits often represent devices in which a source delivers energy to a load through the 2-port network. For example, stereo amplifiers take a low power audio signal and increase its power so that it will drive a speaker system. Determining and knowing ratios such as voltage gain, current gain, and power gain of a 2-port circuit is very important when dealing with a source that delivers power through a 2-port to a load. This topic deals with precisely this need. Before proceeding to look at 2-port circuits, we re-examine 1-port circuits, and in particular the derivation of Thevenin and Norton equivalent circuits, in a more systematic way than hitherto.

2 RE-EXAMINATION OF 1-PORT SUB-CIRCUITS In this section, we look again at deriving Thevenin and Norton equivalents for 1-port sub-circuits and introduce systematic ways of deriving the equivalents based on nodal analysis. Consider first the following example: Example: Evaluate the Thevenin and Norton equivalents for the following circuit when viewed from terminals 1 and 0:

The Thevenin voltage is the open-circuit voltage at node 1; using current division and Ohm's law, we have: 1 1 1 6 8 V = × × 4 = × × 4 = V oc 3 1 1 3 6 3 2 11 1+ + + + 2 3 The Thevenin impedance is obtained by de-activating the current source and determining the equivalent impedance seen between terminals 1 and 0. 1 3 1 × 3 R = 3 2 = 2 = Ω eq 1 3 2 + 9 11 + 3 2 6

2 Topic 10 – 2-port Circuits

Hence, we have the Thevenin equivalent circuit and, by calculating Isc = Voc/Req, the Norton equivalent circuit:

Thevenin and Norton equivalent circuits are simplifications of a circuit; however large the number of nodes in the original circuit, the Norton equivalent has just two nodes (1 and 0). The simplification can be viewed as a process of eliminating nodes in the original circuit which are not port nodes (node 2 in the above example). This process can be viewed as a simplification of equations obtained by systematic nodal analysis of the circuit. We now apply this systematic method to the above circuit. We start by labelling the reference node as zero and the port node as 1; the remaining nodes are numbered sequentially from 2 onwards. At the port for which we require the Thevenin or Norton equivalent, i.e. port 1, we apply a test current source which we label I1:

We now perform by-inspection nodal analysis:

⎡ 5 −2⎤ ⎡V1 ⎤ ⎡I1⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣−2 3 ⎦ ⎣V2 ⎦ ⎣ 4 ⎦

Node 2 is not a port node and is therefore an internal node, whose voltage V2 must be eliminated; we use Gaussian elimination: −2 −2 −2 4 11 8 5 −2 V I ⎡ ( )( ) ⎤ V ⎡ ( ) ⎤ ⎡ ⎤ V ⎡ ⎤ ⎡ ⎤ ⎡ 1 ⎤ ⎡ 1⎤ ⎢5 − 0⎥ ⎡ 1⎤ ⎢I1 − ⎥ ⎢ 0⎥ ⎡ 1⎤ ⎢I1 + ⎥ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ≡ 3 ⎢ ⎥ = 3 ≡ 3 ⎢ ⎥ = 3 ⎣−2 3 ⎦ ⎣V2 ⎦ ⎣ 4 ⎦ ⎢ ⎥ ⎣ 0 ⎦ ⎢ ⎥ ⎢ ⎥ ⎣ 0 ⎦ ⎢ ⎥ ⎣⎢ 0 0⎦⎥ ⎣⎢ 0 ⎦⎥ ⎣ 0 0⎦ ⎣ 0 ⎦ The resulting equation leads directly to the Norton and Thevenin equivalent circuits, derived above: 11 8 11 8 3 8 V = I + I = V − V = I + 3 1 1 3 1 3 1 3 1 11 1 11 If the original circuit has no independent sources, then the above process leads just to the equivalent Thevenin/Norton equivalent impedance. We consider a more complex example: Example: Determine the equivalent resistance between nodes 1 and 0 of the following circuit (note that I1 is a test current source):

3 Topic 10 – 2-port Circuits

We first perform by-inspection nodal analysis: ⎡1 ⎤ ⎡ 3 ⎤ + 1 −1 0 −1 0 ⎢2 ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎡V1 ⎤ ⎡I1⎤ ⎢ ⎥ ⎡V1 ⎤ ⎡I1⎤ 1 5 ⎢ −1 1+ + 1 −1 ⎥ ⎢V ⎥ = ⎢ 0 ⎥ ⎢−1 −1⎥ ⎢V ⎥ = ⎢ 0 ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎢V ⎥ ⎢ 0 ⎥ ⎢V ⎥ ⎢ 0 ⎥ ⎢ 0 1 1 1⎥ ⎣ 3 ⎦ ⎣ ⎦ ⎢ 0 1 2 ⎥ ⎣ 3 ⎦ ⎣ ⎦ ⎢ − + ⎥ ⎢ − ⎥ ⎣⎢ ⎦⎥ ⎣⎢ ⎦⎥ The partition lines show that although this circuit has 3 nodes, we are treating it as a 1-port circuit, i.e. we are only interested in the relationship between I1 and V1.

Nodes 2 and 3 are not port nodes and therefore V2 and V3 must be eliminated; we use Gaussian elimination:

⎡ 3 ⎤ ⎡ 3 ⎤ −1 0 −1 0 ⎡ 3 ⎤ ⎢ 2 ⎥ ⎢ 2 ⎥ −1 0 ⎢ ⎥ ⎡V1 ⎤ ⎡I1⎤ ⎢ ⎥ ⎡V1 ⎤ ⎡I1⎤ ⎢ 2 ⎥ ⎡V1 ⎤ ⎡I1⎤ 5 5 (−1)(−1) ⎢ ⎥ ⎢−1 −1⎥ ⎢V ⎥ = ⎢ 0 ⎥ ⎢−1 − 0⎥ ⎢V ⎥ = ⎢ 0 ⎥ −1 2 0 ⎢V ⎥ = ⎢ 0 ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎢ 2 2 ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ 2 ⎥ ⎢ ⎥ ⎢ ⎥ ⎢V ⎥ ⎢ 0 ⎥ ⎢ ⎥ ⎢ 0 ⎥ ⎢ 0 ⎥ ⎢ 0 0 0⎥ ⎢ 0 ⎥ ⎢ 0 ⎥ 0 −1 2 ⎣ 3 ⎦ ⎣ ⎦ 0 0 0 ⎣ ⎦ ⎣ ⎦ ⎢ ⎥ ⎣ ⎦ ⎣ ⎦ ⎢ ⎥ ⎢ ⎥ ⎣ ⎦ ⎣⎢ ⎦⎥ ⎣⎢ ⎦⎥ ⎡ 3 ⎤ ⎡ 3 (−1)(−1) ⎤ ⎢ −1⎥ ⎡V1 ⎤ ⎡I1⎤ − 0 ⎡V1⎤ ⎡I1⎤ ⎡1 0⎤ ⎡V1⎤ ⎡I1⎤ 2 = ⎢2 2 ⎥ = = ⎢ ⎥ ⎢V ⎥ ⎢ 0 ⎥ ⎢ ⎥ ⎢ 0 ⎥ ⎢ 0 ⎥ ⎢0 0⎥ ⎢ 0 ⎥ ⎢ 0 ⎥ 1 2 ⎣ 2 ⎦ ⎣ ⎦ 0 0 ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ ⎣⎢− ⎦⎥ ⎣⎢ ⎦⎥

The resulting equation leads directly to the relationship between V1 and I1:

V1 = I1 Hence, the equivalent sub-circuit is a 1 Ω resistor connected between node 1 and node 0. This approach is applicable to a circuit with any number of nodes, although a computer method of reducing the would be needed for larger circuits. Having shown that an n-node circuit may be reduced to a 1-port description systematically, we are now ready to consider 2-port circuits.

3 2-PORT ADMITTANCE PARAMETERS 3.1 Definition Rather than always having to deal with all the internal variables of a 2-port circuit, it is often more convenient to deal only with the terminal voltages and currents:

4 Topic 10 – 2-port Circuits

We assume that all excitations are external to the 2-port; hence the 2-port has no internal independent sources. We also assume that all dynamic elements (inductors and capacitors) are initially relaxed, i.e., have zero initial conditions, i.e. capacitor voltages and inductor currents are initially zero. Port currents are defined positive into the circuit. Under these assumptions, the admittance equations for a 2-port are expressions for the terminal currents I1 and I2 in terms of the port voltages V1 and V2, i.e.:

I1 = y11V1 + y12V2 I2 = y21V1 + y22V2 where y11, y12, y21 and y22 are called admittance parameters or y-parameters. The unit for all the admittance parameters is the Siemens (S). If the circuit has no connection between port 1 and port 2, then each port can be described by Ohm's law:

I1 = y11V1 I2 = y22V2 where y11 and y22 are the effective admittances at port 1 and 2, respectively.

The remaining parameters y12 and y21 describe the effect of V2 on I1 and the effect of V1 on I2; these terms are necessary when there are elements which link port 1 to port 2 including where the 2-port is an active device, such as a dependent source or transistor The 2-port equations may be written more compactly in matrix notation:

⎡ I1 ⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣y21 y22 ⎦ ⎣V2 ⎦ Example Compute the admittance parameters of the following 2-port circuit:

Solution

Write the nodal admittance matrix by inspection; tape the VCCS to ic:

⎡G1 + G3 −G3 ⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣ −G3 G2 + G3 ⎦ ⎣V2 ⎦ ⎣I2 − ic ⎦

G1, G2 and G3 are conductances of the resistors.

Un-tape the source ic = gmV1:

5 Topic 10 – 2-port Circuits

⎡G1 + G3 −G3 ⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣ −G3 G2 + G3 ⎦ ⎣V2 ⎦ ⎣I2 − gmV1⎦

Move the VCCS term to the LHS (to column 1 because it depends on V1):

⎡G1 + G3 −G3 ⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣gm − G3 G2 + G3 ⎦ ⎣V2 ⎦ ⎣I2 ⎦ Since these equations are in the standard form for 2-port admittance matrices, we may easily identify the y-parameters:

y11 = G1 + G3 y12 = −G3 y21 = gm − G3 y22 = G2 + G3 This example was straightforward because the circuit has only two nodes. In general a 2-port circuit will have more than 2 nodes. We now consider this more general case. 3.2 General 2-port analysis Consider a general circuit with n nodes consisting of resistors, capacitors, inductors and dependent voltage and current sources:

The reference node is labelled node 0, and the remaining nodes are numbered sequentially from 1 to n; the nodal voltages are V1, V2, ... Vn and the currents injected at each node are I1, I2, ... In. Nodal analysis would lead to following set of nodal equations:

⎡ y'11 y'12 .. y'1,n−1 y'1n ⎤ ⎡ V1 ⎤ ⎡ I1 ⎤ ⎢ y' y' .. y' y' ⎥ ⎢ V ⎥ ⎢ I ⎥ ⎢ 21 22 2,n−1 2n ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢ : : . : : ⎥ ⎢ : ⎥ = ⎢ : ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢y'n−1,1 y'n−1,2 .. y'n−1,n−1 y'n−1,n ⎥ ⎢Vn−1⎥ ⎢In−1⎥ ⎢ ⎥ ⎣ y'n1 y'n1 .. y'n,n−1 y'nn ⎦ ⎣⎢ Vn ⎦⎥ ⎣⎢ In ⎦⎥ where the y'ij are general representations of the elements of the nodal admittance matrix. Consider now the case where two of the nodes (designated 1 and 2) are taken to form the ports of a 2-port circuit:

6 Topic 10 – 2-port Circuits

Consider the effect of this on the nodal equations. Voltages V1 and V2, which were just nodal voltages are now the port voltages and I1 and I2 become the currents at the external port nodes; since nodes 3, 4, ... n are now internal nodes, the injected current for these nodes is zero:

⎡ y'11 y'12 y'13 .. y'1n ⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢y' y' y' .. y' ⎥ ⎢V ⎥ ⎢I ⎥ ⎢ 21 22 23 2n ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢y'31 y'32 y'33 : y'3n ⎥ ⎢V3 ⎥ = ⎢ 0 ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ : : .. . : ⎥ ⎢ : ⎥ ⎢ : ⎥ ⎣⎢y'n1 y'n1 y'n3 .. y'nn ⎦⎥ ⎣⎢Vn ⎦⎥ ⎣⎢ 0 ⎦⎥ We use partition lines to show that the n × n nodal matrix is that of a 2-port circuit which can be described by a 2 × 2 port admittance matrix. The 2 × 2 port admittance matrix has the following form:

⎡y11 y12 0 .. 0⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢y y 0 .. 0⎥ ⎢V ⎥ ⎢I ⎥ ⎢ 21 22 ⎥ ⎢ 2 ⎥ ⎢ 2 ⎥ ⎢ 0 0 0 : 0⎥ ⎢ 0 ⎥ = ⎢ 0 ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ : : .. . : ⎥ ⎢ : ⎥ ⎢ : ⎥ ⎣⎢ 0 0 0 .. 0⎦⎥ ⎣⎢ 0 ⎦⎥ ⎣⎢ 0 ⎦⎥ or

⎡ I1 ⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣y21 y22 ⎦ ⎣V2 ⎦ Obtaining the 2 × 2 port matrix from the n × n nodal matrix is essentially one of eliminating the internal voltage variables V3, V4, ... Vn in an equation solving process. This can be done by a variety of methods; a method that generally works reasonably well for circuit equations is Gaussian elimination. Example: Determine the y-parameters for the following 2-port, 3 node circuit:

Solution Determination of the 2-port y-parameters starts from nodal analysis. Writing the node equations by inspection leads to the following:

7 Topic 10 – 2-port Circuits

⎡ jω + 3 − jω −2⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ − jω jω + 2 −1⎥ ⎢V2 ⎥ = ⎢I2 ⎥ ⎢ 2 1 5 ⎥ ⎢V ⎥ ⎢ 0 ⎥ ⎣ − − ⎦ ⎣ 3 ⎦ ⎣ ⎦ where jω is the admittance of the 1 F capacitor; the nodal matrix is symmetrical because the RLC network contains no dependent sources. We will use Gaussian elimination for matrix reduction. Whereas in nodal analysis we carried on the reduction until we had a single variable, in this case we only need to eliminate row 3 and column 3 to obtain the 2 × 2 matrix; the pivot is y'33 = 5; the matrix becomes: ⎡ (−2)(−2) (−1)(−2) ⎤ jω + 3 − − jω − 0 ⎢ 5 5 ⎥ ⎢ ⎥ ⎢ (−2)(−1) (−1)(−1) ⎥ − jω − jω + 2 − 0 ⎢ 5 5 ⎥ ⎢ ⎥ ⎢ 0 0 0⎥ ⎣⎢ ⎦⎥ ⎡ jω + 3 − 0.8 − jω − 0.4 ⎤ ⎡ jω + 2.2 − jω − 0.4⎤ ≡ ⎢ ⎥ ≡ ⎢ ⎥ ⎣ − jω − 0.4 jω + 2 − 0.2⎦ ⎣− jω − 0.4 jω + 1.8 ⎦ Hence, we have the 2 × 2 port admittance equations:

⎡ I1 ⎤ ⎡ jω + 2.2 − jω − 0.4⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣− jω − 0.4 jω + 1.8 ⎦ ⎣V2 ⎦ The port admittance matrix like the nodal admittance matrix is symmetrical. 3.3 Equivalent Circuit for 2-port admittance equations It can be helpful to visualise 2-port admittance equations by means of an equivalent circuit. Consider the first admittance equation:

I1 = y11V1 + y12V2

A valid interpretation of this equation is that the port current I1 is equal to the port voltage V1 times an admittance y11 in parallel with a voltage-controlled current source y12V2. A similar interpretation is possible for the second equation:

I2 = y21V1 + y22V2

This yields an admittance branch y22 in parallel with a voltage-controlled current source y21V1. These interpretations lead to the following equivalent circuit for a 2-port circuit:

where the resistance symbol designates a general impedance or admittance. However complex the circuit and however high the number of nodes, this equivalent circuit with four admittances always exists.

8 Topic 10 – 2-port Circuits

Each port consists of an admittance connected in parallel with a dependent current source; this may be regarded as a generalisation of the Norton equivalent circuit for 1-port circuits to 2-port circuits. 3.4 Determining 2-port parmeters by port tests It is possible to avoid a complete nodal analysis of a circuit in order to determine the port admittance parameters. This can be achieved instead by carrying out tests on the ports of the circuit. This method may be used in three ways, 1) in the laboratory, 2) in computer simulation or 3) for hand analysis. Consider a circuit which has the general 2-port admittance equations:

I1 = y11V1 + y12V2 I2 = y21V1 + y22V2

Let us apply a short-circuit to port 2 such that V2 = 0; we then have:

I1 = y11V1 I2 = y21V1 This leads to:

I1 I2 y11 = y21 = V1 V1 V2 =0 V2 =0

We can envisage a short-circuit on port 2 and application of a known voltage source V1 to port 1;

Determining the port currents I1 and I2 yields the two admittance parameters. Referring to the original circuit and its equations, let us now apply a short-circuit to port 1 such that V1 = 0; we then have:

I1 = y12V2 I2 = y22V2 This leads to:

I1 I2 y12 = y22 = V2 V2 V1=0 V1=0

We can envisage a short-circuit on port 1 and application of a known voltage source V2 to port 2;

Again, determining the port currents I1 and I2 yields the two admittance parameters. Since each admittance parameter is defined with regard to a short-circuited terminal voltage the admittance parameters are sometimes called short-circuit admittance parameters.

9 Topic 10 – 2-port Circuits

An example illustrates derivation of admittance parameters by port tests. Example: We take the previous example of a 2-port circuit with 2 nodes:

We begin by placing a short-circuit on port 2 and voltage source on port 1; in order to obtain y11 and y21, we determine I1 and I2:

We then place a short-circuit on port 1 and voltage source on port 2, and in order to obtain y12 and y22, we again determine I1 and I2:

The y-parameters obtained are identical with those obtained previously by nodal analysis of the circuit.

4 GAIN AND IMPEDANCE FROM 2-PORT ADMITTANCE PARAMETERS 4.1 General We have defined admittance parameters and shown that they may be obtained by nodal analysis and equation reduction or by port tests. One might ask what have we gained by this? We hope to answer this question in this section where we derive expressions for gain and input and output impedance of a circuit in terms of its 2-port admittance parameters. Consider a 2-port circuit in isolation:

The circuit is described by:

I1 = y11V1 + y12V2 I2 = y21V1 + y22V2 where I1, I2, V1 and V2 are port variables. 10 Topic 10 – 2-port Circuits

The impedance and gain expressions we are interested in are ratios of port variables.

Ratios of variables at the same port, such as V1/I1, I2/V2 are termed driving point functions.

Ratios of variables at different ports, such as V2/V1, I1/I2, I2/V1, V1/I2, are termed transfer functions. Driving point and transfer functions together are termed network functions.

Note that transfer functions may be dimensionless, e.g. V2/V1, or have dimensions of impedance, e.g. V2/I1, or admittance, e.g. I2/V1 Consider the constraints acting on the variables.

We have 4 port variables, V1, V2, I1, I2, and therefore there are just 3 independent network functions which can be determined. The port admittance equations clearly provide two constraints. It follows that in order to define the network functions, a third constraint must be provided. This constraint is provided by the terminations or embedding of the circuit and it may be called the termination constraint. We will consider various termination constraints in due course. Once the termination constraint is in place and all network functions are defined, then a single source is sufficient to determine all voltages and currents. 4.2 Gain with simple terminations

Consider a 2-port circuit with port 2 terminated in admittance YL:

The equations for the 2-port circuit alone are:

I1 = y11V1 + y12V2 I2 = y21V1 + y22V2 The termination constraint is:

I2 = −YLV2 The minus sign is due to the voltage and current reference directions.

Substitution of the termination constraint into the 2-port equation for I2 gives:

−YLV2 = y21V1 + y22V2 V y 2 = − 21 V1 y22 + YL I2 =−YLV2 It is good practice to state the termination constraint along with the network function as we have done here. This expression may be used to determine voltage gain for any load admittance; it is valid independent of the nature of the source at port 1, so port 1 does not have to be driven by a voltage source.

11 Topic 10 – 2-port Circuits

If we terminate port 2 in an open-circuit, we have:

V2 y21 Av(o/c) = = − V1 y22 I2 =0

If V1 is known, then this equation may be used to determine V2 for the case when port 2 is terminated in an open-circuit; the value of V2 obtained is actually the voltage of the equivalent Thevenin voltage source representing the output port (port 2).

Termination of port 2 in a short-circuit leads to V2 = 0, so voltage gain is not useful in this case.

Now consider current gain; terminating port 2 in an open-circuit is not valid because it forces I2 to be zero.

In the case of a short-circuit termination, we can set V2 = 0 in the 2-port equations:

I1 = y11V1 I2 = y21V1 We can now determine the current gain:

I2 y21 Ai(s/c) = = I1 y11 V2 =0 Example For the simple circuit of the previous example determine from the admittance matrix (i) the voltage gain with a load resistance of 1 Ω and (ii) the current gain with a short-circuit at port 2; the element values are G1 = 1 S, G2 =2S, G3 = 3 S, gm = 21 S:

The previously determined admittance matrix is:

⎡y11 y12 ⎤ ⎡G1 + G3 −G3 ⎤ ⎡ 4 −3⎤ Y = ⎢ ⎥ = ⎢ ⎥ = ⎢ ⎥ ⎣y21 y22 ⎦ ⎣gm − G3 G2 + G3 ⎦ ⎣18 5 ⎦ We have:

V2 y21 18 Av = = − = − = −3 V1 y22 + YL 5 + 1 YL =0.5 and

I2 y21 18 Ai(s/c) = = = = 4.5 I1 y11 4 V2 =0 Having considered circuit gain, we now consider circuit input and output admittances. 4.3 Input and Output Admittance with simple terminations The input and output admittances of a terminated 2-port are important quantities, especially when determining voltage gain, current gain and power gain.

12 Topic 10 – 2-port Circuits

We are interested in the input admittance of a terminated 2-port circuit because this affects the load it presents to a source:

The circuit without the load admittance YL can be represented by its admittance parameters:

⎡ I1 ⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣y21 y22 ⎦ ⎣V2 ⎦

The load admittance YL imposes the termination constraint:

I2 = −YLV2 We now have:

⎡ I1 ⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣−YLV2 ⎦ ⎣y21 y22 ⎦ ⎣V2 ⎦

We can move the –YLV2 term across the to the RHS and into column 2, since it contains V2:

⎡I1⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣ 0 ⎦ ⎣y21 y22 + YL ⎦ ⎣V2 ⎦

We can solve the equations to eliminate V2 by a number of methods including simple substitution. We use Gaussian elimination: ⎡ y y ⎤ y 12 21 0 ⎡I1⎤ ⎡y11 y12 ⎤ ⎡V1 ⎤ ⎢ 11 − ⎥ ⎡V1⎤ = = y22 + YL ⎢ 0 ⎥ ⎢y y + Y ⎥ ⎢V ⎥ ⎢ ⎥ ⎢ 0 ⎥ ⎣ ⎦ ⎣ 21 22 L ⎦ ⎣ 2 ⎦ 0 0 ⎣ ⎦ ⎣⎢ ⎦⎥ Hence, the input admittance of the 2-port circuit is:

I1 y12y21 Yin = = y11 − V1 y22 + YL

In the case where port 2 is terminated in an open-circuit, we have YL = 0:

I1 y12y21 Yin(o/c) = = y11 − V1 y22 I2 =0

Note that YL = 0 is equivalent to the constraint I2 = 0. We have stated the termination constraint along with the network function, which is good practice.

In the case where there is a short-circuit termination at port 2, we have YL → ∞; the general expression now reduces to:

I1 Yin(s/c) = = y11 V1 V2 =0

13 Topic 10 – 2-port Circuits

Note that YL → ∞ is equivalent to the constraint V2 = 0.

Consider now the 2-port circuit with voltage source VS and admittance YS at port 1:

We are interested in the output impedance at port 2, as this determines the effect of a load at port 2. The output impedance is actually the Thevenin equivalent impedance seen looking into port 2 for the combination of the 2-port circuit and the source. Hence, we define output admittance as being obtained with the input voltage source de-activated:

The circuit is identical with the circuit with load admittance at port 2 of YL, except that port 1 and port 2 are interchanged and YL is replaced by YS.

Therefore, we can use the previous expression for Yin to determine Yout:

I1 y12y21 I2 y12y21 Yin = = y11 − ⇒ Yout = = y22 − V1 y22 + YL V2 y11 + YS

In the case where port 1 is terminated in an open-circuit, we have YS = 0:

I2 y12y21 Yout(o/c) = = y22 − V2 y11 I1=0 This corresponds to the case where port 1 is driven by a current source alone.

In the case where there is a short-circuit termination at port 1, we have YS → ∞; the general expression now reduces to:

I2 Yout(s/c) = = y22 V2 V1=0 This corresponds to the case where port 1 is driven by a voltage source alone. Examples For the simple circuit of the previous example determine from the admittance matrix (i) the input admittance at port 1 with a with a port 2 load resistance of 1 Ω and (ii) the output admittance at port 2 when (a) the input at port 1 is a voltage source and (b) is a current source; the element values are G1 = 1 S, G2 =2S, G3 = 3 S, gm = 21 S:

14 Topic 10 – 2-port Circuits

The previously determined admittance matrix is:

⎡y11 y12 ⎤ ⎡G1 + G3 −G3 ⎤ ⎡ 4 −3⎤ Y = ⎢ ⎥ = ⎢ ⎥ = ⎢ ⎥ ⎣y21 y22 ⎦ ⎣gm − G3 G2 + G3 ⎦ ⎣18 5 ⎦ i: For the input admittance at port 1 with YL = 1 S, we have:

I1 y12y21 (−3)18 Yin = = y11 − = 4 − = 13 S V1 y22 + YL 5 + 1 I2 =−YLV2 The input resistance, if required is: 1 1 Zin = = Ω Yin 13 ii The output admittance at port 2 with source admittance at node 1 of YS is given by:

I2 y12y21 Yout = = y22 − V2 y11 + YS I1=−YSV1

(a) When the input excitation is a voltage source, de-activation of the source gives YS = ∞:

I2 Yout(s/c) = = y22 = 5 S V2 V1=0

(b) When the input excitation is a current source, de-activation of the source gives YS = 0:

I2 y12y21 (−3)18 4 4 Yout(o/c) = = y22 − = 5 − = 5 + 10 = 10 = 15.8 S V2 y11 5 5 5 V1=0 4.4 Circuits with non-existent admittance description Consider the following 2-port circuit for which we wish to determine the admittance parameters:

Use of KCL leads to the following two equations: 1 I = V − I 1 R 1 2 1 I = V − I 2 R 2 1 It turns out that it is impossible to eliminate the current terms on the RHS in favour of voltages (try it!); it follows that it is impossible to describe this circuit using the admittance matrix, even though the circuit is a perfectly valid one. The problem is that the short-circuit between the ports has an infinite admittance. Apart from short-circuits, admittance matrices also cannot describe dependent voltage sources and ideal op-amps (nullors).

15 Topic 10 – 2-port Circuits

These problems can be solved using a number of methods, of which a very important one is the modified nodal admittance (MNA) matrix approach which is used in SPICE. However, it is easy to see that the equations for the above example can easily be arranged in an alternative form with voltages in terms of currents:

V1 = RI1 + RI2 V2 = RI1 + RI2 This format is the dual of the admittance description and is called the impedance description. The impedance approach is not so important as the admittance approach because the impedance equations are not naturally produced by nodal analysis of a circuit. However, we shall summarise its main features.

5 IMPEDANCE PARAMETERS FOR 2-PORT CIRCUITS Consider again the general 2-port circuit:

The impedance parameters, or z-parameters, relate the port currents to the port voltages according to the matrix equation:

⎡V1 ⎤ ⎡z11 z12 ⎤ ⎡ I1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣V2 ⎦ ⎣z21 z22 ⎦ ⎣I2 ⎦ As for the admittance parameters, it is possible to obtain impedance parameters by carrying out tests on the ports of the circuit. We can write the 2-port circuit impedance equations:

V1 = z11I1 + z12I2 V2 = z21I1 + z22I2

Let us apply an open-circuit to port 2 such that I2 = 0; we then have:

V1 = z11I1 V2 = z21I1 This leads to:

V1 V2 z11 = z21 = I1 I1 I2 =0 I2 =0

We can envisage an open-circuit on port 2 and application of a known current source I1 to port 1; the port voltages V1 and V2 yield admittance parameters z11 and z21.

We now apply an open-circuit to port 1 such that I1 = 0; we then have:

V1 = z12I2 V2 = z22I2 This leads to:

16 Topic 10 – 2-port Circuits

V1 V2 z12 = z22 = I2 I2 I1=0 I1=0

We can envisage an open-circuit on port 1 and application of a known current source I2 to port 2; the port voltages V1 and V2 yield the two admittance parameters z12 and z22. Since each impedance parameter is defined by applying an open-circuit to a port, the impedance parameters are sometimes called open-circuit impedance parameters. As with the y-parameters, the z-parameters have a two-dependent source equivalent circuit. Consider the first impedance equation:

V1 = z11I1 + z12I2 This equation can be interpreted as an application of KVL around the left hand loop of the following circuit:

Consider the second impedance equation:

V2 = z21I1 + z22I2 It has a similar interpretation as application of KVL to the right-hand loop in the equivalent circuit. Thus a set of z-parameters for a 2-port circuit may always be represented by an equivalent circuit containing the four z-parameters. Notice that the elements in the equivalent circuit are connected in series, in contrast to the equivalent circuit for the admittance parameters where they were connected in parallel. This equivalent circuit may be regarded as an extension of the Thevenin equivalent circuit to the 2- port case. Given a circuit with a set of z-parameters, it is possible to determine voltage and current gain as well as input and output impedance for arbitrary source and load impedances at ports 1 and 2; it is similar to the process using y-parameters, so we will not do this here. Since the z-parameters relate port voltages to port currents and the y-parameters relate port currents to port voltages, one might expect that the z-parameter matrix and the y-parameter matrix are related to each other in a precise mathematical way. Consider the impedance description for a 2-port circuit:

⎡V1 ⎤ ⎡z11 z12 ⎤ ⎡ I1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣V2 ⎦ ⎣z21 z22 ⎦ ⎣I2 ⎦ Using matrix algebra, we may invert the z-matrix and use it to pre-multiply both sides of the impedance equation set: −1 −1 ⎡z11 z12 ⎤ ⎡V1 ⎤ ⎡z11 z12 ⎤ ⎡z11 z12 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎣z21 z22 ⎦ ⎣V2 ⎦ ⎣z21 z22 ⎦ ⎣z21 z22 ⎦ ⎣I2 ⎦

17 Topic 10 – 2-port Circuits where a superscript on a matrix of –1 represents inversion. It is known from matrix algebra that the inverse of a matrix times the matrix is the unit matrix which may be dropped when it multiplies a column vector. Hence, we have: −1 ⎡z11 z12 ⎤ ⎡V1 ⎤ ⎡ I1 ⎤ ⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣z21 z22 ⎦ ⎣V2 ⎦ ⎣I2 ⎦ The voltage and current vector framework is now that for an admittance description. Hence, the inverse of the z-matrix is the admittance matrix and vice versa: −1 −1 ⎡z11 z12 ⎤ ⎡y11 y12 ⎤ ⎡y11 y12 ⎤ ⎡z11 z12 ⎤ ⎢ ⎥ =⎢ ⎥ ⎢ ⎥ = ⎢ ⎥ ⎣z21 z22 ⎦ ⎣y21 y22 ⎦ ⎣y21 y22 ⎦ ⎣z21 z22 ⎦ This is a reasonably efficient method for transforming between z- and y-matrices for 2-port circuits, e.g.: −1 ⎡a b⎤ 1 ⎡ d −b⎤ ⎢ ⎥ = ⎢ ⎥ ⎣c d⎦ ad − bc ⎣−c a ⎦ The term ad – bc is the Δ of the first matrix; if Δ = 0, the inverse does not exist, meaning that the alternative representation is not possible. Example: For the following circuit, (i) write the y-matrix by inspection, (ii) invert the y-matrix to obtain the z-matrix and (iii) check that the z-matrix describes the circuit:

By inspection, the y-matrix is:

⎡ G1 −G1 ⎤ Y = ⎢ ⎥ ⎣−G1 G1 + G2 ⎦ The corresponding admittance equations are:

I1 = G1V1 − G1V2

I2 = −G1V1 + (G1 + G2 )V2 Invert the y-matrix to obtain the z-matrix: −1 ⎡ G −G ⎤ 1 ⎡G + G G ⎤ Z Y −1 1 1 1 2 1 = = ⎢ ⎥ = 2 ⎢ ⎥ ⎣−G1 G1 + G2 ⎦ G1(G1 + G2 ) − G1 ⎣ G1 G1⎦ ⎡ 1 1 1 ⎤ ⎢ + ⎥ 1 ⎡G1 + G2 G1⎤ G2 G1 G2 ⎡R1 + R2 R2 ⎤ = ⎢ ⎥ = ⎢ ⎥ = ⎢ ⎥ G1G2 ⎣ G1 G1⎦ ⎢ 1 1 ⎥ ⎣ R2 R2 ⎦ ⎢ ⎥ ⎣ G2 G2 ⎦ We can now write the impedance equations:

18 Topic 10 – 2-port Circuits

V1 = (R1 + R2 )I1 + R2I2 V2 = R2I1 + R2I2 or

V1 = (I1 + I2 )R2 + I1R1

V2 = (I1 + I2 )R2 We can see that these equations correctly describe the circuit.

6 HYBRID PARAMETERS FOR 2-PORT CIRCUITS In the z- and y-parameter descriptions, the port variables are classified according to variable type; thus for the admittance description, we express currents (port 1 and port 2) in terms of voltages (port 1 and port 2); and for the impedance description, we express voltages (port 1 and port 2) in terms of currents (port 1 and port 2). Hybrid parameters, as their name implies, are a cross between y- and z-parameters; we take a voltage and a current on the LHS and the remaining voltage and remaining current on the RHS. Specifically, a 2-port circuit containing no internal independent sources and with no initial stored energy, can be defined by the matrix equation:

V1 = h11I1 + h12V2 I2 = h21I1 + h22V2 where h11, h12, h21 and h22 are the hybrid parameters for the 2-port circuit. This leads to the matrix description:

⎡V1 ⎤ ⎡h11 h12 ⎤ ⎡ I1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣h21 h22 ⎦ ⎣V2 ⎦ This combination of variables naturally arises when the model of a common emitter transistor is simplified; it is therefore encountered quite frequently.

Unlike y- and z-parameters, the h-parameters have different units; h11 has units of Ohms, h12 and h21 are dimensionless, and h22 has units of Siemens. As with both y- and z-parameters, we can interpret the hybrid equation set as a two-dependent source equivalent circuit:

Notice that at port 1 the elements are connected in series and at port 2 they are connected in parallel. The h-parameters may be determined by tests on each port. Initially, we apply a short-circuit to port 2; we have:

V1 = h11I1 I2 = h21I1

19 Topic 10 – 2-port Circuits

This leads to:

V1 I2 h11 = h21 = I1 I1 V2 =0 V2 =0

We can envisage a short-circuit on port 2 and application of a known current source I1 to port 1; the port variables V1 and I2 yield hybrid parameters h11 and h21.

We now apply an open-circuit to port 1 such that I1 = 0; we then have:

V1 = h12V2 I2 = h22V2 This leads to:

V1 I2 h12 = h22 = V2 V2 I1=0 I1=0

We can envisage an open-circuit on port 1 and application of a known voltage source V2 to port 2; the port variables V1 and I2 yield the two hybrid parameters h12 and h22. Just as for the other parameter sets, we can determine gain and input and output impedance of a 2- port circuit in terms of its h-parameters; we will not do that here. A further set of parameters, called the hybrid-g parameters are similar to the hybrid h-parameters but with the dependent and independent variable sets interchanged:

⎡ I1 ⎤ ⎡g11 g12 ⎤ ⎡V1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣V2 ⎦ ⎣g21 g22 ⎦ ⎣I2 ⎦ Further parameter sets classify variables according to port location. For example, the transmission matrix expresses the port 1 variables, V1 and I1, in terms of the port 2 variables, V2 and I2. These forms are left for work in other courses. We end with an example where we describe the bipolar junction using h- parameters: Example: Obtain a hybrid description for a bipolar transistor with current gain β = 100, base- emitter resistance rπ =1 kΩ and collector-emitter resistance of 1 MΩ: Solution: An equivalent circuit for the transistor is as follows:

Comparing this with the 2-dependent source model for the h-parameter description, we identify:

h11 = rπ = 1000 Ω h12 = 0 h21 = β = 100 1 −6 h22 = = 10 S ro

20 Topic 10 – 2-port Circuits

Hence, the h-parameter equation set is: 3 ⎡V1 ⎤ ⎡rπ 0 ⎤ ⎡ I1 ⎤ ⎡10 0 ⎤ ⎡ I1 ⎤ = ⎢ ⎥ = ⎢ ⎥ ⎢I ⎥ −1 ⎢V ⎥ −6 ⎢V ⎥ ⎣ 2 ⎦ ⎣⎢ β ro ⎦⎥ ⎣ 2 ⎦ ⎣⎢100 10 ⎦⎥ ⎣ 2 ⎦ Because of its suitability for describing the common-emitter bipolar-junction transistor, the h- parameter subscripts are sometimes altered as follows:

⎡V1 ⎤ ⎡hie hre ⎤ ⎡ I1 ⎤ ⎢ ⎥ = ⎢ ⎥ ⎢ ⎥ ⎣I2 ⎦ ⎣hfe hoe ⎦ ⎣V2 ⎦ In this scheme, the second subscript 'e' denotes that the parameters are applicable to a common- emitter transistor. The first subscripts have the following meanings: 'i' input (rπ); 'r' reverse; 'f' forward (β); 'o' output (1/ro). Note it is only for the admittance matrix that by-inspection writing of the matrix from the circuit is possible. This makes the admittance matrix by–far the most important of the circuit matrix formulations.

7 CONCLUSIONS We began this study of 2-port circuits by looking again at 1-port sub-circuits and developing a systematic method based on nodal analysis and Gaussian elimination for deriving their Thevenin and Norton equivalent circuits. This led to a definition of admittance parameters for 2-port circuits and a similar method for obtaining the parameters by nodal analysis of a circuit followed by reduction. We then showed that circuit gain and port impedance can be obtained from the 2-port admittance parameters once the termination of the 2-port circuit is specified. Finally, we looked briefly into impedance and hybrid parameters for 2-port circuits.

21