The invention discloses a single-
chip microcomputer hierarchical
dormancy control method based on dynamic
power consumption prediction, and relates to the technical field of single-
chip microcomputer low
power consumption control, and the method specifically comprises the steps: building a mapping relation between a load current and a
clock frequency; setting a dynamic
dormancy threshold value; constructing a dynamic
power consumption prediction model; a
dormancy strategy is designed, module-level power consumption management and single-
chip microcomputer function-based power consumption management are adopted, the callable frequency or the maximum operation duration of each function is distributed according to task priorities and battery
residual energy consumption, and single-chip microcomputer peripherals are triggered through events and are independently awakened; and executing the sleep strategy, automatically awakening the
single chip microcomputer according to a preset awakening condition, and realizing abnormity positioning and
processing based on threshold comparison and power consumption monitoring in the process of executing the sleep strategy. According to the invention, module-level power consumption management and single-chip microcomputer function-based power consumption management are realized, the limitation of traditional global dormancy is broken, the need of overall reset during wakeup is avoided, and the response speed is improved while the
energy consumption is reduced.