elecLear78
Member
I am really looking for some support on this application note AN1017A by microchip for sinusoidal control of BLDC motors. I have attached the application note i have progressed little bit but need more support. There are two source codes provided for two micros one for dspic30f4011 and another for dspic33E family. If i compare the implementations of both they are differing in some critical sections. Can someone please tell me why is it so?
There is a PhaseInc value which has to be changed in one project it is something like this
In another it is
I have some other doubts but i want to first get over this.
There is a PhaseInc value which has to be changed in one project it is something like this
Code:
if (Current_Direction == CW)
Phase-= PhaseInc;
Code:
if (Current_Direction == CW)
Phase += PhaseInc;
I have some other doubts but i want to first get over this.