someone can tell me the principle behind current_meas_period * pll_kp ,which in function “bool SensorlessEstimator::update()”
This checks that the gains are stable. Checking that sample time * Kp < 1 ensures that there’s enough phase margin for stability, if it’s >=1 then the discretization is not guaranteed to be stable.