Efficient Uncertainty Quantification for the Periodic Steady State of Forced and Autonomous Circuits

Similar documents
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. XX, NO. XX, XX

IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. XX, NO. XX, XX

Variation-aware Modeling of Integrated Capacitors based on Floating Random Walk Extraction

Hyperbolic Polynomial Chaos Expansion (HPCE) and its Application to Statistical Analysis of Nonlinear Circuits

Uncertainty Quantification for Integrated Circuits and Microelectromechanical Systems. Zheng Zhang

Stochastic Testing Simulator for Integrated Circuits and MEMS: Hierarchical and Sparse Techniques

Variation-Aware Interconnect Extraction using Statistical Moment Preserving Model Order Reduction

An Empirical Chaos Expansion Method for Uncertainty Quantification

Performance Evaluation of Generalized Polynomial Chaos

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

A New Simulation Technique for Periodic Small-Signal Analysis

Uncertainty Quantification in MEMS

Stochastic Collocation Methods for Polynomial Chaos: Analysis and Applications

Fast Numerical Methods for Stochastic Computations

Algorithms for Uncertainty Quantification

Efficient Solvers for Stochastic Finite Element Saddle Point Problems

Computing Phase Noise Eigenfunctions Directly from Steady-State Jacobian Matrices

Estimating functional uncertainty using polynomial chaos and adjoint equations

Beyond Wiener Askey Expansions: Handling Arbitrary PDFs

Approximation Approach for Timing Jitter Characterization in Circuit Simulators

Stochastic structural dynamic analysis with random damping parameters

Benjamin L. Pence 1, Hosam K. Fathy 2, and Jeffrey L. Stein 3

Stochastic Solvers for the Euler Equations

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

Solving the Stochastic Steady-State Diffusion Problem Using Multigrid

THE problem of phase noise and its influence on oscillators

Stochastic Capacitance Extraction Considering Process Variation with Spatial Correlation

IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. XX, NO. XX, XX

UNIVERSITY OF CALIFORNIA, SAN DIEGO. An Empirical Chaos Expansion Method for Uncertainty Quantification

Introduction to Uncertainty Quantification in Computational Science Handout #3

A Polynomial Chaos Approach to Robust Multiobjective Optimization

Stochastic Spectral Approaches to Bayesian Inference

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

Uncertainty Quantification for multiscale kinetic equations with random inputs. Shi Jin. University of Wisconsin-Madison, USA

Quantifying conformation fluctuation induced uncertainty in bio-molecular systems

A Robust Periodic Arnoldi Shooting Algorithm for Efficient Analysis of Large-scale RF/MM ICs

Uncertainty Quantification for multiscale kinetic equations with high dimensional random inputs with sparse grids

Solving the steady state diffusion equation with uncertainty Final Presentation

Simulating with uncertainty : the rough surface scattering problem

A Stochastic Collocation based. for Data Assimilation

Statistical approach in complex circuits by a wavelet based Thevenin s theorem

A Robustness Optimization of SRAM Dynamic Stability by Sensitivity-based Reachability Analysis

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

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

Application of Taylor Models to the Worst-Case Analysis of Stripline Interconnects

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

Stochastic Integral Equation Solver for Efficient Variation-Aware Interconnect Extraction

Uncertainty Quantification and hypocoercivity based sensitivity analysis for multiscale kinetic equations with random inputs.

arxiv: v1 [math.na] 3 Apr 2019

Lecture XI. Approximating the Invariant Distribution

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

Model Order Reduction using SPICE Simulation Traces. Technical Report

Polynomial chaos expansions for sensitivity analysis

Scalable Algorithms for Complex Networks

Tensor Computation: A New Framework for High-Dimensional Problems in EDA

Uncertainty Evolution In Stochastic Dynamic Models Using Polynomial Chaos

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

Review of Polynomial Chaos-Based Methods for Uncertainty Quantification in Modern Integrated Circuits. and Domenico Spina

Final Report: DE-FG02-95ER25239 Spectral Representations of Uncertainty: Algorithms and Applications

