Subsections

Energy-storage components

As already mentioned it is essential for the transient analysis to consider the energy storing effects of components. The following section describes how the modified nodal analysis can be used to take this into account.

Capacitor

The relation between current and voltage in terms of a differential equation for an ideal capacitor is

$\displaystyle I_C(t) = C\cdot \dfrac{d V_C}{d t}$ (6.57)

With

$\displaystyle \dfrac{I_C(V, t)}{C} = \dfrac{d V_C}{d t} = f(x,t)$ (6.58)

the discussed integration formulas (6.7), (6.10), (6.17) and (6.23) can be applied to the problem. Rewriting them in an explicit form regarding the next integration current results in

$\displaystyle I_C^{n+1}$ $\displaystyle = \dfrac{C}{h^{n}} V_C^{n+1} - \dfrac{C}{h^{n}} V_C^{n}$   (backward Euler) (6.59)
$\displaystyle I_C^{n+1}$ $\displaystyle = \dfrac{2C}{h^{n}} V_C^{n+1} - \dfrac{2C}{h^{n}} V_C^{n} - I_C^n$   (trapezoidal) (6.60)
$\displaystyle I_C^{n+1}$ $\displaystyle = \dfrac{C}{b_{-1}\cdot h^{n}} V_C^{n+1} - \dfrac{a_0\cdot C}{b_{...
...{n}} V_C^{n-1} - \ldots - \dfrac{a_{k-1}\cdot C}{b_{-1}\cdot h^{n}} V_C^{n-k+1}$ (6.61)
$\displaystyle I_C^{n+1}$ $\displaystyle = \underbrace{\dfrac{C}{b_{-1}\cdot h^{n}}}_{g_{eq}} V_C^{n+1} \u...
...b_1}{b_{-1}} I_C^{n-1} - \ldots - \dfrac{b_{k-2}}{b_{-1}} I_C^{n-k+2}}_{I_{eq}}$ (6.62)

Each of these equations can be rewritten as

$\displaystyle I_C^{n+1} = g_{eq}\cdot V_C^{n+1} + I_{eq}$ (6.63)

which leads to the following companion model representing a current source with its accompanied internal resistance.

Figure 6.5: companion equivalent circuit of a capacitor during transient analysis
\includegraphics[width=0.35\linewidth]{transcap}

Thus the complete MNA matrix equation for an ideal capacitance writes as follows.

$\displaystyle \begin{bmatrix}+g_{eq} & -g_{eq}\\ -g_{eq} & +g_{eq}\\ \end{bmatr...
...\\ V_2^{n+1}\\ \end{bmatrix} = \begin{bmatrix}-I_{eq}\\ +I_{eq}\\ \end{bmatrix}$ (6.64)

Inductor

The relation between current and voltage in terms of a differential equation for an ideal inductor can be written as

$\displaystyle V_L(t) = L\cdot \dfrac{d I_L}{d t}$ (6.65)

With

$\displaystyle \dfrac{V_L(I, t)}{L} = \dfrac{d I_L}{d t} = f(x,t)$ (6.66)

the discussed integration formulas (6.7), (6.10), (6.17) and (6.23) can be applied to the problem. Rewriting them in an explicit form regarding the next integration voltage results in

$\displaystyle V_L^{n+1}$ $\displaystyle = \dfrac{L}{h^{n}} I_L^{n+1} - \dfrac{L}{h^{n}} I_L^{n}$ (6.67)
$\displaystyle V_L^{n+1}$ $\displaystyle = \dfrac{2L}{h^{n}} I_L^{n+1} - \dfrac{2L}{h^{n}} I_L^{n} - V_L^n$ (6.68)
$\displaystyle V_L^{n+1}$ $\displaystyle = \dfrac{L}{b_{-1}\cdot h^{n}} I_L^{n+1} - \dfrac{a_0\cdot L}{b_{...
...{n}} I_L^{n-1} - \ldots - \dfrac{a_{k-1}\cdot L}{b_{-1}\cdot h^{n}} I_L^{n-k+1}$ (6.69)
$\displaystyle V_L^{n+1}$ $\displaystyle = \underbrace{\dfrac{L}{b_{-1}\cdot h^{n}}}_{r_{eq}} I_L^{n+1} \u...
...b_1}{b_{-1}} V_L^{n-1} - \ldots - \dfrac{b_{k-2}}{b_{-1}} V_L^{n-k+2}}_{V_{eq}}$ (6.70)

Each of these equations can be rewritten as

$\displaystyle V_L^{n+1} = r_{eq}\cdot I_L^{n+1} + V_{eq}$ (6.71)

which leads to the following companion model representing a voltage source with its accompanied internal resistance.

Figure 6.6: companion equivalent circuit of a inductor during transient analysis
\includegraphics[width=0.375\linewidth]{transind}

Thus the complete MNA matrix equation for an ideal inductor writes as follows.

