You are on page 1of 4

June 17, 2004 19:46 Research Publishing: Trim Size: 8.50in x 11.

00in (IEEE proceedings) ieee-emc08:P291

Methods for Circuit-Based Automotive EMC


Simulation incorporating VHDL-AMS Models
Florian Frank1, Martin L. Zitzmann2 , Gernot Steinmair2 , Robert Weigel1
1
Institute for Electronics Engineering, University of Erlangen-Nuremberg, 91058 Erlangen, Germany
2
BMW Group, 80788 Munich, Germany
Email: frank@lte.e-technik.uni-erlangen.de

Solution of
Abstract— This paper provides an overview of several novel Maxwell’s equations
approaches to enhance today’s automotive EMC simulation.
The introduction of fast and efficient modeling and solving PEEC-
techniques for models of passive PCB traces leads to an improved Mesh
PEEC- Model
computational performance. Additionally, the development of a Geometry PEEC data
Parameter SLSimTM
methodology enabling co-simulations of VHDL-AMS models of Model Mesher
Extraction
active IC devices yields more accurate numerical results. After CAD Discretization
the explanation of these enhancements, the proposed simulation
flow and analysis methods are shown by means of numerical Sub-
results from a typical automotive application. circuits
Simulator
Interface
I. I NTRODUCTION Circuit-
File
The complexity of problems arising in automotive elec-
tromagnetic compatibility (EMC) analysis is increasing with
the number of electronic systems assembled in modern cars. VHDL-
AMS SMASH TM
Components containing integrated circuits (ICs) and controlled Models
sensors and actuators are influencing factors for the EMC
quality. Disturbances like electronic noise on power and Fig. 1. Circuit-based EMC simulation workflow. The gray boxes show steps
ground planes, which is known as simultaneous switching that can be improved using the methodologies presented in this paper.
noise (SSN), are transferred via the cable harnesses to the
whole system. To avoid cost and time intensive redesign
cycles in the car development process, numerical simulation In recent years an alternative method of modeling active
techniques are challenged to help identify and solve EMC devices based on VHDL-AMS [3], a hardware description
relevant problems in the early design stage. language for analog, digital, and mixed-signal applications,
For EMC analysis of automotive systems including the is going popularly. Using this language it becomes possible
system level, the component level as well as the IC level, to generate models at any kind of abstraction level, i.e. parts
several different modeling and simulation techniques are re- based on physical equations and parts based on pure functional
quired. Whereas cable harness simulations are based on a descriptions can be combined within one single model. Thus,
2D TL (transmission line) approach, for PCB simulations the models allowing accurate analysis results within a short sim-
3D PEEC (partial element equivalent circuit) method [1] is ulation time can be generated. In order to incorporate VHDL-
applied. The PEEC method enables a circuit representation AMS models into the already existing SPICE-based EMC
of the electric field integral equation (EFIE) and therefore a simulation flow, a methodology has been developed enabling
connection between the field domain and the circuit domain. the co-simulation between SPICE and VHDL-AMS.
Problems arise as soon as active devices, which are the main This paper is organized as follows. Section II gives an
sources of the above mentioned disturbances, have to be overview of the enhanced EMC modeling and simulation
modeled in order to incorporate them into circuit-based EMC process. In the next section, a short introduction to the PEEC
simulations. Due to their nonlinear behavior, it is not sufficient method is given. Furthermore, it is explained how the solu-
to use simple equivalent circuit descriptions consisting of tion process in PEEC-based circuit-simulations can be sped
voltage and current sources and lumped RLC-components up using hierarchical methods combined with special solver
to achieve an accurate analysis result. In the past, the most techniques. The functionality of a simulator interface program,
common way was to use IBIS (input/output buffer information which forms the basis of the newly developed SPICE-VHDL-
specification) [2] to describe the clamping behavior of active AMS-co-simulation methodology, is briefly explained in sec-
ICs. Unfortunately IBIS models show a significant sensitivity tion IV. In section V numerical results based on a typical
to the attached load and hence can be used within a quite automotive application are given and the last section concludes
narrowly bounded range of loading conditions only. the paper.

