In the calibration of the optical trap stiffness, it is found that there appears an attenuating oscillation as an oscillatory disturbance added to the trapped bead movement, when the scanner is driven by a triangular wave input.An equivalent oscillator model is put forward to explain the mechanism of the oscillatory disturbance. Both the measurements and calculations show that the attenuating oscillation comes from the oscillation of the scanner and the triangular wave drive causes this additional oscillation of the scanner. Furthermore, the analysis indicates that the oscillatory disturbance will become stronger, when the stiffness of the trap increases or the natural frequency of the scanner decreases. We adopt another driving way, i.e. a sinusoidal wave input is used instead of the triangular wave input. Our experiment has verified that in this case the oscillatory disturbance is eliminated completely.