Memristor Response to Triangle Wave
CircuitSim
·
Created Oct 3, 2026
·
Updated Oct 3, 2026
Details
Components
3
Schematic
Yes
Simulation
Transient analysis
Copies
Not copied yet
About this circuit
A triangular input separates the subthreshold read interval from the state-changing portions of the waveform.
Circuit notes
Memristor Response to Triangle Wave
A triangular input separates the subthreshold read interval from the state-changing portions of the waveform.
Circuit operation
V1 ramps between −3 V and +3 V over a 10 ms period. The approximately linear voltage sweep passes through a central subthreshold interval and two programming intervals.
Expected behavior
The current slope changes when the terminal voltage crosses the programming threshold. Between thresholds, current follows voltage through an almost constant resistance. Outside them, evolving resistance bends the response. The stated programming law applies away from the resistance bounds.
Reading the results
The first voltage probe is green; the second, when present, is red. The first current probe is blue. The schematic opens fitted to its extents. The saved transient spans 30 ms with a maximum step of 2 µs. The chart uses separate voltage and current lanes, and the table retains the same probe order.
Try a change
Double the input frequency. Less state change occurs during each half-cycle, so the current response approaches that of a fixed resistor. Restore the saved values after comparison.
Model limits
MR1 uses the ngspice voltage-threshold memristor model. Alpha is zero, so subthreshold reads preserve state. Rmin, Rmax, Rinit, Vt, and Beta are illustrative values. This is a memristive-system model, not a material-specific or thermal model.
Reference: ngspice memristor model and threshold-model paper.
Components used
Components used
3 components
Try this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.