Skip to Content
ProcessesProcesses
  • Article
  • Open Access

4 November 2026

21 Pages

A Sub-Hertz-Resolution RF/DC Driver Platform for Quadrupole Mass Filtering Processes: Coupled Modeling, Hardware Design, and Benchtop Characterization

,
,
,
,
,
and
1
Chengdu Haikejing Medical Technology Co., Ltd., Chengdu 641419, China
2
Hymson Laser Technology Group Co., Ltd., Shenzhen 518110, China
3
Shenzhen Academy of Metrology & Quality Inspection, Shenzhen 518072, China
*
Author to whom correspondence should be addressed.

Abstract

In quadrupole mass filtering processes, ion trajectory stability is governed by the Mathieu parameters ( a , q ), which scale inversely with the square of the excitation frequency ( ω − 2 ). High-quality-factor ( Q ≥ 100 ) series resonant networks are widely employed for passive radio-frequency (RF) voltage step-up. However, their narrow passbands render the output amplitude vulnerable to temperature-induced capacitive detuning. Furthermore, conventional microcontroller-based Direct Digital Synthesis (DDS) architectures rely on integer register parsing, constraining the tuning resolution to ≥1 Hz and introducing quantization errors during frequency scanning and tracking. This paper presents the coupled modeling, hardware design, and benchtop characterization of a software-defined RF/DC driver platform with 0.1 Hz frequency resolution for resonant quadrupole mass filters. Numerical modeling coupling fourth-order Runge–Kutta (RK4) ion dynamics with RLC transfer functions demonstrates that a 0.1 Hz frequency increment restricts stability parameter shifts to Δ q / q < 2 × 10 − 7 , limits detuning voltage attenuation to Δ V / V 0 < 10 − 5 , and eliminates peak apex truncation at mass resolving powers R > 1200 . The hardware platform integrates an STM32 microcontroller, an AD9954 DDS core (400 MSPS), an IEEE-754 32-bit floating-point Ethernet communication pipeline, a 16-bit bipolar DC bias stage (0.1 mV step resolution), and an in-loop baseband telemetry channel. Benchtop measurements demonstrate continuous RF generation from 10 Hz to 10 MHz with a relative frequency error below 0.070%. On a 1.0 MHz series resonant network loaded with a 50 pF equivalent capacitance, thermal measurements reveal an open-loop start-up frequency scatter of 0.266% (2.66 kHz), demonstrating the necessity of sub-Hertz frequency correction to restore resonance. The telemetry channel achieves an acquisition stability relative standard deviation (RSD) of 1.2 × 10 − 5 via a 500-sample moving-average filter, enabling closed-loop frequency tracking to maintain the normalized RF amplitude within 99.55 % to 100.00 % across a 60-min thermal cycle. Characterized on a benchtop equivalent load, this hardware platform provides a deterministic electronic foundation for dynamic resonance re-centering and stable ion transmission in high-Q quadrupole systems.

1. Introduction

Quadrupole mass spectrometers (QMSs) and linear multipole devices are widely used in chemical analysis and analytical instrumentation [1,2] due to their compact structure, continuous-beam operation, and moderate vacuum requirements [3,4]. A quadrupole electric field is formed by applying a radio-frequency (RF) potential V cos ( ω t ) and a static direct-current (DC) voltage U with opposite polarities to diagonally paired, parallel electrode rods [5,6,7,8]. The transverse motion of ions within this field is governed by the Mathieu differential equations, where trajectory stability depends on the dimensionless parameters a and q [9,10,11,12]. Because these parameters scale inversely with the square of the excitation frequency ( a , q ∝ ω − 2 ) [10,12], the mass-filtering resolution, transmission efficiency, and operational stability depend directly on the amplitude stability, phase fidelity, and frequency precision of the driving electronics.
To deliver high-voltage sinusoidal waveforms (hundreds to thousands of volts peak-to-peak) with low power dissipation, high-quality-factor ( Q ≥ 100 ) series resonant networks—such as air-core RLC tanks or helical resonators—are commonly employed as passive step-up stages [13,14,15]. However, operating at high-quality factors narrows the operational passband ( Δ f 3 dB = f 0 / Q ), making the output voltage sensitive to load impedance variations [14]. In practical assemblies, ambient temperature changes induce sub-picofarad drifts in the inter-electrode parasitic capacitance ( Δ C ), which shift the loaded resonant frequency of the network [14,15]. Traditional mechanical compensation methods, such as adjustable inductor taps or motorized variable capacitors [16], are constrained by mechanical backlash, contact wear, and slow response times, limiting dynamic correction during operation.
Direct Digital Synthesis (DDS) and digital RF generators allow for electronic adjustment of the driving frequency by updating the digital Frequency Tuning Word (FTW) [17,18,19,20,21,22,23,24]. Nevertheless, existing DDS-based quadrupole drivers exhibit several practical limitations. First, dedicated embedded implementations often handle target frequencies as integer values in firmware or communication protocols, constraining the command resolution to ≥1 Hz or 1 kHz  [19,20]. In high-Q resonant networks, kilohertz frequency offsets produce phase shifts and voltage attenuation exceeding 10 % , which alters the mass scan line a / q = 2 U / V  [17,20]. In frequency-scanned modes, a 1 Hz stepping interval also introduces discrete quantization steps across narrow stability peaks. Second, typical drivers are designed as standalone units with narrow output bandwidths (<2 MHz) [18,20,24], limiting their adaptability to multi-mode operations or integration into networked laboratory platforms. Finally, existing studies typically treat the RF driver as an isolated circuit stage [15,22,24], lacking quantitative analysis that links digital frequency resolution to resonant circuit detuning and ion stability limits.
To address these limitations, this paper presents the coupled numerical modeling, hardware design, and benchtop characterization of a software-defined RF/DC driver platform with 0.1 Hz frequency resolution for resonant quadrupole loads. A coupled numerical model combining fourth-order Runge–Kutta (RK4) ion dynamics with high-Q RLC transfer functions is developed to evaluate frequency detuning and quantization effects. The simulation results show that a 0.1 Hz frequency step size restricts stability parameter shifts to Δ q / q < 2 × 10 − 7 , eliminates peak apex truncation in simulated frequency-scanned regimes ( R > 1200 ), and bounds theoretical resonant voltage attenuation to Δ V / V 0 < 10 − 5 . On the hardware level, an embedded platform integrating an STM32 microcontroller, an AD9954 DDS core (400 MSPS), and a W5500 Ethernet controller is realized. By implementing an IEEE-754 32-bit floating-point communication protocol, the system avoids integer truncation in command parsing and achieves deterministic 0.1 Hz frequency stepping across six decades from 10 Hz to 10 MHz. In addition, the driver incorporates a 16-bit bipolar DC bias generator offering 0.1 mV step resolution and an in-loop baseband telemetry channel, where a firmware-implemented 500-sample moving-average filter yields an acquisition stability relative standard deviation (RSD) of 1.2 × 10 − 5 . Finally, benchtop experiments on a 50 pF equivalent capacitive load are conducted to evaluate wideband frequency synthesis accuracy, open-loop thermal scatter, closed-loop resonance tracking, and DC output linearity.

2. Theoretical Principles and Simulation Modeling

2.1. Quadrupole Ion Dynamics and the Mathieu Equation

