Time weighted fault-tolerant control using fuzzy logic