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/TMS320F28069F: Motorware 17 Default VsRef

Part Number: TMS320F28069F

Tool/software: Code Composer Studio

Greetings,

I've designed a custom motor controller which runs great, and I've been using Lab 4 for current-mode control with great success.

Today, I switched over to a lower Kv motor (to draw less current to reach my max RPM), and of course as expected I've hit the "RPM barrier" where I need to implement either field weakening or over-modulation.

I currently have my USER_MAX_VS_MAG_PU set as 0.5, but then I noticed in the MOTOR_Vars_INIT of main.h, the default value of gMotorVars.VsRef is set as _IQ(0.8 * USER_MAX_VS_MAG_PU).

Can you explain the inclusion of this 0.8 scale factor?  Is it arbitrary just to leave a "safety margin", or is this a necessary value?  Is it catastrophic for me to increase this to 1.0?

Thanks!

Chris