An ideal quadrupole mass filter consists of four hyperbolic electrodes aligned parallel to the longitudinal z-axis, as illustrated in Figure 1 [6,9]. The inscribed radius from the central axis to each electrode tip is denoted by r 0 . Opposite electrodes are electrically connected, and complementary potentials are applied to the x- and y-electrode pairs:
Φ x ( t ) = + ( U − V cos ω t )
Φ y ( t ) = − ( U − V cos ω t )
where U is the static DC voltage, V is the zero-to-peak amplitude of the RF excitation potential, ω = 2 π f 0 denotes the angular frequency, and t is time.
Figure 1. Cross-section of the hyperbolic quadrupole analyzer showing the coordinate system, inscribed field radius r 0 , and applied RF/DC potentials.
Assuming ideal hyperbolic boundaries without axial fringing fields, the two-dimensional potential distribution Φ ( x , y , t ) satisfies Laplace’s equation ∇ 2 Φ = 0  [7,8]:
Φ ( x , y , t ) = ( U − V cos ω t ) x 2 − y 2 r 0 2
The electric field components are obtained from E = − ∇ Φ :
E x = − ∂ Φ ∂ x = − 2 ( U − V cos ω t ) r 0 2 x , E y = − ∂ Φ ∂ y = + 2 ( U − V cos ω t ) r 0 2 y
For an ion of mass m and net charge z e (where e = 1.602 × 10 − 19 C is the elementary charge and z is the charge state), the equations of motion in the transverse plane are:
m d 2 x d t 2 + 2 z e r 0 2 ( U − V cos ω t ) x = 0
m d 2 y d t 2 − 2 z e r 0 2 ( U − V cos ω t ) y = 0
Introducing the dimensionless time variable ξ = ω t / 2 and the stability parameters a u and q u ( u = x , y ) [10,11],
a x = − a y = 8 z e U m ω 2 r 0 2 , q x = − q y = 4 z e V m ω 2 r 0 2
transforms Equations (5) and (6) into the Mathieu equations:
d 2 u d ξ 2 + ( a u − 2 q u cos 2 ξ ) u = 0 , ( u = x , y )
According to Floquet theory, bounded ion trajectories exist within overlapping stability regions in ( a , q ) space. For mass filtration, the operating point is positioned near the apex of the first stability zone at ( q apex , a apex ) ≈ ( 0.7060 , 0.2370 )  [6,12].
The mass scan line is defined by the constant ratio:
a q = 2 U V = const
Assuming fixed potential amplitudes (U and V), differentiating Equation (7) with respect to the excitation frequency f 0 = ω / ( 2 π ) gives the parametric sensitivity
d a a U = d q q V = − 2 d f 0 f 0
Equation (10) indicates that a relative frequency deviation induces a twofold relative shift in the stability parameters. In broadband or non-resonant driving modes where voltage amplitude is independent of frequency, this relation directly determines the required frequency stepping resolution.
When driving a series resonant network, the delivered RF amplitude V ( f 0 ) = V in | H ( f 0 ) | depends on frequency through the network transfer function H ( f 0 ) . The total sensitivity of the stability parameter q is given by:
d q q = d V ( f 0 ) V − 2 d f 0 f 0 = 1 | H ( f 0 ) | ∂ | H ( f 0 ) | ∂ f 0 d f 0 − 2 d f 0 f 0
At resonance ( f 0 = f res ), the first derivative of the transfer function magnitude vanishes ( ∂ | H | / ∂ f 0 = 0 ), and Equation (11) simplifies to Equation (10). Off resonance, however, the steep roll-off of a high-Q passband causes voltage attenuation that further displaces the operating point in ( a , q ) space. Consequently, sub-Hertz frequency granularity (0.1 Hz) provides the resolution needed for precise resonance centering ( ∂ | H | / ∂ f 0 ≈ 0 ) in resonant step-up networks and smooth parameter tracking in frequency-scanned modes.

2.2. Numerical Simulation of Ion Trajectory Dynamics and Frequency Sensitivity

To evaluate the effect of RF offsets and discrete tuning quantization on ion transmission, ion trajectories were simulated by numerically integrating the equations of motion using a fourth-order Runge–Kutta (RK4) method in MATLAB (Version R2023b, The MathWorks, Inc., Natick, MA, USA) [10,12].
In the time domain, the transverse equations of motion [Equations (5) and (6)] are formulated as a first-order state-space system:
x ˙ 1 = x 2 x ˙ 2 = − 2 z e m r 0 2 U − V cos ω t x 1 y ˙ 1 = y 2 y ˙ 2 = + 2 z e m r 0 2 U − V cos ω t y 1
where x 1 = x ( t ) , x 2 = x ˙ ( t ) , y 1 = y ( t ) , and  y 2 = y ˙ ( t ) denote the transverse positions and velocity components, respectively. Equation (12) is numerically integrated using a fixed RK4 time step of Δ t = 1.0 ns (corresponding to 1000 integration steps per 1.0 MHz RF cycle) to accurately resolve both low-frequency secular motion and high-frequency RF micromotion. Step-halving convergence tests ( Δ t = 0.5 ns versus 1.0 ns ) confirmed that the relative trajectory position error remains below 10 − 6 over the entire transit duration.
The simulation tracks an ensemble of N = 2000 test ions ( z = 1 , m / z = 100 Th ) injected along the longitudinal z-axis with an initial axial kinetic energy of E z = 5.0 eV into a quadrupole analyzer with r 0 = 4.0 mm and length L z = 150 mm . Initial entrance positions ( x 0 , y 0 ) are sampled from a uniform distribution over an aperture of radius r in = 0.1 r 0 , while initial transverse velocities follow a Maxwell–Boltzmann distribution at T = 300 K . Initial RF injection phases ξ 0 = ω t 0 / 2 are uniformly distributed over [ 0 , π ) to model continuous beam injection. An ion is considered transmitted if its instantaneous radial displacement remains within the inscribed electrode aperture throughout the transit time (assuming ideal hyperbolic fields without axial fringing-field losses):
r ( t ) = x 1 ( t ) 2 + y 1 ( t ) 2 < r 0 , ∀ t ∈ [ 0 , t transit ]
where t transit = L z / 2 E z / m ≈ 48.3 μ s is the nominal axial transit duration (comprising ≈ 48.3 RF cycles). Parametric sensitivity evaluations indicate that varying the scan-line ratio a / q = 2 U / V by ± 0.01 % near the stability apex shifts the peak transmission efficiency by ≈4.2% and alters the resolving power R by ± 65 , whereas the 0.1 Hz frequency quantization threshold and the 50% detuning passband ( | Δ f | ≤ 150 Hz ) remain invariant across initial axial ion energies E z ∈ [ 3.0 , 7.0 ] eV .
Figure 2 compares calculated transverse trajectories under resonant and detuned conditions. At resonance ( Δ f = 0 ), ions exhibit stable trajectories composed of low-frequency secular motion and RF micromotion, successfully traversing the analyzer (Figure 2a). Conversely, according to the sensitivity relationship in Equation (11), an uncompensated frequency offset of Δ f = 250  Hz produces a parameter shift that is amplified by resonant voltage attenuation. Near the stability apex, this shift moves the operating point across the boundary ( β y → 0 ), leading to trajectory divergence in the y-direction and collision with the electrode at t ≈ 26.8 μ s (Figure 2b).
Figure 2. Numerically simulated transverse ion trajectories (x- and y-directions) near the apex of the first stability region ( m / z = 100 , r 0 = 4 mm, f 0 = 1.0 MHz) for a representative test ion ( x 0 = y 0 = 0.12 mm, v x 0 = v y 0 = 0 , ξ 0 = 0 ): (a) bounded stable trajectory at the nominal resonant frequency; (b) trajectory divergence and electrode collision induced by a frequency offset of Δ f = 250 Hz.
To evaluate the impact of discrete frequency quantization in frequency-scanned operation, Figure 3 shows the resulting mass peak profiles and transmission boundaries around m / z = 100 . As shown in Figure 3b, where circular markers denote discrete RK4 integration samples, the transmission response is governed by the stability apex acceptance and the high-Q resonant attenuation, which restricts the 50% transmission passband to | Δ f | ≤ 150 Hz and induces complete trajectory divergence for | Δ f | > 240 Hz . When sampling this profile with a 10 Hz step size (Figure 3a), grid mismatch causes discretization artifacts and an apex truncation error of approximately 15.5%, alongside a slight centroid shift. A 1 Hz stepping interval reduces profile distortion, but discrete steps remain visible near the apex. In contrast, a 0.1 Hz frequency step size provides fine parameter tracking, capturing the peak maximum with an amplitude uncertainty below 0.1% and maintaining a symmetric profile with a mass resolving power R defined as [6,11]:
R = m Δ m FWHM > 1200
where m is the nominal ion mass (or mass-to-charge ratio m / z for singly charged ions, with  m / z = 100 Th in this simulation) and Δ m FWHM is the peak full width at half maximum. These numerical results indicate that sub-Hertz frequency stepping reduces quantization-induced peak distortion and preserves spectral symmetry in high-resolution frequency-scanned operation.
Figure 3. Coupled RK4–RLC numerical simulations of mass peak quantization and resonant transmission characteristics ( m / z = 100 Th , f 0 = 1.0 MHz , Q = 200 ): (a) reconstructed mass peak profiles under 10 Hz, 1 Hz, and 0.1 Hz frequency tuning increments; (b) normalized ion transmission efficiency T eff versus driving frequency detuning Δ f .

