D2.14 Public report on Improved Initial Conditions for Harmonic Balance in solving free oscillatory problems

Similar documents
EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science. CASA-Report April 2011

Computing Phase Noise Eigenfunctions Directly from Steady-State Jacobian Matrices

Advanced Computational Methods for VLSI Systems. Lecture 4 RF Circuit Simulation Methods. Zhuo Feng

A New Simulation Technique for Periodic Small-Signal Analysis

WHEN studying distributed simulations of power systems,

RANA03-02 January Jacobi-Davidson methods and preconditioning with applications in pole-zero analysis

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department ofmathematics and Computing Science

Model Order Reduction

Stability and Passivity of the Super Node Algorithm for EM Modeling of IC s

Nonlinear Circuit Analysis in Time and Frequency-domain Example: A Pure LC Resonator

C M. Bergische Universität Wuppertal. Fachbereich Mathematik und Naturwissenschaften

Math 307 Learning Goals. March 23, 2010

A Circuit Reduction Technique for Finding the Steady-State Solution of Nonlinear Circuits

Jacobi-Davidson methods and preconditioning with applications in pole-zero analysis Rommes, J.; Vorst, van der, H.A.; ter Maten, E.J.W.

Applied Linear Algebra

Quiescent Steady State (DC) Analysis The Newton-Raphson Method

The Linear Induction Motor, a Useful Model for examining Finite Element Methods on General Induction Machines

Jacobi-Davidson methods and preconditioning with applications in pole-zero analysis

Simulating Multi-tone Free-running Oscillators with Optimal Sweep Following

Limit Cycles in High-Resolution Quantized Feedback Systems

Math 307 Learning Goals

A Novel Linear Algebra Method for the Determination of Periodic Steady States of Nonlinear Oscillators

Digital linear control theory for automatic stepsize control

Using Hankel structured low-rank approximation for sparse signal recovery

On Solving Large Algebraic. Riccati Matrix Equations

Algorithms for Periodic Steady State Analysis on Electric Circuits

The Harmonic Balance Method

The application of preconditioned Jacobi-Davidson methods in pole-zero analysis

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

Recent developments for MOR in the electronics industry

Linear Algebra Practice Problems

MULTIVARIABLE CALCULUS, LINEAR ALGEBRA, AND DIFFERENTIAL EQUATIONS

A New Approach for Computation of Timing Jitter in Phase Locked Loops

Gradient method based on epsilon algorithm for large-scale nonlinearoptimization

Implementing Nonlinear Oscillator Macromodels using Verilog-AMS for Accurate Prediction of Injection Locking Behaviors of Oscillators

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science. CASA-Report June 2009

ODEs and Redefining the Concept of Elementary Functions

Variational Methods for Solving Warped Multirate PDAEs

Aldi Mucka Tonin Dodani Marjela Qemali Rajmonda Bualoti Polytechnic University of Tirana, Faculty of Electric Engineering, Republic of Albania

Applied Linear Algebra in Geoscience Using MATLAB

EE5900 Spring Lecture 5 IC interconnect model order reduction Zhuo Feng

Contents. Preface to the Third Edition (2007) Preface to the Second Edition (1992) Preface to the First Edition (1985) License and Legal Information

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Accurate Fourier Analysis for Circuit Simulators

Math 411 Preliminaries

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

An Algorithmic Framework of Large-Scale Circuit Simulation Using Exponential Integrators

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

Enforcing Passivity for Admittance Matrices Approximated by Rational Functions

DELFT UNIVERSITY OF TECHNOLOGY

An Efficient Graph Sparsification Approach to Scalable Harmonic Balance (HB) Analysis of Strongly Nonlinear RF Circuits

Math 1553, Introduction to Linear Algebra

Rational Krylov methods for linear and nonlinear eigenvalue problems

LINEAR ALGEBRA KNOWLEDGE SURVEY

CHAPTER 3. Matrix Eigenvalue Problems

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

APPLIED NUMERICAL LINEAR ALGEBRA

