The invention provides an abnormal power
failure diagnosis method and device, and relates to the technical field of power
failure diagnosis, the device comprises an MCU, the MCU is connected with a selection switch through a line, and one end of the selection switch is provided with a
capacitor. Hardware hidden dangers can be eliminated at the beginning of power-on through hardware self-inspection in the
system pre-starting stage, and it is guaranteed that operation baselines of the whole
delay power supply module and the MCU are correct; according to the following
capacitor energy charging function, a super
capacitor is connected in parallel to the 12V low-
voltage power
supply side, and the charging current and
voltage slope are monitored in real time, so that even if the capacitor stably and safely stores enough energy,
overcharge damage is prevented, and monitoring is interrupted by data
heartbeat of an MCU and a BMS
master controller and power-down cmd, it is ensured that the
system can sense a power-off instruction in time at any time, and the power-off state of the
system is ensured to be stable and reliable. And persistent storage of the key operation parameters is completed in an
atomicity write-in mode, so that the
data loss risk caused by communication
timeout or
software faults is greatly reduced.