Event-Driven Processor Heartbeat Timer for Determinism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In complex multi-CPU or multi-peripheral systems, service bandwidth for communication and task execution determinism are unpredictable, leading to increased overhead and power wastage due to constant processing during idle cycles, especially in interrupt-driven processors.

Innovation Solution

An event-driven processor with a heartbeat timer is used to synchronize task execution and reduce power consumption by configuring a heartbeat period and executing software routines only when the timer reaches a predefined value, allowing for deterministic task execution and dynamic adjustment of execution speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If interrupt-driven processing is used to synchronize task execution, then task execution determinism is improved, but execution overhead increases due to context switching

Engineering Contradiction:
Improvetask execution determinismVSAvoidexecution overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the timing synchronization function from the interrupt mechanism and implements it through a dedicated heartbeat timer. The timer generates periodic heartbeat signals that trigger task execution without requiring full interrupt context switching, thereby separating the timing function from the interrupt overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The heartbeat timer acts as an intermediary between the system clock and task execution. Instead of using interrupts directly to synchronize tasks, the timer converts time intervals into periodic heartbeat events that trigger task execution, mediating between continuous time flow and discrete task scheduling.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If the processor continuously executes instructions to maintain readiness, then response time is improved, but power consumption increases during idle cycles

Engineering Contradiction:
Improveresponse timeVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The patent implements periodic action through the heartbeat timer, which generates execution triggers at regular intervals rather than requiring continuous processor operation. The processor can enter low-power states between heartbeat events while maintaining the ability to quickly resume execution when triggered, achieving periodic activation instead of continuous operation.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The heartbeat timer autonomously generates execution triggers without requiring continuous processor intervention. The timer circuit independently counts down from a preset value and automatically generates heartbeat signals, allowing the processor to sleep while the timer self-manages the timing and wake-up triggers.

Inventive Principle:
Principle #25Self-service

3Reliability

If software explicitly stalls execution to wait for interrupts, then task synchronization is improved, but code size increases and computational resources are wasted

Engineering Contradiction:
Improvetask synchronizationVSAvoidcode size
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces the mechanical approach of explicit software stalling and polling with a hardware-based heartbeat timer mechanism. Instead of software continuously checking for interrupt conditions or stalling execution, the hardware timer automatically generates precise timing signals that trigger execution, substituting hardware automation for software complexity.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS9323540B2Task execution determinism improvement for an event-driven processor
Publication Date: 2016.04.26 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US9323540B2 patent drawing
  • US9323540B2 patent drawing
  • US9323540B2 patent drawing

AI summary

Embodiments of a method for operating an event-driven processor and an event-driven processor are described. In one embodiment, a method for operating an event-driven processor involves configuring a heartbeat timer of the event-driven processor and handling an event using the event-driven processor based on the heartbeat timer. Using a heartbeat timer built into the event-driven processor, the task execution determinism of the event-driven processor is improved and the power consumption of the event-driven processor is reduced. Other embodiments are also described.