Motor making constant loud noises when engaged (groaning, lightsabering, etc.)?

There are a few common fixes depending on the exact issue, so the easiest troubleshooting method is to just try each one to see what helps.

  1. Make sure your Sample Rate (App CFG → IMU) is set appropriately for your controller / IMU. The Little FOCer V3.1 uses the LSM6DS3 IMU, which we recommend setting to 832Hz. The Floatwheel ADV uses a clone of the BMI160 IMU, which we recommend setting to 800Hz. Additionally, Loop Hertz (Float CFG → Specs) must match or be a multiple of this Sample Rate. If you are running a lower Sample Rate such as 416Hz, it should be doubled for Loop Hertz (832Hz) for better performance.

  2. Experiment with different values for Zero Vector Frequency (Motor CFG → FOC → Advanced) in the range of 15 - 30kHz (25-30kHz is most commonly used). Just try one value at a time in increments of 1kHz or so to see what sounds and works best.
    WARNING: Going above 35kHz poses risk of bricking your controller. It is not recommended to do so.

  3. If neither of these work, make sure your Gyroscope is properly calibrated. Navigate to IMU Setup (Start tab on Mobile, Welcome & Wizards tab on Desktop) and go to the Calibrate Gyro step. Make sure your board is still (orientation does not matter), and wait for all axis values to stabilize. Once they stabilize within +/- 0.02 or so, save and exit the IMU Wizard.

  4. At very low speed it may be due to hallsensor interpolation. In the FOC-Hall Sensors tab in motor settings the interpolation erpm defaults to 500, but for most boards it works much better at ~250erpm. Going below 200erpm may sound even better but can have side effects so it isn’t recommended (controller can occasionally lose track of the position of the motor and causes a brief but nasty sound)

  5. The above is assuming you have an actual working Motor configuration, but if all else fails, re-run Motor Setup (Back-up on Start tab first in case you decide to roll back) to check if this is where the issue lies. Be sure to change whatever usual values necessary after running Motor Setup, such as currents, voltage cutoffs, and observer gain.

Also, remember that a VESC board may sound different than what you’re used to. Maybe you’re just hearing the sound of all that extra power :wink: