Shape-Memory Actuator: Hysteresis Loop & Stroke Decay (2D)
2D phase-diagram simulator of a NiTi shape-memory-alloy actuator: watch the martensite-fraction/temperature hysteresis loop widen and drift as functional fatigue accumulates, alongside a live stroke-decay chart.
A NiTi shape-memory-alloy wire actuator is driven through repeated heat/cool cycles using the Liang–Rogers cosine phase-fraction model, exactly as in the 3D coil simulator — but here the mechanism is shown as two live graphs instead of a physical spring. The top panel is a martensite-fraction-versus-temperature phase diagram: the working point traces a closed hysteresis loop each cycle, and that loop visibly widens and shifts to higher temperature as functional fatigue accumulates. The bottom panel plots the recoverable actuation stroke against cycle count, tracing out the same exponential-saturation decay that governs the loop drift. Sliders for applied load, maximum heating temperature and cycle rate, plus play/pause, reset and a 200-cycle fast-forward, let you explore how stress accelerates the saturation and how a fatigued actuator needs a hotter pulse to fully switch phase.
Watch a NiTi shape-memory-alloy actuator's martensite-fraction/temperature hysteresis loop widen and drift as functional fatigue accumulates over repeated heat/cool cycles, alongside a live stroke-decay chart plotting the same exponential-saturation math as the 3D coil simulator.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install