2008 Asia-Pacific Sympsoium on Electromagnetic Compatibility &


20 19th International Zurich Symposium on Electromagnetic Compatibility, 19–22 May 2008, Singapore
June 17, 2004 19:46 Research Publishing: Trim Size: 8.50in x 11.00in (IEEE proceedings) ieee-emc08:P291

2008 Asia-Pacific Sympsoium on Electromagnetic Compatibility, 19–22 May 2008, Singapore

II. EMC M ODELING AND S IMULATION P ROCESS In H-matrix-based model computation, a fast and accurate
Using the methodologies and enhancements briefly intro- approximation of a parasitics matrix is aspired. Controlled by
duced in the following sections, a fast and efficient EMC a suitable heuristics only required matrix entries have
 to be
modeling and simulation process becomes possible. The im- computed, leading to a complexity reduction from O n2 to
proved analysis workflow as shown in Fig. 1 can be ab- O (nlogn) [7]. Furthermore, H-matrices provide additional
stracted as follows: Before an EMC simulation run can be advantageous features to enhance efficiency and flexibility,
started, the 3D PEEC models of the PCB traces have to compared to fast multipole methods (FFM) [8], [9].
be generated. Therefore, a discretization of the geometrical C. Hierarchical Matrices Based Solvers for PEEC
design is necessary, building the basis for the numerical model
computation. By solving Maxwell’s equations, the PEEC pa- Utilizing iterative methods to obtain an accurate solution
of Ax = b inevitably leads to square complexity w.r.t. CPU
rameter extraction (modeling) can be accomplished, resulting
in so-called (R, L, C) PEEC models. Together with optional time and memory requirements even for sparse matrices. A
reduction to almost linear complexity can be accomplished
SPICE subcircuits and VHDL-AMS models, SLSimTM solves
the network equations in the time domain in co-operation with by approximating the PEEC-based system matrix A by a
SMASH TM. data-sparse H-matrix AH . The approximative solution x̃ of
the system AH x = b must fulfill the accuracy condition
III. PEEC- BASED C IRCUIT S IMULATION x − x̃  ≤ ε for a given ε > 0. Based on the formatted
H-matrix arithmetic [10], efficient preconditioning techniques
A. PEEC Model Derivation
can be realized. Implementation issues for an appropriate
The 3D PEEC method allows the interpretation of con- matrix setup and suitable preconditioning for an efficient
ducting structures including dielectrics by a linear network of PEEC-based circuit simulation have to be taken into account
basic electrical elements. This integral equation based element [11].
method (BEM) approach is used for modeling of complex
conducting structures like PCB traces and interconnects and IV. I NTERFACE FOR
leads to dense system matrices in general. The PEEC modeling SPICE-VHDL-AMS-C O -S IMULATION
process starts with a discretization of the conducting medium In order to improve the results of EMC simulations, an
into volume and surface cells, which is necessary to approxi- interface has been developed enabling co-simulations between
mate current and charge densities. Afterwards, the method of SPICE and VHDL-AMS. Using this interface, it becomes
moments (MoM) [4] is applied together with Galerkins method possible to replace simple equivalent circuits of non-linear
[5] to the EFIE to determine the equivalent circuit components. active devices with more realistic VHDL-AMS models. The
A complete theoretical derivation of the PEEC method is given interface connects the SPICE-based circuit simulator SLSimTM
in [1]. [12], which is part of a special EMC toolbox providing the
modeling and solving strategies mentioned above, and the
B. Fast and Efficient Extraction of Parasitic Effects VHDL-AMS simulator SMASH TM [13].
A fast and accurate computation of matrix elements repre- The functionality of the interface program and the according
sents one major issue to implement an efficient simulation co-simulation flow can be abstracted as follows: SLSimTM,
process. This is especially important for parasitic matrices which is used as master simulator, loads the SPICE netlist
originating from electromagnetic boundary integral equation and subsequently all required SPICE models. Thereafter, the
(BIE) approaches such as the PEEC method. BEM-based simulator SMASH TM is invoked as slave and linked into the
matrices as inductance matrices and potential coefficient ma- running master process. Finally, all additional VHDL-AMS
trices
 are dense, in general. These matrices comprise n = models are loaded and the operating point analysis as well as
