I want to avoid the Index_Search at the each Power-Up.
So I guess, Index_Search serves 2 purpose here:
- Finding the 0 of encoder
- Finding some alpha and beta parameters for the motor, which are necessary for commutation
So if I think, I am quite OK with only incremental setup and can make present value to be 0.
And in the function ‘run_index_search’, it runs until index is found.
Can I stop this rotation after sometime say 100ms, so that the alpha and beta parameters will be captured and my motor will not be moved a lot also.
Can you please let me know any implication in doing this.