Code: Select all
integrator2 += sum_two/8000; //frequency
Code: Select all
integrator2 += sum_two/8000; //frequency
Apologies, got called away from this for a while. The 8000 should be equal to the frequency at which the function is called (equal to resolver pwm frequency?) It is 'only' a constant and doesn't seem to critical (although would be a tuning parameter perhaps)johu wrote: ↑Mon May 17, 2021 7:23 pm I also have a questions about the observer code:What is the meaning of "8000"?Code: Select all
integrator2 += sum_two/8000; //frequency