O h−2 degrees of freedom (DOF) for geometric meshing the transient time domain simulation can be carried out.
with meshsize h thus exhibiting O h−4 matrix entries [6]
in 2D. Both the TD and the FD analysis need to compute A. Connection of SPICE and VHDL-AMS Models
large numbers of interactions between basis functions for each During a mixed-language simulation, i.e., an analysis of a
and every simulation step, leading to enormous CPU time and combination of SPICE and VHDL-AMS models, both sim-
memory requirements. This can form severe limitation to the ulators have to compute solutions of their internal systems
number of DOF in practical relevant problems. Fast methods of ordinary differential-algebraic equations (DAEs) indepen-
are necessary to reduce the complexity of basic arithmetic dently of each other. Nevertheless, it is necessary to make the
operations. calculated values available for the other simulator. Therefore
Hierarchical matrices (“H-matrices”) help to represent the special interconnecting nodes have been introduced allowing
matrix as a decomposition of matrix subblocks. They provide for the exchange of voltage and current values.
a purely mathematical approach to describe dense matrices These interconnecting nodes are handled by SLSimTM as
by so-called data-sparse matrices. Based on this kind of voltage controlled current sources, whose current values are
description, it is possible to apply approximative algorithms calculated by the external VHDL-AMS simulator. The latter
for matrix arithmetic with almost optimal complexity. treats these nodes as special voltage sources, whose voltage

21
June 17, 2004 19:46 Research Publishing: Trim Size: 8.50in x 11.00in (IEEE proceedings) ieee-emc08:P291

19th International Zurich Symposium on Electromagnetic Compatibility, 19–22 May 2008, Singapore

values are determined and are only allowed to be changed by 0


the SPICE simulator. A drawing of one of these interconnect-
ing nodes is shown in Fig. 2. -20

|S11 | (dB)
SPICE VHDL-AMS -40
IT
-60 Measurement
IT = f (VT )
Simulation
VT
VT -80 4
VT 10 105 106 107 108 109 1010
IT Frequency (Hz)

0
Fig. 2. Interconnecting node of the SLSimTM part (white box) and the

