Electric machines · FEA physics + ML surrogate

Outer-rotor PMSM hub motor: geometry optimisation across 15 slot/pole layouts

Tools

Python FEA (gmsh, CHOLMOD) · GetDP · Gaussian processes · KiCad

Domain

Electric machines · light EV drives

Result

+22 % peak torque in the same envelope

+22 % Peak torque from the same 248 mm rotor (129 → 157 Nm, hot magnets), with drive-cycle efficiency up from 91.4 % to 92.2 % and the winding no hotter at the 4 kW rating.
Physics
  • MagneticsNonlinear 2D FEA on datasheet B–H curves with a moving band, about 230 solves per design
  • Cross-checkIndependent GetDP solver agrees to 0.001 % on torque
  • DriveMinimum-current operating points with field weakening, for 6-step, SPWM and SVPWM
  • LossesCopper, Bertotti iron, magnet and rotor eddy losses over an urban drive cycle
  • ThermalCoupled thermal network that feeds magnet temperature back into the remanence
  • NVH & demagRadial airgap force waves driving a rotor and rim model; worst-case demagnetising field
Role of ML
Gaussian-process surrogates, trained on 4,650 FEA designs, give instant feedback as you move the sliders and run the optimiser. Any design can then be confirmed with a full FEA solve in one click; the results below are all full FEA solves.

Background

The brief: a direct-drive hub motor that fits a 12" scooter rim and meets the EU moped class (45 km/h, 4 kW continuous, 72 V battery), with enough peak torque for a hill start. The open design questions were the ones every motor designer faces. Which slot/pole combination? How to shape teeth and magnets? Which magnet grade and steel? Radial magnets or a Halbach array, on steel or aluminium? And how do torque, efficiency, cogging, noise, heat and magnet cost trade against each other?

Approach

PMSM Outrunner Explorer: draggable cross-section editor, KPI score card and exact FEA field map of the optimised 24/26 motor
PMSM Outrunner Explorer with the optimised 24-slot / 26-pole design loaded and solved with the full FEA ("FEA (exact)").

Where the ML surrogates come in

A full FEA evaluation takes 15–45 s, too slow for a slider or an optimiser. Machine-learning surrogates (Gaussian-process models trained on the FEA results) fix the speed. An optimiser running on a surrogate tends to settle where the surrogate is most optimistic, and at its first optimum this one overstated peak torque by 8 % (median, up to 16 %).

Two changes fixed that. Analytical magnetic-loading estimates (airgap, tooth and yoke flux densities, armature field) went in as inputs, so the model sees saturation coming. And optimiser candidates were verified with FEA and fed back in for two rounds. The error at the optimum fell to 1.8 % (median, 5.9 % at the 90th percentile).

FEA flux density map and flux lines of the 24/26 outrunner at the 4 kW operating point
FEA field at the 4 kW operating point. The detail shows saturated tooth tips, the airgap and the surface magnets.

Slot/pole study

All 15 balanced slot/pole layouts (18 to 36 slots, 16 to 42 poles) were optimised with the same goals and constraints, and each winner was solved with the full FEA. 24/26 is the best all-rounder: 157 Nm peak, 92.2 % cycle efficiency, 0.7 % torque ripple. 30/34 gives the most torque (162 Nm) for the lowest magnet cost and is notably quieter. Several popular alternatives, including 36/40, could not meet the torque and 155 °C winding targets at once in this envelope.

FEA-verified optimum of each slot/pole combination: peak torque against cycle efficiency, and cogging plus ripple against magnet cost, coloured by noise
FEA-verified optimum of each layout. Filled markers meet every constraint; colour shows the indicative noise level.

Drive electronics

The inverter was sized from the motor results: 72 V bus, 140 A peak phase current, 27 A rms DC-link ripple. It was then drawn in KiCad: 150 V MOSFETs in pairs, bootstrap gate drivers, Kelvin shunts with current amplifiers, and an STM32G431 with Hall, throttle and CAN interfaces. Schematic and four-layer board come from one design file. The schematic passes ERC and the board passes DRC with zero violations. The bridge loses about 60 W at the 4 kW rating (98.6 %).

3D render of the four-layer hub-motor inverter board with DC-link capacitors, three MOSFET half-bridges, phase lugs and the controller section
Inverter board (KiCad 3D render). Power stage on the left, controller and connectors on the right.
Full inverter schematic: power stage, gate drivers, supplies, controller and interfaces
Schematic, generated from the same design file as the board.

Results

Have a similar problem on your bench?