Real-time fault diagnosis for transmission systems