Fundamentals / Physics / Electrodynamics / Notebooks

Weighing a small deposit with a piezoelectric resonator

Two nearby frequencies appear in the electrical response of one mechanical mode. Derive the series and parallel resonances, then use their different sensitivities to recognise added mass and stray capacitance.

Try it · Piezo load

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.

Save notebook (.ipynb)

Python runs on this device. The first run loads the scientific libraries.

Convert mechanical motion into a terminal admittance

A piezoelectric plate converts terminal voltage into force and velocity into current. With a linear reciprocal coupling coefficient \(n\), \(F=nV\) and \(I_m=nv\). The mechanical velocity impedance is \(b+i\omega m+k/(i\omega)\). Dividing it by \(n^2\) maps it to a series branch with \(R_m=b/n^2\), \(L_m=m/n^2\) and \(C_m=n^2/k\). The electrodes also have a static capacitance \(C_0\) in parallel. Thus

\[Y(\omega)=i\omega C_0+\left[R_m+i\omega L_m+\frac{1}{i\omega C_m}\right]^{-1}.\]

For negligible loss the series branch impedance vanishes at \(\omega_s=1/\sqrt{L_mC_m}\). Just above this frequency its susceptance is inductive and can cancel the parallel capacitance. Setting \(Y=0\) gives

\[\omega_p=\omega_s\sqrt{1+C_m/C_0}.\]

With finite damping a peak and a dip replace the singular limits. Their extrema need not coincide exactly with the lossless frequencies.

Isolate the perturbation

A thin rigid deposit that changes only the effective mass multiplies \(L_m\) by \(1+\eta\). Both ideal frequencies scale as \((1+\eta)^{-1/2}\); their ratio is unchanged. Additional cable capacitance increases \(C_0\), changing the ratio while leaving the mechanical series frequency fixed. At a load fraction of 0.01 the expected series shift is about minus 0.496 percent. A viscoelastic deposit can also dissipate energy and alter stiffness, so the two-frequency test includes a physical assumption about the coating. For \(f_s=100.000\) kHz, \(C_m=0.25\) pF and \(C_0=15\) pF, the unloaded parallel frequency is 100.830 kHz. A 1% increase in effective mass puts the series resonance at 99.504 kHz. If the same shift came from extra cable capacitance alone, the series frequency would remain at 100.000 kHz. At quality factor 600 the approximate unloaded resonance linewidth is \(f_s/Q=167\) Hz. The predicted mass shift spans about three linewidths. The height of the peak by itself would confound damping and transduction.

Conversely, fit the two frequencies and infer the capacitance ratio as \((f_p/f_s)^2-1\). A small random error in \(f_p/f_s\) has a large relative effect on this estimate when the resonances nearly coincide. Zoom the frequency grid and compare the uncertainty from bin spacing with the shift under investigation.

Set the experimental inputs

Edit these values, then run the calculation and both figures again.

A terminal sweep contains the mechanical resonance and the electrical cancellation. Follow both features before inferring added mass.

Changing cable capacitance displaces the parallel resonance at fixed series frequency. Mass loading moves both frequencies along a diagonal path.

Exercise · recover a capacitance ratio

A nearly lossless device gives \(f_p/f_s=1.01\). What ratio of motional to static capacitance is consistent with it?

Squaring and subtracting one gives \(C_m/C_0=0.0201\). The difference between the squares matters when the shift is used for accurate capacitance inference.

Exercise · challenge a mass reading

After changing a fixture the dip moves but the series frequency remains within the experimental uncertainty. Does that support a pure mass increase?

A purely inertial change shifts both resonance frequencies. The observed pattern is consistent with an increased shunt capacitance if the dip moved toward the series peak. A sweep of the linewidth and an independent capacitance check would test the model.