If i know the flux, moment of inertia, and torque constant of the motor, how to calculate the PI parameters for the speed loop?
Hi! If you want to do this from a first-principles approach, more than happy to recommend a good textbook on controls otherwise, we have a quick overview on tuning here: Tuning the Controller — ODrive Documentation 0.6.10 documentation