Skip to main content

Memristor Hard-Switching 1

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

Fast programming drives the memristor between its resistance limits during a smooth bipolar sine wave.

Circuit notes

Memristor Hard-Switching 1

Fast programming drives the memristor between its resistance limits during a smooth bipolar sine wave.

Circuit operation

The input is the same 3 V peak, 100 Hz sine used in the gradual-response example. MR1 now has a larger programming rate, 2 MΩ/(V·s), which drives it rapidly toward 1 kΩ or 10 kΩ.

Expected behavior

Rmin=1 kΩR_{min}=1\,\mathrm{k\Omega} Rmax=10 kΩR_{max}=10\,\mathrm{k\Omega}

The sine voltage is smooth, but current changes rapidly as resistance approaches or leaves a bound. Positive voltage drives the high-resistance state; negative voltage drives the low-resistance state. “Hard switching” here describes fast state saturation, not an ideal discontinuous relay or a particular manufactured memory cell.

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

Reduce MR1 programming rate Beta to 500 kΩ/(V·s); sharp limiting transitions become gradual state changes. 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

AC 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.