PMSM Motor Design Back
EM

PMSM Electric Motor Design Calculator

dq-axis model for SPM and IPM motors. Adjust pole pairs, inductances, PM flux linkage, and operating point to compute torque, losses, and efficiency instantly.

Motor Topology
Type
Pole pairs p4
Electrical Parameters
Stator resistance Rs20 mΩ
d-axis inductance Ld5 mH
q-axis inductance Lq12 mH
PM flux linkage ψPM0.15 Wb
Operating Point
Speed n3000 rpm
d-axis current Id-10 A
q-axis current Iq30 A
Torque Te (N·m)
Efficiency η (%)
Copper loss Pcu (W)
Back EMF E (V)
MTPA angle (°)
Power factor cosφ

dq-Axis Torque Equation

$$T_e = \frac{3}{2}p[\psi_{PM}i_q + (L_d-L_q)i_d i_q]$$

1st term: magnet torque, 2nd: reluctance torque

Torque–speed characteristic (current operating point ●)
Torque components vs Iq (fixed Id, current point ●)

What is dq-Axis Theory for PMSM Motors?

🧑‍🎓
What exactly is this "dq-axis" model? Why do we need a special coordinate system just to analyze a motor?
🎓
Great question! Basically, it's a mathematical trick to make our lives easier. In reality, the three-phase currents in the stator windings are constantly changing with rotor position, which is messy to analyze. The dq-transform locks the viewpoint onto the spinning rotor itself. The 'd' (direct) axis aligns with the permanent magnet's north pole, and the 'q' (quadrature) axis is 90 degrees ahead. In this rotating frame, the AC currents look like steady DC values, which are much simpler to control. Try changing the `Id` and `Iq` sliders in the simulator—you're directly commanding the motor in this simplified, transformed space.
🧑‍🎓
Wait, really? So the torque equation up there has two parts. What's the difference between "magnet torque" and "reluctance torque"?
🎓
Exactly! They are two different physical mechanisms for producing force. The **magnet torque** comes from the interaction between the permanent magnet's flux ($\psi_{PM}$) and the q-axis current ($i_q$). It's like a standard permanent magnet motor. The **reluctance torque** is extra! It comes from the rotor's magnetic saliency—the fact that $L_d$ and $L_q$ are different. The rotor is designed to be magnetically "lumpy," so it has a preferred alignment with the stator field, creating additional torque. In the simulator, select an SPM (Surface PM) type—you'll see $L_d = L_q$, so reluctance torque is zero. Switch to IPM (Interior PM) to see a difference and unlock that second term.
🧑‍🎓
So how do engineers use this in practice? If I want maximum efficiency, should I just maximize both torque terms?
🎓
Not quite—it's a balancing act! Maximizing torque often means pushing a lot of current, which increases $I^2R$ losses in the copper windings (that's the `Rs` parameter). The real art of motor design is finding the optimal combination of `Id` and `Iq` for a given required torque. This is called Maximum Torque Per Ampere (MTPA) control. For an IPM motor, you often use *negative* `Id` to exploit the reluctance torque fully. Play with the sliders: you'll see the total torque change, and you can find the current pair that gives the most torque for the least total current magnitude, which directly impacts the efficiency calculated by the tool.

Physical Model & Key Equations

The core of PMSM performance prediction is the electromagnetic torque equation derived from the dq-axis model. It separates the two fundamental torque-producing mechanisms.

$$T_e = \frac{3}{2}p[\psi_{PM}i_q + (L_d-L_q)i_d i_q]$$

