SPICE3 Enables Accurate Modeling of Complex ICs
Nov 1, 2006 12:00 PM
By Larry Meares, President and Chief of Custom Modeling, and Tim Ghazaleh, Marketing Director, Intus
The capabilities of SPICE3 permit the simulation of circuits incorporating the latest ICs by way of special algorithms and modeling techniques.
Click here for the enhanced PDF version of this article
including diagrams and/or equations.
News & Features From Auto Electronics
Committed to improving hybrid electric cars
New Motors for Hybrid Vehicles
Battery Firms Battle for Hybrid Hegemony
Innovative Bipolar Plates for Fuel Cells
See More Headlines
Top Articles
Exploring Current Transformer Applications
Ultracapacitor Technology Powers Electronic Circuits
Buck-Converter Design Demystified
Sensorless Motor Control Simplifies Washer Drives
PET Resources
Buyer's Guide
Conferences
Engineering Jobs
Power Electronics Events
Rent Our Lists
Spotlight on Digital Power
Today, many analog IC manufacturers provide software models in SPICE format. With an enlarging community using electronic design automation (EDA), it's become a prominent challenge to provide SPICE users with sophisticated IC models. We will explore a few SPICE modeling basics that tie into more sophisticated modeling techniques, and provide three complex modeling examples of real-world ICs used in power design. This will provide insight into SPICE3's accommodation of tough modeling scenarios. It also will provide experience in using sophisticated IC SPICE models in analog designs.
SPICE3 Versus SPICE2
During the evolution of SPICE3 in the 1990s through today, better capability was engineered from its SPICE2 predecessor. This was done in part to enable greater accuracy with modeling primitives, which are ultimately used for the modeling of complex components.
Though diodes, comparators and amplifiers are widely used in behavioral models for constructing ICs, SPICE2 is quite limited in this area. SPICE2 only has diode and gain elements available as intrinsic building blocks. SPICE3 provides many other choices. Even SPICE3's diode function is improved through the use of a small emission coefficient (N), which scales its I-V curve alongside setting the diode temperature to 27°C. SPICE2 doesn't allow separate temperatures for individual parts.
Another nice trick with SPICE3 is if you reduce N by a factor of 1000, the diode forms an interesting macro model and looks like a very sharp switch, which switches on around 1 mV. Albeit, when reverse-biased, the diode's temperature coefficient of current is too large, so this model fails for virtually any deviation in circuit temperature. Looking further, limiters inside SPICE3 are modeled as high-gain amplifiers that switch from V
SPICE3's Comparator Model
Generally, it's disadvantageous to get initially involved in constructing a detailed model. Instead, behavioral elements are used to model core IC functions, with more detailed design added to accommodate second-order effects.
Following are two methods for modeling a comparator. Fig. 1 shows a diode-based model. With N=0.001, the accuracy is very good. Note that accuracy will suffer if SPICE2 compatibility is required.
Historically, sigmoid functions found their way into SPICE models as a result of their use in neural networks. The sigmoid equation shown in Fig. 2 has the property of being continuously differentiable, although there are practical numerical limitations. For this example, the transition is softer than the diode limiter and derivatives go to zero for a smaller range of the input function.
A closely related problem to comparators is an amplifier with limits. As the signal progresses through a cascade of amplifiers, the simulator is forced to find a tiny window of linear gain. The presence of derivatives over a wide overload range is critical to convergence. The sigmoid function must be integrated before it can be used in an amplifier. The amplifier with limits in Fig. 3 was constructed using two sigmoid integral functions, one for the positive limit and the other for the negative limit. The two subcircuits at the top right of Fig. 3 are used to construct a linear output window between 80 V and 100 V.
These and other techniques highlighted in the following examples are needed to accurately model complex ICs.
HID Lamp Controller IC
Most of the logic in the UCC2305 high-intensity discharge (HID) lamp controller IC normally requires many minutes of time to be simulated. However, an average model of the switching regulator within the IC SPICE model (Click to view Fig. 4) is constructed to dramatically lessen the run time (about 55 times faster). For switch-level component stress analysis and design validation, the switching model should be run for several cycles at each operating point to be investigated.
The SEPIC converter is actually a compound boost-buck converter. It can be modeled in continuous-conduction mode using two average voltage-mode PWM circuits. The advantage of this model lies in its computational efficiency.
Much of the UCC2305 circuitry deals with thermal time constants that require a simulation time of 100 sec or more. But again, to test these features, the average model is mandatory. A unique VSECTOL convergence option is selected to enable accurate-time step control during this process.
The plasma in a HID lamp driven by the UCC2305 forms in several seconds. The thermal model submits radiation loss from the lamp and is modeled as a “thick” spectrum. Electrode emission loss of the lamp also must be modeled as well as conductivity versus temperature, power control, warm-up logic, undervoltage lockout and the ac switching feature.

