Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

4.1 Introduction

In order to avoid immense time and financial effort for the production of deficiently designed prototypes of integrated circuits (ICs) , industrial circuit design uses mathematical models and simulations for predicting and analysing the physical behavior of electronical systems. Hence, redesigns and modifications of the systems can easily be carried out on a computer screen and tested by subsequent simulation runs. Thereby, analog circuits in general are modelled by systems of differential-algebraic equations (DAEs) , which are composed of component characteristics and Kirchhoff laws.

The development in fabrication technology of ICs during the last years led to an unprecedented increase of functionality of systems on a single chip. Nowadays, ICs have hundreds of millions of semiconductor devices arranged in several layers and low-level physical effects such as thermal interactions or electromagnetic radiation cannot be neglected anymore in order to guarantee a non-defective signal propagation. Mathematical models based on DAEs, however, have almost reached their limit and cannot model these effects accurately enough. Consequently, distributed elements for critical components such as semiconductor devices and transmission lines are used which yield supplementary model descriptions based on partial differential equations (PDEs) , where also the spatial dependencies are taken into account. The coupling with DAEs modelling the remaining parts of the circuit then leads to systems of partial differential-algebraic equations (PDAEs). A spatial semidiscretization finally results in very high-dimensional systems of DAEs, thus rendering analysis and simulation tasks unacceptably expensive and time consuming.

Since design verification requires a large number of simulation runs with different input excitations, for the reasons mentioned above, model order reduction (MOR) becomes inevitable. Dedicated techniques in various areas of research have been developed among which the most popular ones are numerical methods taylored for linear systems. Besides these, there also exist symbolic methods  [8, 10, 15, 19, 20], where symbolic means that besides the system’s variables also its parameters are given as symbols instead of numerical values (see Sect. 4.1.1). They indeed are costly to compute, but allow deeper analytical insights into functional dependences of the system’s linear and nonlinear behavior on its parameters by maintaining the dominant ones in their symbolic form. The basic idea behind these methods is a stepwise reduction of the original system by comparing its reference solution to the solution of the so far reduced system by using error functions which measure the difference between the two solutions. Since the resulting reduced system contains its parameters and variables in symbolic form, these methods can be seen as a kind of parametric model order reduction (pMOR). Compared to the standard parametric model order reduction techniques [4, 12], the symbolic ones can be additionally applied to nonlinear systems.

In order to avoid infeasibility of analysis and reduction of systems of ever-growing size and complexity, new strategies exploiting their hierarchical structure have been developed in the current research project. They further allow for a coupling of distinct reduction techniques for different parts of the entire circuits.

The corresponding algorithms have been implemented in Analog Insydes  [1], the software tool for symbolic modeling and analysis of analog circuits, that is developed and distributed by the Fraunhofer ITWMin Kaiserslautern, Germany. It is based on the computer algebra system Mathematica [21].

The new approach has been successfully applied with significant savings in computation time to both a differential and an operational amplifier typically used in industry. The reduced models also proved to be very robust with regard to different inputs such as highly non-smooth pulse excitations. Thus, the aptitude of the new hierarchical model reduction algorithm to circuits of industrial size has been shown.

4.1.1 Symbolic Modeling of Analog Circuits

In the field of analog electronic circuits, there are different ways of modeling of the devices’ behaviors. The approach Analog Insydes uses is the combination of Kirchhoff laws with symbolic device models to generate a symbolic system of differential-algebraic equations . As mentioned before, symbolic means here that besides the system’s variables also its parameters are given as symbols instead of numerical values.

For a better understanding, consider the following circuit consisting of a voltage source V, a resistor R and a diode D.

The resulting system of equations contains the following equations modeling the current of the circuit by using the resistor’s and diode’s model equations. Additional to the system variables, like V 1,V D and I, the parameters R, AREA, I S , k, q and G MIN are also given as symbols. This allows, besides the simulation after inserting the symbol’s values, to analyse this system symbolically. That means in this case, that we could just solve symbolically the system for the voltage in node 1 with respect to the parameters and the voltage at the diode:

