← Kravchenko Audio

Finite-element flux density map of a 21-inch subwoofer motor

Kravchenko Audio · LMD

Verification of custom software

How my in-house motor and driver design software is checked, and what it is checked against.

Flux density, 21-inch subwoofer motor, made with LMD

I design loudspeaker motors and drivers with LMD, my own software. It is proprietary, used only in-house, and not for sale. I wrote it because no tool I could buy took a motor from finite-element magnetics all the way to a factory drawing set with my manufacturing rules built in. But custom software is only worth trusting if it has been checked. This page shows how I check it: against established solvers, vendor benchmark models, closed-form solutions and published methods. Every number here comes from a scripted, repeatable check. I don't publish accuracy figures against measured drivers yet. That calibration work is still in progress, and I would rather say so than quote a number I can't stand behind.

Magnetics, 2-D axisymmetric

LMD has its own nonlinear axisymmetric finite-element solver, and it can also drive FEMM 4.2, FEMM 5 and openCFS directly. I checked the native solver against an analytic magnet, against 27 archived motor projects originally solved in FEMM 4.2, and side by side with FEMM 5, xfemm and openCFS on the same mesh.

CheckReferenceCasesResult
On-axis field of a cylinder magnetClosed form1 (4 points)within 1 %
Gap flux-density curves of archived motorsFEMM 4.2 (each re-confirmed in xfemm)27all pass; worst mean error 0.020 T
Gap-mean flux density, same meshFEMM 5 / xfemm 4.01 woofer motor+1.7 %
Gap flux density through the openCFS bridgeopenCFS1identical to 0.0001 T

Magnetics, 3-D

For vented poles, drilled plates, segmented magnets and slit formers, LMD has a native 3-D solver with periodic sectors. I verified it against the 2-D solution on motors that are truly axisymmetric, checked sectors against the full 360° model, and ran a mesh-convergence study.

CheckReferenceCasesResult
Gap field and Bl, axisymmetric motorsNative 2-D FE2 real motorswithin 0.56 %
10°, 45°, 120° sectorsFull 360° model3within 1.03 %
Mesh convergence2-D reference5 mesheserror shrinks steadily to 0.44 %
Segmented magnet, gap → 0Solid ring5converges linearly to the ring

Inductance and eddy currents

Inductance and its frequency dependence decide the top end of a woofer, so LMD computes L(x) and Le(f) with eddy-current losses in steel, copper rings and windings. The eddy solver is checked against an analytic coupled circuit, and the full inductance chain against FEMM 4.2, FEMM 5, xfemm and openCFS.

CheckReferenceCasesResult
Coil + copper ring, 10-300 HzAnalytic coupled circuit3 frequenciesL within 0.83 %, loss within 1.2 %
Le at 1 kHzFEMM 4.2 (incremental method)47 coilsmedian 0.30 %, 41 of 47 within 2 %
L at 100 Hz / 1 kHz / 10 kHzFEMM 5 and xfemm1 woofer motor+0.9 / +1.5 / +2.0 %
L(f) and R(f), 20 Hz-10 kHzopenCFS1identical (0.00002 %)

Moving system and breakup

LMD models the cone, dust cap, surround, spider and former as an elastic system. I checked the shell solver against the exact solution for a vibrating plate and against CalculiX, and the large-deflection suspension model against plate theory and COMSOL's large-signal loudspeaker model. Breakup frequency prediction is still being refined, so I don't quote it.

CheckReferenceCasesResult
Free circular plate modesExact Bessel solution4 mode familieswithin 0.1 %
Plate and bare cone modesCalculiX shell elements4 modeswithin 0.4 %
Large-deflection suspensionvon Kármán plate theory1 platewithin 0.17 %
Spider + surround stiffness and x(F)COMSOL course model "Loudspeaker driver large-signal parameters"±20 NK0 within 1.7 %; x(F) within 2.2 % to ±10 N

Acoustics: enclosures, BEM and CFD

Box models are checked against closed-form alignments and published worked examples. I rebuilt COMSOL's "Loudspeaker Driver — Frequency-Domain Analysis" benchmark from its published geometry and materials, and compared LMD's radiated SPL with COMSOL's result. LMD's own boundary-element code is checked against bempp-cl. Port and vent CFD runs in OpenFOAM.

CheckReferenceCasesResult
Sealed, vented and passive-radiator boxesClosed form; Thiele/Small transfer functions86 checksall pass, exact to round-off
Fibre-filled box lossesFuttrup 2011 worked example1reproduced
Port tuningBezzola et al. 2019, published port139.98 vs 40.0 Hz
Driver SPL, 20 Hz-6.5 kHzCOMSOL "Loudspeaker Driver" benchmark1 driverwithin 1.0 dB rms in every band
Baffle diffraction (BEM)bempp-cl3 meshesidentical to 5e-10 dB

Large-signal behaviour and Klippel conventions

LMD's large-signal model uses Klippel's conventions throughout: Bl, compliance and inductance limits per Klippel Application Note 5 and IEC 62458 (Xmax at 82 % Bl, x_C at 75 % Cms). Klippel LSI and LPM reports import directly as measured overlays. Fed the measured curves from a Klippel LSI report, LMD reproduces that report's displacement limits.

