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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| On-axis field of a cylinder magnet | Closed form | 1 (4 points) | within 1 % |
| Gap flux-density curves of archived motors | FEMM 4.2 (each re-confirmed in xfemm) | 27 | all pass; worst mean error 0.020 T |
| Gap-mean flux density, same mesh | FEMM 5 / xfemm 4.0 | 1 woofer motor | +1.7 % |
| Gap flux density through the openCFS bridge | openCFS | 1 | identical 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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Gap field and Bl, axisymmetric motors | Native 2-D FE | 2 real motors | within 0.56 % |
| 10°, 45°, 120° sectors | Full 360° model | 3 | within 1.03 % |
| Mesh convergence | 2-D reference | 5 meshes | error shrinks steadily to 0.44 % |
| Segmented magnet, gap → 0 | Solid ring | 5 | converges 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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Coil + copper ring, 10-300 Hz | Analytic coupled circuit | 3 frequencies | L within 0.83 %, loss within 1.2 % |
| Le at 1 kHz | FEMM 4.2 (incremental method) | 47 coils | median 0.30 %, 41 of 47 within 2 % |
| L at 100 Hz / 1 kHz / 10 kHz | FEMM 5 and xfemm | 1 woofer motor | +0.9 / +1.5 / +2.0 % |
| L(f) and R(f), 20 Hz-10 kHz | openCFS | 1 | identical (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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Free circular plate modes | Exact Bessel solution | 4 mode families | within 0.1 % |
| Plate and bare cone modes | CalculiX shell elements | 4 modes | within 0.4 % |
| Large-deflection suspension | von Kármán plate theory | 1 plate | within 0.17 % |
| Spider + surround stiffness and x(F) | COMSOL course model "Loudspeaker driver large-signal parameters" | ±20 N | K0 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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Sealed, vented and passive-radiator boxes | Closed form; Thiele/Small transfer functions | 86 checks | all pass, exact to round-off |
| Fibre-filled box losses | Futtrup 2011 worked example | 1 | reproduced |
| Port tuning | Bezzola et al. 2019, published port | 1 | 39.98 vs 40.0 Hz |
| Driver SPL, 20 Hz-6.5 kHz | COMSOL "Loudspeaker Driver" benchmark | 1 driver | within 1.0 dB rms in every band |
| Baffle diffraction (BEM) | bempp-cl | 3 meshes | identical 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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Displacement limits X_C, X_L, X_d, X_Bl | Klippel LSI report (15-inch woofer) | 4 limits | 16.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 compression | Klippel 2004 equations, closed-form RC | 7+ tests | pass |
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.
| Check | Reference | Cases | Result |
|---|---|---|---|
| Full automated suite | — | 525 files, 3,674 tests | pass (2 known, unrelated fails, Nov 2026) |
| Validation gate (solver regression) | Analytic, FEMM 5, xfemm, FEMM 4.2 archive | 35 rows | all pass |
Published methods
| Reference | Used in LMD for |
|---|---|
| D. C. Meeker, FEMM 4.2 User's Manual, 2015 | Axisymmetric 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, 2012 | Winding eddy/proximity loss |
| P. P. Silvester, R. L. Ferrari, Finite Elements for Electrical Engineers, 3rd ed., 1996 | 2-D triangles, Newton on reluctivity |
| J.-M. Jin, The Finite Element Method in Electromagnetics, 3rd ed., 2014 | Nodal/edge elements, open boundaries |
| J.-C. Nédélec, "Mixed finite elements in R3", Numer. Math. 35, 1980 | 3-D edge elements |
| O. Bíró, K. Preis, IEEE Trans. Magn. 25(4), 1989; C. Emson, J. Simkin, IEEE Trans. Magn. 19(6), 1983 | 3-D eddy currents (A* formulation) |
| R. Hiptmair, J. Xu, SIAM J. Numer. Anal. 45(6), 2007; Saad & Schultz (GMRES), 1986 | 3-D solver preconditioning |
| N. Bowler, "Frequency-dependence of relative permeability in steel", AIP Conf. Proc. 820, 2006 | Reversible permeability of steel in L(f) |
| J. Vanderkooy, "A Model of Loudspeaker Driver Impedance Incorporating Eddy Currents in the Pole Structure", JAES 37(3), 1989 | Eddy-current impedance model |
| L. R. Wright, JAES, 1990 | Semi-inductance blocked-impedance fit |
| A. N. Thiele, 1961; R. H. Small, JAES 1972, 1973, 1974 | Lumped driver model; sealed/vented/passive-radiator enclosures |
| D. B. Keele Jr., "Direct Low-Frequency Driver Synthesis from System Specifications", AES preprint 1797, 1981 | Driver synthesis from box targets |
| W. M. Leach, 1989 / JAES 50(6), 2002 | Enclosure-fill and lossy-inductance models |
| C. Futtrup, "Losses in Loudspeaker Enclosures", AES Conv. Paper 8324, 2011 | Fibre-filled box absorption |
| W. Klippel, "Nonlinear modeling of the heat transfer in loudspeakers", JAES 52(1/2), 2004 | Thermal network, power compression |
| D. Button, JAES 40(1/2), 1992 | Heat dissipation / power compression |
| Klippel Application Note 5 (displacement limits) | X_Bl 82 %, X_C 75 %, X_L, X_d limits |
| IEC 62458 | Xmax at 82 % Bl, x_C at Cms 75 % |
| IEC 60268-5 / AES2-2012 | Rated power and impedance screens |
| A. Salvatti, A. Devantier, D. Button, "Maximizing Performance from Loudspeaker Ports", JAES 50(1/2), 2002 | Flared ports, CFD presets |
| A. Bezzola et al., "Loudspeaker Port Design for Optimal Performance and Listening Experience", AES Conv. Paper 10311, 2019 | Port benchmark and CFD presets |
| Garcia-Alcaide et al., 2017; Roozen et al., 1998 | Port vortex-shedding (Strouhal) screen |
| ASHRAE fitting-loss tables | Lumped port entrance/bend losses |
| Beranek; Levine & Schwinger | Port end corrections |
| Delany & Bazley, 1970; Miki, 1990 | Porous 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), 1991 | Edge-diffraction check |
| A. Leissa, Vibration of Plates, NASA SP-160, 1969 | Plate-mode benchmark, panel modes |
| Olsen & Thorborg, AES preprint 4082, 1995 | Moving-mass / air-load budget |
| Iversen, Knott, Andersen, JAES 64(4), 2016 | Bl²/Re = B²σV_Cu motor-efficiency relation |
| Merit et al., IEEE Trans. Magn., 2009; Kaltenbacher et al., AES 5420, 2001 | Parametric FE motor optimisation |
| C. V. Dodd & W. E. Deeds, J. Appl. Phys. 39, 1968 | Planar-motor eddy currents |
| Mellow & Kärkkäinen, JASA 120(5) 2006 and 140(4) 2016 | Planar 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.