Skip to main content
Associate II
Nov 18, 2026 10:46 AM UTC
Question

Calculated the Feed-forward parameters in motor control FOC SDK

/*  Feed-forward parameters */
#define FEED_FORWARD_CURRENT_REG_ENABLING ENABLE
#define M1_CONSTANT1_Q 52857
#define M1_CONSTANT1_D 52857
#define M1_CONSTANT2_QD 1019



Follow stm reference, these 3 parameter is calculated base on motor parameters such as: b_emf constant, inductance,…

But what is the formula for these 3 parameters ?