The invention discloses a self-calibration and self-
recovery method for an MEMS gas sensor, relates to the technical field of gas sensors, and solves the problem that in the prior art, once the sensor is mounted, the sensor is difficult to detach for calibration. According to the invention, the storage
chip in which data is not lost after power failure is used as a parameter storage medium, the MCU reads parameters from the storage
chip after initialization starting each time, timing is carried out according to a
timer in the MCU, and automatic calibration is carried out each time set time is reached, so that the problem that data of a traditional single-
chip microcomputer chip is easy to lose is avoided, and the reliability of a
system is ensured. In addition, due to the fact that the off-chip storage chip is used, even if the
system is powered off and stops working due to some reasons in the working process, stored parameters cannot be lost, and stability of the
system is guaranteed. In addition, according to the invention, a
timer is also utilized, under the condition that the system works normally, parameters are self-calibrated every 72 hours, and the problem that the system precision is reduced due to
zero drift in long-term work is avoided.