next up previous contents
Next: 2.2 Modified Nodal Approach Up: 2. Circuit Equations Previous: 2. Circuit Equations

2.1 Nodal Approach

For the derivation of the nodal approach (NA) a circuit containing linear conductances and independent current sources is assumed. The direction of the current flow is defined in such a way that for both passive elements and sources the current-voltage product is positive, that is P = V . I > 0 and P = V . J > 0 (see Fig. 2.1).

Figure 2.1: Definition of voltages and currents for two-terminal passive elements (a) and sources (b)
\begin{figure}
\begin{center}
\resizebox{7.8cm}{!}{
\psfrag{a} {$\scriptstyle a)...
...ncludegraphics[width=7.8cm,angle=0]{figures/vi-rel.eps}}\end{center}\end{figure}

Figure 2.2: Simple circuit containing only conductances and current sources.
\begin{figure}
\begin{center}
\resizebox{7.8cm}{!}{
\psfrag{J1}{$\scriptstyle J_...
...ncludegraphics[width=7.8cm,angle=0]{figures/na-exa.eps}}\end{center}\end{figure}

The independent variables of the NA are the node voltages $ \varphi$ of each circuit node to a reference node which can be chosen arbitrarily. This choice guarantees that KVL is fulfilled which requires that the sum of all voltages around any loop in the circuit are zero. Considering an arbitrary loop in an arbitrary circuit the sum of the voltages can be written as

$ \sum_{j}^{}$Vj = ($ \varphi_{j_{1}}^{}$ - $ \varphi_{j_{2}}^{}$) + ($ \varphi_{j_{2}}^{}$ - $ \varphi_{j_{3}}^{}$) +...+ ($ \varphi_{j_{n-1}}^{}$ - $ \varphi_{j_{1}}^{}$) = 0 (2.1)

Kirchhoff's current law (KCL) is applied to each node other than the reference node in the circuit such that the summation of the currents leaving the node is equal to zero. This procedure is best illustrated on the example circuit shown in Fig. 2.2. Summing the currents at all nodes one gets

node 0 :          G3 . ($\displaystyle \varphi_{0}^{}$ - $\displaystyle \varphi_{3}^{}$) = - J1 - J2 (2.2)
node 1 :          G1 . ($\displaystyle \varphi_{1}^{}$ - $\displaystyle \varphi_{3}^{}$) = J1 (2.3)
node 2 :          G2 . ($\displaystyle \varphi_{2}^{}$ - $\displaystyle \varphi_{3}^{}$) = J2 (2.4)
node 3 :          G1 . ($\displaystyle \varphi_{3}^{}$ - $\displaystyle \varphi_{1}^{}$) + G2 . ($\displaystyle \varphi_{3}^{}$ - $\displaystyle \varphi_{2}^{}$) + G3 . ($\displaystyle \varphi_{3}^{}$ - $\displaystyle \varphi_{0}^{}$) = 0 (2.5)

or in matrix and vector notation

$ \underbrace{\left[ \begin{array}{cccc} G_{3} & & & -G_{3} \\  & G_{1} & & -G_{...
...} & G_{1} + G_{2} + G_{3} \end{array} \right] }_{\displaystyle \mathbb{Y}}^{}\,$ . $ \underbrace{\left[ \begin{array}{c} \varphi_{0}\\  \varphi_{1}\\  \varphi_{2}\\  \varphi_{3}\\  \end{array} \right] }_{\displaystyle \boldsymbol{\varphi}}^{}\,$ = $ \underbrace{\left[ \begin{array}{c} - J_{1} - J_{2}\\  J_{1}\\  J_{2}\\  0 \end{array} \right] }_{\displaystyle \mathbf{J}}^{}\,$   . (2.6)

The matrix $ \mathbb {Y}$ is the admittance matrix of the circuit. However, it is obvious that the equations (2.2) - (2.5) are not independent. In general it can be shown that for a circuit containing N nodes, exactly N - 1 independent KCL equations can be formulated [72]. As the reference voltage is fixed anyway, there are N - 1 equations for the remaining N - 1 unknowns. The absolute value of the reference voltage is of course arbitrary and normally assumed to be zero.

Another important issue is that $ \mathbb {Y}$ can be assembled by inspection on a per-element basis. The admittance matrices of the devices can simply be superpositioned to yield the circuit admittance matrix. Current sources contribute to the current source vector J. Therefore these contributions are commonly refered to as stamps as they can be directly stamped into the system matrix element per element without the need to consider the rest of the circuit.

The admittance matrix for a conductance G reads

$ \mathbb {Y}$G = $ \left[\vphantom{ \begin{array}{cc} G & -G\\  -G & G\\  \end{array} }\right.$$ \begin{array}{cc} G & -G\\  -G & G\\  \end{array}$ $ \left.\vphantom{ \begin{array}{cc} G & -G\\  -G & G\\  \end{array} }\right]$ (2.7)

whereas the contribution of an ideal current source J with the current J0 to the current source vector is given as

JJ = $ \left[\vphantom{ \begin{array}{c} J_{0}\\  - J_{0}\\  \end{array} }\right.$$ \begin{array}{c} J_{0}\\  - J_{0}\\  \end{array}$ $ \left.\vphantom{ \begin{array}{c} J_{0}\\  - J_{0}\\  \end{array} }\right]$ (2.8)

The stamps normally contain contributions to both $ \mathbb {Y}$ and J, hence a stamp for a current source with shunt conductance reads
yx, y $ \varphi_{1}^{}$ $ \varphi_{2}^{}$ J
n1 G - G J0
n2 - G G - J0
and is simply a superposition of a conductor and a current source.

Non-linear branch relations are handled by introducing linearized companion models. A general non-linear device with branch relation

I = I($ \varphi$) (2.9)

can be linearized using a Taylor expansion around the last iteration k which gives

I($\displaystyle \varphi$k + 1) = $\displaystyle \underbrace{\left. \frac{\partial \mathbf{I}}{\partial \boldsymbo...
...}} \right\vert _{\boldsymbol{\varphi}^{k}}}_{\displaystyle \mathbb{Y}^{k}}^{}\,$ .  $\displaystyle \varphi$k + 1 + $\displaystyle \underbrace{\left( \mathbf{I}(\boldsymbol{\varphi}^{k}) - \left. ...
...dsymbol{\varphi}^{k} \right)}_{\displaystyle \mathbf{J}_{\mathit{eq}}^{k}}^{}\,$ (2.10)
Jeqk = I($\displaystyle \varphi$k) - $\displaystyle \mathbb {Y}$k . $\displaystyle \varphi$k   . (2.11)

