You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've just used your lib, it's a cool implementation and thank you for that.
However specially in V/F mode, I cannot understand the purpose of this line of code: ptSVPWM->fAngRad += M_Pi;
TBH I still don't know about the Clark mode/input, I mean if the addition is necessary after this: ptSVPWM->fAngRad = atan2f(ptSVPWM->fUbe, ptSVPWM->fUal);
But in V/F the input angle is supposed to be in range [0,2pi] and this line breaks it. So when I remove it or replace it after the Clark atan2f calculation, the V/F mode starts to actually work.
The text was updated successfully, but these errors were encountered:
Hi, I've just used your lib, it's a cool implementation and thank you for that.
However specially in V/F mode, I cannot understand the purpose of this line of code:
ptSVPWM->fAngRad += M_Pi;
TBH I still don't know about the Clark mode/input, I mean if the addition is necessary after this:
ptSVPWM->fAngRad = atan2f(ptSVPWM->fUbe, ptSVPWM->fUal);
But in V/F the input angle is supposed to be in range [0,2pi] and this line breaks it. So when I remove it or replace it after the Clark atan2f calculation, the V/F mode starts to actually work.
The text was updated successfully, but these errors were encountered: