Skip to content

Memristor modeling artifacts (including a model for use with LTspice)

License

Notifications You must be signed in to change notification settings

nakins/memristor-modeling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memristor Modeling repo

Includes a SPICE model suitable for use with LTspice

By Martin Falatic (www.Falatic.com)

Except where otherwise noted, my contributions are licensed under the MIT license (see the LICENSE file for details).

Originally released via web 2013-01-10:

http://www.falatic.com/index.php/69/memristor-simulation-with-ltspice-a-practical-example

** These examples are provided for informational purposes ONLY. ** ** No warranty is expressed or implied. **

I've been curious about memristors for a while, and decided to see if I could model one in LTspice (since I didn't find one there). This is the result. This is not by any means definitive, just an example of the memristor as described in one of the more well-known papers on the subject.

This was most recently tested successfully with LTspice IV 4.23i and LTspice XVII 2016-08-24 (see install notes).

http://www.linear.com/designtools/software/#LTspice

Install the contents of the LTspice_model folder into the corresponding LTspice folders of your installation:

  • For LTspice IV: "C:\Program Files\LTS\LTspiceIV" or wherever you installed it at.
  • For LTspice XVII: Careful! Even though the install dirs are similar to those in IV, there is a fully copy of examples and lib in "C:\Users%username%\Documents\LTspiceXVII", which is currently the only tree XVII reads its libs and examples from! Therefore you should put the memristor lib files with the other libs in that tree if the default doesn't work for you (not sure if this is a transient or permanent quirk).

Simulation:

  • Open memristor_sim.asc
  • Select "Simulate" -> "Run"
  • Click on the graph tab
  • Select "Plot Settings" -> "Open Plot Settings File"
  • Select memristor_sim.plt
  • This output should match what you see in the memristor_sim_example.png file

Resources used:

About

Memristor modeling artifacts (including a model for use with LTspice)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Gnuplot 60.8%
  • AGS Script 39.2%