Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Low power consumption mode switching method of embedded real time operating system

A real-time operating system, low-power mode technology, applied in the computer field, can solve the problem of frequent wake-up of the system, and achieve the effect of reducing the number of wake-ups, reducing energy consumption, and low-power mode

Inactive Publication Date: 2016-07-27
ZHEJIANG UNIV
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to solve this technical problem, real-time operating systems such as FreeRTOS and MQX use the Tickless method to reduce the impact of wake-up interference, that is, before entering the sleep state, first calculate the time interval for the latest wake-up, and set the timer in this time period after triggering the interrupt to avoid invalid wake-ups such as figure 1 shown; but the Tickless strategy in the scenario where the real-time requirements are not strict, the scattered execution tasks for a period of time still make the system need to be woken up frequently

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
  • Low power consumption mode switching method of embedded real time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0021] The present invention takes the implementation on FreescaleKinetisKL02 microcontroller and CyborganOS real-time operating system as an example. Among them, CyborganOS is a bio-electronics combined artificial organ operating system platform, which is based on the traditional embedded operating system architecture for domain customization and function expansion. The FreescaleKinetisKL02 microcontroller is launched by Freescale, which is specially used for SoC in the field of tiny control. KL02 is a highly integrated SoC with a very small size. The 16-pin package chip is only 3mm×3mm×0.65mm, which can be very compactly attached to a flexible circuit board. Such a small package integrates MCU, ADC, DAC, PWM, SPI, UART, I 2 Common modules such as C ca...

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 low power consumption mode switching method of an embedded real time operating system. According to the method, judgment logic is added in the built-in idle task body of the system. The judgment logic comprises following steps of automatically entering into a sleep mode if continuous operation time of entering into an idle task exceeds a specific value; trigging an interruption waking system by a timer according to a relatively long time interval; finishing a plurality of times of system tick all at once; and waking all timed triggering tasks in a time period all at once, thus realizing aligned waking. According to the method, the real time operating system is enabled to have the capability of automatically entering into and withdrawing from the low power consumption mode. Compared with a Tickless strategy, the aligned waking strategy has the advantages that the execution time of the tasks needing to be executed in a time period is combined in a scene without a strict timeliness demand, therefore the waking times can be reduced to a greater extent, and the energy consumption is reduced.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a low-power consumption mode switching method of an embedded real-time operating system. Background technique [0002] In the use of microcontrollers, power management is often used to reduce chip energy consumption. When the real-time operating system is introduced on the microcontroller, the power management becomes complicated, especially the interference of the real-time operating system Tick to the sleep mode. [0003] System Tick is the interface between the real-time clock and the operating system. The time-related modules and API (application programming interface) of the operating system are basically based on Tick. Tick is the smallest timing unit of the operating system. In the embedded real-time operating system, the timer module adopts a two-level timer mechanism: counter Counter and timer Alarm. The main purpose is to solve the problem that multiple a...

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): G06F1/32
CPCG06F1/3206G06F1/329
Inventor 李红邵开来金榆林杨国青吴朝晖
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products