Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
In my application, I have to switch between induction and PMSM motors during runtime. Normal approach of changing macros will not work.
I receive motor parameters through UART and call CTRL_setParams again when the motor params change.
I found that CTRL_setEstParams sets Rs,Ld,Lq and Flux to default values. As source code for this function is not available, I cannot determine if any other variables are set to default by this function.
In my use case, I already know the values of Rs,Ld,Lq and flux and do not need an ID run. Currently I am planning to save values of Rs etc and reassign after CTRL_setEstParams is called. For this approach to work, I need confirmation that the function does not modify any other variables.
Please let me know which parameters are set inside CTRL_setEstParams.