The invention provides a fault-tolerant control method of an air conditioner and the air conditioner. The method comprises the following steps: sampling alternating-
current voltage and direct-currentvoltage, obtaining an alternating-
current voltage sampling value and a direct-
current voltage sampling value, judging whether the direct-current
voltage sampling value meets a first preset condition or not, and if the direct-current
voltage sampling value meets the first preset condition, operating according to an
average current PFC
control algorithm, otherwise, operating according to an adaptivePFC
control algorithm. The invention further provides the air conditioner, the air conditioner comprises the controller storing the fault-tolerant program, and the fault-tolerant control method of the air conditioner according to any one of the claims 18 can be achieved. According to the invention, the redundancy design of the
algorithm is utilized, and the self-adaptive PFC
control algorithm isused as an alternative scheme of the
average current PFC control
algorithm, so that the air conditioner can still normally operate under the condition of a direct-current
voltage sampling fault, the hardware of the air conditioner is protected from being damaged, and meanwhile, the normal refrigerating and heating functions of the air conditioner are not influenced, so that experience of the useris guaranteed.