2.3. High-Q Series RLC Resonant Network and Detuning Attenuation Model

To generate high-voltage sinusoidal RF potentials from low-voltage sources with low power dissipation, a series RLC resonant circuit is commonly used as a passive step-up stage [13,15]. The equivalent lumped circuit consists of the power amplifier output resistance R s , the tuning inductor L with series resistance R L , and the total load capacitance C total = C quad + C cable + C stray , where C quad is the inter-electrode capacitance of the quadrupole analyzer [14].
The continuous-time transfer function H ( s ) = V out ( s ) / V in ( s ) in the Laplace domain is expressed as:
H ( s ) = 1 s C total R eq + s L + 1 s C total = ω 0 2 s 2 + ω 0 Q s + ω 0 2
where R eq = R s + R L , ω 0 = 2 π f res = 1 / L C total is the undamped resonant angular frequency, and Q is the loaded quality factor:
Q = ω 0 L R eq = 1 ω 0 R eq C total
Evaluating Equation (15) along the imaginary axis ( s = j ω ) for a high-Q system ( Q ≥ 100 ) near resonance ( ω ≈ ω 0 ) gives the magnitude response | H ( ω ) | and phase response θ ( ω )  [17]:
| H ( ω ) | ≈ Q 1 + Q 2 ω ω 0 − ω 0 ω 2
θ ( ω ) ≈ − arctan Q ω ω 0 − ω 0 ω
where θ ( ω ) represents the phase deviation relative to the nominal − 90 ∘ phase shift at resonance. At resonance ( ω = ω 0 ), the network provides a voltage gain of | H ( ω 0 ) | = Q with zero detuning phase offset ( θ = 0 ).
In quadrupole driving systems, loaded quality factors ( Q ∈ [ 100 , 250 ] ) are chosen to provide passive voltage gain while attenuating higher harmonics. However, a higher Q-factor narrows the 3 dB passband ( BW = f res / Q ) [14]. As shown in Figure 4a for Q = 200 and f res = 1.0 MHz , the  3 dB bandwidth is 5 kHz . Environmental temperature gradients and mechanical changes cause drifts in the total load capacitance Δ C total , shifting the resonant frequency according to:
Δ f res f res = 1 1 + Δ C total C total − 1 ≈ − 1 2 Δ C total C total
As shown in Figure 4b, a capacitive drift of Δ C = 0.5 pF on a C total = 50 pF load produces a resonant frequency shift of approximately 5 kHz . Operating near the edge of the passband induces phase deviations | θ | > 45 ∘ and voltage attenuation exceeding 50 % . Even a frequency offset of Δ f = 500 Hz produces a phase shift of θ ≈ − 11 . 3 ∘ and a voltage attenuation of 1.9 % , which shifts the operating line a / q = 2 U / V .
Figure 4. Frequency response and detuning characteristics of the series high-Q RLC resonant network: (a) normalized voltage gain | H ( f ) | / Q versus frequency offset Δ f for quality factors Q = 100 , 200 , and 300, where the dotted vertical line indicates a Δ f = 500 Hz offset producing a 1.9% voltage attenuation ( Q = 200 ); (b) RF voltage attenuation resulting from load capacitance drift Δ C ( C 0 = 50 pF), showing that 0.1 Hz frequency adjustment bounds residual detuning attenuation to below 10 − 5 .
To restore the operational point to the resonance peak following capacitive drift, frequency re-centering requires fine frequency resolution. While 1 Hz stepping can approximate the passband center, residual offsets can lead to phase errors in high-Q networks. A 0.1 Hz frequency resolution provides a relative adjustment step of Δ f / f res ≤ 10 − 7 at 1.0 MHz , restricting theoretical detuning-induced voltage attenuation to Δ V / V 0 < 10 − 5 and maintaining amplitude stability for the resonant load.

3. System Architecture and Hardware Implementation

3.1. System Architecture Overview

The architecture of the software-defined RF/DC driver is shown in Figure 5. The system comprises a host software interface, a W5500 Ethernet controller, an STM32F103 master microcontroller (ARM Cortex-M3 core, 72 MHz), an AD9954 Direct Digital Synthesis (DDS) core (400 MSPS) [25], an RF pre-amplifier coupled to a series resonant tank, a 16-bit bipolar DC bias circuit [26], and an in-loop baseband telemetry channel [27].
Figure 5. Block diagram of the software-defined RF/DC driver architecture, showing the digital synthesis, DC bias generation, RF/DC superposition, and amplitude telemetry stages. (Note: The physical quadrupole load was modeled and simulated in Section 2 and represented by an equivalent 50 pF capacitive load during benchtop characterization).
Target operational parameters (U, V, and  f 0 ) are calculated by the host software. Control commands are encapsulated into TCP/IP frames and transmitted over Ethernet. The microcontroller parses the payload, updates the internal registers of the DDS and DAC via Serial Peripheral Interface (SPI) buses, and manages output synchronization. The synthesized RF carrier is amplified and coupled into the series resonant tank to generate the required RF potential. Simultaneously, the amplitude telemetry channel rectifies and filters the resonant tank voltage, which is then digitized by the microcontroller’s internal ADC and returned to the host for monitoring.

3.2. DDS Core and Sub-Hertz Frequency Configuration

The RF sinusoidal signal is digitally synthesized by an AD9954 DDS core featuring a 32-bit phase accumulator, an on-chip 14-bit DAC, and a system clock frequency of f c = 400 MHz  [22,25]. In single-tone continuous-wave mode, the synthesized output frequency f 0 is determined by the 32-bit Frequency Tuning Word (FTW, denoted by K) and the clock frequency f c  [21,23]:
f 0 = K · f c 2 N = K · f c 2 32
The corresponding integer FTW is calculated by:
K = round f 0 · 2 32 f c
For f c = 400 MHz , the intrinsic frequency resolution of the 32-bit accumulator is Δ f intrinsic = 400 MHz / 2 32 ≈ 0.0931 Hz < 0.1 Hz . In many embedded implementations, target frequencies are transmitted as integer values in hertz or kilohertz, which truncates fractional frequencies. In this design, the host and microcontroller exchange target frequencies using the IEEE-754 32-bit single-precision floating-point format. This allows setpoints with 0.1 Hz resolution to be directly mapped into the 32-bit FTW via Equation (21) without integer truncation.
The RF output amplitude is scaled by the 14-bit Amplitude Scale Factor (ASF, denoted by A) in the Amplitude Control Register (address 0x02) [25]:
V out = V FS · A 2 14 = V FS · A 16384
where V FS is the full-scale pre-amplifier input amplitude ( V pre in Figure 5). As shown in Figure 6, to update either parameter, the microcontroller asserts the chip select line ( CS ¯ ), transmits the 8-bit instruction byte via SPI, writes the corresponding payload (32-bit FTW or 14-bit ASF), and de-asserts CS ¯ . A rising edge is then applied to the I/O_UPDATE pin to synchronously latch the buffered values into the active DDS core registers.
Figure 6. Microcontroller execution timing sequence and register configuration flowchart for AD9954 frequency and amplitude modulation.

