Fault Diagnosis and Fault-Tolerant Control for Avionic Systems