Basic. Theory. ircuit. Charles A. Desoer. Ernest S. Kuh. and. McGraw-Hill Book Company

State and Parameter Estimation Based on Filtered Transformation for a Class of Second-Order Systems

MAGNETIC HYSTERESIS MODELING AND VISUALIZATION FOR SPICE BASED ENVIRONMENTS

COMPARISON OF TWO METHODS TO SOLVE PRESSURES IN SMALL VOLUMES IN REAL-TIME SIMULATION OF A MOBILE DIRECTIONAL CONTROL VALVE

Numerical Methods I Solving Nonlinear Equations

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

ON PERTURBATION OF BINARY LINEAR CODES. PANKAJ K. DAS and LALIT K. VASHISHT

MODELLING OF RECIPROCAL TRANSDUCER SYSTEM ACCOUNTING FOR NONLINEAR CONSTITUTIVE RELATIONS

NORCO COLLEGE SLO to PLO MATRIX

Computing Periodic Orbits and their Bifurcations with Automatic Differentiation

Numerical Methods in Matrix Computations

Kasetsart University Workshop. Multigrid methods: An introduction

Research Article Stabilization Analysis and Synthesis of Discrete-Time Descriptor Markov Jump Systems with Partially Unknown Transition Probabilities

Simulation of RF integrated circuits. Dr. Emad Gad

Numerical methods part 2

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

Generalized Shifted Inverse Iterations on Grassmann Manifolds 1

Classic Linear Methods Provisos Verification for Oscillator Design Using NDF and Its Use as Oscillators Design Tool

Applied Linear Algebra in Geoscience Using MATLAB

Partial Eigenvalue Assignment in Linear Systems: Existence, Uniqueness and Numerical Solution

AN INDEPENDENT LOOPS SEARCH ALGORITHM FOR SOLVING INDUCTIVE PEEC LARGE PROBLEMS

Transient Sensitivity Analysis CASA Day 13th Nov 2007 Zoran Ilievski. Zoran Ilievski Transient Sensitivity Analysis

A Wavelet-Balance Approach for Steady-State Analysis of Nonlinear Circuits

NUMERICAL METHODS USING MATLAB

Bifurcations in Switching Converters: From Theory to Design

The Phasor Solution Method

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

Electrical Circuits I

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

Towards Reduced Order Modeling (ROM) for Gust Simulations

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Application of the Shannon-Kotelnik theorem on the vortex structures identification

Period-Doubling Analysis and Chaos Detection Using Commercial Harmonic Balance Simulators

Generalized Pencil Of Function Method

Solving Large Nonlinear Sparse Systems

Efficient and Accurate Rectangular Window Subspace Tracking

Linear Algebra in Numerical Methods. Lecture on linear algebra MATLAB/Octave works well with linear algebra

June 2011 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations

Properties of Matrices and Operations on Matrices

/$ IEEE

The Lanczos and conjugate gradient algorithms

Transcription:

Project: ICESTARS Project Number: FP7/2008/ICT/214911 Work Package: WP2 Task: T2.3 Deliverable: D2.14 (Version 1.2) Scheduled: T 0 + 32 (Version 1.0) T0 + 34 (Version 1.2) Title: D2.14 Public report on Improved Initial Conditions for Harmonic Balance in solving free oscillatory problems This document contains the combined TKK/AALTO and NXP contribution. It updates Version 1.2 of the report, which was submitted July 31, 2010. Version 1.0 contained the TKK/AALTO contribution. Version 1.2 also contains the NXP contribution. Authors: Jarmo Virtanen (jarmo.virtanen@tkk.fi), Mikko Honkala (mikko.a.honkala@tkk.fi), Mikko Hulkkonen (mikko.hulkkonen@tkk.fi), Jan ter Maten (E.J.W.ter.Maten@tue.nl) Corresponding author Affiliations: TKK/AALTO, NXP Semiconductors Date: November 26, 2010