3.3. Microcontroller and Ethernet Communication Interface

To provide higher throughput and lower transmission latency than conventional asynchronous serial interfaces (such as UART), an Ethernet communication interface is implemented using a W5500 hardware TCP/IP controller. The host computer operates as a TCP client, while the embedded W5500 is configured as a TCP server.
The STM32F103 microcontroller communicates with the W5500 via an SPI bus at 18 MHz . Control instructions are formatted into a 9-byte frame comprising a 2-byte preamble (0xAA55), a 1-byte command identifier, a 4-byte IEEE-754 single-precision floating-point payload, and a 2-byte cyclic redundancy check (CRC-16). When a frame is received in the socket buffer, the W5500 asserts an interrupt signal to the microcontroller. The interrupt service routine (ISR) validates the CRC checksum, parses the floating-point payload, and updates the corresponding DDS or DAC registers via SPI. The entire sequence completes within 15 μ s , enabling low-latency parameter reconfiguration.

3.4. DC Bias Generator and RF/DC Bias-Tee Superposition Network

The static DC bias potentials ( ± U ) that define the operating point in the Mathieu stability diagram require sub-millivolt resolution and low thermal drift. As shown in Figure 7, the DC generation and coupling circuit consists of a precision voltage reference (REF5050), a 16-bit unipolar voltage-output DAC (AD5541), complementary driver stages, and an on-board RF/DC bias-tee superposition network.
Figure 7. Schematic of the 16-bit DC bias generator and RF/DC bias-tee superposition circuit. The circuit includes a voltage reference (REF5050), a 16-bit DAC (AD5541), complementary driver stages, and L–C filtering branches ( L 1 , L 2 = 10 mH ; C 3 , C 4 = 0.1 μ F / 3 kV ; R 5 , R 6 = 1.0 M Ω ) that superimpose the RF and DC potentials.
The reference potential is provided by an REF5050 IC powered from a + 15 V analog supply rail. It supplies a + 5.000 V output with a temperature coefficient of ≤3 ppm/°C and a low-frequency noise of 3 μ V p - p / V across the 0.1 to 10 Hz band. A 1.0 μ F noise-reduction capacitor ( C 1 ) is connected to the TRIM/NR pin to filter internal bandgap noise, and the output is decoupled by a ceramic capacitor ( C 2 = 1.0 μ F ). The AD5541 DAC interfaces with the STM32 microcontroller via general-purpose pins PA8 for chip select ( CS ¯ ), PC8 for serial clock (SCLK), and PC9 for serial data (DIN). Digital codes are shifted into the internal register, and the analog output is updated on the rising edge of the CS ¯ signal.
The analog output voltage of the DAC is given by:
U out = V ref · D DAC 2 16 = 5.000 V · D DAC 65536
where D DAC ∈ [ 0 , 65535 ] is the digital input code. The corresponding theoretical step size is Δ U min = 5.000 V / 65536 ≈ 76.29 μ V , providing the target 0.1 mV resolution across the 10 mV to 5 V span.
To drive the quadrupole electrodes while isolating the low-voltage digital circuitry from high RF voltages, the DAC output is routed to complementary driver stages powered by symmetric high-voltage rails ( ± V HV ), followed by a bias-tee network. Each driver stage includes external current-limiting resistors ( R CL = 0.5 Ω ), phase-compensation capacitors ( C C = 22 pF), and gain-setting feedback resistors: R 1 = 100 k Ω , R 2 = 33.3 k Ω (providing a non-inverting gain of + 4.0 ) for the positive channel, and R 3 = 100 k Ω , R 4 = 25 k Ω (providing an inverting gain of − 4.0 ) for the complementary channel. The resulting DC potentials ( ± U ) are coupled to the output feedlines through high-inductance RF chokes ( L 1 , L 2 = 10 mH , wound in multi-section pie configurations to minimize parasitic capacitance and ensure self-resonance well above 1.0 MHz), providing an inductive reactance of X L = 2 π f L ≈ 62.8 k Ω at 1.0 MHz to block RF signals from entering the DC drivers. Concurrently, the RF potentials ( ± V cos ω t ) are AC-coupled through high-voltage ceramic capacitors ( C 3 , C 4 = 0.1 μ F , rated for 3 kV), while bleeder resistors ( R 5 , R 6 = 1.0 M Ω ) provide a DC discharge path with negligible loading on the resonant tank. This bias-tee network superimposes the RF and DC voltages, delivering Φ x ( t ) = + ( U − V cos ω t ) and Φ y ( t ) = − ( U − V cos ω t ) to the output terminals while protecting the low-voltage synthesis electronics.

3.5. RF Amplitude Detection and Digital Filtering

To monitor the resonant tank voltage and track detuning, an amplitude detection circuit is connected across the resonant network. The RF voltage is scaled down through a capacitive divider, rectified by a diode peak detector, and smoothed by an active low-pass filter to produce a DC voltage proportional to the RF peak amplitude [27].
This DC voltage is sampled by the 12-bit on-chip ADC of the STM32 microcontroller. To suppress residual RF ripple and 50 Hz power-line noise, a moving-average filter is implemented in firmware [28]. The filtered sensing voltage V ¯ sense is computed over a sliding buffer of N avg = 500 consecutive samples:
V ¯ sense = 1 N avg ∑ k = 1 N avg V adc [ k ] , ( N avg = 500 )
Assuming uncorrelated noise with variance σ noise 2 , the variance of the averaged measurement is reduced by a factor of N avg :
σ V ¯ 2 = σ noise 2 N avg = σ noise 2 500
This yields a theoretical signal-to-noise ratio (SNR) improvement of 10 log 10 ( 500 ) ≈ 27 dB , reducing ADC quantization flicker and thermal noise. The resulting telemetry value is transmitted to the host computer via Ethernet.

4. Experimental Results

4.1. Experimental Test Bench Setup and Fabricated Prototype

The driver circuit was fabricated on a two-layer PCB and characterized on a benchtop test setup, as shown in Figure 8.
Figure 8. Photographs of the fabricated software-defined RF/DC driver prototype: (a) overview of the PCB showing the W5500 Ethernet module, RF pre-amplifier, amplitude conditioning circuit, and resonant capacitors; (b) close-up of the digital synthesis and DC bias stage, including the STM32F103 microcontroller, AD9954 DDS core (400 MSPS), and AD5541 DAC with REF5050 reference.
The board layout (Figure 8a) contains the W5500 Ethernet controller, an RF pre-amplifier, high-voltage polypropylene resonant capacitors, and the amplitude detection circuitry. The digital core (Figure 8b) consists of the STM32F103 microcontroller, an AD9954 DDS clocked by a local crystal oscillator, and an AD5541 16-bit DAC with an REF5050 ( + 5.000 V ) voltage reference.
The board interfaces with a host PC over Ethernet using TCP/IP sockets for register configuration and telemetry data logging. Output waveforms, frequency stepping, and stability were captured with a digital storage oscilloscope (RIGOL DS4052, 500 MHz, 4 GSa/s) using 10:1 passive probes ( 10 M Ω ‖ 10 pF ). To replicate the 1.0 MHz series resonant tank and the capacitive loading of a quadrupole rod assembly, a 507 μ H tuning inductor ( R eq ≈ 15.9 Ω ) was connected to a 50 pF capacitive load, setting the loaded quality factor to Q ≈ 200 . DC bias voltages were recorded with a digital multimeter (VICTOR VC890C+).

