A Novel Method to Detect and Suppress Mechanical Resonance for Servo System