Modified Nodal Analysis
1 Introduction
Designers of analog electronic circuits often need to investigate the
small-signal static or dynamic behavior of designed circuits. For this, they
can take their refuge to CAD programs and obtain numerical results from a
small-signal analysis (often called an AC sweep). Although those numerical
simulations can give accurate results, they do not provide insight in
underlying mechanisms. Symbolic analysis of simplified circuits often does
give a lot more design information but it requires unpopular hand calculations.
Nowadays, many symbolic analysis tools are available to help designers with
those calculations. Optimum use of these programs requires adequate
formulation of the problem; which is often in the form of a matrix representation.
Nodal Analysis (NA) techniques (see section
2) can be used for networks having voltage-controlled
elements only. Networks that also include current-controlled elements such as
voltage sources, can be transformed into networks with voltage-controlled
elements only, using the Norton transformation (see figure
6) and Blakesley's voltage shift
theorem (see figure
7). Alternatively the so-called Modified Nodal Analysis (MNA) can be
used (see section
3). Modified Nodal Analysis is implemented in many SPICE-like simulators.
In many cases, designers are interested in some specific properties of a
circuit such as port impedances or the signal transfer from
a signal source to a load. For this, complete solution of the network and symbolic
expressions for all nodal voltages and branch currents is seldom required.
Specific transfers can much faster be found by application of Cramer's rule (see section
4).
This overview is illustrated with a number of examples:
- Section 2.2: Nodal analysis of a simple RC-circuit.
- Section 2.5: Calculation of the small-signal voltage transfer of a voltage
follower, realized with an operational amplifier, using Nodal Analysis.
- Section 3.1: Illustration of Modified Nodal Analysis.
- Section 5.1: Calculation of the small-signal voltage transfer of a voltage
follower, realized with an operational amplifier, using Modified Nodal Analysis.
- Section 5.2: Evaluation of the voltage gain of an OpAmp circuit using MNA.
- Section 5.2: Evaluation of the coefficients of a second-order active low-pass filter.
- Section 5.2: Evaluation of the coefficients of a third-order active low-pass filter.
- Section 5.2: Evaluation of the input impedance of a Generalized Impedance Converter (GIC).
This overview summarizes the above topics, which are assumed to
cover the designer's daily analysis needs. It does not give the underlying
theory. For this the reader is referred to literature on network theory and
linear algebra.
2 Nodal Analysis
2.1 Introduction
Nodal analysis is a network analysis method that provides the nodal voltages
from the independent currents flowing into the nodes. It is based upon the application of
Kirchhoff's current law (see
1), which states that the sum of the
electric currents that flow into a node equals zero.
Figure 1: Kirchhoff's current law.
Networks that consists of voltage-controlled elements only, can directly be solved
with the nodal analysis method. A network element is said to be voltage
controlled if its branch currents are uniquely defined by its branch voltages.
This is not the case for i.e. voltage sources. These sources have their
voltage unambiguously defined by their current and are therefore
called current-controlled elements. As we will see later, networks with
current-controlled elements can be solved using modified nodal analysis (MNA).
In the next section we will demonstrate the nodal analysis method for a simple
network comprising voltage-controlled elements only.
2.2 The procedure
The procedure for nodal analysis is as follows:
- Set-up the circuit diagram, select a reference node and number all
remaining nodes
- Set-up the nodal equations for all nodes except the reference node
This results in the following matrix equation:
Where
is the vector of independent currents that flow into a
node,
is the admittance matrix that depends both on the graph and
the element relations of the network elements, and
is the vector
of the nodal voltages with respect to the voltage at a reference node. A
network having
nodes requires
nodal equations. The voltage of the
reference node is usually taken zero.
- Find the network solution (all nodal voltage and branch currents). The
nodal voltages are found from
The branch currents
are found from
The transfer functions from
to
are found as:
Example
Let us consider the network from figure
2 and derive expressions for the
current to voltage transfer
Figure 2: Circuit for Nodal Analysis
According to the first step we have to select a reference node and number the
remaining nodes. If we select the top of
as reference node, we only
have to calculate the voltage at common node for
to
The
numbered nodes are shown in figure
3.
Figure 3: Circuit from figure 2, with reference node (0) and nodes
(1) and (2).
The nodal equations are:
|
|
|
|
|
|
In matrix form:
|
|
|
Or, alternatively:
|
|
|
in which
|
|
|
The network solution is obtained as
|
|
|
From which the current to voltage transfer is found as
|
|
|
2.3 General form of the admittance matrix
The general form of the node equation for node
is:
|
|
|
where:
sum of the admittances connected between node
and node
,
sum of the admittances connected to node
,
sum of the independent currents flowing into node
.
In words: each diagonal element of the admittance matrix equals the sum of the
admittances of each element connected to the corresponding node. So the first
diagonal element is the sum of admittances connected to node
, the second
diagonal element is the sum of admittances connected to node
, and so on.
The off-diagonal elements are the sum of the negative admittances of the
elements connected to the pair of corresponding nodes. Hence, an admittance
between nodes
and
appears into the
matrix at location
and
with a positive sign and at locations
and
with a negative sign. This is shown in figure
4.
Hence, a network having passive elements only, has a symmetrical admittance matrix
Figure 4: A passive admittance and its contributions to the admittance matrix
for a network having
nodes excluding the reference node.
2.4 Voltage-controlled current sources
Figure 5: A voltage-controlled current source and its contributions to the
admittance matrix, for a network having
nodes excluding the reference
node.
Voltage-controlled current sources can easily be handled using nodal analysis.
A voltage-controlled current source
with its current flowing from
node
into node
and which is controlled by the voltage between node
(positive) and node
(negative) and a gain of
[A/V], adds in the
-th row
in column
and
in column
and in the
-th
row
in column
and
in column
This is illustrated in figure
5.
2.5 Network transformations
Nodal Analysis can be applied for networks having voltage-controlled elements
only. Voltage controlled elements have a current flow that is uniquely defined
by their branch voltages. This is not the case for e.g. voltage sources; their
current is not defined by their voltage. Voltage sources are so-called
current-controlled elements. With the aid of network transformations, we can
replace voltage sources by current sources and find the network solution with
Nodal Analysis. Any voltage source which is placed in series with an impedance
can be replaced by a current source in parallel with that impedance (Norton
equivalent circuit), thereby reducing the number of nodes by one. This is
shown in figure
6.
Figure 6: Norton equivalent circuit
a) Voltage source in series with an
impedance
b) Current source representation using Norton equivalent
circuit.
Figure 7: Blakesley Voltage Shift Theorem
a) A voltage source connected
to a number of branches
b) Equivalent representation using the
Blakesley Voltage Shift Theorem.
If a voltage source is connected to a multiple of branches it must be "shifted
through the node" before it can be replaced by a current source. This shifting
is known as the Blakesley Voltage Shift; it is shown in figure
7. It should be noticed that the Blakesley shift increases the
number of nodes.
Example
Calculation of the small-signal voltage transfer of a voltage
follower realized with an operational amplifier
For this example we use a simple OpAmp model as shown in figure
8. In this model, only the DC voltage gain, the DC
output resistance and the first-order bandwidth are modeled.
Figure 8: Simple OpAmp model
(a) Operational Amplifier with power
supplies
(b) Simplified small-signal model of (a).
The complete circuit of the voltage follower with the operational amplifier
and its small-signal equivalent circuit are shown in figure
9. The circuit from figure
9b can further be simplified to that of
figure
10 with the aid of Norton
equivalent representations for the voltage sources and their corresponding
series impedances. This circuit has now three nodes and its
admittance matrix can easily be found using Nodal Analysis:
|
|
|
In which
|
|
|
The source-load transfer can now be found as:
|
|
|
Figure 9: Voltage follower and its small-signal model
(a) Voltage
follower with operational amplifier and power supplies
(b) Simplified
small-signal model of (a).
Figure 10: Circuit from figure 9b, simplified
with the aid of Norton equivalent representations for the voltage sources in
series with their corresponding impedances.
3 Modified Nodal Analysis
3.1 The procedure
Modified Nodal Analysis can be applied for networks having also current
controlled elements such as voltage sources. Like Nodal Analysis, Modified
Nodal Analysis is based upon the application of Kirchhoff's current law (KCL).
Voltage sources can be treated by adding the unknown currents through these
elements to the vector with unknown node voltages. Additional equations are
found from the relations between the independent voltage sources and the nodal
voltages. In this way the independent voltages are added to the independent
current vector. The procedure is as follows:
- Set-up the circuit diagram, select a reference node and number all
remaining nodes as with Nodal Analysis.
- Define the
unknown currents through the
independent voltage sources
- Set-up the
nodal equations for a network having
nodes
- Relate the
voltages of the independent voltage sources to the nodal
voltages that they are connected to, we now have a matrix equation of the
form:
|
|
|
In which
vector with independent current and voltage sources,
vector with
unknown nodal voltages and
unknown
currents through the
independent voltage sources,
matrix that consists of
sub matrices:
admittance matrix as with NA
matrix with
topology information of the independent voltage sources
for
networks that have only independent voltage sources
matrix containing zeros only
for independent sources
Figure 11: Contributions of an independent voltage source to the MNA matrix and
the vectors, for a network having
nodes, excluding the reference node.
The
matrix is an
matrix with only
,
and
elements. Each location in the matrix corresponds to a
particular voltage source (row) or node (column). If the positive terminal of
the
voltage source is connected to node
, then
. If the negative terminal of the
voltage source is
connected to node
, then
. If the network has only
independent voltage sources, all other elements of the
matrix are zero and the
matrix is the transposed version of the
matrix. This is illustrated in figure 11. The network
equation added by the voltage source:
Since
flows from node
, it is added to the
nodal
equation. Similarly,
is added to the
equation.
- Find the network solution (all nodal voltage and all branch currents).
All the nodal voltages and unknown currents through the voltage sources are
obtained from
|
|
|
The branch currents
,
and
are found from
|
|
|
Before we will discuss the coefficients of the
and
matrices for all
kinds of network elements, we will give an example of MNA for a network with
some voltage sources.
Example
Let us consider the circuit from figure
12. We will find an expression
for the voltage across
with the aid of MNA.
Figure 12: Circuit for illustration of the MNA.
We will start with the selection of the reference node and numbering of the
remaining nodes. We will select the common terminal of the two voltage sources
as reference node. We also will define the unknown currents through the
voltage sources. This is shown in figure
13.
Figure 13: Circuit from figure 12 with numbered nodes.
We are now able to set up the MNA matrix equation:
|
|
|
In which
|
|
|
The nodal voltage
can be found as
|
|
|
It will be clear that the results of the above example could as well have been
obtained in other ways. With the aid of Norton equivalent circuits we can
eliminate two nodes and obtain quick results. We also could use the
superposition theorem by adding the individual contributions of
and
over
Nevertheless, MNA combined with a symbolic analysis
program is a powerful way to find expressions for transfers of linear networks.
4 Cramer's Rule
In the above example, we found
by linear superposition of the voltages
caused by the two independent voltage sources
and
.
Alternatively,
could be found with the aid of Cramer's rule.
Having a system described by
in which
is the vector of independent variables and
is the vector with dependent variables, Cramer's rule
states that a dependent variable i.e.
can be found as
In which
is the matrix
in
which the
column has been replaced by the vector with independent
variables
.
We will now find
from the previous example with the aid of Cramer's rule.
To do so we have to find the matrix
by substituting the
column of
with the vector
. In this way we obtain:
|
|
|
Application of Cramer's rule yields:
|
|
|
5 More MNA stamps
5.1 Voltage-controlled voltage sources
Figure 14: Voltage-controlled voltage source with voltage gain
,
SPICE syntax, symbol, device equation and MNA stamp.
Let us now consider the contribution to the MNA matrix stamp of a
voltage-controlled voltage source and solve the problem from example
2.5 with MNA. Figure
14 shows the MNA stamp for a
voltage-controlled voltage source
with voltage gain
connected
between node
and
with its voltage controlled by the voltage
between node
and
. The unknown current through the voltage source
is added to the vector with the unknown node voltages.
Example
Let us now solve the problem from example
2.5 with the aid of MNA.
Figure
15 shows the circuit with nodes and currents through the
voltage sources.
Figure 15: Small-signal equivalent circuit from example 2.5,
prepared for MNA.
The MNA equation for this circuit is
|
|
|
In which
|
|
|
The transfer from the source voltage
to the load voltage
is found as
|
|
|
Which, of course, is equal to the result from example
2.5.
5.2 The Nullor
Figure 16: The nullor, its symbol and its MNA stamp.
Evaluation of the performance of idealized negative-feedback circuits is
almost daily practice for designers of analog circuits. Such circuits comprise
a high-gain amplifying device equipped with one or more passive feedback
loops. A network element for such a high-gain device is a nullor. A nullor
consists of two network elements: a nullator and a norrator. The combination
of these two devices can be seen as an ideal amplifier with an infinite
available power gain for any input or output termination. Figure
16 shows the symbol and the MNA stamp of a nullor.
The nullator and norrator of the nullor only communicate through the external
circuit. In a feedback circuit, the norrator generates a current such that the
voltage across the nullator equals zero. If more nullors appear in one
circuit, one can arbitrarily combine nullators and norrators in pairs without
changing the operation of the circuit. It should be noted that the signs of
the gain factors of the nullor are undefined. In the following example, we
will evaluate the gain of a negative feedback voltage amplifier having a
nullor as amplifying device.
Example
Consider the circuit from figure
17. We will evaluate
the voltage gain from source to load using MNA.
The MNA matrix equation can be found as
|
|
|
Figure 17: Negative-feedback voltage amplifier with a nullor.
In which the matrix
is defined as:
|
|
|
From which the source-load transfer can be found as:
|
|
|
Example
The circuit from figure
18 represents a two-pole active
low-pass filter. The OpAmp can be considered as a nullor. Give an expression
for the transfer function
Figure 18: Second order active low-pass filter with voltage follower
The MNA matrix equation can be found as:
|
|
|
In which
is the unknown current through the voltage source
and
the current delivered by the nullor and
|
|
|
The transfer
from
to
can be found as:
From which we find the transfer function:
|
|
|
Example
The circuit from figure
19 represents an active
third-order unity-gain low-pass filter. Evaluate the transfer of the circuit:
Figure 19: Unity-gain third-order low-pass filter section.
The MNA equations are:
|
|
|
In which
|
|
|
From which we find the transfer function
|
|
|
Example
We will determine the input impedance of the circuit from figure
20.
To do so, we will inject a current
and determine the voltage at node
.
The MNA equations for the circuit with ideal opamps (nullors) are
|
|
|
In which
|
|
|
Figure 20: Circuit setup for determination of the input impedance of the GIC.
The input impedance is found as:
|
|
|
This circuit is known as a Generalized Impedance Converter (GIC). If we take
resistors for
and
and a capacitor for
the
circuit can be represented by an inductor to ground having:
If two impedances in the numerator are realized by capacitors and all other
impedances are resistors, the circuit behaves as a second order capacitor:
These so-called D-elements or FDNR (Frequency Dependent Negative Resistors)
can be used to generate active filters directly from their LC prototypes.
5.3 Overview of MNA stamps implemented in SLiCAP
The syntax for the corresponding net list entries of network elements are
given in
typewriter font. All elements are considered to be floating
with respect to the reference node. Hence, the dimension of their MNA stamp is
the sum of the number terminals and the number of dependent currents.
5.3.1 Independent Current Source
|
|
5.3.2 Independent Voltage Source
|
|
5.3.3 Linear Resistor
|
|
5.3.4 Linear Capacitor
|
|
5.3.5 Linear Admittance
|
|
5.3.6 Linear Inductor
|
|
5.3.7 Linear Impedance
|
|
5.3.8 Voltage-Controlled Current Source: VCCS
|
|
5.3.9 Voltage-Controlled Voltage Source: VCVS
|
|
5.3.10 Current-Controlled Voltage Source: CCVS
|
|
5.3.11 Current-Controlled Voltage Source: CCCS
|
|
|
|
5.3.13 Ideal Transformer
|
|
5.3.14 Ideal Gyrator
|
|
5.3.15 Coupling Factor
|
|
File translated from
TEX
by
TTM,
version 3.72.
On 15 Aug 2008, 21:58.