4.2. Sub-Hertz Frequency Granularity and Wideband Synthesis Performance

To verify that the communication pipeline and firmware preserve fractional frequency resolution, consecutive target setpoints with a 0.1 Hz step ( f target 1 = 100.5 Hz and f target 2 = 100.6 Hz) were commanded from the host software. Because the AD9954 DDS core operates from a clock frequency of f c = 400 MHz with a 32-bit phase accumulator, its intrinsic tuning resolution is:
Δ f intrinsic = f c 2 32 = 400 MHz 2 32 ≈ 0.09313 Hz < 0.1 Hz
A 100 Hz carrier was selected for step verification because the internal 6-digit reciprocal frequency counter of the oscilloscope (RIGOL DS4052) provides a 1 mHz resolution near 100 Hz, whereas at 1 MHz its readout resolution is limited to 1 Hz. Setting target frequencies of f target 1 = 100.5 Hz and f target 2 = 100.6 Hz updates the 32-bit Frequency Tuning Word from K 1 = 1,079,110 to K 2 = 1,080,184 via Equation (21). This digital increment of Δ K = 1074 corresponds to an intended frequency step of Δ f DDS = 1074 × ( 400 MHz / 2 32 ) ≈ 0.10002 Hz. The measured output frequencies shifted from 100.489 Hz to 100.575 Hz, giving a measured step of Δ f meas ≈ 0.086 Hz. The difference of approximately 14 mHz between the measured and theoretical step falls within the counter measurement uncertainty caused by trigger noise and single-count gating limits. Because integer-truncated parsing would result in either zero change ( Δ K = 0 ) or a 1 Hz step ( Δ K ≈ 10,737 ), the measured step confirms that the floating-point protocol and firmware maintain sub-Hertz resolution without integer truncation. By the linear DDS tuning relation in Equation (20), this frequency step resolution is maintained across the operating band. Specifically, at the nominal operating frequency of f 0 = 1.0 MHz ( 2 19 < f 0 < 2 20 ), the 24-bit mantissa of the IEEE-754 single-precision format provides a unit-in-the-last-place (ULP) resolution of 2 19 / 2 23 = 0.0625 Hz < 0.1 Hz , ensuring that 0.1 Hz command increments are represented without floating-point rounding loss. Commanding a 0.1 Hz step from 1,000,000.0 Hz to 1,000,000.1 Hz deterministically increments the 32-bit FTW register from K 1 = 10,737,418 to K 2 = 10,737,419 ( Δ K = 1 LSB , yielding Δ f DDS = 0.09313 Hz ). Because the synchronous 32-bit phase accumulator hardware adds Δ K identically per 400 MHz clock cycle regardless of the base word K 1 , the incremental step size is invariant to carrier frequency, while the carrier stability at 1.0 MHz is governed by the local crystal oscillator tolerance characterized in Table 1.
Table 1. Measured frequency synthesis accuracy across six decade intervals.
From Equation (10), at f 0 = 1.0 MHz , a 0.1 Hz step restricts the relative parameter shift to | Δ q / q | < 2 × 10 − 7 , avoiding shifts across the stability boundary near the apex as modeled in Section 2.2.
The wideband frequency synthesis accuracy was measured at the RF pre-amplifier output from 10 Hz to 10 MHz in decade steps. As summarized in Table 1, the relative frequency error δ f = | f meas − f target | / f target × 100 % remains below 0.070 % across the measured range. At 1 MHz, the measured frequency of 999.300 kHz represents a relative offset of 0.070% ( 700 Hz ). It is important to distinguish between absolute frequency accuracy and differential frequency resolution in this architecture. The 0.070 % static offset reflects absolute frequency accuracy, which is primarily due to on-board crystal oscillator tolerance and counter gate-time limitations; this static offset can be compensated via a single-point software calibration factor or an external reference clock. In contrast, the 0.1 Hz specification represents differential frequency resolution (tuning granularity, Δ f intrinsic = f c / 2 32 ≈ 0.0931 Hz ), which is strictly monotonic and governed by the 32-bit phase accumulator. For dynamic resonance tracking, differential resolution rather than absolute crystal accuracy is the governing parameter, because the physical resonant frequency f res of a high-Q tank inherently shifts by several kilohertz due to parasitic capacitance tolerances and thermal drift. Across the linear range of the pre-amplifier, the output amplitude is adjustable from 3.8 V p - p to 18.9 V p - p . The total harmonic distortion (THD) of the pre-amplifier output is below − 42 dBc (dominated by the second harmonic) prior to bandpass filtering by the series resonant tank. When coupled to the 1.0 MHz series RLC resonant tank ( L = 507 μ H , 50 pF capacitive load, Q ≈ 200 ), passive resonant step-up yields a maximum undistorted RF voltage of 890 V p - p (≈445 V zero-to-peak, corresponding to the 4.450 V full-scale peak-detector output scaled through a 100:1 capacitive divider ratio in Section 4.3) across the 50 pF load.
To evaluate the baseline thermal drift of the high-Q resonant tank and quantify the detuning that must be compensated, open-loop power-cycling measurements were conducted on the loaded RLC circuit ( f res ≈ 1.0 MHz ) over a 60-min interval ( n = 7 independent trials). The Relative Standard Deviation (RSD) of the loaded resonant frequency is calculated as:
RSD = S x ¯ × 100 % = 1 x ¯ 1 n − 1 ∑ i = 1 n ( x i − x ¯ ) 2 × 100 %
Thermal drift in the tuning inductor and load capacitance resulted in an open-loop resonant frequency variation of RSD = 2.66 × 10 − 3 (0.266%, corresponding to a characteristic thermal drift of ≈2.66 kHz over a 60-min cycle). Because this multi-kilohertz thermal drift substantially exceeds the 50% transmission passband ( | Δ f | ≤ 150 Hz ) and the stability boundary ( Δ f ≤ 250 Hz ) identified in Section 2.2, it experimentally demonstrates the necessity of sub-Hertz frequency tuning to re-center the driving carrier onto the shifted resonance peak.
To validate closed-loop resonance re-centering and compare experimental tracking performance against theoretical predictions from Equations (17) and (19), comparative 60-min warm-up tests (an open-loop fixed-carrier run using brief millisecond-scale sweep probes at 5-min intervals to log f res ( t ) , followed by a cooled-down closed-loop tracking run) were conducted alongside coupled numerical simulations, as shown in Figure 9. In the proposed resonance-tracking architecture, the series RLC transfer function | H ( f 0 ) | exhibits a unimodal maximum around the instantaneous loaded resonant frequency f res ( t ) , where the rectified telemetry voltage V ¯ sense reaches its global apex ( ∂ V ¯ sense / ∂ f 0 = 0 ). Using a perturb-and-observe (hill-climbing) extremum-seeking routine, the controller applies incremental frequency perturbations ( Δ f step in 0.1 Hz resolution), evaluates the sign of the telemetry gradient Δ V ¯ sense / Δ f 0 after the 5 ms moving-average filter settling window, and iteratively steps the DDS carrier toward the shifted resonance apex. Combining the measured telemetry noise floor ( RSD = 1.2 × 10 − 5 in Section 4.3) with the parabolic passband curvature of Equation (17) near resonance ( Δ V / V 0 ≈ − 2 Q 2 ( Δ f / f res ) 2 ), the minimum frequency offset at which resonant attenuation exceeds the 3 σ telemetry noise threshold ( 3.6 × 10 − 5 ) for Q = 200 is | Δ f min | = f res 3.6 × 10 − 5 / ( 2 Q 2 ) ≈ 0.42 Hz . Because the DDS stage provides a deterministic 0.1 Hz tuning step ( Δ f DDS < | Δ f min | ), the hardware loop provides sufficient resolution and signal-to-noise margin to bound steady-state resonant amplitude deviations below 3.6 × 10 − 5 (excluding slow inductor copper-loss variations).
Figure 9. Simulated and experimentally measured closed-loop resonance tracking performance over a 60-min thermal drift cycle ( f res 0 = 1.0 MHz , Q ≈ 200 , 50 pF load): (a) simulated ideal tracking trajectory compared against the measured open-loop tank resonant drift f res and closed-loop DDS carrier tracking trajectory; (b) normalized RF output amplitude | H ( f ) | / Q comparing open-loop fixed-frequency operation against closed-loop 0.1 Hz tracking.
As shown in Figure 9a, during the 60-min warm-up period, the open-loop tank resonant frequency f res drifted by − 2.66 kHz (closely following the − 2.60 kHz theoretical exponential thermal model), while the closed-loop DDS carrier accurately tracked the thermal shift to − 2.68 kHz (reflecting slightly higher continuous resonant self-heating in the inductor under full-power closed-loop excitation). Consequently, as shown in Figure 9b, whereas open-loop operation at a fixed 1.0 MHz carrier suffered a 34.9 % amplitude drop (falling to 65.1 % , slightly below the 69.5 % ideal curve due to thermal resistance increases in the inductor winding), closed-loop 0.1 Hz tracking maintained the normalized RF output amplitude within 99.55 % to 100.00 % across the entire 60-min thermal cycle.

