on-line fault detection