Model based approach for fault detection and prediction using particle filters