$$\displaystyle{V _{1} = R \cdot \left (AREA \cdot I_{S}\left (e^{\frac{3.33167\cdot 10^{-3}V_{D}\cdot q} {k} } - 1\right ) + G_{MIN} \cdot V _{D}\right ) + V _{D}}$$

The next section follows the notes of [1618].

4.2 Hierarchical Modelling and Model Reduction

In general, electronic circuits consist of a coupling of blocks such as amplifiers, current mirrors, or polarization circuits. Each block itself might have such a structure or is at least a network of interconnected components like diodes, resistors, transistors, etc. Consequently, the entire circuit is a hierarchical network of interconnected subcircuits, where each of these subcircuits may be modelled differently, e.g. based on netlists, PDEs, or DAEs.

The main idea behind the new algorithm for hierarchical reduction developed is the exploitation of the circuit’s hierarchical structure in order to perform different reduction techniques on the distinct subcircuits. Besides a suitable choice of the methods according to the modelling of the corresponding subcircuits, this further allows for a faster processing of smaller subproblems if the administrative cost does not get out of hand. Furthermore, particularly in the case of symbolic model order reduction methods, like used in Analog Insydes, larger circuits become manageable at all.

Standard graph theoretical methods such as the modified nodal analysis (MNA) for transforming a circuit into a system of describing equations, however, lose the structural information available at circuit level. Therefore, we developed a new workflow for separate reductions of single subcircuits in the entire system, which uses information obtained from a previous simulation run. Since, in general, there is no relation between the errors of single nonlinear subsystems and the entire system available, we further introduced a new concept of subsystem sensitivities. By keeping track of the error on the output, which is resulting from the simplification of the subsystem, the sensitivities are used to measure the influence of single subsystems on the behavior of the entire circuit. Finally, these sensitivities are used to compute a ranking of subsystem reductions. In order to obtain a high degree of reduction for the entire system, it allows to replace the subcircuits by appropriate reduced models in an heuristically reasonable order. The details are explained in the following sections.

4.2.1 Workflow for Subsystem Reductions

Assume an electronic circuit Σ to be already hierarchically segmented into a set of m subcircuits T i and an interconnecting structure S:

$$\displaystyle{ \varSigma = \left (\,\{\,T_{i}\,\vert \,i = 1,\mathop{\ldots },m\,\},S\,\right ). }$$
(4.1)

As already mentioned, each T i itself might be recursively segmented into a set of subcircuits and a coupling structure. However, here we only consider a segmentation on the topmost “level 0”.

If one simply applies methods such as MNA to the circuit Σ in order to set up a set of describing equations, the resulting equations generally involve mixed terms from different subcircuits. In order to maintain the hierarchy information available on circuit level, in a first step the subcircuits are cut out from their connecting structure (cf. Fig. 4.1). Each subcircuit T is then connected to a test bench (a), i.e. a simulation test environment, where the voltage potentials at its terminals are recorded during a simulation run. For example, by simulating the original entire circuit, for each subcircuit T the interconnection of the remaining ones act as a test bench for T.

Fig. 4.1
figure 1

Subsystem reduction via test bench approach

Note that the reduced model generated by the described method depends strongly on the input signals used. Thus, the input signal of the circuit has to cover the technical requirements of the later usage.

In a second step, the terminals of T are connected to voltage sources that generate exactly the recorded voltage potentials

Footnote 1 (b). Hence, one has a closed circuit C T with a defined input-output behavior at the terminals of T. A method such as MNA is used to set up a describing system F T of equations

Footnote 2 for C T . Next, F T can be reduced using arbitrary appropriate symbolic or numeric reduction techniques (c).

