This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where does the maxCurrent go?

Hello Chris or other users,

I try to search which functions call maxCurrent in the settings, but only find set and get it functions.

Is this float32_t maxCurrent the current limitation after speed controller? Take Figure 2 in section 1.1.3 for example, it maxCurrent the limitation before Iq_ref?

  • the USER_MAX_CURRENT setting in user.h is set as maxCurrent.

    This is used only to limit the maximum/minimum output of the speed controller which sets the Iq_Ref_A

    It is also used to set the initial speed PI Kp and Ki gains (which you can of course change).