Microcontroller Power Mode Implementation via Special Function Registers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The complexity of microcontrollers (MCUs) makes it difficult for developers to efficiently implement power modes, leading to increased power consumption and potential errors due to the need for intricate subroutine writing and adherence to specific architectural rules, which can result in suboptimal power management and overheating in battery-powered devices.

Innovation Solution

A power activation function and power profiles system that allows for user-defined power modes to be implemented by writing binary control values directly to special function registers (SFRs), reducing the need for complex subroutines and simplifying the transition between power modes through a graphical user interface and integrated system development environment tool.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If developers manually implement power modes using complex subroutines and adhere to architectural rules, then power management functionality can be achieved, but development complexity and time increase significantly

Engineering Contradiction:
Improveease of power mode implementationVSAvoiddevelopment complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary tool (power mode implementation assistant) that mediates between the developer and the complex MCU architecture. This tool automatically generates the required subroutine code and configures power modes by interacting with the device's memory and registers, eliminating the need for developers to manually write complex power management code while still achieving the desired power management functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent employs preliminary action by pre-configuring power mode parameters and generating implementation code during the development phase. The system allows developers to define power mode characteristics in advance, and the tool automatically prepares the necessary code structures and register configurations before deployment to the actual device, reducing on-device implementation complexity.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If traditional power management methods are used with manual subroutine writing, then power modes can be implemented, but errors increase due to architectural rule adherence requirements

Engineering Contradiction:
Improvepower management reliabilityVSAvoidimplementation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling the system to automatically verify and configure power modes without requiring manual adherence to complex architectural rules. The implementation assistant tool performs self-verification of the generated code against the device's architectural requirements, automatically detecting and correcting potential errors, thereby improving reliability while reducing implementation complexity.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the implementation tool continuously monitors the configured power modes and provides verification against architectural rules. The system feedback loop automatically detects configuration errors and prompts developers to correct them before deployment, ensuring reliable power management implementation without requiring manual rule checking.

Inventive Principle:
Principle #23Feedback

3Speed

If MCUs operate at higher clock speeds to improve performance, then processing speed increases, but power consumption increases significantly

Engineering Contradiction:
Improveprocessing speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The patent applies dynamics by enabling runtime adjustment of clock speeds based on actual processing requirements. The system dynamically transitions between different clock frequency configurations corresponding to different power modes, allowing the MCU to operate at higher speeds only when necessary and reduce clock speed during low-activity periods, thereby balancing performance and power consumption.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent utilizes parameter changes by providing multiple pre-configured power modes with different clock speed parameters. Developers can select and switch between power modes with varying clock frequencies (e.g., high-speed mode for intensive processing, low-speed mode for idle operations), allowing the system to adapt power consumption to actual performance requirements through parameter selection rather than fixed operation.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10969849B2Method and apparatus for implementing power modes in microcontrollers using power profiles
Publication Date: 2021.04.06 RENESAS ELECTRONICS AMERICA INC
  • US10969849B2 patent drawing
  • US10969849B2 patent drawing
  • US10969849B2 patent drawing

AI summary

A method and apparatus for implementing power modes in microcontrollers (MCUs) using power profiles. In one embodiment of the method, a central processing unit (CPU) of the MCU executes a first instruction for calling a subroutine stored in a memory of the MCU, wherein the first instruction comprises a first parameter to be passed to the subroutine. Thereafter the CPU writes a first value to a first special function register (SFR) of the MCU in response to executing the first instruction, wherein the first value is related to the first parameter. The MCU operates in a first power mode in response to the CPU writing the first value to the first SFR. The CPU also executes a second instruction for calling the subroutine, wherein the second instruction comprises a second parameter to be passed to the subroutine. In response the CPU writes a second value to a second SFR of the MCU in response to executing the second instruction, wherein the second value is related to the second parameter. The MCU operates in a second power mode in response to the CPU writing the second value to the second SFR. The MCU consumes more power operating in the first power mode than it does when operating in the second power mode.