4.3. Telemetry Acquisition Noise Floor and Filter Stability Evaluation

To evaluate the electronic noise floor and filtering performance of the telemetry acquisition path independently of RF power fluctuations, a precision DC voltage source ( V in = 4.450 V) was applied to the analog conditioning circuit. This input corresponds to a typical peak-detector output near the upper limit of the measurement range. Because the 12-bit on-chip ADC operates across an input span of 0 to 3.3 V, an active scaling buffer attenuates the input with a scaling ratio of k div = 0.60 , mapping the 4.450 V input to approximately 2.67 V to avoid ADC rail clipping. The microcontroller firmware then scales the digitized value back to the input voltage level using the inverse attenuation coefficient.
Over a 60-min duration, the 500-sample moving-average filter was executed in firmware, and telemetry values were recorded over Ethernet at 5-min intervals, as summarized in Table 2.
Table 2. Measured telemetry voltages and stability of the ADC channel with a 500-sample moving-average filter ( V in = 4.450 V).
Throughout the 60-min test, the reconstructed telemetry potential remained between 4.4529 V and 4.4530 V, showing a static offset below 0.0674% and a relative standard deviation (RSD) of 1.2 × 10 − 5 . This result agrees with the theoretical noise attenuation in Equation (25), confirming that the 500-sample moving-average filter suppresses random electronic noise and ADC quantization flicker by approximately 27 dB.
In RF operation, the resonant voltage is scaled by a capacitive divider and envelope-detected by a Schottky diode peak detector. While the DC test above benchmarks the stability of the active buffer and ADC stages ( RSD = 1.2 × 10 − 5 , corresponding to ≈53.4 μ V rms at 4.450 V ), the forward voltage drop ( V F ) of the rectifier diode varies with temperature at a typical rate of ∂ V F / ∂ T ≈ − 1.5 to − 2.0 mV / ∘ C . Relative to the 4.450 V nominal envelope output, an uncompensated 1   ° C ambient temperature change induces a relative voltage shift of 3.4 × 10 − 4 to 4.5 × 10 − 4 / ∘ C ( 0.034 % – 0.045 % / ∘ C ), which is approximately 28 to 37 times larger than the intrinsic ADC acquisition RSD of 1.2 × 10 − 5 . However, because resonance frequency tracking locates the relative amplitude maximum ( ∂ V ¯ sense / ∂ f 0 = 0 ) over millisecond-scale perturbation intervals during which the diode temperature is quasi-static, slow thermal drift in V F does not shift the identified resonant frequency f res . In practical implementations requiring absolute amplitude regulation across wide ambient temperatures, this diode thermal drift can be compensated in firmware using an on-board temperature sensor and a calibrated look-up table (LUT).

4.4. DC Bias Output Linearity and Resolution Verification

The DC bias generation stage was evaluated for output linearity and step resolution. Test setpoints were commanded from the host software: a small-signal setpoint of 10 mV and five points from 1000 mV to 5000 mV at 1000 mV intervals.
As shown in Table 3, the output voltage increases monotonically from 10 mV to 5.00 V across the DAC output span. These measurements benchmark the core digital-to-analog conversion at the DAC output pin ( V DAC ). To verify the subsequent high-voltage stage, the complementary outputs ( ± U ) following the ± 4.0 -gain driver circuits were evaluated across the corresponding ± 0.04 V to ± 20.00 V range. Due to the high open-loop gain and low input offset of the operational amplifiers (OPA2277), the output offset voltage remained below ± 0.5 mV , and the gain matching error between the complementary rails was within ± 0.15 % . No saturation or nonlinear clipping was observed across the operational range, confirming that symmetrical bipolar DC bias is preserved for the quadrupole electrodes.
Table 3. Target and measured DC bias voltages across the output range.
The 0.1 mV stepping resolution is supported by the 16-bit resolution of the AD5541 DAC. Operating with the + 5.000 V reference (REF5050), the theoretical step size is:
Δ U min = V ref 2 16 = 5.000 V 65536 ≈ 76.29 μ V < 0.1 mV
Because the AD5541 guarantees monotonic behavior with differential non-linearity DNL ≤ ± 0.5 LSB, the circuit avoids missing codes. In addition, the low temperature drift of the voltage reference (≤3 ppm/°C) and the low-offset operational amplifier buffer (OPA2277) maintain setpoint stability across operating temperatures.

5. Discussion

5.1. Comparison with Reported Quadrupole Drivers

Table 4 summarizes the specifications of the proposed circuit alongside representative quadrupole and multipole driving systems reported in the literature.
Table 4. Comparison with representative quadrupole RF/DC driving systems.
Early quadrupole power supplies relied on manual inductor taps or variable capacitors [16], which precluded electronic frequency adjustments during operation. Subsequent digital designs by Schaefer et al. [17] and Shinholt et al. [19] adopted digital synthesis methods; however, their step sizes were constrained to 1000 Hz and 1 Hz, respectively, due to integer parameter parsing or clock divider limits. Compared with these existing DDS-based implementations, the novelty of the proposed RF/DC driver lies in three key aspects: (1) Sub-Hertz Command Granularity: Transmitting IEEE-754 32-bit floating-point frequency commands over Ethernet directly maps setpoints to the 32-bit DDS phase accumulator registers without integer truncation, improving the effective frequency stepping resolution by one to four orders of magnitude ( 0.1 Hz versus 1 – 1000 Hz in [17,19]). (2) Wideband Synthesis Accuracy: This implementation achieves 0.1 Hz frequency resolution across six frequency decades (10 Hz to 10 MHz) with a relative error below 0.070%, improving upon the narrower bandwidths (<2 MHz) and 0.09 – 0.12 % errors reported in prior drivers [16,17,18,19]. (3) Unified Control and Telemetry Capability: Whereas previous designs rely on external DC power supplies and lack integrated feedback [16,18,19], our platform co-integrates sub-Hertz DDS synthesis, a 16-bit bipolar DC bias stage ( 0.1 mV step resolution), and an on-board amplitude telemetry channel ( RSD = 1.2 × 10 − 5 ) on a single networked platform (<15 μ s command latency) to support automated resonance re-centering.