D2.14 Public report on improved initial conditions for Harmonic Balance in solving free oscillatory problems Jarmo Virtanen (TKK/AALTO), Mikko Honkala (TKK/AALTO), Mikko Hulkkonen (TKK/AALTO) & Jan ter Maten (NXP Semiconductors) September 30, 2010 Contents 1 Introduction 3 2 Methods in use 4 3 Initialization of APLAC HB Oscillator Analysis by using transient data 5 3.1 Setting Initial Conditions for HB Analysis.................... 6 3.2 Simulation Results............................... 6 4 Vector extrapolation applied to the Poincaré method 8 4.1 Accelerated Poincaré-map method....................... 8 4.2 Simulation result................................. 9 5 PSS-methods based on generalized eigenvectors 9 6 Conclusions 10 2

1 INTRODUCTION 3 1 Introduction Distortion Analysis deals with the study how nonlinearity affects harmonics of the solution. For a driven problem one studies how the harmonics of a source function are mapped to the solution of the nonlinear problem. A driven problem is well posed. It can be solved by Newton Raphson procedures using Harmonic Balance in the frequency domain. In Tasks T2.1 and T2.2 special variants have been studied that addressed efficiency and robustness, see the Deliverables D2.3 and D2.5 and the Public Reports D2.10, D2.11 and D2.12. An autonomous problem introduces an additional problem. A free running oscillator has a nontrivial time Periodic Steady-State (PSS) solution, which is different from the DC-solution. The DC-solution is unstable when performing normal transient analysis and thus it provides a way to ultimately approximate the PSS solution, as will be exploited later on. Contrarely, in a Harmonic Balance setting the DC solution is a normal solution for the Newton Raphson procedure. Hence one should provide good initial estimates for the unknown oscillation frequency and for the solution of the circuit. In practise we see that with increase of the oscillation frequency the need for accurate initial estimates becomes more dominant. Without them the Newton Raphson method will not converge, or "at best" converge to the DC-solution in which one is not interested. It also may prevent to find the solution within an optimization approach. Task description Task T2.3 of WP2 Task T2.3 of WP2 dealt with "Improved initial conditions for Harmonic Balance", i.e. finding robust initial estimates for the final solution of free-running oscillators, determined by Harmonic Balance. New algorithms to find the operating frequency of a free-running oscillator will be developed that (drastically) improve the speed and robustness of harmonic balance analysis for these cases. Proposed alternatives were: Pole-zero analysis methods to determine the dominant poles of the system and hence find a good initial estimate for the operating frequency. Find an initial frequency estimate from optimization techniques. We exploit techniques from transient analysis to obtain good initial estimates for the oscillation frequency and for the circuit solution to start the HB-based oscillator analysis. The developed techniques were implemented in the APLAC simulator and have been thoroughly tested. Significant speed-up was obtained, while also the robustness was increased. We also describe how we can use modern subspace techniques that allow for extrapolation within an iterative framework. New techniques from bordered matrices and eigenvalue methods led to improved Newton methods for Finite Difference in the time domain as well as for Harmonic Balance and for improving methods based on optimization. The method gauges the phase shift automatically. No assumption about the range of values of the PSS solution is needed. Both the theoretical background and simulation results are presented. Parts of this report have been presented at the ECMI-2010 (European Consortium for Mathematics in Industry) and SCEE-2010 (Scientific Computing in Electrical Engineering) conferences. Full papers [6, 13, 16] have been submitted to the post-conference proceedings.

