Design of a deep knowledge based expert system for on-line fault diagnosis