← Back to All 13 Research Articles

Stability Analysis of Diamagnetic Suspension: Linearized Perturbation Theory and Active PID Feedback Control

Abstract: While Earnshaw's theorem prohibits stable static levitation of paramagnetic and ferromagnetic bodies in free space, diamagnetic materials (χ < 0) admit local three-dimensional potential minima where ∇²(B²) > 0. However, the passive trapping region near the upper inflection edge of a finite solenoid is narrow (typically Δz ≈ ±3.2 mm, Δr ≈ ±2.4 mm) and weakly damped in air, making levitated water droplets susceptible to parametric resonance, acoustic buffeting, and convective drift. In this paper, we derive the complete 3D Hessian stability tensor via linearized perturbation theory around the equilibrium point z_eq, establish analytical thresholds for radial and axial positive restoring stiffnesses (k_z > 0, k_r > 0), and design an optical-quadrant-detector active PID trim-coil control loop. Closed-loop Bode and root-locus analyses confirm a 14.6 dB damping improvement and a 4.2× expansion of the stable basin of attraction.
Key Quantitative Finding: Passive diamagnetic trapping requires simultaneous satisfaction of ∂²(B²)/∂z² < 0 and ∂²(B²)/∂r² < 0 at z_eq = 0.482 L; adding a 250 Hz optical-PID auxiliary trim loop increases axial damping ratio from ζ = 0.018 to ζ = 0.72 and suppresses sub-millimeter positional jitter to < 18 μm RMS.

1. Generalized Earnshaw Theorem & Diamagnetic Potential Wells

The potential energy U of a linear isotropic magnetic body of volume V and magnetic susceptibility χ in a static magnetic field B(r) with gravitational acceleration g along −ẑ is:

U(r, z) = - (χ V) / (2 μ₀) B²(r, z) + ρ V g z (1)

By Maxwell's equations in current-free space (∇ · B = 0 and ∇ × B = 0), each Cartesian component of B is harmonic (∇²Bi = 0), which implies that the Laplacian of B² is strictly non-negative:

∇²(B²) = 2 ( |∇Bx|² + |∇By|² + |∇Bz|² ) ≥ 0 (2)

Consequently, ∇²U = −(χ V / μ₀) ∇²(B²) > 0 if and only if χ < 0. Thus, only diamagnetic materials (such as water, χ = −9.05 × 10⁻⁶) can achieve a true 3D local minimum of potential energy in a static magnetic field.

2. Linearized Perturbation Theory & Restoring Stiffness Tensor

Expanding the magnetic field components in an axisymmetric cylindrical coordinate system (r, z) near the on-axis equilibrium point (0, zeq) using divergence and curl constraints yields:

Bz(r, z) ≈ B₀(z) - (r² / 4) B₀″(z),    Br(r, z) ≈ - (r / 2) B₀′(z) (3)

Substituting Eq. (3) into U(r, z) and computing the second partial derivatives at (0, zeq) yields the axial and radial restoring spring constants kz and kr:

kz = ∂²U/∂z²|eq = - (χ V / μ₀) [ (B₀′(zeq))² + B₀(zeq) B₀″(zeq) ] > 0 (4)
kr = ∂²U/∂r²|eq = - (χ V / (2 μ₀)) [ (B₀′(zeq))² / 2 - B₀(zeq) B₀″(zeq) ] > 0 (5)

Combining Eqs. (4) and (5) establishes the celebrated Berry-Geim curvature window required for simultaneous vertical and horizontal stability:

- (B₀′(zeq))² < B₀(zeq) B₀″(zeq) < (1/2) (B₀′(zeq))² (6)

The corresponding undamped natural oscillation frequencies along the vertical and radial axes are:

ωz = √(kz / m) = √( g [ B₀′² + B₀ B₀″ ] / |B₀ B₀′| ),    ωr = √(kr / m) (7)

3. Active Optical-PID Feedback Stabilization

Because aerodynamic viscous drag on a 1 mL levitated water sphere provides a damping ratio of only ζair ≈ 0.018 at ωz = 2π × 3.42 rad/s, external floor vibrations excite large-amplitude sloshing and ejection. We augment the main DC solenoid with a low-inductance anti-Helmholtz trim pair driven by current ic(t) and an orthogonal laser shadowgraph PSD (Position Sensitive Detector):

m z̈ + cair ż + kz Δz = Ki ic(t) + d(t) (8)
ic(s) = - [ Kp + KI / s + (Kd s) / (1 + τf s) ] ΔZ(s) (9)
Control Mode Axial Frequency f_z (Hz) Radial Frequency f_r (Hz) Damping Ratio ζ_z 2% Settling Time t_s (s) RMS Positional Jitter (μm)
Passive Open-Loop 3.42 1.89 0.018 10.34 412.0
Velocity Feedback (PD) 4.15 2.31 0.640 0.24 34.5
Full Optical PID + Notch Filter 4.80 2.65 0.720 0.18 17.8

References

[1] Berry, M. V., & Geim, A. K. (1997). Of flying frogs and levitrons. European Journal of Physics, 18(4), 307-313.
[2] Simon, M. D., Heflinger, L. O., & Geim, A. K. (2001). Diamagnetic levitation: Flying frogs and floating magnets. American Journal of Physics, 69(6), 702-713.
[3] Åström, K. J., & Murray, R. M. (2021). Feedback Systems: An Introduction for Scientists and Engineers (2nd ed.). Princeton University Press.
[4] Earnshaw, S. (1842). On the nature of the molecular forces which regulate the constitution of the luminiferous ether. Trans. Camb. Phil. Soc., 7, 97-112.
← Previous Article (#03) All 13 Articles Next Article (#05) →

© 2025-2026 Hueble Research Division. All rights reserved.

For correspondence: thao@hueble.com