An Approach to Knowledge-Base Representation in Electric Drive Fault Diagnosis