In a last step, the voltage sources at the terminals of the reduced model \(\widetilde{F}_{T}\) are removed (d). Since the terminals of the subsystem are preserved during the reduction process, the original subcircuit T in Σ can easily be replaced by the reduced model \(\widetilde{F}_{T}\) of F T , thus using the same interconnecting structure S as introduced in (4.1). The entire procedure is repeated several times for each subcircuit T i in Σ, thus yielding collections of reduced models for each T i . The whole workflow is summarized in Algorithm 4.1.

Algorithm 4.1 Reduction of subcircuits

Let T = T i be a subcircuit in an electronic circuit \(\varSigma = \left (\,\{\,T_{i}\,\vert \,i = 1,\mathop{\ldots },m\,\},S\,\right )\).

  1. a.

    Connect T to a test bench and record the voltage potentials at its terminals during a simulation run applying a suitable input.

  2. b.

    Remove the test bench and connect grounded voltage sources to the terminals of T that generate exactly the recorded voltage potentials, thus having T isolated as a closed circuit C T ; further, set up a describing system of equations F T for C T .

  3. c.

    Reduce F T by using appropriate symbolic or numerical reduction techniques, where the voltages at all terminals of C T are the inputs and the currents (flowing inwards) are the outputs. Here a family of reduced subsystems with different size and approximation quality is generated.

  4. d.

    Remove the voltage sources at the terminals after the reduction and finally obtain a family of reduced subsystems, where each reduced subsystem \(\widetilde{F}_{T}\) serves as a behavioral model of T.

It should further be mentioned here that this approach only controls the errors at the terminals of the single subcircuits. A priori, one cannot guarantee a certain global error, i.e. the error on the output of the entire circuit Σ, when replacing the original subcircuits T i by reduced models \(\widetilde{F}_{T_{i}}\). Thus the following algorithms were introduced to control the global error during the process.

4.2.2 Subsystem Sensitivities

In general, there is no relation between the error of the entire system and those of its nonlinear subsystems known. Therefore, in order to use reduced models of appropriate degree for the subsystems, in this section, we investigate the influence of single subcircuits T i on the behavior of the entire circuit Σ given by (4.1). This offers a high degree of reduction also for Σ.

The goal here is to have an estimate of a subcircuit’s sensitivity, i.e. the sensitivity of Σ with respect to changes in the corresponding subcircuit’s behavior. Our novel approach measures the sensitivity by observing the influence of subcircuit reductions on the output of Σ and finally leads to a ranking of subcircuit reductions, i.e. an heuristically optimized order of subcircuit reductions.

Usually, the term sensitivity analysis in the background of electronic circuits means the influences of single components or system parameters on certain circuit or network variables. In that case, the absolute sensitivity of a variable z w.r.t. changes in a network parameter p is defined by

$$\displaystyle{ s_{a}(z,p) = \left.\frac{\partial z} {\partial p}\right \vert _{p=p_{0}}, }$$
(4.2)

whereas

$$\displaystyle{ s_{r}(z,p) = \left.p\,\frac{\partial z} {\partial p}\right \vert _{p=p_{0}}\, =\, p \cdot s_{a}(z,p) }$$
(4.3)

is the relative sensitivity of z w.r.t. p. In the two equations above, p 0 is the nominal value of p. Note that

$$\displaystyle{ s_{a}(z,p) \approx \left.\frac{\varDelta z} {\varDelta p}\right \vert _{p=p_{0}}\, =\, \frac{z -\widetilde{ z}} {p_{0} -\widetilde{ p}} }$$
(4.4)

is an approximation of s a using perturbed values \(\widetilde{z} = z(\,\widetilde{p}\,)\) and \(\widetilde{p}\) of z = z(p) and p = p 0. While z = z(p 0) corresponds to a simulation of Σ using the parameter p = p 0, \(\widetilde{z}\) is obtained by using the perturbed parameter \(p =\widetilde{ p}\) during the simulation run.

Since we cannot derive the output y of Σ w.r.t. one of its subcircuits, we imitate the meaning of Eq. (4.4) by replacing a single subcircuit T in (4.1) by a perturbed version \(\widetilde{T}\), i.e. by a reduced model \(\widetilde{F}_{T}\) of its describing system of equations. Note that any other subsystem in Σ remains original, only T is replaced by one of its reduced models. We then simulate the configuration of Σ at hand and compare the original output y, i.e. the reference solution, to the perturbed entire system’s output \(\widetilde{y}\).