$\displaystyle \begin{bmatrix}0 & 0 & +1\\ 0 & 0 & -1\\ +1 & -1 & -r_{eq}\\ \end...
...+1}\\ I_L^{n+1}\\ \end{bmatrix} = \begin{bmatrix}0\\ 0\\ V_{eq}\\ \end{bmatrix}$ (6.72)

It is also possible to model the ideal inductor as a current source with an internal resistance which would yield a similar equivalent circuit as for the capacitor. But with the proposed model it is possible to use alike computation schemes for capacitors and inductors. Charges become flues, capacitances become inductances and finally voltages become currents and the other way around. Everything else (especially the coeffcients in the integration formulas) can be reused.

Coupled Inductors

In a non-ideal transformer, there are two (or more) coupled inductors. The model for the transient simulation is not very different from the one of a single inductor. In addition to each coil, the mutal inductance has to be counted for.

  $\displaystyle V_{L1} = L_1\cdot\dfrac{d I_{L1}}{d t} + M_{12}\cdot\dfrac{d I_{L2}}{d t} + I_{L1}\cdot R_1$ (6.73)
with$\displaystyle \qquad$ $\displaystyle M_{12} = k\cdot\sqrt{L_1\cdot L_2}$ (6.74)
and$\displaystyle \qquad$ $\displaystyle R_1$   ohmic resistance of coil 1 (6.75)

So it is:

$\displaystyle V_{L1}^{n+1} = r_{eq11}\cdot I_{L1}^{n+1} + r_{eq12}\cdot I_{L2}^{n+1} + V_{eq}(I_{L1}^n, I_{L2}^n, ...)$ (6.76)

Note that $ r_{eq11}$ includes the ohmic resistance $ R_1$. For backward Euler, it therefore follows:

$\displaystyle V_{L1}^{n+1} = \underbrace{\left(\dfrac{L_1}{h^n} + R_1 \right)}_...
...cdot I_{L1}^n - \dfrac{k\cdot\sqrt{L_1\cdot L_2}}{h^n}\cdot I_{L2}^n}_{V_{eq1}}$ (6.77)

The voltage across the secondary coil $ V_{L2}^{n+1}$ goes likewise by just changing the indices. Finally, the MNA matrix writes (port numbers are according to figure 9.2):

$\displaystyle \begin{bmatrix}0 & 0 & 0 & 0 & +1 & 0\\ 0 & 0 & 0 & 0 & 0 & +1\\ ...
...end{bmatrix} = \begin{bmatrix}0\\ 0\\ 0\\ 0\\ V_{eq1}\\ V_{eq2}\\ \end{bmatrix}$ (6.78)

These equations can also give an idea on how to model more than two coupled inductors. For three coupled inductors, the voltage across coil 1 writes:

  $\displaystyle V_{L1} = L_1\cdot\dfrac{d I_{L1}}{d t} + M_{12}\cdot\dfrac{d I_{L2}}{d t} + M_{13}\cdot\dfrac{d I_{L3}}{d t} + I_{L1}\cdot R_1$ (6.79)
  $\displaystyle V_{L2} = L_2\cdot\dfrac{d I_{L2}}{d t} + M_{12}\cdot\dfrac{d I_{L1}}{d t} + M_{23}\cdot\dfrac{d I_{L3}}{d t} + I_{L2}\cdot R_2$ (6.80)
  $\displaystyle V_{L3} = L_3\cdot\dfrac{d I_{L3}}{d t} + M_{13}\cdot\dfrac{d I_{L1}}{d t} + M_{23}\cdot\dfrac{d I_{L2}}{d t} + I_{L3}\cdot R_3$ (6.81)
with$\displaystyle \qquad$ $\displaystyle M_{12} = k_{12}\cdot\sqrt{L_1\cdot L_2}$ (6.82)
and$\displaystyle \qquad$ $\displaystyle M_{13} = k_{13}\cdot\sqrt{L_1\cdot L_3}$ (6.83)
and$\displaystyle \qquad$ $\displaystyle M_{23} = k_{23}\cdot\sqrt{L_2\cdot L_3}$ (6.84)

This can be easily extended to an arbitrary number of coupled inductors.

Depletion Capacitance

For non-constant capacitances, especially depletion capacitance used in non-linear devices, instead of eq. (6.57) the following equation holds.

$\displaystyle I_C(t) = \dfrac{d Q}{d t}$ (6.85)

With

$\displaystyle d Q = C\cdot d V_C \;\;\;\; \textrm{ and } \;\;\;\; \left.\dfrac{d V_C}{d Q}\right\vert _{Q^{(m)}} = \dfrac{1}{C}$ (6.86)

equation (3.29) can be written as

  $\displaystyle V_C^{(m + 1)} = V_C^{(m)} - \dfrac{Q\left(V_C^{(m)}\right)}{C^{(m)}}$ (6.87)
