Tuesday, August 8, 2017

The Motor Equations

We are all taught as wee seedlings that motors, brushed or brushless, are governed by the following equations: τ=KtIω=KvVKt=1/Kv
To a very rough approximation, these equations are true, and for hobby motors they work quite well. RC vendors usually quote Kv as the RPM per DC link voltage under trapezoidal commutation.

The above equations model the motor as a speed-dependent voltage source. However, a motor has both inductance and resistance as well. Taking a moment to blatantly ignore the definitions of 'inductance' and 'resistance' (there are several, depending on your conventions), a more accurate voltage equation might be: V=ω/Kv+IR+npωL
Note the intentional lack of subscripts on R and L; this equation is meant to be heuristic and should not be used to actually compute back EMF.

The motor equations

Taking into account inductance, resistance, and saliency, the complete equations describing a sinusoidally-varying motor with sinusoidal commutation are: τ=32np(λIq+(LdLq)IdIq)Vd=RsIdωLqIqVq=RsIq+ωLdId+ωλVs=V2d+V2q
Where Rs,Ld and Lq are the resistance and inductance of one phase, Vs is the peak AC stator voltage across one phase (which for standard SVM is equal to half the DC link voltage), λ is the PM flux linkage, and np is the number of pole pairs. Id and Iq are the usual FOC axis currents.

These equations immediately tell us that IPM's (which have Ld<Lq) require current on both the d and q-axes to generate the highest torque. This is in stark contrast to SPM's, which typically want Id=0. On some IPM's, the reluctance component ((LdLq)IdIq) is very significant; e.g. for the Hyundai HSG we have λ=0.053, Ld=0.6mH, and Lq=1.47mH. For high currents, reluctance torque is a huge fraction of the resulting torque...


...as evidenced by this stall test plot, where phase is practically equal to 3π/4 (the point of highest reluctance torque for a given stator current) at very high currents. This is because reluctance torque grows as the square of current, but PM torque grows only linearly.*

Next time, we will compute the optimum split between the d and q-axis currents for a motor at low speed (one which is not voltage-limited).

*only approximately true because of saturation, but empirical evidence shows it almost works!

1 comment:

  1. great information about the HSG motor. Any chance you would share the code you used to control it with in the Kart?

    ReplyDelete