5.2. Operational Modes and Mass Calibration Considerations

The practical utility of sub-Hertz frequency tuning depends on the operational regime of the quadrupole system.
In conventional voltage-scanning operation, the excitation frequency f 0 is held constant, and mass separation is achieved by ramping U and V along a constant ratio line a / q = 2 U / V . Because the transmitted mass-to-charge ratio is inversely proportional to the square of the frequency ( m ∝ V / f 0 2 ), shifting f 0 during an analytical scan directly alters the mass calibration. In this mode, the 0.1 Hz frequency resolution is applied prior to analytical scans as a pre-scan alignment step. For a loaded series RLC tank with Q = 200 and f 0 = 1.0 MHz (passband bandwidth of 5 kHz), tuning the carrier frequency to within 0.1 Hz of the tank resonance ( Δ f / f 0 ≤ 10 − 7 ) minimizes the initial phase error and maximizes voltage step-up without shifting the mass calibration axis.
In frequency-scanned mass spectrometry (FSMS) [19], mass spectra are acquired by sweeping the carrier frequency across the stability diagram while keeping U and V constant or scaled. In this regime, the frequency step size determines the mass sampling interval. As demonstrated by the numerical simulations in Figure 3, a coarse 10 Hz step size leads to sampling grid mismatch and apex truncation errors of approximately 15.5%. While a 1 Hz increment reduces distortion, discrete steps remain visible near the apex. A 0.1 Hz frequency step size provides fine parameter tracking, capturing the peak apex with an amplitude uncertainty below 0.1% and preserving peak symmetry with mass-resolving powers exceeding R = 1200 . For wideband FSMS applications, the high-Q resonant tank is typically replaced by an untuned wideband transformer to prevent resonance-induced voltage drops during continuous frequency sweeps.

5.3. Telemetry Filter Latency and Tracking Dynamics

The amplitude detection circuit uses a 500-sample moving-average filter to suppress ripple and power-line interference, achieving an acquisition stability RSD of 1.2 × 10 − 5 (Table 2). The moving-average filter introduces a group delay given by:
τ g = N avg − 1 2 f s
At an ADC sampling rate of f s = 50 kSPS , this corresponds to a delay of τ g ≈ 5 ms . For temperature-induced detuning, which typically evolves over seconds or minutes, a 5 ms delay is negligible. However, for rapid setpoint transitions or high-speed scanning, this latency could introduce phase lag if incorporated directly into a fast feedback loop. Specifically, a group delay of τ g ≈ 5 ms introduces a frequency-domain phase lag of Δ ϕ = − 2 π f mod τ g (reaching − 90 ∘ at f mod = 50 Hz ), which constrains the stable closed-loop feedback bandwidth to approximately 10 – 20 Hz to maintain adequate phase margin. Similarly, during fast mass scanning (e.g., at scan speeds of 500 – 1000 Th / s ), a 5 ms telemetry delay corresponds to a mass-axis lag of 2.5 – 5.0 Th , which would distort transient amplitude regulation across individual mass peaks. In such high-speed scenarios, dynamically reducing the filter window length during transitions (e.g., reducing N avg from 500 to 16 to lower τ g to 0.15 ms at the expense of ≈15 dB in SNR) or implementing an adaptive filtering scheme would be necessary to balance response time against noise suppression.

5.4. System Limitations and Vacuum Integration

Benchtop characterization was conducted using a 50 pF lumped polypropylene capacitor to simulate the inter-electrode capacitance of a quadrupole rod assembly. While this equivalent load verifies the electronic subsystems, passive resonant step-up ( 890 V p - p ), and frequency synthesis performance, a physical mass spectrometer operating in high vacuum introduces additional electro-thermal and load-stability factors. These include ohmic losses and self-heating temperature rise in the resonance inductor during continuous high-voltage operation (which degrades the unloaded Q-factor and shifts L), dielectric losses and temperature-dependent capacitance in ceramic vacuum feedthroughs and insulating mounts, as well as sub-picofarad capacitance variations caused by mechanical thermal expansion of the quadrupole rods and space-charge loading under high ion currents. Because these practical vacuum effects manifest primarily as slow variations in the effective resonant frequency f res and tank damping R eq , the demonstrated 0.1 Hz tuning granularity and high-SNR amplitude telemetry ( RSD = 1.2 × 10 − 5 ) provide the necessary electronic dynamic range to track and compensate for these operational drifts.
The presented circuit integrates the essential hardware stages for active resonance control, including sub-Hertz DDS frequency synthesis, on-board amplitude telemetry, and Ethernet communication with an execution latency under 15 μ s. While baseline perturb-and-observe closed-loop tracking has been validated on the benchtop capacitive load, optimizing high-speed autonomous extremum-seeking algorithms in firmware for rapid mass-scanning regimes and evaluating the driver with an active quadrupole mass analyzer under high-vacuum conditions remain the primary steps for full instrument deployment.

6. Conclusions

In this work, a software-defined RF/DC driver hardware platform with 0.1 Hz frequency resolution was designed, numerically modeled, and experimentally evaluated on a 50 pF benchtop equivalent load for resonant quadrupole applications. By combining an AD9954 DDS core with an IEEE-754 32-bit floating-point Ethernet communication protocol, the system avoids integer register truncation common in conventional microcontroller implementations, achieving 0.1 Hz frequency stepping across six decades from 10 Hz to 10 MHz.
Coupled numerical simulations combining fourth-order Runge–Kutta (RK4) ion dynamics with high-Q series resonant transfer functions show that a 0.1 Hz frequency step size reduces peak truncation and discretization artifacts in simulated frequency-scanned filtration, yielding a mass resolving power exceeding R = 1200 . In resonant driving configurations, this frequency resolution bounds theoretical detuning-induced voltage attenuation to Δ V / V 0 < 10 − 5 .
Experimental benchtop characterization on a 50 pF equivalent load validated the circuit performance. Across six frequency decades, the synthesized RF carrier exhibited a relative frequency error below 0.070%. Thermal measurements revealed an open-loop start-up frequency scatter of 0.266% (2.66 kHz at 1.0 MHz), resulting in a 34.9 % open-loop voltage drop over 60 min, whereas closed-loop 0.1 Hz frequency tracking successfully followed the thermal resonant shift and maintained the normalized RF output amplitude within 99.55 % to 100.00 % . Concurrently, the integrated 16-bit DC bias stage provided monotonic output from 10 mV to 5 V with 0.1 mV resolution, while the amplitude telemetry channel achieved an acquisition stability RSD of 1.2 × 10 − 5 using a 500-sample moving-average filter.
The developed circuit integrates sub-Hertz frequency synthesis, dual-polarity DC bias, and amplitude telemetry on a single networked platform. Future work will focus on optimizing high-speed autonomous extremum-seeking resonance-tracking algorithms in microcontroller firmware and evaluating closed-loop ion transmission performance with an active quadrupole assembly under vacuum conditions.

Author Contributions