2 METHODS IN USE 4 2 Methods in use This section reviews several approaches found in literature. These techniques cover timedomain start-ups, homotopy methods (f.i. using an artificial voltage source), direct methods, etc. Pure long-range time integration is robust. It exploits the fact that the DC-solution is an unstable Periodic Steady State (PSS) solution for the time integration process. However the integration may take a long time. This approach does not easily deal with frequency domain defined elements (using S - parameters). S -Parameter blocks should be interpolated using rational functions after which a synthesis to an RCL block can be made (with added constraint as being passive). The approximation is valid for some range of frequencies. The combination with (time-dependent) sources in the initial startup usually can be formally blocked. A first modification is to cover time integration as a first step over some specified time interval. Based on this one can apply a (windowed) DFT to get an impression of the harmonics involved. In Spectre 1 the initial time integration is followed by a shooting method. Here one iteratively improves the initial value, from which started, transient simulation will provide a PSS solution. A Finite-Difference method (FD) in the time domain needs a Newton method to solve the system. The most notable difference to time integration is that the DC solution is a stable PSS solution for the FD method. Hence measures should be taken to prevent convergence to the DC solution. We assume N + 1 discretization points t 0,t 1,...,t N, where t i = T s i, with s i [0,1]. The unknowns in the system are: x i = x(t i ); we may choose f as additional unknown. We denote x = (x T 0,...,xT N )T. The Jacobian matrix M for the system x, f looks like [ ] A b M = c T (1) δ for suitable vectors b and c and (scalar) value δ. The matrix A has the pencil form A = f C + G. The matrix C contains contributions due to capacitors and inductors; G contains contributions due to resistors and inductors and the effect of the periodicity equation. The vector c is needed to gauge the solution. Some observations can be made: The matrix A becomes badly conditioned when the Newton process converges. This is due to the fact that the time derivative of the PSS solution solves the linearized homogeneous circuit equations when linearized at the PSS solution: hence when the discretization is exact this time derivative of the ultimate PSS is in the kernel of A. 1 Spectre is the analogue circuit simulator provided by Cadence Design Systems, Inc., San Jose, CA.

3 INITIALIZATION OF APLAC HB OSCILLATOR ANALYSIS BY USING TRANSIENT DATA 5 Due to this conditioning problem the vectors b and c and (scalar) value δ are really needed to make the matrix M non-singular. If A is non-singular one can apply a block Gaussian elimination using A 1. The Newton systems clearly have to be enlarged to a matrix M to get a non-singular matrix and to prevent convergence to the DC solution. Here the choice of the additional unknown may look natural, but the equation for this additional unknown is rather arbitrarily. Also, Newton solves, at each iteration, a perturbed system of equations. It is remarkable that one changes the Newton matrix for another one when performing phase noise analysis. Waveform Newton linearizes the differential-algebraic circuit equations around a previous time waveform and integrates these in time [8]. Assuming that the previous waveform was periodic in time, one determines by a shooting method an initial value at which one obtains a new periodic waveform. Note that the whole step requires only the solution of a linear system. If one uses the same discretization points as in the FD method and the same integration method the results are identical to those generated by the FD method at each iteration. However, Waveform Newton offers adaptivity of the discretization points. Harmonic Balance (HB) is a nonlinear method in the frequency domain in which one decomposes the solution in Fourier components. The system for the Fourier coefficients looks similar to the one obtained by the FD method (sparse matrix techniques involving matrix vector multiplications can efficiently be combined with the DFT and its inverse - hence one does not need to determine the matrix completely in advance). The Newton process to solve the HB-system has similar characteristics as the process to solve the FDproblem. HB and FD may converge faster to the PSS solution of a free oscillator than the transient analysis. However, HB and FD have one common problem. That is that one usually is able to provide a good initial solution for the oscillation frequency f, but a good initial circuit solution is lacking: providing only two harmonics [DC+AC] is, in general, not enough. To enhance convergence one either modifies the HB or FD equations or one applies excitation at an artificial source element (also called a probe element). 3 Initialization of APLAC HB Oscillator Analysis by using transient data A common way to solve free-running oscillator problems with the Harmonic Balance (HB) method is to use single, multiple, or multi-harmonic probes [1]. In the APLAC simulator [2] the probe element is called OscAProbe, which is actually a voltage source in series with a non-zero resistor, and it is usually connected to the output of an oscillator circuit. The HB oscillator problem is solved by optimization. The optimization variables are the value of the probe voltage source at the fundamental frequency, V osc, and the HB analysis fundamental frequency f osc. The goal of the optimization is to have the HB fundamental spectral voltage over the probe element equal to V osc, i.e., the current through the probe element is equal to zero. The user is required to set initial values for V osc and f osc. A poor initial frequency or amplitude value can lead to unsuccessful optimization or will at least require a large number of optimization cycles to succeed. Therefore algorithms have been developed to provide better initial estimates for V osc and f osc.

