[Paper Review] Reliable SPICE Simulations of Memristors, Memcapacitors and Meminductors
This paper presents a comprehensive methodology and SPICE-compatible models for reliable simulation of memristors, memcapacitors, and meminductors—three-terminal memory circuit elements with non-volatile behavior. It provides validated PSpice, LTspice, and HSPICE code implementations for ideal and non-ideal variants, including threshold-dependent and bipolar models, ensuring accurate hysteresis and convergence in complex circuits.
Memory circuit elements, namely memristive, memcapacitive and meminductive systems, are gaining considerable attention due to their ubiquity and use in diverse areas of science and technology. Their modeling within the most widely used environment, SPICE, is thus critical to make substantial progress in the design and analysis of complex circuits. Here, we present a collection of models of different memory circuit elements and provide a methodology for their accurate and reliable modeling in the SPICE environment. We also provide codes of these models written in the most popular SPICE versions (PSpice, LTspice, HSPICE) for the benefit of the reader. We expect this to be of great value to the growing community of scientists interested in the wide range of applications of memory circuit elements.
Motivation & Objective
- Address the lack of reliable, reusable SPICE models for memristive, memcapacitive, and meminductive systems in circuit simulation.
- Provide a standardized methodology to ensure numerical stability and convergence in SPICE simulations of memory elements with hysteretic behavior.
- Enable accurate modeling of diverse physical behaviors, including ideal, bipolar, and threshold-dependent meminductive systems.
- Facilitate adoption by the research and engineering communities through ready-to-use, tested SPICE code across multiple simulation platforms.
- Support education and future development by offering a teaching-ready framework for modeling memory elements in SPICE.
Proposed method
- Develop a generalized framework for modeling $n$th-order $u$-controlled memelements using state equations: $ y(t) = g(x,u,t)u(t) $, $ \dot{x} = f(x,u,t) $, where $x$ represents internal states.
- Implement SPICE-compatible behavioral models using controlled sources (E, G, F) and integrators (C, R) to simulate dynamic state evolution.
- Use smoothed functions (e.g., $ \text{stps}(x,b) = 1/(1 + \exp(-x/b)) $) to approximate discontinuous behaviors (e.g., threshold switching) for numerical stability.
- Integrate flux and charge integration via $ \phi = \int v \, dt $ and $ q = \int i \, dt $ using auxiliary voltage and current sources with controlled sources.
- Apply numerical integration methods (e.g., Gear method) and convergence controls (e.g., `method = gear`, `reltol = 1u`) to improve simulation reliability.
- Validate models across PSpice, LTspice, and HSPICE using test circuits with sinusoidal inputs and transient analysis to confirm correct hysteretic response and state memory.
Experimental results
Research questions
- RQ1How can memristive, memcapacitive, and meminductive systems be accurately modeled in SPICE without numerical instability or convergence failure?
- RQ2What SPICE implementation techniques ensure reliable simulation of hysteretic, non-linear memory elements with discontinuous or threshold-dependent behavior?
- RQ3How can smoothed approximations of non-differentiable functions (e.g., switching thresholds) be effectively used in SPICE to maintain simulation stability?
- RQ4What are the key configuration parameters and simulation settings (e.g., method, reltol) that ensure convergence and accuracy in complex memelement circuits?
- RQ5How can a unified modeling methodology be developed to support diverse physical realizations of memelements across multiple SPICE platforms?
Key findings
- The proposed models successfully simulate hysteretic behavior in memristors, memcapacitors, and meminductors across all tested SPICE platforms (PSpice, LTspice, HSPICE).
- The use of smoothed functions (e.g., $ \text{stps} $, $ \text{abss} $) enables stable simulation of threshold and switching behaviors without convergence issues.
- The integration of state variables via controlled sources and auxiliary integrators (e.g., GQ, Cint) accurately models the dynamic evolution of internal states.
- Simulation results confirm correct memory retention and non-volatile behavior, with state variables maintaining values even after input cessation.
- The inclusion of `method = gear` and `reltol = 1u` significantly improves convergence and accuracy, especially in long-transient simulations.
- Test circuits with 100 kHz sinusoidal inputs show stable, repeatable hysteresis loops, validating the models' ability to replicate physical memory dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.