By Definition 4.2.1, the sensitivity of the subcircuit T in Σ is defined as the vector of tuples containing the reduced models and the resulting error on the perturbed entire system. For simplicity, we will not distinguish between subcircuits and the corresponding describing subsystems based on equations and denote both of them simply by T.

Definition 4.2.1

Let \(\varSigma = \left (\,\{\,T_{i}\,\vert \,i = 1,\mathop{\ldots },m\,\},S\,\right )\) be an electronic circuit of interconnected subcircuits T i connected by a structure S. Let further T = T i be one of the subcircuits in Σ. The sensitivity of \(\boldsymbol{T}\) in Σ is the vector

$$\displaystyle{ s_{T} =\big ((\widetilde{T}^{(1)},E(y,y_{\,\,\widetilde{ T}^{(1)}})),\mathop{\ldots },(\widetilde{T}^{(m_{T})},E(y,y_{\,\,\widetilde{ T}^{(m_{T})}}))\big) }$$
(4.5)

that contains tuples of reduced models \(\widetilde{T}^{(\,j)}\) for T and the resulting error \(E(y,y_{\,\,\widetilde{T}^{(\,j)}})\) on the original output y of Σ. In this notation, \(y_{\,\,\widetilde{T}^{(\,j)}}\) is the output of the corresponding system

$$\displaystyle{ \varSigma _{\widetilde{T}^{(\,j)}} = \left (\,\{\,\widetilde{T}^{(\,j)}\,\} \cup \{\, T_{ i}\,\vert \,i = 1,\mathop{\ldots },m\,\}\setminus \{\,T\,\},S\,\right ), }$$
(4.6)

where T in comparison to the original circuit Σ is replaced by its jth reduced model \(\widetilde{T}^{(\,j)}\).

In this definition, \(\widetilde{T}^{(\,j)}\) denotes the jth reduced model of T which could be obtained by nonlinear symbolic model order reduction and an accepted error of 10% or by Arnoldi method and k iteration steps for example.

Note that the sensitivity of T involves systems \(\varSigma _{\widetilde{T}^{(\,j)}}\) which are the same as Σ itself except for exactly one subsystem, namely T, that is replaced by a reduced version \(\widetilde{T}^{(\,j)}\). Note further that these sensitivities depend again on the chosen input signals, as for the method introduced in Sect. 4.2.1.

Remarks 4.2.2

The sensitivity notion in Definition 4.2.1 can be further augmented by replacing the corresponding error \(E(y,y_{\,\,\widetilde{T}^{(\,j)}})\) by a more general ranking expression that takes also additional subsystem criteria, like system size and sparsity, into account [9].

The next section describes how to use these sensitivities in order to obtain an heuristically reasonable order of subsystem reductions for the derivation of a system, that consists of reduced subsystems. Basically, the entries of the sensitivity vector of each subsystem are ordered increasingly with respect to the error on y. Then, following this order, the corresponding reduced models are used to replace the subsystems in Σ.

4.2.3 Subsystem Ranking

In this section, we present a strategy that allows an appropriate replacement of the subsystems of Σ by their reduced models in a reasonable order. The new algorithm presented here uses a ranking for deriving a hierarchically reduced model of the entire system Σ.

The basic idea behind the algorithm is ordering the reduced models of each subsystem increasingly w.r.t. the error

Footnote 3 on the output y of Σ and subsequently performing the subsystem replacements according to this order. After each replacement, the accumulated error of the current subsystem configuration is checked by a simulation. If the user-given error bound ɛ for the error of the entire system Σ is exceeded, the current replacement is undone and the tested reduced model is deleted. Otherwise, the next replacement is performed and the procedure is repeated.