3 INITIALIZATION OF APLAC HB OSCILLATOR ANALYSIS BY USING TRANSIENT DATA 6 3.1 Setting Initial Conditions for HB Analysis Two separate methods were developed to improve the initialization of HB analysis, namely an FFT-based method ( FFT ) and a zero-crossing method ( ZeroC ) [6, 16]. Each method can be used to initialize both the oscillation frequency f osc and the oscillation amplitude V osc of the probe element. The main steps are: Run an initial transient analysis over some specified interval. Collect time-domain waveform data, i.e., the voltage over the probe element. Extract improved values for V osc and f osc from the data using the two new implemented methods called FFT and ZeroC, FFT : apply a FFT and search for the location (frequency) and value of the maximum amplitude peak and improve this estimate by parabolic interpolation. ZeroC : estimate the frequency based on zero-crossings (after removal of the average), and oscillation amplitude based on half of the maximum swing. Start the HB analysis based oscillator optimization using these improved values. The algorithms have been implemented in the APLAC simulator. There are several parameters which can be used to control initial transient analysis and/or how the estimation of V osc and f osc is done. 3.2 Simulation Results The following figures show the transient start-up and the HB waveform (result of the HB analysis based oscillator analysis) of two test circuits, Colpitts (Fig. 1) and vcobi (Fig. 2). Table 1 shows more detailed analysis results for Colpitts, vcobi, Pierce and VHF oscillator circuits. Columns "Circuit", "Method", "HBITER", "CPU", and "Speedup" show the name of the circuit, the used analysis method (algorithm), the total number of HB iterations, CPU-time in seconds, and the speed-up factor, respectively. A HB iteration in the APLAC simulator involves steps in an optimization loop: solve a driven oscillator problem by Newton Raphson, and update V osc and f osc for the next optimization loop. The analysis algorithm old refers to the default settings of the simulator, and FFT and ZeroC refer to the new implemented methods. The speedup factor has been computed are a ratio of the CPU-times of the simulated case and the reference simulation faster simulation than the reference simulation gives a speedup factor higher than one. In case of FFT and ZeroC methods, the CPU-time includes also the time of the initial transient simulation. In general, the usage of either FFT or ZeroC based estimate for the initial values improve the efficiency and enhance the robustness of the oscillator optimization analysis. Results have been reported in [6, 16]. Optimization methods are, however, quite sensitive to the initial values, and depending on the values of analysis and/or optimization parameters, the optimization algorithm does not always benefit for the improved initial values. This is partly due to the nonlinear behaviour of the current through the probe element as a function of the supplied voltage (see Lampe [9 11]). Also the number of zero crossings needed to estimate the frequency can

3 INITIALIZATION OF APLAC HB OSCILLATOR ANALYSIS BY USING TRANSIENT DATA 7 25 u(t) V Colpitts Oscillator: TRANsient start-up APLAC 8.50 User: AALTO/RAD/CT Mon May 10 2010 25 U/V Colpitts Oscillator: HB Waveform APLAC 8.50 User: AALTO/RAD/CT Mon May 10 2010 17.5 17.5 10 10 2.5 2.5-5 0.000 1.875µ 3.750µ 5.625µ 7.500µ t/s -5 0.000 49.966n 99.931n 149.897n 199.862n TRAN(n1) TRAN(n2) HB(n1) HB(n2) Figure 1: Colpitts Oscillator: Transient start-up (left) and HB waveform (right) 4.00 u(t) V vcobi Oscillator: TRAN/start-up APLAC 8.50 User: AALTO/RAD/CT Mon May 10 2010 4.00 U/V vcobi Oscillator: HB waveform APLAC 8.50 User: AALTO/RAD/CT Mon May 10 2010 2.75 2.75 1.50 1.50 0.25 0.25-1.00 0 3.75n 7.5n 11.25n 15n t/s -1.00 0 3n 6n 9n 12n t/s vtran(outp) vtran(outn) HB(outp) HB(outn) Figure 2: vcobi Oscillator: Transient start-up (left) and HB waveform (right) Circuit Method HBITER CPU Speedup Colpitts old 1756 0.58 1.0 FFT 1529 0.54 1.1 ZeroC 1153 0.38 1.5 vcobi old 738 1.98 1.0 FFT 312 0.80 2.5 ZeroC 31 0.08 24.8 Pierce old 779 0.27 1.0 FFT 593 0.22 1.2 ZeroC 452 0.14 1.9 VHF old 50 0.01 1.0 FFT 43 0.02 0.5 ZeroC 31 0.02 0.5 Table 1: Detailed analysis results in case of Colpitts, vcobi, Pierce and VHF oscillator circuits