Conceptualization, L.G.; methodology, L.G.; software, L.G.; formal analysis, X.Z.; resources, L.G., Y.X., G.Y. and Z.R.; data curation, L.G. and Z.Z.; writing—original draft preparation, L.G.; writing—review and editing, Z.F., X.Z., Y.X., G.Y. and Z.R.; supervision, G.Y. and Z.R.; project administration, Z.F.; funding acquisition, Z.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Chengdu Eastern New Area Technology Innovation R&D Project (Grant No. 2025-DBXQ-KJYF012), and the Shenzhen Science and Technology Program (Grant No. ZDCY20250901104001002).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank the engineering and technical staff at Chengdu Haikejing Medical Technology Co., Ltd., and Hymson Laser Technology Group Co., Ltd., for their support during the experimental hardware fabrication and test bench characterization.

Conflicts of Interest

Authors Lin Gan, Zhiquan Zhang and Zhaohao Ren were employed by the Chengdu Haikejing Medical Technology Co., Ltd. Authors Xiaohu Zhang, Yonghua Xie and Zhiheng Fan were employed by the Hymson Laser Technology Group Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ADCAnalog-to-Digital Converter
ASFAmplitude Scale Factor
CRCCyclic Redundancy Check
DACDigital-to-Analog Converter
DCDirect Current
DDSDirect Digital Synthesis
DNLDifferential Non-Linearity
FSMSFrequency-Scanned Mass Spectrometry
FTWFrequency Tuning Word
FWHMFull Width at Half Maximum
GPIOGeneral-Purpose Input/Output
GUIGraphical User Interface
ISRInterrupt Service Routine
LUTLook-Up Table
MCUMicrocontroller Unit
MSMass Spectrometry
PLLPhase-Locked Loop
QMSQuadrupole Mass Spectrometer
RFRadio Frequency
RK4Fourth-Order Runge–Kutta
RLCResistor-Inductor-Capacitor
RSDRelative Standard Deviation
SNRSignal-to-Noise Ratio
SPISerial Peripheral Interface
TCP/IPTransmission Control Protocol/Internet Protocol
THDTotal Harmonic Distortion

References

  1. Cooks, R.G.; Ouyang, Z.; Takats, Z.; Wiseman, J.M. Ambient mass spectrometry. Science 2006, 311, 1566–1570. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Gross, J.H. Mass Spectrometry: A Textbook, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2017; pp. 145–180. [Google Scholar]
  3. Ouyang, Z.; Cooks, R.G. Miniature mass spectrometers. Annu. Rev. Anal. Chem. 2009, 2, 187–214. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Douglas, D.J.; Frank, A.J.; Mao, D. Linear ion traps in mass spectrometry. Mass Spectrom. Rev. 2005, 24, 1–29. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Paul, W. Electromagnetic traps for charged and neutral particles. Rev. Mod. Phys. 1990, 62, 531–540. [Google Scholar] [CrossRef] [Scilit]
  6. Dawson, P.H. Quadrupole Mass Spectrometry and Its Applications; AIP Press: Woodbury, NY, USA, 1995; pp. 9–45. [Google Scholar]
  7. Miller, P.E.; Denton, M.B. The quadrupole mass filter: Basic operating concepts. J. Chem. Educ. 1986, 63, 617–622. [Google Scholar] [CrossRef] [Scilit]
  8. March, R.E.; Todd, J.F.J. Quadrupole Ion Trap Mass Spectrometry, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2005; pp. 55–112. [Google Scholar]
  9. Douglas, D.J. Linear quadrupoles in mass spectrometry. Mass Spectrom. Rev. 2009, 28, 937–960. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Konenkov, N.V.; Sudakov, M.; Douglas, D.J. Matrix methods for the calculation of stability diagrams in quadrupole mass spectrometry. J. Am. Soc. Mass Spectrom. 2002, 13, 597–613. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. de Hoffmann, E.; Stroobant, V. Mass Spectrometry: Principles and Applications, 3rd ed.; John Wiley & Sons: Chichester, UK, 2007; pp. 101–115. [Google Scholar]
  12. Ding, L.; Sudakov, M.; Brancia, F.L.; Giles, R.; Kumashiro, S. A digital ion trap mass spectrometer coupled with atmospheric pressure ion sources. J. Mass Spectrom. 2004, 39, 471–484. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Jones, R.M.; Gerlich, D.; Anderson, S.L. Simple radio-frequency power source for ion guides and ion traps. Rev. Sci. Instrum. 1997, 68, 3357–3362. [Google Scholar] [CrossRef] [Scilit]
  14. Deng, K.; Sun, Y.L.; Yuan, W.H.; Xu, Z.T.; Zhang, J.; Lu, Z.H.; Luo, J. A modified model of helical resonator with predictable loaded resonant frequency and Q-factor. Rev. Sci. Instrum. 2014, 85, 104706. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Bandelow, S.; Marx, G.; Schweikhard, L. The 3-state digital ion trap. Int. J. Mass Spectrom. 2013, 353, 49–53. [Google Scholar] [CrossRef] [Scilit]
  16. O’Connor, P.B.; Costello, C.E.; Earle, W.E. A high voltage RF oscillator for driving multipole ion guides. J. Am. Soc. Mass Spectrom. 2002, 13, 1370–1375. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Schaefer, R.T.; MacAskill, J.A.; Mojarradi, M.; Chutjian, A.; Darrach, M.R.; Madzunkov, S.M.; Shortt, B.J. Digitally synthesized high purity, high-voltage radio frequency drive electronics for mass spectrometry. Rev. Sci. Instrum. 2008, 79, 095107. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Čermák, I. Compact radio-frequency power supply for ion and particle guides and traps. Rev. Sci. Instrum. 2005, 76, 063302. [Google Scholar] [CrossRef] [Scilit]
  19. Shinholt, D.L.; Anthony, S.N.; Alexander, A.W.; Draper, B.E.; Jarrold, M.F. A frequency and amplitude scanned quadrupole mass filter for the analysis of high m/z ions. Rev. Sci. Instrum. 2014, 85, 113109. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Ding, L.; Sudakov, M.; Kumashiro, S. A simulation study of the digital ion trap mass spectrometer. Int. J. Mass Spectrom. 2002, 221, 117–138. [Google Scholar] [CrossRef] [Scilit]
  21. Tierney, J.; Rader, C.; Gold, B. A digital frequency synthesizer. IEEE Trans. Audio Electroacoust. 1971, 19, 48–57. [Google Scholar] [CrossRef] [Scilit]
  22. Kroupa, V.F. Direct Digital Frequency Synthesizers; IEEE Press: Piscataway, NJ, USA, 1999; pp. 1–48. [Google Scholar]
  23. Vankka, J.; Halonen, K.A.I. Direct Digital Synthesizers: Theory, Design and Applications; Kluwer Academic Publishers: Boston, MA, USA, 2001; pp. 1–48. [Google Scholar]
  24. Noriega, J.R.; García-Delgado, L.A.; Gómez-Fuentes, R.; García-Juárez, A. Low power RF amplifier circuit for ion trap applications. Rev. Sci. Instrum. 2016, 87, 094704. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Analog Devices. AD9954: 400 MSPS, 14-Bit, Direct Digital Synthesizer with Comparator Data Sheet; Analog Devices Inc.: Norwood, MA, USA, 2007. [Google Scholar]
  26. Texas Instruments. REF5050: Low-Noise, Very Low Drift, Precision Voltage Reference Data Sheet; SBOS410G; Texas Instruments Inc.: Dallas, TX, USA, 2016. [Google Scholar]
  27. Simić, M.; Stojanović, G. Cost-effective solution for resonance-based capacitive sensors readout. IEEE Trans. Instrum. Meas. 2025, 74, 2001709. [Google Scholar] [CrossRef] [Scilit]
  28. Oppenheim, A.V.; Schafer, R.W. Discrete-Time Signal Processing, 3rd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 2009; pp. 465–512. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.