Other Parts Discussed in Thread: TMS320F28069
Hello,
I wrote this post some time ago:
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/758193
Asking for some information on how to do the variable switching frequency for motor control. I have just recently starting to make the changes for this and I have a couple questions about it. I have seen the example project (TMS320F28004x) for the C2000 motor control SDK and I am trying to port that over to the TMS320F28069 and I have noticed that the estimator is taken out to a separate interrupt service routine. Why is this? Does the ISR for the estimator need to be constant? or can it vary? If it needs to be constant, does it have to be always higher than the maximum switching frequency expected? Is there any risk for having the estimator running at different frequency than the controller? I also noticed that within the estimator interrupt the speed PID is being run, is it needed for the estimator to work ok? or could it be run on the controller ISR?
Thanks!