MEMS Comb-Drive Resonance Curve Simulator (2D)
Interactive 2D MEMS comb-drive companion simulator: a real 4th-order Runge-Kutta integration of the driven spring-mass-damper shuttle, plotted live against the closed-form resonance transfer function H(r) = 1/sqrt((1-r^2)^2+(r/Q)^2), with adjustable bias, AC drive, frequency ratio and quality factor.
This 2D companion to the 3D comb-drive actuator models the same real electrostatic MEMS resonator, but computes it a genuinely different way: instead of a single live amplification readout, it integrates the driven spring-mass-damper equation of motion with 4th-order Runge-Kutta and plots the exact closed-form resonance transfer function H(r) = 1/sqrt[(1-r²)²+(r/Q)²] that the same linear ODE predicts. A live marker measured straight from the running integration rides along the theoretical curve as you sweep the drive frequency, so you can watch a numerically-simulated device track its own analytic prediction — including the small extra lift from second-harmonic mixing that a real comb drive shows when the AC swing is not negligible next to the DC bias. Adjust bias voltage, AC drive amplitude, frequency ratio and quality factor to see the peak shift, sharpen and rescale exactly as the formula predicts.
A 2D companion to the MEMS comb-drive actuator: a real 4th-order Runge-Kutta integration of the driven spring-mass-damper shuttle, plotted live against the closed-form resonance transfer function H(r) = 1/sqrt((1-r^2)^2+(r/Q)^2), with adjustable DC bias, AC drive, frequency ratio and quality factor.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install