Skip to main content

Memristor

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

3


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

About this circuit

Program a resistance with a voltage pulse and read the stored value afterward at a lower voltage.

Circuit notes

Memristor

Program a resistance with a voltage pulse and read the stored value afterward at a lower voltage.

Circuit operation

V1 normally supplies a 0.5 V read level, below the 1 V programming threshold. A 3 V pulse programs MR1 through RS = 100 Ω. The initial resistance is 5 kΩ; positive voltage increases it.

Expected behavior

i(t)=v(t)R(t)i(t)=\frac{v(t)}{R(t)} dRdt=0when ∣v∣<Vt\frac{dR}{dt}=0\quad\text{when }|v|<V_t

Read current is initially about 98 µA. After the programming pulse it is lower, because the resistance has increased. The lower read voltage reveals the stored state without changing it. Calculate MR1 resistance from its measured voltage and current during either read interval.

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 6 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

Set MR1 initial resistance to 2 kΩ. Compare the first read current and the resistance retained after the same write pulse. 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
NameManufacturerMPNCountType

Pulse Voltage Source

Generic

—

1

Official

Resistor

Generic

—

1

Official

Threshold Memristor

Generic

—

1

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.