$T_e$: Electromagnetic Torque (Nm)
$p$: Number of Pole Pairs (sets the motor's base speed)
$\psi_{PM}$: Permanent Magnet Flux Linkage (Wb) - strength of the rotor magnets
$i_d, i_q$: d-axis and q-axis currents (A) - the control inputs in the rotating frame
$L_d, L_q$: d-axis and q-axis inductances (H) - define the magnetic saliency of the rotor

To understand losses and efficiency, we calculate the copper losses from the stator resistance and the applied currents. The total input power is the sum of output power and these losses.

$$P_{cu}= \frac{3}{2}R_s (i_d^2 + i_q^2)$$ $$P_{in}= P_{out}+ P_{cu}= T_e \cdot \omega + P_{cu}$$ $$\eta = \frac{P_{out}}{P_{in}}\times 100\%$$

$P_{cu}$: Copper Losses (W) - heat generated in the windings.
$R_s$: Stator Resistance per phase (Ω) - a key loss parameter.
$\omega$: Mechanical angular speed (rad/s), related to speed `n` in RPM.
$\eta$: Efficiency (%) - the ultimate design metric.

Real-World Applications

Electric Vehicles (EVs): IPM-SynRM motors (Interior Permanent Magnet Synchronous Reluctance Motors) are the dominant choice in modern EVs, like those from Tesla and Toyota. Engineers use the dq-model to optimize the mix of magnet and reluctance torque, maximizing power density and efficiency across the entire speed range, which directly translates to longer driving range.

Industrial Drives & Robotics: High-performance servo motors for CNC machines and robotic arms often use PMSMs for their precise control and high torque density. The dq-current control allows for extremely fast and accurate torque response, enabling smooth motion and high positional accuracy.

Home Appliances: Advanced washing machines, air conditioner compressors, and refrigerator fans increasingly use PMSM motors for their superior efficiency and quiet operation. The design calculator helps optimize for lower `Rs` and optimal current angles to meet strict energy efficiency regulations.

Aerospace Actuation: Fly-by-wire systems in aircraft use fault-tolerant PMSM designs for actuating control surfaces. The dq-model is crucial for predicting performance under extreme conditions and designing controls that ensure reliability and safety.

Common Misconceptions and Points to Note

First, the misconception that "inductance is a fixed value." In actual motors, values like Ld and Lq change significantly with increasing current due to magnetic saturation. Get into the habit of running simulations in the tool for both "rated current" and "overload current" to check how much the torque constant varies. For example, during field-weakening control in an interior permanent magnet motor where a large negative Id is applied, Ld in particular saturates and fluctuates, becoming a cause for discrepancy between calculated values and actual machine performance.

Next, designs that chase only the "peak efficiency point" on the efficiency map. While a 95% point feels great, what's important in practical operation is the average efficiency across the entire typical operating region. For an electric vehicle, for instance, broadly evaluate the characteristics generated by the tool to see if the mid-speed, mid-torque region, corresponding to city driving, forms a high-efficiency "hill."

Finally, the simplistic judgment that "it's okay as long as the back-EMF doesn't exceed the voltage." A safety margin is essential. Battery voltage fluctuates with load changes, and the maximum usable voltage also differs depending on the inverter's modulation method (e.g., sinusoidal PWM vs. overmodulation). For the back-EMF $E$ calculated by the tool, aim to keep it sufficiently lower than at least $1/\sqrt{3}$ times the DC link voltage (the maximum output for space vector modulation). For instance, with a 300V supply voltage, a practical design would have the back-EMF significantly below 170V.

Related Engineering Fields

The electromagnetic torque and losses calculated by this tool become direct inputs for "thermal analysis" and "cooling design." Copper loss, in particular, is the heat source itself. Heat generation density changes based on the winding arrangement within the stator slots (e.g., concentrated winding vs. distributed winding), and the copper loss value from the tool is used to predict temperature rise via thermal fluid analysis (CFD). Conversely, the allowable temperature is determined by the insulation material's thermal class (e.g., Class H, 180°C), which constrains the upper limit of the current density you can set in the tool—a bidirectional relationship.

Furthermore, the d-q axis model handled here is deeply connected to control theory. In fields like "motion control" and "driver design," the Ld, Lq, and ψPM obtained from the tool are essential parameters for tuning PI gains in the current control loop and for observer design. The stability of field-weakening control at high speeds especially depends heavily on the accuracy of these parameters.

Broadening the scope, the connection to "materials engineering" is also crucial. Pursuing higher efficiency means choices like the electrical steel for the core (particularly grain-oriented silicon steel with low high-frequency loss) and the heat resistance of magnets (the dysprosium content in neodymium magnets) influence the design parameters. If the tool has an "iron loss" item, the iron loss coefficient (W/kg) provided by material manufacturers is indispensable for its calculation.

For Further Learning

The first next step is to "truly grasp the physical meaning of coordinate transformations (Clarke and Park transforms)." The Id and Iq from the tool are values in the rotating coordinate system. Understanding how these correspond to the actual three-phase currents (Iu, Iv, Iw)—not just by following the equations but by visually confirming waveforms in simulation software—will rapidly deepen your understanding. For example, verify that during constant-torque, constant-speed operation, Id and Iq become DC values and the three-phase currents become clean sine waves.

Regarding mathematical background, a basic knowledge of "vector analysis" and "ordinary differential equations" will enable you to derive the PMSM voltage equations yourself. Terms like the $- \omega_e L_q i_q$ in the voltage equation $$v_d = R i_d + L_d \frac{d i_d}{dt} – \omega_e L_q i_q$$ can be understood as akin to "fictitious forces" arising from the rotating coordinate system (a concept similar to the Coriolis force).

A recommended next topic is "transient phenomena and control response." This tool primarily calculates steady states, but in an actual machine, transient response during startup or load changes is critical. Venturing into this field involves solving the aforementioned differential equations in the time domain, allowing you to discuss the motor's "current response speed" and "control bandwidth." Once you understand that, you should gain deeper insight into how adjusting the tool's parameters can improve dynamic response.