CheckReferenceCasesResult
Displacement limits X_C, X_L, X_d, X_BlKlippel LSI report (15-inch woofer)4 limits16.7 vs 16.8 mm; 14.7 vs 14.7 mm; 73.0 vs 72.8; >18.6 vs >18.6 mm
Thermal network and power compressionKlippel 2004 equations, closed-form RC7+ testspass

Test discipline

Every check above is a script, not a one-off, and most run in LMD's automated test suite. A full run in November 2026 covered 525 test files and passed 3,674 tests. My manufacturing rules are coded as guard tests too: assembly registers, copper sleeves seated on steel, round vents only, even layer counts and others. So the software can't quietly drift away from what a factory can build.

CheckReferenceCasesResult
Full automated suite—525 files, 3,674 testspass (2 known, unrelated fails, Nov 2026)
Validation gate (solver regression)Analytic, FEMM 5, xfemm, FEMM 4.2 archive35 rowsall pass

Published methods

ReferenceUsed in LMD for
D. C. Meeker, FEMM 4.2 User's Manual, 2015Axisymmetric A_phi formulation, magnet B-H convention
D. C. Meeker, "An improved continuum skin and proximity effect model for hexagonally packed wires", J. Comput. Appl. Math. 236, 2012Winding eddy/proximity loss
P. P. Silvester, R. L. Ferrari, Finite Elements for Electrical Engineers, 3rd ed., 19962-D triangles, Newton on reluctivity
J.-M. Jin, The Finite Element Method in Electromagnetics, 3rd ed., 2014Nodal/edge elements, open boundaries
J.-C. Nédélec, "Mixed finite elements in R3", Numer. Math. 35, 19803-D edge elements
O. Bíró, K. Preis, IEEE Trans. Magn. 25(4), 1989; C. Emson, J. Simkin, IEEE Trans. Magn. 19(6), 19833-D eddy currents (A* formulation)
R. Hiptmair, J. Xu, SIAM J. Numer. Anal. 45(6), 2007; Saad & Schultz (GMRES), 19863-D solver preconditioning
N. Bowler, "Frequency-dependence of relative permeability in steel", AIP Conf. Proc. 820, 2006Reversible permeability of steel in L(f)
J. Vanderkooy, "A Model of Loudspeaker Driver Impedance Incorporating Eddy Currents in the Pole Structure", JAES 37(3), 1989Eddy-current impedance model
L. R. Wright, JAES, 1990Semi-inductance blocked-impedance fit
A. N. Thiele, 1961; R. H. Small, JAES 1972, 1973, 1974Lumped driver model; sealed/vented/passive-radiator enclosures
D. B. Keele Jr., "Direct Low-Frequency Driver Synthesis from System Specifications", AES preprint 1797, 1981Driver synthesis from box targets
W. M. Leach, 1989 / JAES 50(6), 2002Enclosure-fill and lossy-inductance models
C. Futtrup, "Losses in Loudspeaker Enclosures", AES Conv. Paper 8324, 2011Fibre-filled box absorption
W. Klippel, "Nonlinear modeling of the heat transfer in loudspeakers", JAES 52(1/2), 2004Thermal network, power compression
D. Button, JAES 40(1/2), 1992Heat dissipation / power compression
Klippel Application Note 5 (displacement limits)X_Bl 82 %, X_C 75 %, X_L, X_d limits
IEC 62458Xmax at 82 % Bl, x_C at Cms 75 %
IEC 60268-5 / AES2-2012Rated power and impedance screens
A. Salvatti, A. Devantier, D. Button, "Maximizing Performance from Loudspeaker Ports", JAES 50(1/2), 2002Flared ports, CFD presets
A. Bezzola et al., "Loudspeaker Port Design for Optimal Performance and Listening Experience", AES Conv. Paper 10311, 2019Port benchmark and CFD presets
Garcia-Alcaide et al., 2017; Roozen et al., 1998Port vortex-shedding (Strouhal) screen
ASHRAE fitting-loss tablesLumped port entrance/bend losses
Beranek; Levine & SchwingerPort end corrections
Delany & Bazley, 1970; Miki, 1990Porous absorber models
Burton-Miller BEM formulation; Sauter-Schwab singular quadrature (as in bempp-cl)Baffle/box diffraction and polars
J. Vanderkooy, "A simple theory of cabinet edge diffraction", JAES 39(12), 1991Edge-diffraction check
A. Leissa, Vibration of Plates, NASA SP-160, 1969Plate-mode benchmark, panel modes
Olsen & Thorborg, AES preprint 4082, 1995Moving-mass / air-load budget
Iversen, Knott, Andersen, JAES 64(4), 2016Bl²/Re = B²σV_Cu motor-efficiency relation
Merit et al., IEEE Trans. Magn., 2009; Kaltenbacher et al., AES 5420, 2001Parametric FE motor optimisation
C. V. Dodd & W. E. Deeds, J. Appl. Phys. 39, 1968Planar-motor eddy currents
Mellow & Kärkkäinen, JASA 120(5) 2006 and 140(4) 2016Planar membrane radiation/screens
Novak et al., 2019 (ICA Aachen)Model-free Bl from measured U, I, v

LMD is proprietary in-house software. It is not for sale, licensing or distribution.