$\displaystyle \Rightarrow\qquad$ $\displaystyle \left( V_C^{(m + 1)} - V_C^{(m)} \right) \cdot C^{(m)} = - Q^{(m)}$ (6.88)

yielding a similar iterative algorithm as already used for the non-linear DC analysis described in section 3.3.1 on page [*]. The indices $ ~^{(m)}$ indicated the $ m$-th Newton-Raphson iteration. With this knowledge at hand it is possible to rewrite the explicit formula for the backward Euler integration (6.59), i.e. the next iteration step $ Q^{m+1}$ is replaced by the Newton-Raphson formula as follows.

\begin{displaymath}\begin{split}I_C^{n+1,m+1} &= \dfrac{Q^{n+1,m+1} - Q^{n}}{h^{...
...\cdot (V_C^{n+1,m+1} - V_C^{n+1,m}) - Q^{n} \right) \end{split}\end{displaymath} (6.89)

The double indices now indicate the $ n$-th integration step and the $ m$-th Newton-Raphson iteration. The same can be done for the other integration formulas and results also in a similar equivalent companion model as shown in fig. 6.5.

The capacitance $ C$ and the charge $ Q$ within the above equations is computed according to the appropriate (non-linear) model formulations.

\begin{displaymath}\begin{split}Q = C_0\cdot \Biggl( & + \dfrac{V_J\cdot \left(1...
...}} \cdot\left(V_C^2 - F^2\cdot V_J^2\right) \Biggr) \end{split}\end{displaymath} (6.90)

and

$\displaystyle C = \dfrac{d Q}{d V_C} = \dfrac{C_0}{\left(1 - F\right)^M}\cdot \...
...dfrac{M\cdot \left(V_C - F\cdot V_J\right)}{V_J\cdot \left(1 - F\right)}\right)$ (6.91)

for a depletion capacitance with $ V_C > F\cdot V_J$ and for $ V_C <
F\cdot V_J$ those capacitances yield

$\displaystyle Q = \dfrac{C_0\cdot V_J}{1-M}\cdot\left(1-\left(1 - \dfrac{V_C}{V_J}\right)^{1-M}\right)$ (6.92)

with

$\displaystyle C = \dfrac{d Q}{d V_C} = C_{0}\cdot \left(1 - \dfrac{V_{C}}{V_{J}}\right)^{-M}$ (6.93)

Diffusion Capacitance

The current through a diffusion capacitance can be approximated by

$\displaystyle I_C(t) = \tau_D \dfrac{d I_D}{d t}$ (6.94)

whence $ \tau_D$ specifies the transit time through a pn-junction. The above formula can be rewritten as

$\displaystyle I_C(t) = \tau_D \dfrac{d I_D}{d V_C}\cdot \dfrac{d V_C}{d t} = \tau_D \cdot g_D \cdot \dfrac{d V_C}{d t}$ (6.95)

which means that eq. (6.89) can be used here, too. Also the formulas for the other integration methods can be easily rewritten and the equivalent companion model shown in fig. 6.5 is valid as well.

The capacitance $ C$ and the charge $ Q$ for a diffusion capacitance of a pn-junction according to the most model formulations write as follows.

$\displaystyle Q$ $\displaystyle = \tau_D\cdot I_D$ (6.96)
$\displaystyle C = \dfrac{d Q}{d V_C}$ $\displaystyle = \tau_D\cdot g_D$ (6.97)

MOS Gate Capacitances

The MOS gate capacitances are not constant values with respect to voltages (see section 10.5.3 on page [*]). The capacitance values can best be described by the incremental capacitance:

$\displaystyle C(V) = \dfrac{d Q(V)}{d V}$ (6.98)

where $ Q(V)$ is the charge on the capacitor and $ V$ is the voltage across the capacitor.

The formula for calculating the differential is difficult to derive (because not given in the Meyer capacitance model). Furthermore, the voltage is required as the accumulated capacitance over time. The timewise charge formula is:

$\displaystyle Q(V) = \int^{V}_{0} C(V)\cdot dV$ (6.99)

And for small intervalls:

$\displaystyle Q(V) = \int^{V^{n+1}}_{V^{n}} C(V)\cdot dV$ (6.100)

The integral has been approximated in SPICE by:

$\displaystyle Q^{n+1} = \left(V^{n+1} - V^{n}\right)\cdot \dfrac{C(V^{n+1}) + C(V^{n})}{2}$ (6.101)

This last formula is the trapezoidal rule for integration over two points. The charge is approximated as the average capacitance times the change in voltage. If the capacitance is nonlinear, this approximation can be in error. To estimate the charge accurately, use Simpson's numerical integration rule. This method provides charge conservation control.

$\displaystyle Q^{n+1} = \left(V^{n+1} - V^{n}\right)\cdot \dfrac{C(V^{n+1}) + 4 C(V^{n}) + C(V^{n-1})}{6}$ (6.102)


This document was generated by Stefan Jahn on 2007-12-30 using latex2html.