Parallelism in Structured Newton Computations

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

Organization. I MCMC discussion. I project talks. I Lecture.

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

PC EXPANSION FOR GLOBAL SENSITIVITY ANALYSIS OF NON-SMOOTH FUNCTIONALS OF UNCERTAIN STOCHASTIC DIFFERENTIAL EQUATIONS SOLUTIONS

A reduced-order stochastic finite element analysis for structures with uncertainties

Trajectory Sensitivity Analysis as a Means of Performing Dynamic Load Sensitivity Studies in Power System Planning

A Non-Intrusive Polynomial Chaos Method For Uncertainty Propagation in CFD Simulations

Reactive Transport in Porous Media

Sampling and low-rank tensor approximation of the response surface

Accurate Fourier Analysis for Circuit Simulators

Efficient Per-Nonlinearity Distortion Analysis for Analog and RF Circuits

DISCRETE CONTROLLED PRE-DRIVER FIR MODEL FOR HYBRID IBIS MODEL AMS SIMULATION MAY 09, 2015, TURIN, ITALY

The Harmonic Balance Method

Hierarchical Parallel Solution of Stochastic Systems

Prediction of Stochastic Eye Diagrams via IC Equivalents and Lagrange Polynomials

Accurate Estimating Simultaneous Switching Noises by Using Application Specific Device Modeling

An efficient homomtopy-based Poincaré-Lindstedt method for the periodic steady-state analysis of nonlinear autonomous oscillators

Numerical Solutions of ODEs by Gaussian (Kalman) Filtering

06/2008: Huazhong University of Science and Technology (HUST), China B. Eng. in Electronic Science and Technology

Numerical Algorithms for ODEs/DAEs (Transient Analysis)

Efficient Variability Analysis of Electromagnetic Systems via Polynomial Chaos and Model Order Reduction

Model-Order Reduction of High-Speed Interconnects: Challenges and Opportunities

Efficient Optimization of In-Package Decoupling Capacitors for I/O Power Integrity

Modeling of noise by Legendre polynomial expansion of the Boltzmann equation

Fast Numerical Methods for Stochastic Computations: A Review

Liquid-Rocket Transverse Triggered Combustion Instability: Deterministic and Stochastic Analyses

A Novel Approach for Generating Dynamic Compact Models of Thermal Networks Having Large Numbers of Power Sources

Variational Capacitance Modeling Using Orthogonal Polynomial Method

Uncertainty Quantification in Computational Science

Lecture 4: Numerical solution of ordinary differential equations

Numerical Methods I Solving Nonlinear Equations

OPTIMAL POWER FLOW (OPF) is a tool that has been

Krylov-Subspace Based Model Reduction of Nonlinear Circuit Models Using Bilinear and Quadratic-Linear Approximations

WHEN studying distributed simulations of power systems,

NON-LINEAR APPROXIMATION OF BAYESIAN UPDATE

AA 242B / ME 242B: Mechanical Vibrations (Spring 2016)

Spectral Propagation of Parameter Uncertainties in Water Distribution Networks

Keywords: Sonic boom analysis, Atmospheric uncertainties, Uncertainty quantification, Monte Carlo method, Polynomial chaos method.

CHAPTER 10: Numerical Methods for DAEs

EFFICIENT SHAPE OPTIMIZATION USING POLYNOMIAL CHAOS EXPANSION AND LOCAL SENSITIVITIES

Transcription:

IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS-II: EXPRESS BRIEFS, VOL XX, NO XX, XX 213 1 Efficient Uncertainty Quantification for the Periodic Steady State of Forced and Autonomous Circuits Zheng Zhang, Tarek A El-Moselhy, Paolo Maffezzoni, Ibrahim (Abe) M Elfadel, and Luca Daniel arxiv:1494826v1 [csce] 16 Sep 214 Abstract This brief paper proposes an uncertainty quantification method for the periodic steady-state (PSS) analysis with both Gaussian and non-gaussian variations Our stochastic testing formulation for the PSS problem provides superior efficiency over both Monte Carlo methods and existing spectral methods The numerical implementation of a stochastic shooting Newton solver is presented for both forced and autonomous circuits Simulation results on some analog/rf circuits are reported to show the effectiveness of our proposed algorithms Index Terms Uncertainty quantification, stochastic testing, periodic steady state, circuit simulation I INTRODUCTION DESIGNERS are interested in periodic steady-state (PSS) analysis when designing analog/rf circuits or power electronic systems Such circuits include both forced (eg, amplifiers, mixers, power converters) and autonomous cases (also called unforced circuits, eg, oscillators) Popular PSS simulation algorithms include shooting Newton, finite difference, harmonic balance, and their variants [1] [4] As device sizes scale down, almost all performance metrics are influenced by manufacturing process variations This work focuses on the uncertainty quantification (UQ) of PSS solutions under process variations Previous perturbation techniques can be used for the sensitivity analysis of circuits with small variations [] [7] However, none of them can capture the statistical information that is important for yield analysis In order to obtain the underlying statistical information, existing mainstream circuit simulators employ Monte Carlo (MC) algorithms MC must run a huge number of repeated simulations due to its slow convergence rate, leading to prohibitively expensive computational cost Exploiting the previous development of various basis functions [8] [1], UQ can be accelerated by stochastic spectral methods in many applications Due to the high convergence rate, spectral methods can be much faster over MC when the number of parameters is small or medium [1] In [11], polynomial chaos (PC) and harmonic balance are used to This work was supported by the MI-MIT Collaborative Program (Reference No196F/2/77/12f/7/9374) I M Elfadel s work was also supported by SRC under the MEES I, MEES II, and ACE 4 S programs, and by ATIC under the TwinLab program Z Zhang, T A El-Moselhy and L Daniel are with the Massachusetts Institute of Technology, Cambridge, MA, USA (e-mail: z zhang@mitedu, tmoselhy@mitedu, luca@mitedu) P Maffezzoni is with Dipartimento di Elettronica e Informazione, Politecnico di Milan, Milan, Italy (e-mail: pmaffezz@eletpolimiit) I M Elfadel is with the Masdar Institute of Science and Technology, Abu Dhabi, United Arab Emirates (e-mail: ielfadel@masdaracae) analyze forced circuits with Gaussian parameters Generalized polynomial chaos (gpc) and stochastic Galerkin (SG) are further applied to simulate oscillators with non-gaussian parameters [12] However, the resulting coupled equation causes substantial computational overhead This work proposes a simulator for the UQ of PSS solutions based on stochastic testing (ST) method In [13], ST was proposed to simulate the DC and transient problems of transistorlevel circuits However, directly using the simulator in [13] for PSS analysis can cause long-term integration errors This paper employs ST to directly construct the stochastic PSS equations We further present an efficient implementation to solve the resulting UQ equations With our formulation, the resulting coupled PSS equation can be solved in a decoupled manner to extract the underlying statistical information, leading to substantial computational savings This work focuses on the shooting Newton method, but extending our ideas to other types of PSS solvers is straightforward II BACKGROUND & RELATED WORK A Shooting Newton Method Consider a general nonlinear circuit equation: d q( x(t)) + f ( x(t)) = B u(t) (1) where u(t) is the input signal, x R n denotes nodal voltages and branch currents, q R n and f R n represent the charge/flux and current/voltage terms, respectively Under a periodic input u(t), there exists a PSS solution x(t) = x(t+t), where the smallest scalar T > is the period known from the input Shooting Newton method computes y = x() by solving the Boundary Value Problem (BVP) ψ(y) = φ(y,,t) y = (2) Here φ(y,t,t) is the state transition function, which actually is the state vector x(t+t ) evolving from the initial condition x(t ) = y Obviously, φ(y,,t) = x(t) when y = x() To compute y, Newton s iterations can be applied For autonomous circuits, u(t) = u is constant and T is unknown, thus a phase condition must be added For example, by fixing the j-th element of x(), one uses the BVP [ ] [ ] ψ(y,t) φ(y,,t) y φ(y,t) = = = (3) χ(y) y j λ to compute y = x() and T Here y j is the j-th element of y, and λ is a properly selected scalar constant More details on shooting Newton can be found in [1] [4]

