A Model-Based Hybrid Neural Network Architecture for Fault Diagnosis