Text this: Fault detection and diagnosis : application in microelectromechanical systems