Let \(\widetilde{T}_{i}^{(\,j)}\) denote the jth reduced model of the subsystem T i . For each T i in Σ we define a vector L i which contains the entries of \(s_{T_{i}}\) and is increasingly ordered with respect to the error \(E(y,y_{\,\,\widetilde{T}_{i}^{(\,j)}})\). The original subsystems T i of Σ are then initialized by \(\widetilde{T}_{i}^{(0)}\). In each iteration of the hierarchical reduction algorithm, the subsystem \(\widetilde{T}_{p}^{(q)}\) that corresponds to the minimum entry

Footnote 4 of the vectors L i replaces the current (reduced) model \(\widetilde{T}_{p}^{(q_{0})}\) that is used for T p in Σ. If the resulting accumulated error on the output y of Σ exceeds the user-specified error bound ɛ, the corresponding latest subsystem replacement is undone, i.e. \(\widetilde{T}_{p}^{(q)}\) is reset to \(\widetilde{T}_{p}^{(q_{0})}\) in Σ. Furthermore, all reduced subsystems of subsystem T p are deleted, since we assume that worse rated subsystems would also exceed the error bound. Otherwise only the corresponding sensitivity value \((\widetilde{T_{p}}^{(q)},E(y,y_{\,\,\widetilde{T_{p}}^{(q)}}))\) of the tested reduced subsystem \(\widetilde{T}_{p}^{(q)}\) is deleted from the vector L p . This procedure is repeated until all the vectors L i are empty. For a better overview of this approach see Algorithm 4.2.

Algorithm 4.2 Heuristically reasonable order of subsystem replacements

Footnote 5

Remarks 4.2.3

Note that Algorithm 4.2 can further be improved, e.g. by a clustering of subsystem replacements, where reduced models that cause a similar error on y are bundled in a cluster. Thus, costly multiple simulations for computing the solution \(\widetilde{y}\) of the so far reduced entire system \(\widetilde{\varSigma }\) are avoided, since they are performed only once after a whole cluster of subsystem replacements is executed. In case the error bound is still not violated, we can continue with the next cluster of subsystem replacements. Otherwise, however, all replacements in the current cluster have to be rejected and it has to be subdivided for further processing.

Another idea for further improvements is the use of approximate simulations such as k-step solvers which quit the Newton iteration for computing the system’s solution after k steps. Thus, one obtains an approximate solution \(\widehat{y} \approx \widetilde{ y}\) for the output of the so far reduced system \(\widetilde{\varSigma }\) which can be used for the error check \(E(y,\widehat{y}) \leq \varepsilon\) instead of \(\widetilde{y}\).

4.2.4 Algorithm for Hierarchical Model Reduction

To combine all the considerations of the preceding sections, the algorithm for hierarchical model reduction exploiting the hierarchical structure of electronic circuits is set up. It is schematically shown in Fig. 4.2.

Fig. 4.2
figure 2

Schematic illustration of the full algorithm for hierarchical model reduction using subsystem sensitivities.

Remarks 4.2.4

Since electronic circuits even nowadays are designed in a modular way using building blocks of network devices and substructures such as current mirrors and amplifying stages, the hierarchical segmentation of an electronic circuit is given in a more or less natural way. Otherwise, the segmentation has to be made manually or by using pattern matching approaches[13] in order to detect substructures in the entire circuit.

Note that the presented algorithm (cf. Fig. 4.2) can be applied recursively to the subcircuit levels such that a hierarchically model order reduction results.

4.3 Implementations

The algorithms of the preceding sections have been completely implemented in Analog Insydes  [1] and the approach for hierarchical model reduction was fully automated. It is divided into three main procedures

  • ReduceSubcircuits,

  • SensitivityAnalysis, and

  • HierarchicalReduction

that have to be executed sequentially. Each of the above procedures takes several arguments among which there are some optional ones.

