Skip to main content
RAlph.1
Visitor II
January 14, 2026
Question

ST SPIN MTPA slope and offset array

  • January 14, 2026
  • 1 reply
  • 154 views

Can anyone help me understand how these two arrays have been made

#define M1_ANGC                            {-116,-363,-611,-843,-1091,-1338,-1571,-1833}
#define OFST {0,17,51,99,167,252,348,474}

these arrays are used in MTPA calculation with y=mx+c equation.

RAlph1_0-1768390301357.png

These are the motor parameters for which the array has been calculated. Your assistance will be appreciated.

1 reply

GMA
Technical Moderator
January 27, 2026

Hello @RAlph.1,

These tables provide a linear approximation of the curve described in the PMSM maximum torque per ampere (MTPA) control chapter of the User manual documentation, which is available through Workbench tool > About > Documentations > Documentation > User manual.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA