A small opening into a robot enclosure can couple moving air in the opening to compression of air inside the enclosure. A Helmholtz model turns those two effects into one acoustic oscillator. Its useful length is the length of the moving air mass, which can extend beyond the physical neck, rather than simply the distance measured through the opening.
Declare a lumped acoustic model
Assume a rigid cavity with volume V, one neck with cross-sectional area A, and an effective neck length Leff. The gas has equilibrium density rho and small-signal sound speed c. The wavelength is large compared with the cavity and neck dimensions, so the interior pressure can be treated as approximately uniform at each instant.
Use small neck displacements, linear pressure response, and no mean through-flow. Ignore damping for the natural-frequency calculation. This model does not determine a finished enclosure's noise reduction, radiation efficiency, or measured resonance quality factor.
UNSW's acoustic explanation identifies neck inertia and cavity compressibility. Selamet and Lee's original paper states the classical resonance relation with an end correction added to physical neck length. The numerical example below is independently chosen and does not reproduce their apparatus or measurements.
Derive the moving mass and restoring force
Let x be the small inward displacement of the neck air plug. Its displaced volume is A x. The effective moving mass is m = rho A Leff. The cavity's isentropic bulk modulus is rho c squared, so the pressure rise is approximately delta p = rho c squared A x/V.
That pressure acts over area A to oppose the displacement. The restoring-force magnitude is delta p A, giving stiffness k = rho c squared A squared/V. It has units of newtons per meter when x is the plug displacement.
Dividing stiffness by mass cancels density and one factor of area. Therefore the undamped angular frequency is omega = c square root of A/(V Leff), and frequency in cycles per second is f = c/(2 pi) times square root of A/(V Leff).
The explicit density cancellation assumes the same gas fills both the effective neck and the cavity. It does not say that changing a real gas leaves frequency fixed, because its sound speed may change. It also does not justify substituting a liquid-filled neck into the same air-filled model without revising the inertia.
Close an original numerical ledger
Stipulate c = 300 meters per second, rho = 1.25 kilograms per cubic meter, A = 0.0001 square meter, V = 0.001 cubic meter, and Leff = 0.025 meter. These are hypothetical model parameters rather than dimensions of the pictured equipment.
The effective neck mass is 0.000003125 kilogram, or 3.125 milligrams. The bulk modulus is 112,500 pascals, and the displacement stiffness is 1.125 newtons per meter. Thus k/m = 360,000 per square second, omega = 600 radians per second, and f is approximately 95.493 hertz.
The associated wavelength c/f is pi meters, approximately 3.14159 meters. If the cavity's characteristic dimension is about 0.1 meter, that comparison is consistent with a long-wavelength approximation. It is an initial scale check, not a complete validation of every geometric detail or loss mechanism.
For a peak plug displacement of 0.001 meter, displaced volume is 0.0000001 cubic meter. The volume change is one ten-thousandth of the cavity volume. The linear pressure amplitude is 11.25 pascals, and the restoring-force amplitude is 0.001125 newton.
The maximum elastic energy is one-half k x squared, or 0.5625 microjoule. The corresponding maximum plug speed is omega x = 0.6 meter per second. One-half m times that speed squared gives the same energy, independently checking the mass-spring conversion.
Explain what the end correction changes
Suppose this example's physical neck is 0.015 meter long, and an assumed end correction adds 0.010 meter. Their sum gives the 0.025-meter effective length used above. The correction is stipulated for this example; it is not a universal value for an arbitrary opening.
If the calculation used only the physical length while preserving all other parameters, it would underestimate moving mass and overpredict frequency by square root of 0.025/0.015, approximately 1.29099. The predicted frequency would be about 123.281 hertz instead of 95.493 hertz.
Air near the neck ends also moves, which motivates representing some external motion by added acoustic inertia. The correction depends on opening geometry and surroundings. A neck length copied from a drawing therefore does not, by itself, establish the effective acoustic length.
Distinguish independent changes from geometric scaling
Doubling cavity volume with A, Leff, and c fixed divides frequency by square root of two. Quadrupling A with V and Leff fixed doubles frequency in the formula. In a real redesign, changing the opening can also change the end correction, so holding Leff fixed is part of the hypothetical comparison.
Scaling every linear dimension by two is a different operation. Area increases by four, volume by eight, and effective length by two if the correction scales with the geometry. The ratio A/(V Leff) then falls by four, and frequency falls by two.
That complete scaling result cannot be obtained by doubling cavity volume alone. Keep the chosen independent variables explicit when comparing two enclosure sketches or simplified simulation inputs.
Use resonance as one model output
An undamped natural frequency is not an absorption rating. Losses, radiation, wall compliance, multiple openings, neck shape, and nonuniform cavity modes can change the behavior that a microphone actually records. Higher frequencies may also violate the uniform-pressure assumption.
For robotics work, the model is useful for checking whether an acoustic cavity calculation has a consistent inertia, compliance, and length convention. Preserve those assumptions with the dimensions and gas properties before interpreting a frequency as a property of an actual assembly.
Sources checked October 24, 2026:
https://www.phys.unsw.edu.au/jw/Helmholtz.html — UNSW, neck-air mass, cavity compression, and effective acoustic length.
https://mae.osu.edu/sites/default/files/2021-11/J52.pdf — Selamet and Lee, classical Helmholtz frequency with neck end correction, JASA 113, 2003.
Illustration note: The generic instrument fixture is a concept illustration for enclosure acoustics. It does not show the hypothetical cavity, its neck geometry, or a measured resonance response.