ReduceSubcircuits is called with the specification of an already segmented netlist of the circuit which is to be hierarchically reduced, the specification of the reduction method for each subcircuit, the simulation time interval necessary for recording the voltage potentials at the ports of the subcircuits, and several optional parameters. In accordance with the provided data, the procedure then computes the reduced models for all the specified subcircuits and appends them to the original circuit object. This offers an easy switching among the respective models for a single subcircuit.

The return value of ReduceSubcircuits, i.e. the hierarchically segmented circuit object together with the reduced models of each subcircuit, is then used as parameter of the function SensitivityAnalysis. In addition, the names of the reduced models, a specification of the output variables, the simulation time interval for the error check, and the error function itself to measure the error on the reference solution y are provided. The procedure computes the sensitivity vectors of each subcircuit and returns them ordered increasingly w.r.t. the error on y.

Finally, HierarchicalReduction needs a specification of the entire circuit and its reduced subcircuit models, the global error bound, the output variables, the sensitivities returned by SensitivityAnalysis, the simulation time interval necessary for the error check, and several optional arguments. Then the subsystem replacements are performed according to the sensitivities and the accumulated error is checked after each replacement (Algorithm 4.2). The procedure terminates when all sensitivity lists have been processed and deleted.

In addition to the above, there have been implemented several data structures and operators for their manipulation, as well as some well-known reduction algorithms, transmission line models—based on a discretization of a PDE model—and further components based on general state space systems. We further implemented some environments to test the above procedures and functionalities. However, we will not go into detail here, for an overview we refer to [16].

4.4 Applications

In order to demonstrate the large potential of the new hierarchical reduction approach, it is applied in time domain to two analog circuit examples that are typical representants of components used in industrial circuit design. The results of the hierarchical reduction of the two circuits are compared to the direct non-hierarchical approach. Furthermore, some additional input excitations are applied to the circuits in order to show the robustness of the derived reduced models.

Note that we present here the application of the introduced methods on circuits containing strongly nonlinear devices to demonstrate the ability of the approach in the field of nonlinear analog circuits.

4.4.1 Differential Amplifier

The differential-amplifier circuit shown in Fig. 4.3 consists of five subcircuits DUT, DUT 2, L 1, L 8, and L 9, where the latter three ones are transmission lines connecting the supply voltage sources VCC and VEE and the input voltage source V1 with the remaining parts of the circuit.

Fig. 4.3
figure 3

Differential amplifier with its intuitive hierarchical segmentation into five subcircuits DUT, DUT 2, L 1, L 8, and L 9.

For the modelling of the transmission lines, we take a discretized PDE model, namely, the telegrapher’s equations (cf., e.g., [57, 11]), with 20 line segments each. While VCC and VEE generate constant voltage potentials of 12 V and − 12 V, respectively, the input voltage generated by V1 is a sine wave excitation with an amplitude of 2 V and a frequency of 100 kHz. Finally, the computations are performed on a time interval \(\mathbb{I} = [0.\,\text{s},10^{-5}\,\text{s}]\).

Using MNA to set up a system of describing DAEs yields 167 equations containing 645 terms (on “level 0”). A non-hierarchical symbolic reduction of the entire system then needs approximately 2 h and 11 min,

Footnote 6 where most of that time ( ≈ 95%) is needed for the computation of the transient term ranking.

Footnote 7 Due to this, the computational costs are approximately the same for all choices of the error bound ɛ. The error function used first discretizes the time interval \(\mathbb{I}\) to a uniform grid of 100 points and then takes the maximum absolute difference of the two solutions on this grid as a measure for the error.

With ɛ equal to 3% the system is reduced to 124 equations and 416 terms, while a permitted error of 10% narrows these numbers down to 44 equations and 284 terms. The results are shown in Fig. 4.4. Note also that the error bound of 10% is fully exploited.

Fig. 4.4
figure 4

Solution of the original (solid) and the non-hierarchically reduced system (dotted) allowing 3% (left) and 10% (right) maximum error, respectively. The input V1 is 2 ⋅ Sin(2π105 t) Volts

