PD of PID in a balancing robot

The fact that you reported the motor producing a sound only on low values and started turning with higher pwm output and without load only, is something you should definitely try to solve.