Hi,
I didn't understand why the Kp loop jump between the initialization value and the value compensated by the bus voltage,and I didn't find the place to initialize the PI parameter again in the code。
the motor moves normally!can you give me some advice?
thank you。