4 VECTOR EXTRAPOLATION APPLIED TO THE POINCARÉ METHOD 8 be higher than 2. The first item can be improved by applying vector extrapolation techniques before completing the actual zero-crossing process. An example of such a method is shown in the next section. 4 Vector extrapolation applied to the Poincaré method The Zero Crossing method that was introduced in the previous section can be seen as one step in a Poincaré method. In [4, 5] the free oscillator problem is solved by applying vector extrapolation to a Poincaré method. In essence this is a matrix free method and thus it is easy to combine this with ordinary transient integration. The method requires a phase -condition (which might require a condition at a specific node in the circuit) and generates approximations for the PSS-solution and for the period T. The method may converge on its own, but after a limited number of extrapolations one can use the approximations as initialisation for the Finite Difference (FD) approach in the time domain, or, as initialisation for the Harmonic Balance (HB) method, after applying an FFT. Note that this also provides some feeling for the range of the values of the PSS-solution. Finally, we remark that actually the vector extrapolation only affects the circuit solution. The period T is derived as a secondary result. Given x 0, the ordinary Poincaré-map method generates a vector function F(x) and successive approximations satisfying the recursion: x n+1 = F(x n ) (2) Suppose that this sequence converges linearly to some fixed point x of F. Convergence might be slow. Hence we are interested in accelerating convergence using an acceleration method. 4.1 Accelerated Poincaré-map method An acceleration method operates on the first k vectors of a sequence {x n }, and produces an approximation y to the limit of {x n }. This approximation can then be used to restart (2) and generate the beginning of a new sequence y 0, y 1, y 2,... Again, the acceleration method can be applied to this new sequence, resulting in a new approximation z of the limit. The idea is that the sequence x, y, z,... converges much faster to the limit of {x n } than the sequence {x n } itself. Typically, if {x n } converges linearly, then {x, y, z,...} converges super-linearly. In [5] the accelerated Poincaré-map method is based on the well-known Minimal Polynomial Extrapolation (MPE) method [7, 15]. The method can be proven to be equivalent to Reduced Rank Extrapolation. With MPE one determines the best approximation for the successive corrections in a subspace that is built similarly as in Arnoldi methods for solving systems. We use the (unaccelerated) Poincaré-map algorithm to produce a sequence of approximations from which the subspace spanned by the corrections is built. It is assumed that all these approximations have an error that is bounded by the error of the first one. When the subspace is large enough we can define a best approximation (a mean value) that has an accuracy that is the square of the starting one. Using this new approximation a restart means that we accelerate the Poincaré-map method. When the subspace spanned by the corrections is large enough the next correction can be viewed

5 PSS-METHODS BASED ON GENERALIZED EIGENVECTORS 9 to be within this subspace. Then we have a linear combination of corrections that is zero due to linear dependency. This linear combination has a crucial application. If we express the corrections in terms of lower and higher order effects we observe that the sum of the lower order effects nearly cancels [15]. The weighted mean of the last approximations using the weights in this linear combination provides the higher accurate extrapolation. 4.2 Simulation result We applied the Accelerated Poincaré method to a Colpitts oscillator 2. This gave three outer iterations with 4, 3, 2 inner iterations, repspectively, to build each time a subspace in which extrapolation leads to a new estimate for the initial value for the circuit solution and for its period. Fig. 3 shows the errors made in the extrapolation and in the following inner unaccelerated Poincaré iterations (all compared to the last solution). This clearly shows the superlinear convergence of the extrapolation. Figure 3: Accelerated Poincaré (outer loop) provides each time a new initial value to which the unaccelerated Poincaré is applied that provides new updates of the initial value. Here we plot the errors compared to the last solution. Each time we check if the subspace is large enough to make an extrapolation. 5 PSS-methods based on generalized eigenvectors We studied bordered matrices [3, 12] to get an idea how to gauge the Harmonic Balance Jacobian matrix with an extra equation for the additional unknown f. The block part A belonging 2 The method has been implemented in Pstar, the in-house analog circuit simulator of NXP Semiconductors

