I'm using a commercial off-the-shelf brushless DC motor controller. It combines a PID controller and an absolute encoder to regulate position. When my motor reaches its target state, it generates a lot of audible noise (sounds like a buzz) as it jitters back and forth. Monitoring the measured encoder position, I can see the reading oscillating back and forth between the target and (target+1), or (target-1).
Is there a general principle to apply to the PID coefficients to reduce or eliminate the buzzing sound? Asked another way, is there an intuitive first thing to try in this circumstance?