Method for reducing CPU power consumption in embedded system

A technology of an embedded system and an implementation method, which is applied in the field of embedded system power consumption control and embedded system, and can solve the problems of high average power consumption of the system, high CPU power consumption, and current consumption.

Active Publication Date: 2011-10-19
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to reduce the power consumption of the SOC, in the prior art, the general implementation method is to reduce the CPU frequency or stop the execution of the CPU when the system is idle. Although these two methods can greatly reduce the power consumption of the system, the first two methods system Still supplying power to the CPU, although the CPU does not execute instructions, it still consumes part of the current
[0004] Generally speaking, embedded systems are driven by interrupts. When an external interrupt occurs, the SOC needs to send an interrupt signal to the CPU. In the early design scheme, the CPU is always in the running state after the system is started. The SOC immediately sends the interrupt to the CPU, and the CPU quickly responds to the interrupt (assuming that the interrupt is not locked by the CPU itself), but the disadvantage of this solution is that the CPU is always in the running state, and the average power consumption of the system is very large (the average power consumption here is The power consumption is the average power consumption of the system in a long period of time); Later, people improved this scheme, when the system is idle for a period of time, let the CPU enter the sleep state, so that when the interrupt comes, the SOC only needs to give the CPU Provide a stable clock (Clock), the CPU is woken up, and then the CPU responds to interrupts. This solution is because the CPU is not in the running state but in the dormant state, and will never reach the stop state. Although the power consumption is lower than the previous method However, the CPU power consumption is still relatively high. At the same time, in order to meet the higher requirements for power consumption management of embedded devices, it is necessary to further reduce the CPU power consumption.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for reducing CPU power consumption in embedded system
  • Method for reducing CPU power consumption in embedded system
  • Method for reducing CPU power consumption in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to understand the technical content of the present invention more clearly, the following examples are given in detail.

[0035] First define the three states that the CPU is in during system operation, running state, stop state, and sleep state.

[0036] (1) Running state - indicates that the CPU is currently powered and can execute instructions normally. Of course, at this time, there must be a stable Clock provided to the CPU. Compared with the other two states, the CPU consumes the most power at this time.

[0037] (2) Stopped state - the CPU is completely powered off, there is neither Clock nor power supply. Compared with the other two states, the CPU power consumption is the smallest at this time. At this time, all the scenes before the CPU power off are lost. After restarting, you need to reset the previous state. The scene is restored.

[0038] (3) Sleep state - SOC is still supplying power to CPU, but not sending Clock to CPU. The CPU power consumptio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for reducing CPU power consumption in an embedded system. The method comprises the following steps that: a CPU enters a stop state from a running state, including closing CPU interruption; field recovery run codes of the CPU are copied to a storage module; CPU field running state information is saved to the storage module and is adjusted; the CPU is closed to enter the stop state; the CPU enters the running state from the stop state, including re-supplying electricity for the CPU and providing stable clock signals; the CPU executes the field recovery runt codes to read the CPU field running state information from the storage module; reset running codes are copied to the storage module; and the CPU interruption is opened. By adopting the method for reducing the CPU power consumption in the embedded system, a special design is carried out through a system on chip with coordination of system software so as to realize the effects of opening the CPU when the system is busy and completely closing the CPU when the system is idle, so that the method ensures the average power consumption of the system is further reduced, and has the advantages of simple and quick implementation process, stable and reliable working performance and wider application range.

Description

technical field [0001] The present invention relates to the field of embedded systems, in particular to the technical field of power consumption control of embedded systems, and specifically refers to a method for reducing CPU power consumption in an embedded system. Background technique [0002] Embedded systems, especially consumer electronic systems, have strict requirements on power consumption. With the increasing shortage of energy sources, personal computer systems that did not pay much attention to power consumption are now gradually considering power consumption. [0003] In a common embedded system, once the system is up, the CPU is always powered on. In most systems, the program execution takes a relatively small amount of time. Most of the time, the system is in an idle state, and the CPU is still running in the idle state. The part of the system on chip (SOC, System on Chip) that consumes a relatively large amount of power, and the system on chip generally integ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F1/32
Inventor 彭世峰
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products