6 CONCLUSIONS 10 to the driven Harmonic Balance problem becomes badly conditioned when the Newton iterands converge. This is due to the fact that the time derivative of the PSS solution solves the linearized homogeneous circuit equations when being linearized at the PSS solution. Hence when the discretization is exact this time derivative of the ultimate PSS is in the kernel of this block matrix. For the extended, bordered matrix M choices of the additional column and of the extra row that are related to the kernel of the Harmonic Balance block matrix and to its transpose generate the most simple expressions for the generalized inverse. However there also is robustness in the sense that if we have other choices then the bordered matrix may still be non-singular. The additional column naturally comes from the partial differentiation with respect to the chosen additional unknown f. The choice of the additional row depends on the "gauge" equation that we add to the system. A choice for a generalized eigenvector (the block matrix actually is a matrix pencil) is best here. As equation we prefer the bi-orthogonality equation. This prevents all problems with determining the location of the oscillation and the range of values of the PSS solution. Generalized eigenvalue methods for matrix pencils are good candidates for obtaining a dynamic row vector to make the bordered matrix non-singular. Generalized eigenvalue methods are provided by the DPA (Dominant Pole Algorithm) and RQI (Raleigh Quotient Iteration) [14]. We used a combination of these methods (SARQI) to obtain a good accuracy and convergence rate and to select the proper vectors. We approximate the bi-orthogonality relation by replacing one eigenvector by the time derivative of the circuit solution (Newton iterand). First results have been published in [13, 16]. Fig. 4 shows typical results where the new dynamic equation provides automatically a good gauging, while the existing phase equations assume knowledge of the solution (range of values, location in the circuit). A wrong value may even prevent convergence. Max. Normalaized Correction 10 0 10-5 10-10 10-15 X: 6 Y: 1.699e-008 Using Proper Phase Shift Condition Using Wrong Phase Shift Condition Using Generalized Eigenvectors X: 6 Y: 4.145e-006 2 4 6 8 10 Number of Iteration Normalaized frequency correction 10 0 10-5 10-10 10-15 X: 6 Y: 4.932e-007 X: 6 Y: 3.413e-009 Using Proper Phase Shift Condition Using Wrong Phase Shift Condition Using Generalized Eigenvectors 2 4 6 Number of Iteration 8 10 Figure 4: Maximum of the normalized correction and normalized frequency correction for each iteration for different methods. 6 Conclusions The purpose of the task T2.3 was to obtain initial estimates for Harmonic Balance for freerunning, autonomous, oscillators. We exploited techniques from transient analysis to obtain good initial estimates for the oscillation frequency and for the circuit solution to start the HB-

