Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for reducing power consumption of MCU (Micro-Control Unit)

A micro-control unit, power consumption technology, applied in the direction of program control devices, energy-saving computing, climate sustainability, etc., can solve the problems of not being able to recover quickly, not being able to correct the system time, etc., and achieve the effect of reducing power consumption

Active Publication Date: 2014-10-22
ALIBABA CLOUD COMPUTING LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the above problems, there are two methods in the prior art, one: reduce the main frequency of the MCU, and realize the purpose of low power consumption by sacrificing the performance of the MCU; After being woken up, the system time cannot be corrected, so the thread that was running before hibernation cannot continue to run, and cannot quickly return to the state of the system before hibernation
[0004] Obviously, the existing technology lacks a solution that can reduce the power consumption of the MCU and quickly return to the original state of the system after waking up without reducing the main frequency performance of the MCU.

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 and system for reducing power consumption of MCU (Micro-Control Unit)
  • Method and system for reducing power consumption of MCU (Micro-Control Unit)
  • Method and system for reducing power consumption of MCU (Micro-Control Unit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0047] The solution of the present application is based on a real-time operating system. The task scheduling center of the real-time operating system controls the running status of multiple user threads, and controls the execution of idle threads when all user threads are in a suspended state. In this application, the purpose of reducing the power consumption of the microcontroller unit MCU is realized through idle threads. see figure 1 , figure 1 It is a flow chart of a method fo...

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 discloses a method and a system for reducing the power consumption of an MCU (Micro-Control Unit). The method comprises the steps of calculating the suspension time of all user threads and determining a minimal suspension time, when all current user threads of a RTOS (Real-Time Operating System) are located in suspended states; calculating the remaining time of a RTC (Real Time Clock) to be minimal suspension time; judging whether MCU external equipments need to be operated, if any, controlling an inner core of the MCU to be in a dormant state; controlling a first MCU external equipment needing to be operated to be started and starting the RTC, otherwise, controlling the inner core of the MCU to be in the dormant state; controlling all external equipments to be closed, and starting the RTC; controlling the inner core of the MCU to be awakened and all external equipments to be started, and using the operation time of the RTC to correct system time, when the remaining time of the RTC is detected to be finished. Therefore, the power consumption of the MCU can be reduced, and the system time can be corrected by reading the operation time of the RTC after the inner core of the MCU is awakened, so as to enable a primary user thread to continuously operate.

Description

technical field [0001] The present application relates to the technical field of single-chip microcomputers, and more specifically, relates to a method and system for reducing power consumption of a micro control unit MCU. Background technique [0002] The embedded system generally consists of four parts: MCU (Micro Controller Unit, micro control unit), embedded operating system, peripheral equipment and user application software. In recent years, with the rapid development of embedded technology, the main frequency and integration of embedded systems are getting higher and higher, and the following problem is: how to effectively reduce the power consumption of embedded systems. [0003] For the above problems, there are two methods in the prior art, one: reduce the main frequency of the MCU, and realize the purpose of low power consumption by sacrificing the performance of the MCU; After being woken up, the system time cannot be corrected, so the running thread before hibe...

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 Applications(China)
IPC IPC(8): G06F9/445
CPCY02D10/00
Inventor 杨海波徐炜
Owner ALIBABA CLOUD COMPUTING LTD