Fault Diagnosis Method based on Support Vector Machine