Hi all,
First of all, sorry if the title is misleading, hard to explain....
Basically, I put a scope on one phase of a 22pole motor running at 100 and 500RPM and want to know what the math is that relates the spike to the mechanical frequency.... PWM is set to 45kHZ, but there obviously is a frequency 'riding' (other way round I guess) on that to generate the rotating magnetic field which determines the rotor speed. I figured it should be easy enough to reverse-engineer the relationship from the frequency found from FFT given that its a synchronous motor, but I haven't been able to... FOC complicates things since it's no longer in discrete 60 degree 'segments'....
The first image is the motor at 100RPM, spike occurs at ~85-90Hz...
Second image is the motor at 500RPM, spike occurs at ~170-180Hz...
Thanks, if i'm not even in the ballpark with what I am trying to do, could you explain what actually does determine the frequency of the rotating magnetic field - regarding parameters in user.h and speed setting.

