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. The switching method adds judgment logic to the idle task body of the system: if the continuous running time of the idle task exceeds a specific value, it automatically enters the sleep mode ;The timer triggers interrupts to wake up the system at longer intervals, and completes several system Ticks at one time, so that all timing trigger tasks within a period of time can be completed in one wakeup, achieving "aligned wakeup". The invention enables the real-time operating system to have the ability to automatically enter and exit the low-power consumption mode. Compared with the Tickless strategy, the aligned wake-up strategy adopted by the real-time operating system executes tasks that need to be executed within a period of time in scenarios where real-time requirements are not strict. Time merging can minimize the number of wake-ups and reduce energy consumption.

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products