In contrast to the immense time costs of the non-hierarchical approach, the new algorithm for hierarchical reduction reduces the entire system in only 4 min and 50 s. The subcircuits DUT and DUT 2 are reduced symbolically by using a sweep of error bounds

$$\displaystyle{ sw =\{ 1\%,\,10\%,\,50\%,\,90\%,\,100\%\}, }$$
(4.7)

such that each subsystem yields 5 reduced subsystems. The three transmission lines L 1, L 8, and L 9 are reduced numerically by applying Arnoldi’s algorithm [2, 3]. For L 1 there are five reduced models computed by performing the Arnoldi iteration for up to 5 steps, and for L 8 and L 9 there are made only up to 3 steps, thus yielding three reduced models each for L 8, and L 9.

For ɛ = 3% the resulting reduced overall system contains 62 equations with 315 terms, and ɛ = 10% leads to a reduced overall system with 60 equations and 249 terms. The solutions of the original and the respective reduced systems are shown in Fig. 4.5 together with the corresponding error plots.

Fig. 4.5
figure 5

Left: Solution of the original (solid) and the reduced system (dotted) allowing 3% (first row) and 10% (second row) maximum error, respectively. Right: The corresponding error plots. The input V1 is 2 ⋅ Sin(2π105 t) Volts

In this case we conclude that the hierarchical reduction approach is more than 26 times faster than the non-hierarchical one. Also the number of equations of the reduced model in the 3% error case could be halved. Moreover, by applying further input excitations to both the original and the hierarchically reduced system with ɛ = 3%, it turns out that the derived model is very robust, even w.r.t. highly non-smooth pulse excitations (cf. Fig. 4.6). Note further that the simulation is accelerated approximately by a factor of 5.

Fig. 4.6
figure 6

Left: Solution of the original (solid) and the reduced system (dotted, ɛ = 3%) together with the input excitation (dashed). Right: The corresponding error plots

4.4.2 Reduction of the Transmission Line L 1 by Using an Adapted PABTEC Algorithm

The tool PABTEC  [14] uses the Balanced Truncation reduction technique to reduce the linear parts of an analog circuit. Please refer to Chap. 2.6 for further informations about this software.

To demonstrate the coupling of the introduced algorithm with a numeric model order reduction method , we use PABTEC to reduce the linear transmission line L 1. The remaining subcircuits DUT, DUT 2, L 8, and L 9 have been reduced by the same methods shown in the example before. In doing so, the original entire system consists of 191 equations containing 695 terms. Applying the hierarchical reduction algorithm with error bounds ɛ = 3% and ɛ = 10% then needs about 8 min and 20 s and yields systems with 96 equations and 2114 terms and 84 equations and 1190 terms, respectively. The results of their simulation (speed-up by a factor of approximately 5) are shown in Fig. 4.7.

Fig. 4.7
figure 7

Left: Solution of the original (solid) and the reduced system (dotted) together with the input excitation (dashed). Right: The corresponding error plots. The first row corresponds to the reduced system obtained by allowing an error of ɛ = 3%, while the second row shows the results for ɛ = 10%. The input V1 is 2 ⋅ Sin(2π105 t) Volts

4.4.3 Operational Amplifier

The second circuit example to which we apply the new algorithms is the operational amplifier op741 shown in Fig. 4.8.

Fig. 4.8
figure 8

Operational amplifier op741 composed of seven subcircuits CM1–3, DP, DAR, LS, PP

It contains 26 bipolar junction transistors (BJT) besides several linear components and is hierarchically segmented into seven subcircuits CM1–3, DP, DAR, LS, and PP. For a detailed description of their functionality in the interconnecting structure we refer to [16, Appendix C].

The goal is a symbolic reduction of the entire circuit in time domain with an overall error bound of ɛ = 10%. While the input voltage source Vid provides a sine wave excitation of 0. 8 V and 1 kHz frequency on a time interval \(\mathbb{I} = [0\,\mathrm{s},\,0.002\,\mathrm{s}]\) to the system, its output is specified by the voltage potential of node 26. The input together with the corresponding output, i.e. the reference solution, is shown in Fig. 4.9.

