Fault Detection and Diagnosis Using Artificial Neural Networks