FOC Phase Currents Look Noisy and Different from Theoretical SVPWM - Using VESC 4.12

Hi everyone,

I’m using a VESC 4.12 running in FOC mode, and I noticed that the measured phase currents look quite different from the theoretical SVPWM current waveforms.

In theory, I expected the phase currents to look like clean, balanced sinusoids (typical of SVPWM-based FOC). However, when I monitor the actual phase currents, they appear very noisy and irregular, with noticeable ripple and imbalance between phases.

Thanks in advance for your help.

I suggest taking this to the vesc discord. Start a thread in the troubleshooting channel.

You’re likely looking at hundreds or thousands of cycles in that graph. I’ve never bothered with looking closely at this, but if you want to get anything even resembling what you’re expecting, you’ll need to zoom in on the x-axis of your graph a whole lot. It might be helpful to figure out what frequency you expect and then choose an appropriate time scale for a few cycles.

Also, keep in mind that your graph is based on phase frequency, which is different than the motor frequency.

That doesn’t solve the problem, it only makes the information disappear, so someone else has the same question again later.

1 Like

You have to give more amps, try foc openloop

This is with a bkb xenith on firmware 6.05

1 Like

Hi, I’d like to ask for some clarification on your diagnostic suggestions.

Firstly, could you elaborate on why you recommend using the FOC open-loop test specifically? My setup is using Hall sensors for position feedback, so I’m trying to understand what this test bypasses.

Secondly, you mentioned increasing the current. I’m testing my motor with no load, so the continuous current is always very low and doesn’t increase with speed. What is the proper method to achieve a high-current state for this test?

1 Like

FOC openloop is exactly that

2 Likes