Presets
Field Parameters
Particle Parameters
Controls
Statistics
Mathieu Stability Diagram (bottom-right)
Check whether the current a and q parameters fall inside the stable region (blue area).
Visualize charged particle trapping and escape in an oscillating electric field (Paul trap) in real time. Adjust AC voltage, frequency, and DC offset to explore Mathieu equation stability.
Check whether the current a and q parameters fall inside the stable region (blue area).
The motion of a charged particle in a Paul trap is governed by the Mathieu equation, which comes from applying Newton's second law to the forces from the oscillating quadrupole electric field.
$$ \frac{d^2 u}{d \tau^2}+ (a_u - 2q_u \cos(2\tau)) u = 0 $$Here, $u$ represents the particle's position in either the x or y direction. The dimensionless parameters $a_u$ (related to the DC voltage) and $q_u$ (related to the AC voltage and frequency) determine whether the solution is stable (particle trapped) or unstable (particle escapes). Time is scaled to the RF drive frequency.
The stability parameters $a$ and $q$ are what you directly control with the simulator sliders. They are defined in terms of the trap's physical parameters.
$$ a_z = -2a_r = \frac{8eU_{dc}}{m r_0^2 \Omega^2}, \quad q_z = -2q_r = \frac{4e V_{rf}}{m r_0^2 \Omega^2}$$Where $e$ and $m$ are the particle's charge and mass, $U_{dc}$ is the DC offset, $V_{rf}$ is the RF voltage amplitude, $\Omega$ is the RF angular frequency, and $r_0$ is a characteristic trap dimension. The particle is trapped only for specific ($a, q$) regions in "stability diagrams"—which is what you're exploring when you adjust the sliders.
Quantum Computing: Paul traps are the workhorse for ion-trap quantum computers. Individual ions (like Ytterbium) are trapped and laser-cooled to near absolute zero, where their internal energy states become qubits. The precise control offered by the trap's electric fields allows for quantum logic operations.
Mass Spectrometry: In a Quadrupole Mass Filter (a linear Paul trap), a specific combination of DC and RF voltages is applied. Only ions with a specific mass-to-charge ratio ($m/e$) have stable trajectories and pass through to the detector; all others collide with the rods and are filtered out.
Precision Frequency Standards (Atomic Clocks): The most accurate clocks in the world use an optical transition in a single trapped ion (like Aluminium). The Paul trap isolates the ion from disturbing environmental effects, allowing its "ticking" frequency to be measured with extraordinary precision.
Fundamental Physics Research: Paul traps are used to study charged particle dynamics, test quantum mechanics, and even simulate complex many-body physics. They provide a pristine, controllable environment to observe phenomena that are difficult to see elsewhere.
First, you might think "the higher the AC voltage, the stronger the trapping", but this is a misconception. While increasing the AC voltage (the q parameter) does strengthen the force pulling the particle back toward the center, it also increases the amplitude of its oscillations. Beyond a certain threshold, the particle's oscillation diverges and it escapes almost instantly. For example, with the DC component (a) at 0, setting q above 0.9 typically makes the particle unstable. Parameter tuning is all about "applying the right amount of force"; the golden rule is to aim for a point *inside* the stability region.
Next, remember that simulations represent an ideal environment. In actual experiments, poor vacuum conditions can cause ions to lose energy through collisions with residual gas, preventing trapping. Furthermore, minor imperfections in electrode geometry or power supply noise cannot be ignored. Using this tool while imagining the gap between "theoretically it should trap" and "it doesn't work on the actual device" will help you develop practical intuition.
Finally, do not treat the "DC component as an optional extra". The DC voltage (a) plays a crucial role in balancing the trapping strength in the x and y directions. For instance, you'll find that changing a from 0 to a slightly positive value (e.g., 0.1) alters the shape of the stability region and narrows the range of q values that allow trapping. This is precisely the principle of "mass selectivity" used to filter ions of a specific mass. Understand that DC and AC are two wheels of the same cart.
The core concept of this simulator—"particle motion in an oscillating field"—appears in various engineering fields beyond Paul traps. For example, RF ion guides and quadrupole mass spectrometers (QMS) transport or filter ions using the exact same principle. By arranging quadrupole electrodes inside a pipe and applying a suitable RF voltage, ions can be transported to a detector with minimal loss.
Furthermore, in the field of particle accelerators, RF quadrupole magnets are used to focus particle beams. Although magnetic fields are used here instead of electric fields, the equations describing particle motion are remarkably similar, and the same concept of a "stable orbit" applies. This is a fundamental technique for focusing charged particle beams and confining them within an accelerator.
More surprisingly, similar equations emerge in the field of MEMS (Micro-Electro-Mechanical Systems). When analyzing the motion of tiny oscillators (e.g., the gyro sensor in a smartphone), the mathematics dealing with phenomena like nonlinearity and parametric excitation is directly connected to the techniques for solving the Mathieu equation. Even in seemingly distant fields, the underlying physics and mathematics are shared.
If this simulation has piqued your interest, your next step could be to explore "why stability is determined by the Mathieu equation" at the mathematical level. The key concept here is "Floquet theory." This is a powerful theory for studying the properties of solutions to differential equations with periodic coefficients, and the Mathieu equation is a prime example. A good starting point is to understand that the solution can be expressed in the form $u(\tau) = e^{i\mu \tau} \phi(\tau)$ (where $\phi$ is a periodic function). If the exponent $\mu$ is real, the motion is stable; if it's imaginary, it's unstable.
As a practical next step, we recommend learning about "3D Paul traps (Penning traps or Paul traps)". This simulator shows motion in 2D, but real traps also confine particles in the z-direction using end-cap electrodes. These are broadly categorized into "Penning traps," which add a static magnetic field, and "Radiofrequency traps (RF traps)," which use only an RF electric field for confinement, each with different applications.
Ultimately, try connecting the simulator's parameters to real physical quantities through calculation. For instance, given a mass of $m=1.0 \times 10^{-25}$ kg (approximately the mass of a Yb+ ion), charge $e=1.6 \times 10^{-19}$ C, and electrode radius $r_0=1.0$ mm, how do an AC voltage of $V_{ac}=100$ V and a frequency of $\Omega/2\pi = 1$ MHz translate into the dimensionless parameter $q$? By substituting into the relation $q = \frac{2eV_{ac}}{m r_0^2 \Omega^2}$, you bridge the simulation with the real world.