Large Language Model-Assisted Resonance Parameter Extraction for Quartz Tuning Fork Characterization
Published In
Journal of Physics Conference Series
Document Type
Article
Publication Date
10-27-2026
Subjects
Quartz tuning fork (QTF) sensors
Abstract
Quartz tuning fork (QTF) sensors are widely used in scanning probe microscopy (shear-force acoustic near-field microscopy (SANM) and whispering gallery acoustic sensing (WGAS) in particular) to regulate probe-sample separation at the nanometer scale. In the QTF-based shear-force characterization measurements considered here, two physical models are fit to the QTF’s electrical and mechanical spectral response. These models are the Butterworth–Van Dyke (BvD) equivalent circuit for the electrical current response and a driven harmonic oscillator (measured using the WGAS technique) for the lateral oscillations of the QTF’s tines. In a previous workflow, the researcher had to supply a parameter range for a manually defined grid search algorithm (BvD model) or hand-tuned initial guesses (mechanical model), but poor choices could yield misleading fits. Here we present a fitting method that uses a multimodal large language model (LLM) to propose an iteratively improved initial guess for a nonlinear least-squares solver. The LLM receives a plot of the measured spectrum and the model equation to prepare the initial guess. The solver refines the proposed values, and the resulting fit is fed back to the LLM for a revised initial guess until the coefficient of determination R 2 exceeds a preset threshold. After each trial, previous trial outcomes are supplied as context for the next LLM proposal. We observe that accepting the first LLM proposal alone can fail to produce a converged fit, whereas recording the failed solver outcomes guides the next initialization to the accepted solution. Overall, the practical benefit is that the researcher no longer needs prior knowledge of plausible parameter ranges or initial guesses. We demonstrate the method on two real experimental QTF datasets, one for each model, and in both cases the loop converges to fits with R 2 > 0.99 without the manually defined parameter ranges or hand-tuned initial guesses required in the previous workflow.
Rights
Copyright (c) 2026 The Authors Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.
DOI
10.1088/1742-6596/3260/1/012013
Persistent Identifier
https://archives.pdx.edu/ds/psu/45358
Publisher
IOP Publishing
Citation Details
Cao, A., Supichayanggoon, K., & Rosa, A. H. L. (2026). Large Language Model-Assisted Resonance Parameter Extraction for Quartz Tuning Fork Characterization. Journal of Physics: Conference Series, 3260(1), 12013.