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.

CCS/DRV8301-69M-KIT: Changing the Ls_d, Ls_q variables while running

Part Number: DRV8301-69M-KIT


Tool/software: Code Composer Studio

Hello,

I recognized, that lowering the Ls_d and Ls_q variables leads to a smoother running at higher currents.

So I would like to implement a function or a lookup-table, which makes me able to update the values for Ls_d and Ls_q continuously.

I already have created a variable in main.c with the correctly updated values. In which functions do I have to Change the values? Using SET User Params isn't enough.

Thank you.

Best regards

Maurice

  • Hi Maurice,
    I think you can just use the function EST_setLs_dq_pu (). You can find a description in the UserGuide: www.ti.com/lit/ug/spruhj1f/spruhj1f.pdf

    However I'm not sure if it is really necessary to adapt the motor model. Did you already try to change the PI controller of the speed and current loops?