Fault Detection Using Difference Flatness and Fuzzy Logic