Fig. 4.9
figure 9

Input voltage excitation (left) and the corresponding reference solution (right) of the operational amplifier op741

Note that the reference solution is pulse-shaped and, thus, the standard error function used for the differential amplifier in the preceding sections may lead to large errors for small delays in jumps of the solution. Hence, even with a prescribed error bound of 10%, the system might not be reduced at all. In order to cope with these problems, here we use the \(\mathscr{L}^{2}\)-norm as error function.

Using MNA to set up a system of describing DAEs for the entire system yields 215 equations and 1050 terms. The direct non-hierarchical symbolic reduction method needs more than 10. 5 h and yields a system containing 97 equations and 593 terms. At the same time, providing a sweep of error bounds

$$\displaystyle{ sw =\{ 2\%,\,10\%,\,20\%,\,30\%,\,50\%,\,70\%,\,90\%,\,100\%\} }$$
(4.8)

for the separate symbolic reduction of all seven subcircuits and applying the hierarchical reduction algorithm needs only 2 h and 22 min. The resulting system, however, consists of 153 equations and 464 terms, which can be narrowed down to 139 equations and 362 terms by slight manual improvements

Footnote 8 of the hierarchical reduction algorithm.

Considering the obtained systems as interim solutions and applying a second non-hierarchical symbolic reduction then reduces the size drastically and leads to a model with only 34 equations and 92 terms. Simultaneously, there are almost no further changes for the non-hierarchically reduced system with 97 equations. Note that the additional time cost is less then 1. 5 h, while the simulation time of the “hybrid” reduced model is significantly decreased.

Figure 4.10 offers a qualitative impression of the results obtained by the hybrid approach. Furthermore, earlier results involved a newly designed alternative error function E which is less sensitive with respect to small delays in jumps of the system’s solution.

Fig. 4.10
figure 10

Output of the original (solid) and the hybrid reduced entire system (dotted)

Table 4.1 provides an overview of the best results obtained by the three different approaches. See also Fig. 4.11 which offers some details about the accuracy, time costs for simulation, and number of equations and terms of the different reduced models. We will not go into detail here, for further information we refer to [16] instead.

Fig. 4.11
figure 11

Summary of the reduced models of the op741 amplifier obtained by the three different reduction approaches. The boxes contain the number of equations/terms of the reduced models, the time costs of a simulation using the original sine wave excitation, and the error on the output V$26 of the original amplifier

Table 4.1 Overview of the results of the reduction of the operational amplifier op741

With a view towards the robustness of the derived models, we apply some further input excitations, namely, a sine wave with 3 kHz frequency, a sum of sine waves of 250, 500, and 2000 Hz, and a pulse excitation of 250 Hz. In addition to almost perfectly coinciding output curves of the corresponding reduced models (cf. Fig. 4.12), the speed-up in simulation time is up to a factor of 19, see Table 4.2. The presented systems are identified by their number of equations and terms.

Fig. 4.12
figure 12

Three different input excitations (left) and the resulting outputs of both the original (solid) and the hybrid reduced system (dashed). (a) A voltage pulse. (b) Output results for the voltage pulse. (c) A sine wave with frequency 3000 Hz. (d) Outputs applying the input in (c). (e) A sum of sine waves. (f) The outputs for the sum of sine waves

Table 4.2 Speed-up of simulation of a hybrid reduced entire system w.r.t. the original one

4.5 Conclusions

To conclude this chapter, we briefly summarize the results: The new hierarchical reduction approach offers enormous savings in computation time, a significant speed-up in system simulations, and yields good reduced models w.r.t. the error, the number of equations and terms of the original system. Moreover, even for highly non-smooth pulse excitations, the reduced models turn out to be very robust. The developed methods were applied to two model classes, circuits consisting of nonlinear subcircuits and circuits containing subcircuits modelled by PDEs, that demonstrated the large potential of the new algorithms.