IPMSM Design Tool: Ld, Lq, MTPA and Field Weakening
Estimate IPMSM flux linkage and saturating dq inductances, then explore MTPA, field weakening and voltage-limited torque with Prius reference checks.
This IPMSM design tool helps engineers and students explore an interior permanent magnet motor before detailed finite element analysis. It estimates permanent magnet flux linkage, d-axis inductance and current-dependent q-axis inductance from a reduced magnetic equivalent circuit. It then finds the maximum motoring torque allowed by phase current, negative d-axis current and inverter voltage.
Start with the machine geometry and winding. The default bore, stack, air gap, magnet dimensions, series turns and cold phase resistance follow the 2010 Toyota Prius measurements published by Oak Ridge National Laboratory. The effective pole arc, winding factor, bridge thickness, iron path, B–H slopes and additional leakage factor are explicit engineering assumptions. They are editable because the published dimensions alone do not define a complete magnetic model.
For an Ld Lq calculation, enter an effective iron path length and the ratio of its bottleneck area to air-gap area. Below the chosen knee, iron has the initial relative permeability; above it, a lower differential permeability represents saturation. The inductance chart distinguishes secant inductance, which belongs in steady-state flux and torque equations, from incremental inductance, which describes a small current perturbation. The d-axis estimate includes the magnet barrier and leakage inductance.
Next set the dc-link voltage, phase current limit and operating speed. Currents use peak phase values; the RMS current is shown separately. Linear space vector PWM gives a phase peak voltage limit of Vdc/√3. The optimiser follows MTPA when voltage permits, advances current for field weakening, and can reach an MTPV optimum when the current circle is inactive. The speed chart compares the selected bus with 225, 500 and 650 Vdc. These are calculated electromagnetic envelopes and have no thermal or rated-power cap.
Use the play control to see the rotor and synchronous dq frame rotate together. One electrical revolution corresponds to one mechanical revolution divided by the pole-pair count. The current vector keeps its calculated advance angle.
The Prius comparison table uses approximate readings from ORNL's measured phase-to-neutral RMS back-EMF plot. Agreement checks the no-load flux scale; it does not validate the predicted inductances, torque envelope or losses. ORNL's efficiency maps are useful context, but this calculator reports copper loss only and makes no full efficiency prediction.
Use this interior permanent magnet motor design calculator for preliminary trade-offs and teaching. Detailed release work still needs nonlinear FEM, actual steel and magnet data, demagnetisation analysis, rotor stress analysis and thermal validation. Cross saturation, slot harmonics, torque ripple, iron and mechanical losses, inverter losses and transient control are outside the model.
How it is calculated
Magnetic circuit and winding convention
This is an original reduced magnetic equivalent circuit, following the nonlinear-reluctance approach described by Lovelace (2000) and Lovelace, Jahns and Lang (2002), attached source s1, pp. 2–5 (journal pp. 646–649). It replaces the publication's 15-element q-axis network with one effective series iron path and integrates its air-gap response exactly over angle. It does not reproduce that network or inherit its reported FEM accuracy.
For series turns per phase N and winding factor kw, the peak fundamental stator MMF is F1 = kF I, where kF = 3 N kw/(π p). A sinusoidal fundamental air-gap field links a phase by ψ = Cψ B1, with Cψ = 2 N kw r l/p. The peak phase dq convention gives T = 3p(ψd iq − ψq id)/2.
The equivalent pole has two parallel magnet bars, two saturated leakage bridges and one air-gap branch. Magnet area Am uses the measured magnet axial length; gap and bridge areas use the active stack length. Solving the Norton magnet circuit gives
A rectangular pole arc has fundamental B1 = kPM (4/π) Bg sin(πα/2). The explicit kPM factor retains flux after additional end and cavity leakage. The d-axis barrier gap is gd = ge + tm Ag/(μrec Am), and Ld = Lσ + Cψ kF μ0/gd.
For the q axis, the pointwise circuit solves
H(B) is continuous and piecewise linear: its slope is 1/(μ0 μr) below Bk and 1/(μ0 μsat) above Bk. The pointwise Bg is solved algebraically in gap_q. For the fundamental, split the continuous angular integral at the moving saturation boundary θs = acos(Ik/|iq|), when |iq| exceeds Ik. The equivalent gaps are d0 = ge + lFe/(μr fq) and ds = ge + lFe/(μsat fq), and Ik = Bk fq d0/(μ0 kF). Let L0 = Lσ + Cψ kF μ0/d0, Ls = Lσ + Cψ kF μ0/ds, u = min(1, Ik/|iq|), and s = sqrt(1 − u²). Direct integration of (4/π) Bg(θ) cos θ gives
Its exact derivative is
At zero current use u = 1 by continuity. These expressions also recover the unsaturated sinusoidal fundamental exactly. The moving-boundary terms cancel when differentiating because Bg is continuous at the knee. Secant Lq = ψq/iq enters torque and steady-state voltage; the chart's incremental inductance uses the analytic derivative, not a sampled finite difference.
The independent accuracy audit integrates gap_q's local differential response over 2,048 midpoint angles at 50 and 60 A without either closed-form angular weight. It allows 0.5% numerical error for the local material-slope discontinuity. A separate reference case retains the independent review's direct-integration benchmarks, 1.334 mH and 0.958 mH, with rounding tolerance. These verify the integration of the assumed circuit, not measured machine accuracy.
Supported magnet enclosure
The inferred rotor diameter is Drot = Dbore − 2gair. A single magnet's diagonal must be shorter than Drot. The conservative equivalent layout places two bars side by side in a flat tangential row within one pole sector, with margin tb. With rotor radius R and half-width a = wm + tb, the outer face offset is yo = sqrt(R² − a²) − tb and the minimum inner face offset is yi = a cot(π/(2p)). Require tm < yo − yi. If a ≥ R there is no available space. These checks reject impossible input combinations; they do not establish shaft clearance, cavity geometry or structural strength. The drawn V-shaped pairs remain schematic.
Drive optimisation
Use vd = Rs id − ωe ψq, vq = Rs iq + ωe(ψPM + Ld id), and Vlim = Vdc/√3 for linear SVPWM. Radians are dimensionless in these electrical rate equations. The solver samples 501 nonuniform q currents, denser near zero. At each iq it solves the quadratic voltage inequality for the allowed id interval and intersects it with the current circle, id ≤ 0 and the specified negative d-current bound. Torque is linear in id at fixed iq, so the better interval endpoint is selected; the highest candidate torque is returned. The MTPA comparison removes the voltage constraint. MTPV denotes a voltage-constrained optimum with slack current and d-current bounds. These are numerical approximations to the current-vector optimisation described by Morimoto et al. (1990), DOI 10.1109/28.60058; its paywalled full text was not used.
Each envelope has 41 speed samples. Zero torque beyond an infeasible voltage region means no feasible motoring current vector was found. Copper loss is 3 Rs Ipeak²/2; converted power is Tωmechanical. Mechanical, core and inverter losses are excluded.
Assumptions
- Balanced sinusoidal three-phase winding, sinusoidal fundamental MMF, no cross saturation and no stator saliency.
- The d axis stays linear apart from the prescribed saturated bridge leakage. Only q-axis bulk saturation is modelled. The iron B–H law has two slopes and no hysteresis.
- Two equivalent parallel magnet bars and two saturated bridges per pole; uniform magnetisation, linear recoil line, rectangular effective pole arc. The enclosure check uses a conservative flat tangential two-bar envelope inside one pole sector. The drawing is an original schematic with exaggerated clearances, not a manufacturing section.
- ORNL Table 2.7 (s3, PDF p. 55, printed p. 46) supplies the default 161.9 mm bore, 50.8 mm stack, 0.73 mm air gap, 88 series turns and 0.077 Ω cold phase resistance. ORNL's rounded rotor/stator diameters imply a 0.75 mm gap; the separately tabulated 0.73 mm is retained. Magnet dimensions 49.3 × 17.88 × 7.16 mm come from s3, PDF pp. 54–55.
- The winding factor 0.933, Carter factor 1.10, pole arc 0.75, bridge thickness 1 mm, flux retention 0.80, remanence 1.30 T, recoil permeability 1.05, effective iron length 100 mm, area fraction 0.55, permeabilities 2000/20, knee 1.8 T and leakage 0.10 mH are explicit assumed design inputs, not a measured Prius parameter set. Fit them to your winding, material data and FEM.
- Remanence and resistance refer to the operating temperatures entered indirectly by the user; temperature dependence is not calculated. The negative d-current bound is supplied by the user and does not prove magnet survival.
- Steady-state positive-speed motoring with id ≤ 0 and iq ≥ 0; linear SVPWM with no dead time, overmodulation or semiconductor voltage drop. Current ratings are phase peak values; DC test current and RMS phase current are different quantities.
Where it applies
Use for preliminary IPMSM design comparisons and education. A change of effective path geometry or B–H slopes requires comparison with FEM or measured dq flux maps before choosing hardware. The Prius-sized default circuit is not a validated Prius torque model: its calculated envelope is not limited to the published 60 kW, 18-second rating.
The reference cases compare magnet volume and no-load phase RMS back-EMF only. Back-EMF readings of about 150 V at 4,000 rpm and 300 V at 8,000 rpm were read from ORNL Fig. 3.6 (s3, PDF p. 68, printed p. 59). Their ±10% acceptance bands allow graph reading and reduced-model uncertainty; they do not establish inductance or loaded torque accuracy. The comparison table also includes about 445 V at 12,000 rpm.
ORNL's motor map at 650 Vdc reaches about 96% efficiency (s3, PDF pp. 71–72). Its inverter and combined maps include 225, 500 and 650 Vdc (PDF pp. 73–75). The test description on PDF p. 71 says 230 Vdc, while the map captions say 225 Vdc; the comparison envelope uses the caption value. The prose also contains a 250 V reference where Fig. 3.17 says 225 V. These measured maps are context, not an efficiency model or validation of this tool.
Excluded: cross saturation, local bridge desaturation, irreversible demagnetisation, harmonics, cogging and torque ripple, iron/mechanical/inverter losses, end winding detail, thermal limits, rotor stress and transient control. There is no full efficiency prediction. A zero envelope segment means voltage feasibility has been lost, not safe open-circuit operation. Never use the animation speed as physical shaft speed.
References
- Lovelace, E. C. F. (2000). Optimization of a Magnetically Saturable Interior Permanent-Magnet Synchronous Machine Drive. MIT PhD thesis. Open thesis record: https://dspace.mit.edu/handle/1721.1/9085 . The full thesis download was unavailable during this build; the open 2002 paper below supplies the inspected magnetic-model detail.
- Lovelace, E. C., Jahns, T. M., and Lang, J. H. (2002). A Saturating Lumped-Parameter Model for an Interior PM Synchronous Machine. IEEE Transactions on Industry Applications 38(3), 645–650. DOI: 10.1109/TIA.2002.1003413 . Open institutional copy: https://minds.wisconsin.edu/bitstream/1793/11138/1/file_1.pdf . Attached s1.
- Burress et al. (2011). Evaluation of the 2010 Toyota Prius Hybrid Synergy Drive System, ORNL/TM-2010/253. https://www.osti.gov/biblio/1007833 . Full open report: https://digital.library.unt.edu/ark:/67531/metadc836432/m2/1/high_res_d/1007833.pdf . Attached s3; geometry Table 2.7, back-EMF Fig. 3.6, maps Figs. 3.11–3.18.
- Morimoto, S., Takeda, Y., Hirasa, T., and Taniguchi, K. (1990). Expansion of operating limits for permanent magnet motor by current vector control considering inverter capacity. IEEE Transactions on Industry Applications 26(5), 866–871. https://doi.org/10.1109/28.60058 . Bibliographic citation only; no paywalled full text attached.
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Pole pairs The ORNL motor has eight poles (four pole pairs). | p | 4 | |
| Series turns per phase Prius: 11 turns/coil × 8 series coils = 88 (ORNL Table 2.7). | N_ph | 88 | |
| Fundamental winding factor Assumed 0.933 for a short-pitched distributed winding. Replace with your winding result. | k_w | 0.933 | |
| Stator bore diameter 161.9 mm from ORNL Table 2.7. | D_bore | mm | 161.9 |
| Active stack length 50.8 mm stator stack from ORNL Table 2.7; uniform active field assumed. | l_stack | mm | 50.8 |
| Radial air gap ORNL tabulates 0.73 mm. Rounded diameters imply 0.75 mm; the tabulated gap is used. | g_air | mm | 0.73 |
| Carter gap factor Effective gap / physical gap. Assumed 1.10; slot opening and fringing are lumped here. | k_C | 1.1 | |
| Width of each magnet Two bars per pole. ORNL: 17.88 mm; width normal to magnetisation. | w_m | mm | 17.88 |
| Magnet thickness Magnetisation-direction thickness. ORNL: 7.16 mm. | t_m | mm | 7.16 |
| Magnet axial length ORNL measures 49.3 mm; may be shorter than the stator stack. | l_mag | mm | 49.3 |
| Effective pole-arc fraction Uniform PM air-gap flux spans this fraction of one pole pitch. Assumed 0.75. | alpha_m | 0.75 | |
| Equivalent bridge thickness Two saturated leakage bridges per pole; assumed 1 mm, not measured by ORNL. | t_b | mm | 1 |
| Remanence at operating temperature Assumed 1.30 T. Use the magnet temperature and demagnetisation curve for your design. | Br_m | T | 1.3 |
| Magnet recoil relative permeability Linear recoil-line slope, assumed 1.05. | mu_rec | 1.05 | |
| Additional PM flux retention Assumed 0.80 for end and cavity leakage beyond the explicit bridge branch; requires FEM or measurement. | k_pm | 0.8 | |
| Iron knee and bridge flux density Assumed 1.8 T. Lovelace discusses M19 saturation near 1.8–2.1 T; fit your steel curve. | B_k | T | 1.8 |
| Iron relative permeability below knee Assumed two-slope B–H fit. This is an effective circuit value, not a steel catalogue entry. | mu_r | 2000 | |
| Differential relative permeability above knee Assumed 20. Lower values produce stronger saturation. | mu_sat | 20 | |
| Effective q-path iron area / gap area Assumed 0.55; represents the bottleneck area of the series tooth/rotor/yoke path. | f_q | 0.55 | |
| Effective q-axis iron path length Assumed 100 mm; combine tooth, rotor and yoke MMF drops into one series path. | l_iron | mm | 100 |
| Phase leakage inductance Assumed 0.10 mH, added to both axes. Obtain from winding analysis or measurement. | L_leak | mH | 0.1 |
| Phase resistance at operating temperature 0.077 Ω measured at 21 °C in ORNL Table 2.7. Increase for a hot winding. | R_s | ohm | 0.077 |
| Maximum phase current, peak dq magnitude equals phase peak, not RMS or dc-link current. Default 150 A peak. | I_lim | A | 150 |
| Maximum negative d-axis current An imposed current bound, not a demagnetisation prediction. Set from magnet/FEM limits. | I_dlim | A | 250 |
| DC-link voltage Linear SVPWM: phase peak limit = Vdc/√3. No overmodulation or inverter drops. | V_dc | V | 650 |
| Operating speed The result is maximum feasible motoring torque at this speed, not a requested load torque. | n_op | rpm | 4000 |
| Maximum plotted speed Default 13,500 rpm follows the published Prius speed rating. | n_max | rpm | 13500 |
| Electrical angle ▶ Play to rotate the dq frame and rotor. One electrical revolution advances the rotor by 1/p revolution; the operating point stays fixed. | theta_e | deg | 35 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Maximum torque | 193.8 N·m |
| Converted power | 81.17 kW |
| Ld | 0.509 mH |
| Lq at operating current | 3.679 mH |
| PM flux linkage | 127.4 mWb |
| Phase current, RMS | 106.1 A |
| Current advance | 67.7 deg |
| Copper loss | 2,599 W |
| Operating region | Field weakening |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
Prius back-EMF at 4,000 rpm
Source: ORNL/TM-2010/253, Fig. 3.6, printed p. 59 / attached PDF p. 68. Independent measured phase-to-neutral RMS trace: approximately 150 V at 4,000 rpm, read from the graph. ±15 V (10%) allows graph reading and the explicitly reduced geometry model. This checks no-load flux only.
Inputs: the default inputs above.
| Result | Source | This calc |
|---|---|---|
| No-load phase-to-neutral back-EMF, RMS | 150 ± 15 V | 150.9 V |
Prius back-EMF at 8,000 rpm
Source: ORNL/TM-2010/253, Fig. 3.6, printed p. 59 / attached PDF p. 68. Independent measured phase-to-neutral RMS trace: approximately 300 V at 8,000 rpm, read from the graph. ±30 V (10%) allows graph reading and reduced-model uncertainty; it is not a torque or inductance validation.
Inputs: Operating speed = 8,000 rpm; the others as above.
| Result | Source | This calc |
|---|---|---|
| No-load phase-to-neutral back-EMF, RMS | 300 ± 30 V | 301.9 V |
Prius volume of one magnet
Source: ORNL/TM-2010/253 Table 2.7, printed p. 46 / PDF p. 55 independently tabulates 6.31 cm³ per magnet. The dimensional volume calculation uses the measured 49.3 × 17.88 × 7.16 mm; ±0.02 cm³ allows source rounding.
Inputs: the default inputs above.
| Result | Source | This calc |
|---|---|---|
| Volume of one magnet | 6.31 ± 0.02 cm³ | 6.311 cm³ |
Independent direct-integration benchmarks at 50 and 60 A
Source: Independent engineering review supplied by the user on 2026-10-25: direct angular integration of the stated local two-slope B–H circuit gives incremental Lq ≈ 1.334 mH at 50 A and 0.958 mH at 60 A. The ±0.001 mH bands allow rounding of those independently supplied numerical results. These audit the angular integration, not a measured Prius inductance.
Inputs: the default inputs above.
| Result | Source | This calc |
|---|---|---|
| Exact incremental Lq audit values [1] | 1.334 mH | 1.334 mH |
| Exact incremental Lq audit values [2] | 0.958 ± 0.001 mH | 0.9578 mH |
Related Resources
Related articles
-
Modeling and Visualization of Dipole Magnetic Fields Using Streamlines and Runge–Kutta Method in Matlab -
A Comprehensive Review of Lithium-Ion Battery Modeling and Electro-Thermal Analysis Using Equivalent Circuit Models in PLECS -
Mineral Processing Circuit Simulation: Ball Mill Grinding, Hydrocyclone Classification, and Energy Evaluation Using Matlab
Related courses
Induction motor simulation using RMXPRT tool of ANSYS MAXWELL
1
Original price was: 50 €.12 €Current price is: 12 €.
IEC Electrical Schematics and Industrial Control Panels
5
Original price was: 42 €.21 €Current price is: 21 €.
Basic Electrical Controls & Diagram Reading
7
Original price was: 32 €.18 €Current price is: 18 €.







Responses