|S21 | (dB)
SMASH TM part (gray box) of a mixed-language simulation model. Whereas -20
the former consists of a voltage controlled current source the latter consists
of a voltage source.
-40
Measurement
B. Transient Time Analysis Simulation
-60 4
During a transient time analysis, the master simulator is 10 105 106 107 108 109 1010
responsible for the adaptive time step control. This means Frequency (Hz)
that SLSimTM determines the step widths and thus, the time
Fig. 3. Comparison between simulation and measurement results. Due to
instances at which a corresponding analog solution is calcu- symmetry reasons only the magnitudes of the scattering parameters S11 and
lated as well as the synchronization between the simulator S21 are shown.
parts is carried out. In cases where one or both simulators
could not determine a corresponding analog solution of their
internal systems of DAEs the step width will be reduced. A complexity of the modeling process remains almost constant,
recalculation of the analog solution and a reduction of the the simulation can be accelerated by a factor of ≈ 5.
step width, respectively, is also required if the VHDL-AMS Even if a truncation enables a simple sparsification method,
simulator is not able to synchronize the logic simulator part it is not efficient enough to implement accurate simulations for
with its analog one due to logic events. This synchronization large industrially relevant problems. A further enhancement
is required after every calculation of an analog solution point. can be accomplished by accelerating model extraction as
well as simulation using hierarchical techniques. Applying H-
V. N UMERICAL R ESULTS matrix-based computation of parasitics, a modeling speed-up
For both simulation and measurement purposes an auto- by an additional factor ≈ 7 can be achieved. Compared to
motive specific demonstrator board is considered. The board conventional techniques an increased modeling accuracy can
consists of four layers with dielectric medium FR4 and stems be obtained. A gain with a factor ≈ 20 can be achieved con-
from a typical application in automotive industry. The fully cerning storage requirements by using the H-matrix storage
assembled board contains a microcontroller and two power format instead of the conventional coordinate sparse matrix
drivers which are used to switch DC motors and lights, respec- storage format. The simulation process can be accelerated up
tively. Measurements are possible via provided connectors. to a factor of ≈ 10 by applying an algebraic multigrid (AMG)
The investigated design is part of a research project named solver [11].
MISEA [14]. Besides the improvements concerning modeling and anal-
To show the functionality of the enhancements made to ysis speed, further enhancements concerning the accuracy of
the EMC simulation process and thus the correspondence the simulation results can be achieved. Therefore, some of the
of measurement and simulation results, a reluctance-based active devices that are assembled on the demonstrator board
model [11] of a relevant signal trace is considered. A suitably will be included in the EMC simulation using accurate VHDL-
chosen meshsize guarantees the validity of the model in the AMS models. As an example, one of the two power drivers
TD as well as in the FD. The good accordance of physical is used. Thus the executed co-simulation includes the VHDL-
measurements and the simulation results obtained with the AMS model of this device as well as the PEEC model of the
generated PEEC model is shown in Fig. 3. Both model connected power trace. Other devices like the load and the
extraction and simulation in the conventional case require a power supply are modeled using SPICE equivalent circuits.
large amount of time. Therefore, the total analysis process The chosen power driver is the high-side power switch
cannot be carried out in less than one or two days. A first ap- BTS5440 of Infineon [15]. This device usually is used to
proach for simulation acceleration can be enabled by applying switch all kinds of resistive, inductive and capacitive loads.
simple matrix sparsification by truncation [11]. Although the In Fig. 4 it was used to switch a resistive load with R =

22
June 17, 2004 19:46 Research Publishing: Trim Size: 8.50in x 11.00in (IEEE proceedings) ieee-emc08:P291

2008 Asia-Pacific Sympsoium on Electromagnetic Compatibility, 19–22 May 2008, Singapore

5 Ω. This figure compares the current at the output pin of 14.5


the co-simulation with the corresponding pure VHDL-AMS 14 VAMS Model
simulation and with a similar SPICE simulation (IBIS model IBIS Model
13.5

Vbat (V)
of the BTS5440). In the pure VHDL-AMS simulation, only
VHDL-AMS models and the SMASH TM simulator were used. 13
From the figure it is obvious that, as expected, no differences 12.5
between the curves exist. It should be evident that the co-
12
simulation takes a longer execution time than the pure VHDL-
AMS analysis and the SPICE simulation. This is due to the fact 11.5
0 0.1 0.2 0.3 0.4 0.5
that in the co-simulation two separate simulators are involved. Time (ms)
12
3
10
2.5 8
Current (mA)