REFERENCES 11 based oscillator analysis. The developed techniques, called FFT and ZeroC, have been implemented in the industrial, commercially available APLAC simulator during H1/2010 and will later be available to designers using AWR (and APLAC) software. These new features have been tested on a large set of industrial problems, and the results have been good: faster convergence and improved robustness of the new approaches are greatly improving the quality of the HB based oscillator analysis. The methods implemented during this project also enable further research and improvements for the algorithms once we have more feedback based on real design problems. Some cases showed that even more accurate estimates are necessary while also the robustness of the Newton method must be increased. Hence as first step we next described how modern subspace techniques can be used that allow for vector extrapolation within an iterative framework. This was demonstrated by the Accelerated Poincaré-map Method. By this we can improve the accuracy of the initial estimates. To address the robustness of the Newton method we studied new techniques from bordered matrices and eigenvalue methods to improve Newton methods for Finite Difference in the time domain as well as for Harmonic Balance and for improving methods based on optimization. The new method gauges the phase shift automatically. No assumption about the range of values of the PSS solution is needed. Both the theoretical background and some early simulation results have been presented. Parts of this report have been presented at the ECMI-2010 (European Consortium for Mathematics in Industry) and SCEE-2010 (Scientific Computing in Electrical Engineering) conferences. Full papers [6, 13, 16] have been submitted to the post-conference proceedings. References [1] A. Brambilla, G. Gruosso, and G. Storti Gajani: Robust Harmonic-Probe method for the simulation of oscillators, IEEE Trans. CAS I, 57(9), pp. 2531 2541, 2010. [2] APLAC Version 8.50 Manual, http://www.awrcorp.com. [3] R.E. Hartwig: Singular value decomposition and the moore-penrose inverse of bordered matrices, SIAM J. Appl. Math., 31(1):31 41, 1976. [4] S.H.M.J. Houben: Circuits in motion - the simulation of electrical oscillators, PhD-Thesis, Eindhoven University of Technology, 2003. [5] S.H.M.J. Houben, J.M. Maubach: Periodic Steady-State analysis of free-running oscillators, In: U. van Rienen, M. Günther, D. Hecht (Eds.): Scientific computing in electrical engineering, Lect. Notes in Engineering 18, Springer, pp. 217 224, 2001. [6] M. Hulkkonen, M. Honkala, J. Virtanen, M. Valtonen: Initialization of HB oscillator analysis from transient data, Subm. to Proc. SCEE-2010, 2010. Scientific Computing in Electrical Engineering. [7] K. Jbilou, H. Sadok: Vector extrapolation methods, applications and numerical comparison, J. of Comput. and Applied Maths., 122, pp. 149 165, 2000. [8] T.A.M. Kevenaar: Periodic Steady State Analysis using Shooting and Waveform-Newton, Int. J. Circuit Theory and Applics., Vol. 22, pp. 51-60, 1994. [9] S. Lampe, H.G. Brachtendorf, E.J.W. ter Maten, S.P. Onneweer: Robust limit cycle calculations of oscillators. In: U. van Rienen, M. Günther, D. Hecht (Eds.): Scientific computing in electrical engineering, Lect. Notes in Engineering 18, Springer, pp. 233 240, 2001.

REFERENCES 12 [10] S. Lampe, R. Laur: Global optimization applied to the oscillator problem, Proc. of the 2002 Design, Automation and Test in Europe Conf. and Exhib. (DATE 02), 2002. [11] S. Lampe: Effiziente Verfahren zur Berechnung sämtliche Grenzzyklen autonomer Systeme, PhD-Thesis Univ. Bremen, Logos Verlag Berlin, 2003. [12] C.D. Meyer Jr: The moore-penrose invere of a bordered matrix, Linear Algebra and its Applications, 5(4):375 382, 1972 (in 2010 not electronically available). [13] R. Mirzavand Boroujeni, J. ter Maten, T. Beelen, W. Schilders, A. Abdipour: Robust periodic steady state analysis of autonomous oscillators based on generalized eigenvalues, Subm. to Proc. SCEE-2010, 2010. Scientific Computing in Electrical Engineering. [14] J. Rommes: Methods for eigenvalue problems with applications in model order reduction, PhD-Thesis, Utrecht University, 2007. http://sites.google.com/site/rommes/software/ [15] D.A. Smith, W.F. Ford, A. Sidi: Extrapolation methods for vector sequences, SIAM Review, 29-2, pp. 199-233, 1987. [16] J. Virtanen, J. ter Maten, T. Beelen, M. Honkala, M. Hulkkonen: Initial conditions and robust Newton- Raphson for Harmonic oscillator analysis of free-running oscillators, Subm. to Proc. ECMI-2010, 2010. European Consortium for Mathematics in Industry.