The partial derivative in the first term is the linearized admittance matrix $ \mathbb {Y}$k while the second term Jeqk is a constant current source which is independent of the new solution $ \varphi$k + 1. Hence, at each iteration each non-linear device can be replaced by linear conductances and current sources resulting in a Newton-like method. Considering the branch relation of a diode

ID = $\displaystyle \left[\vphantom{ \begin{array}{c} I_{D}\\ -I_{D} \end{array} }\right.$$\displaystyle \begin{array}{c} I_{D}\\ -I_{D} \end{array}$ $\displaystyle \left.\vphantom{ \begin{array}{c} I_{D}\\ -I_{D} \end{array} }\right]$ (2.12)

with


ID = IS . $\displaystyle \left(\vphantom{ \exp \left( \frac{V_{D}}{V_{T}} \right) - 1 }\right.$exp$\displaystyle \left(\vphantom{ \frac{V_{D}}{V_{T}} }\right.$$\displaystyle {\frac{V_{D}}{V_{T}}}$ $\displaystyle \left.\vphantom{ \frac{V_{D}}{V_{T}} }\right)$ - 1$\displaystyle \left.\vphantom{ \exp \left( \frac{V_{D}}{V_{T}} \right) - 1 }\right)$ (2.13)

one gets the following stamp
yx, y $ \varphi_{1}^{}$ $ \varphi_{2}^{}$ J
n1 gmk - gmk Jeqk
n2 - gmk gmk - Jeqk
with

gmk = $\displaystyle {\frac{I_{D}^{k} + I_{S}}{V_{T}}}$ (2.14)
Jeqk = IDk - gm . VDk (2.15)

For circuits containing only conductances and current sources, the condition of the resulting equation system is very good. In this case the NA produces diagonal-dominant matrices which are well suited for iterative solution procedures. Two additional devices can be modeled using the NA, namely a voltage controlled current source (cf. Section 2.3.3.8) and the gyrator (cf. Section 2.3.3.12). These devices destroy the diagonal dominance of the circuit admittance matrix.

One disadvantage of the NA is the inadequate treatment of voltage sources. Ideal voltage sources and current controlled elements cannot be modeled with this approach. However, a very large class of integrated circuits can be accommodated by adding a provision for grounded sources. Other workarounds for floating voltage sources have been proposed which can be quite awkward to handle [53,65]. To model current dependencies small or negative resistances have been introduced which result in numerical instabilities [65].


next up previous contents
Next: 2.2 Modified Nodal Approach Up: 2. Circuit Equations Previous: 2. Circuit Equations
Tibor Grasser
1999-05-31