Memristor Response to Sine 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 sinusoidal voltage changes resistance over time, so current depends on the recent voltage history.
Circuit notes
Memristor Response to Sine Wave
A sinusoidal voltage changes resistance over time, so current depends on the recent voltage history.
Circuit operation
V1 supplies a 3 V peak, 100 Hz sine wave. MR1 resistance starts at 5 kΩ and changes only when its own terminal voltage exceeds ±1 V. Positive voltage raises resistance; negative voltage lowers it.
Expected behavior
Compare current on the rising and falling portions of equal voltage. Different current at the same voltage reveals memory. Voltage and current cross zero together, so a current-versus-voltage plot of the table data forms a pinched hysteresis curve. The saved chart shows both signals versus time.
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.