Vout (V)
2 6
1.5 4
1 VAMS Sim. 2 VAMS Model
Co-Sim. 0 IBIS Model
0.5 IBIS Sim. -2
0 0 0.1 0.2 0.3 0.4 0.5
0 0.1 0.2 0.3 0.4 0.5 Time (ms)
Time (ms)
Fig. 5. Comparison of results of simulations including the active device
Fig. 4. Comparison of the current at the output pin of the high-side power BTS5440, a PEEC model, and an equivalent circuit model of the cable
switch. In all simulations a resistive load with R = 5 Ω was used. harness. In one simulation the high-side power switch was represented using
a simple IBIS model and in the other a more accurate VHDL-AMS model
In Fig. 5 the simulation results of the co-simulation includ- was used.
ing the PEEC model of the PCB power trace as well as an
equivalent SPICE circuit of the cable harness are shown. The R EFERENCES
BTS5440 model was terminated with a serial connection of
[1] A. E. Ruehli, “Equivalent Circuit Models for Three-Dimensional Mul-
a 6.676 Ω resistor and a 25 μH inductor. In the figure the ticonductor Systems,” IEEE Trans. Microwave Theory Tech., vol. MTT-
simulation results of the battery voltage and the output voltage 22, no. 3, pp. 216–221, Mar. 1974.
are compared to a corresponding analysis in which the VHDL- [2] The IBIS Open Forum, “IBIS – I/O Buffer Information,” Version 4.2.
[3] “IEEE Standard VHDL Analog and Mixed-Signal Extensions,” IEEE
AMS model was replaced by the IBIS model of the power Std. 1076.1-1999, New York, USA, 1999.
driver. The differences between the depicted curves are caused [4] R. F. Harrington, Field Computation by Moment Methods, Piscataway,
by the significant load sensitivity of the IBIS model. This NJ, USA, 1993.
[5] J. Ekman, “Electromagnetic modeling using the partial element equiva-
was generated using simulations of the original VHDL-AMS lent circuit method,” Ph.D. dissertation, Lulea University of Technology,
model, terminated by the resistive load with R = 5 Ω. 2003.
[6] M. E. Verbeek, “Iterative solvers and preconditioning for electromag-
VI. C ONCLUSIONS netic boundary integral equations,” Ph.D. dissertation, University of
Utrecht, Utrecht, The Netherlands, 2001.
In the course of this paper, fast and accurate modeling [7] W. Hackbusch, “A sparse matrix arithmetic based on H-matrices. Part
and simulation techniques have been introduced and a new I: Introduction to H-matrices,” Computing, vol. 62, pp. 89–108, 1999.
[8] G. Antonini, “Fast Multipole Method for Time Domain PEEC Analysis,”
developed co-simulation methodology based on two differ- IEEE Trans. Mobile Comput., vol. 2, no. 4, pp. 275–287, Dec. 2003.
ent simulators has been presented. The BEM-based PEEC [9] G. Antonini and A. E. Ruehli, “Fast Multipole and Multifunction PEEC
modeling approach proved to be useful for the analysis of Methods,” IEEE Trans. Mobile Comput., vol. 2, no. 4, pp. 288–298,
Dec. 2003.
the electromagnetic behavior of 3D interconnects and traces [10] W. Hackbusch, “A sparse matrix arithmetic based on H-matrices. Part
on PCBs. A speed increase of the model generation and I: Introduction to H-matrices,” Computing, vol. 62, pp. 89–108, 1999.
the simulation process could be obtained using hierarchical [Online]. Available: http://www.mis.mpg.de/preprints/
[11] M. L. Zitzmann, “Fast and Efficient Methods for Circuit-based Auto-
matrices combined with special iterative solver strategies. In motive EMC Simulation,” Ph.D. dissertation, University of Erlangen,
addition, the simulation results could be further improved by 2007.
replacing simple equivalent circuit models of active devices [12] SimLab Software GmbH, “PCBMod / SLSim,” version 4.0.2. [Online].
Available: http://www.simlab.de
assembled on PCBs by more accurate VHDL-AMS models. [13] Dolphin Integration, “SMASH – Logic, Analog and Mixed simulation,”
version 5.9.3. [Online]. Available: http://www.dolphin.fr
ACKNOWLEDGMENT [14] “MISEA – Modellierung Integrierter Schaltungen für die
EMV-Simulation in der Automobilindustrie.” [Online]. Available:
This work was undertaken in the course of the project http://www.misea.de
MISEA [14], supported by the Bavarian Research Foundation [15] Datasheet BTS 5440G: Smart High-Side Power Switch, Infineon Tech-
(Bayerische Forschungsstiftung). nologies, June 2005.

23

You might also like