I designed my own power stage with TMS570 and trying to configure FOC software for my application.
I have finished peripherals' configurations and now ready to include FOC drivers to my application. As we know, almost all variables of FOC software for Hercules TMS570 are scaled to (0,1) or (-1,1). I know it is so reasonable to scale variables to pu for make software adaptable but i am a little bit confused about dc voltage, current and torque scalings.
Hercules FOC doesn't have user parameters header file like Piccolo mcu's has. In FOC software of Piccolo, user's full scale current, torque, dc voltage, speed refererence and other parameters which realted with user's application can adapt to software easily. So my question is how can i arrange Hercules FOC scaled parameters for my own power stage and motor. I know this is so generic question but i would be appreciate if you give me some tips and advices.