B Generalized Polynomial Chaos (gpc) Expansion When uncertainties are involved, (1) is modified to d q( x(t, ξ), ξ) + f( x(t, ξ), ξ) = B u(t) (4) Here ξ R d denotes d independent Gaussian and/or non- Gaussian parameters in the stochastic space Ω If x(t, ξ) is a second-order stochastic process, it can be approximated by a truncated gpc expansion: x(t, ξ) x(t, ξ) K = ˆx k (t)h k ( ξ), () k=1 where ˆx k (t) is a coefficient vector, and H k ( ξ) is a multivariate gpc basis function satisfying H k ( ξ),h j ( ξ) = ρ( ξ)h k ( ξ)h j ( ξ)d ξ = δ k,j (6) Ω Here ρ( ξ) is the joint probability density function (PDF) of ξ Details on gpc basis construction can be found in [9], [1] If the highest total order of the gpc bases in () is p, then the total number of basis functions is ( ) p+d K = = (p+d)!, (7) p p!d! where d is the number of random parameters Several spectral methods can be applied to solve (4), including the stochastic collocation (SC), stochastic Galerkin (SG) and stochastic testing (ST) methods ST uses a collocation testing scheme to set up a coupled equation with fewer nodes than the mainstream SC and then directly computes the gpc coefficients by an intrusive solver It is called Stochastic Testing to distinguish it from the non-intrusive SC methods that compute the gpc coefficients indirectly Detailed comparisons of ST, SC and SG can be found in [13] Stochastic Galerkin (SG) was employed in [12] for the UQ of oscillators The SG-based solver consists of three steps: 1) similar to [7], the time axis is scaled such that the scaled waveforms have a constant oscillation period; 2) the state vector and period are approximated by a truncated gpc expansion, and a coupled deterministic DAE is set up by Galerkin testing; 3) K phase conditions are added, and the gpc coefficients are computed by Newton s iterations The shortcoming of [12] is the computational cost growing cubically wrt the number of basis function K III PROPOSED ST-BASED PSS SOLVER Notation Let H={H 1 ( ξ),,h K ( ξ)} represent the gpc basis functions, and ŵ = [ŵ 1 ; ;ŵ K ] denote the collection of gpc coefficients, we define an operator: M(H, ŵ, ξ) := w( ξ) = K ŵ k H k ( ξ) k=1 which converts ŵ to a gpc approximation w( ξ) Given a set of testing nodes S = { ξ 1,, ξ K }, V R K K denotes a Vandermonde-like matrix, the (i, j) element of which is V i,j = H j ( ξ i ), for 1 i,j K (8) Finally we denote W n = V I n, where is the Kronecker product operator and I n is an identity matrix of size n A Formulation for Forced Circuits For a forced circuit, we directly perform UQ based on the following coupled DAE formed by ST dq(ˆx(t)) +F(ˆx(t),t) = (9) Here ˆx(t) = [ˆx 1 (t); ;ˆx K (t)] R nk collects the gpc coefficients of x(t,ξ) Let x(t, ξ) := M(H,ˆx(t), ξ) and q k (ˆx(t)) = q( x(t, ξ, ξ, f k (ˆx(t),t) = f( x(t, ξ, ξ B u(t), then (9) is obtained by the following column stacking: Q(ˆx(t)) = [ q 1 [(ˆx(t)); ; q K (ˆx(t))], F(ˆx(t),t) = f1 (ˆx(t),t); ; f K (ˆx(t),t)] ST first generates a set of multivariate quadrature nodes, then only a small port of those nodes are selected as testing nodes such that V is invertible and well conditioned [13] The state vector x(t, ξ) is periodic for any ξ Ω if and only if ˆx(t) is periodic Therefore, we have g(ŷ) = Φ(ŷ,,T) ŷ = (1) In this equation, ŷ = ˆx(), and Φ(ŷ,,T) is the state transition function of (9) B Formulation for Autonomous Circuits For unforced cases, we cannot directly use (9) for PSS analysis since no PSS solution exists Instead, we modify (9) by scaling the time axis as done in [7] LetT be the oscillation period for the nominal case, we write T( ξ) as T( ξ) = T a( ξ) T M(H, â, ξ) where â=[â 1 ; ;â K ] collects the gpc coefficients of a( ξ) Define a new time variable τ such that t = a( ξ)τ M(H, â, ξ)τ, then z(τ, ξ) = x(t, ξ) solves the following DAE: d q( z(τ, ξ), ξ) dτ +a( ξ) f( z(τ, ξ), ξ) = a( ξ)b u (11) Replacing z(τ, ξ) and a( ξ) in (11) with their gpc approximations z(τ, ξ) andã( ξ), respectively, and enforcing the resulting residual to zero for any ξ k S, we get dq(ẑ(τ)) dτ +F(ẑ(τ), â) = (12) Here ẑ(τ)=[ẑ 1 (τ); ;ẑ K (τ)] denotes the gpc coefficients of z(τ, ξ) The nonlinear functions are decided by Q(ẑ(τ)) = [ q 1 [(ẑ(τ)); ; q K (ẑ(τ))] F(ẑ(τ), â) = f1 (ẑ(τ)); ; f K (ẑ(τ))],

with q k (ẑ(τ)) = q( z(τ, ξ, ξ, f k (ẑ(τ)) = ã( ξ ( f( z(τ, ξ, ξ B u) Let ŷ := [ẑ(); â] and fix the j-th component of z() at λ, then we have the following BVP equation [ ] [ ] Ψ(ẑ(), â) Φ(ẑ(),,T, â) ẑ() g(ŷ) = = = (13) χ(ẑ()) χ(ẑ()) Here the state transition function Φ(ẑ(),,T, â) depends on â, and the phase constraint χ(ẑ()) = R K is χ(ẑ()) = [ ẑ j () λ; ẑ j+n (); ; ẑ j+(k 1)n () ] = A Coupled Solver IV NUMERICAL SOLVERS To solve (1) and (13), we use Newton s iteration solve ŷ = J 1 (ŷ j )g(ŷ j ), update ŷ j+1 = ŷ j ŷ (14) until convergence g(ŷ) can be evaluated by running a transient simulation of (9) or (12) for one period The main problem is how to evaluate the Jacobian J(ŷ) and how to solve the linear system equation in (14) Forced Case For a forced case, the Jacobian of (1) is J forced = Mŷ I, with Mŷ = Φ(ŷ,,T) (1) ŷ Here Mŷ is the Monodromy matrix of (9), which can be obtained from linearizations along the trajectory starting from ˆx() = ŷ to ˆx(T) This step is the same as the deterministic case detailed in [3] and thus skipped here Autonomous Case The Jacobian of (13) reads [ ] J11 J J osc = 12 (16) J 21 Submatrix J 11 = Ψ(ẑ(),â) ẑ() can be calculated in the same way of computing J forced ; J 21 = χ(ẑ()) ẑ() is easy to calculate since χ(ẑ()) is linear wrt ẑ() Submatrix J 12 is Ψ(ẑ(), â) J 12 = = Φ(ẑ(),,T, â) = ẑ(t ) (17) Let τ =<τ 1 < <τ N =T be the time points and h k =τ k τ k 1 be the step size in the transient simulation of (12) We denote the discretized trajectory by ẑ (k) = ẑ(τ At τ k, we have Q(ẑ (k) ) Q(ẑ (k 1) ) = ( γ 1 F(ẑ (k), â)+γ 2 F(ẑ (k 1), â) ) h k with γ 1 =γ 2 = for Trapezoidal rule and γ 1 =1, γ 2 = for backward Euler Taking derivatives on both sides of the above equation yields = (E k γ 1 A k h 1 (E k 1 +γ 2 A k 1 h ẑ (k 1) +(E k γ 1 A k h 1 h k (γ 1 P k +γ 2 P k 1 ) with E k = Q(ẑ (k)), A k = F(ẑ (k),â) from ẑ () and P k = F(ẑ (k),â) =, one gets J 12 = ẑ (N) by iterating (18) (18) Starting Similar to the deterministic cases [1] [4], the Jacobian is a dense matrix due to the matrix chain operations Therefore, solving the linear system in (14) costs O(n 3 K 3 ) if a direct matrix solver is applied, similar to the cost in [12] B Decoupled Matrix Solver By properly choosing a transformation matrix P, Equations (1) and (13) can be converted to g 1 (ỹ( ξ 1 )) ỹ( ξ 1 ) Pg(ŷ) =, with = Pŷ (19) g K (ỹ( ξ K )) ỹ( ξ K ) Consequently, the Jacobian in (14) can be rewritten as J 1 J(ŷ) = P 1 P, with J k = g k (ỹ( ξ ) ỹ( ξ (2) J K Forced Case We set P=W n and ỹ( ξ = x(, ξ, then g k (ỹ( ξ ) = φ ( x(, ξ ),,T x(, ξ = (21) is a shooting Newton equation for (4), with ξ fixed at ξ k In (21), x(, ξ R n is unknown, x(t, ξ = φ ( x(, ξ ),,t is the state transition function, and J k can be formed using existing techniques [2] Autonomous Case Let ỹ( ξ =[ z(, ξ ;ã(ξ ], and P = W n+1 Θ where Θ is a proper permutation matrix, then [ ( g k (ỹ( ξ ) φ z(, ξ =,,T,ã( ξ ) z(, ξ ] z j (, ξ = is a shooting Newton equation for (11), with the parameter ξ fixed at ξ k Here z(, ξ and ã( ξ are the unknowns, and z(τ, ξ = φ ( z(, ξ,,τ,ã( ξ ) is a state transition function dependent on a( ξ)=ã( ξ The small Jacobian J k can also be formed by existing techniques [4], [7] Intrusive Solver We directly compute the gpc coefficients by solving (1) or (13), with decoupling inside the Newton s iterations (14) Specifically, inside each iteration, Eq (9) or (12) is first integrated for one period, and the state trajectories are converted to the gpc approximations [ie, x(t, ξ s in forced circuits, or z(τ, ξ s and ã( ξ s in unforced circuits] Then J k s are formed as done in existing deterministic PSS solvers [1] [4] Finally, based on (2) each small block is solved independently to update ŷ j Doing so allows simulating (9) or (12) with flexible time stepping controls inside the intrusive transient solver [13], such that all components of ˆx(t) [or ẑ(τ)] are located on the same adaptive time grid This allows us to directly extract the statistical information of the time-domain waveforms and other performance metrics (eg, statistical transient power) Complexity Since Θ 1 =Θ T, W 1 n =V 1 I n and V 1 can be easily computed [13], the cost of decoupling in (2) is negligible After decoupling, one can solve each small linear system equation as done in deterministic PSS solvers [1] [4] The total cost is O(Kn 3 ) if a direct matrix solver is used For large-scale circuits, one can use matrix-free iterative methods [3] at the cost of O(Kn β ) where β is normally 1 2 This intrusive decoupled solver could be easily parallelized potentially leading to further speedup

Vin M3 R1 R3 C1 R2 L1 Vdd M2 M1 L3 CL Vout 1 1 MC proposed 2 2 1 1 MC proposed L2 Fig 1 16 Schematic of the LNA 6 x 1 3 Fig 3 4 6 7 THD 1 1 2 2 Power (mw) Probability density functions THD and power dissipation 1 1 14 4 2 R3 L1 Vout A 14 2 1 t (s) 1 (c) 2 2 x 1 8 1 1 A 2 x 1 3 1 t (s) 1 (d) 2 2 x 1 8 1 1 6V C3 R2 Q1 R1 C1 C2 1 t (s) 1 2 2 x 1 8 1 t (s) 1 2 2 x 1 8 Fig 2 Periodic steady-state waveforms for the LNA & : mean and std of V out; (c) & (d): mean and std of I(V dd ) V NUMERICAL RESULTS Our algorithm was implemented in a Matlab circuit simulator All experiments were run on a workstation with 33GHz 4-GB RAM A Low-Noise Amplifier (LNA) The LNA in Fig 1 is used as an example of forced circuits The ratios of the transistors are W 1 /L 1 =W 2 /L 2 =/3 and W 3 /L 3 =/3 The design parameters are: V dd =1 V, R 1 =Ω, R 2 =2 kω, C 1 =1 pf, C L = pf, L 1 =2 nh and L 3 =7 nh We introduce four random parameters Temperature T=3 + N(,16) K is a Gaussian variable influencing transistor threshold voltage; R 3 =1 + U( 1,1) kω and L 2 =14 + U(6,6) nh have uniform distributions; the threshold voltage under zero V bs is V T =4238+N(,1) V The input is V in = 1sin(4π 1 8 t) V In our ST-based PSS solver, an order-3 gpc expansion (with 3 basis functions) are used to represent the state variables The computed gpc coefficients are then used to extract statistical information at a negligible cost The means and standard deviations (std) of V out and I(V dd ) (current from V dd ) are plotted in Fig 2 Using standard MC, 8 samples are required to achieve the similar level of accuracy (<1% relative errors for the mean and standard deviation) Fig 3 plots the probability density functions (PDF) of the total harmonic distortion (THD) and power consumption from our proposed PSS solver and MC, respectively The PDFs from both methods are graphically indistinguishable The total cost of our decoupled ST solver is 34 seconds, which is 42 faster over the coupled ST solver, 71 faster over the SG-based PSS solver, and 22 faster over MC Fig 4 Schematic of the BJT Colpitts oscillator B BJT Colpitts Oscillator The BJT Colpitts oscillator in Fig 4 is a typical example of autonomous circuits The design parameters of this circuit are R 1 =22 kω, R 2 =R 3 =1 kω, C 2 =1 pf, C 3 =1µF, and α=992 for the BJT The oscillation frequency is mainly determined byl 1,C 1 andc 2 We assume thatl 1 =1+N(,9) nh and C 1 =1+U( 1,1) pf are random variables with Gaussian and uniform distributions, respectively Setting the gpc order to 3, the results from our proposed solver and the SG-based solver [12] are indistinguishable Fig shows some realizations of V out obtained by our solver The variation looks small on the scaled time axis, but it is significant on the original time axis due to the uncertainties of the oscillation frequency The CPU time of our decoupled STbased solver is 49 seconds, which is 2 and faster over the coupled ST-based solver and the SG-based solver [12], respectively Finally, our solver is compared with standard MC The computed mean and standard deviation (both in nanosecond) of the oscillation period are shown in Table I To achieve the similar level of accuracy, MC must use samples, which is about 7 slower than using our ST-based simulator The distributions of the oscillation period from both methods are consistent, as shown in Fig 6 C Accuracy and Efficiency We increased the gpc order from 1 to 6, and treated the results from the 6th-order gpc expansion as the exact solutions Fig 7 plots the relative errors of ŷ and the speedup factors caused by decoupling The errors rapidly reduce to below 1 4, and the convergence slows down when the errors approach 1, ie, the threshold for the Newton s iterations which dominates the accuracy In Fig 7, the speedup curve for the LNA has the same slope as K 2 on a logarithmic

1 3 3 1 2 21 22 23 24 τ (s) 2 26 27 28 29 x 1 6 1 2 2 1 1 2 2 1 1 1 2 21 22 23 24 2 26 27 28 29 t (s) x 1 6 Fig Realizations of V out for the Colpitts oscillator on the scaled time axis, on the original time axis TABLE I SIMULATION RESULTS OF THE OSCILLATION PERIOD BY OUR PROPOSED METHOD AND MONTE CARLO 16 16 17 17 18 period (s) x 1 8 16 16 17 17 18 period (s) x 1 8 Fig 6 Distributions of the oscillation period: from our proposed method, from MC ( samples) 1 2 1 3 1 4 LNA Colp osc 1 K 2 LNA 1 4 Colp osc 1 3 1 2 Monte Carlo Proposed # samples 2 1 mean value (ns) 17194 1723 172 172 std value (ns) 299 318 326 328 CPU time (s) 22 113 2486 49 1 1 6 1 1 1 K 1 2 1 3 1 1 1 1 1 1 K 1 2 1 3 scale, implying an O(K 2 ) speedup caused by decoupling The speedup for the Colpitts oscillator is however not significant, since device evaluations dominate the total cost for this small circuit Generally, the O(K 2 ) speedup is more obvious for large-scale circuits VI CONCLUSION This paper has proposed an intrusive periodic steady-state simulator for the uncertainty quantification of analog/rf circuits The main advantage of our proposed method is that the Jacobian can be decoupled to accelerate numerical computations Numerical results show that our approach obtains results consistent with Monte Carlo simulation, with 2 3 orders of magnitude speedup Our method is significantly faster over existing SG-based PSS solver, and the speedup factor is expected to be more significant as the circuit size and the number of basis functions increase REFERENCES [1] K S Kundert, Introduction to RF simulation and its application, IEEE J Solid-State Circuits, vol 34, no 9, pp 1298 1319, Sept 1999 [2] O Nastov, R Telichevesky, K Kundert, and J White, Fundamentals of fast simulation algorithms for RF circuits, IEEE Proc, vol 9, no 3, pp 6 621, March 27 [3] R Telichevesky, K S Kundert, and J K White, Efficient steadystate analysis based on matrix-free Krylov-subspace methods, in Proc Design Auto Conf New York, NY, Jun 199, pp 48 484 [4] T Aprille and T Trick, A computer algorithm to determine the steadystate response of nonlinear oscillators, IEEE Trans Circuit Theory, vol CT-19, no 4, pp 34 36, July 1972 [] P Maffezzoni, Efficient multi-parameter sensitivity computation of amplifier harmonic distortion, IEEE Trans Circuits Syst II: Exp Briefs, vol 4, no 3, pp 27 261, Mar 27 [6] A K Wilkins, B Tidor, J White, and P I Barton, Sensitivity analysis for oscillating dynamical systems, SIAM J Sci Comput, vol 31, no 4, pp 276 2732, April 29 Fig 7 Relative error of our solver Speedup factor caused by decoupling [7] I Vytyaz, D C Lee, P K Hanumolu, U-K Moon, and K Mayaram, Sensitivity analysis for oscillators, IEEE Trans Computer-Aided Design Integr Circuits Syst, vol 27, no 9, pp 121 134, Sept 28 [8] N Wiener, The homogeneous chaos, Amer J Math, vol 6, no 4, pp 897 936, Oct 1938 [9] D Xiu and G E Karniadakis, The Wiener-Askey polynomial chaos for stochastic differential equations, SIAM J Sci Comput, vol 24, no 2, pp 619 644, Feb 22 [1] O Le Maitre and O Knio, Spectral methods for uncertainty quantification: with application to computational fluid dynamics Springer, 21 [11] J Tao, X Zeng, W Cai, Y Su, D Zhou, and C Chiang, Stochastic sparse-grid collocation algorithm (SSCA) for periodic steady-state analysis of nonlinear system with process variations, in Proc Asia South Pacific Design Auto Conf, 27, pp 474 479 [12] R Pulch, Polynomial chaos expansions for analysing oscillators with uncertainties, in Proc MATHMOD, 29 [13] Z Zhang, T A El-Moselhy, I M Elfadel, and L Daniel, Stochastic testing method for transistor-level uncertainty quantification based on generalized polynomial chaos, IEEE Trans Computer-Aided Design Integr Circuits Syst, vol 32, no 1, Oct 213