Peripheral Watchdog Timer Circuit for Autonomous Stall Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional processing circuits lack an effective mechanism to detect and respond to peripheral devices that have stopped functioning or stalled operations without waking up the processor, leading to potential system hangs and power inefficiencies.

Innovation Solution

A peripheral watchdog timer circuit is introduced to count clock cycles and detect activity in peripherals, generating an alert or resetting the count when a threshold is exceeded before activity is detected, allowing for autonomous monitoring and potential system resets without processor intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If a CPU activity monitor is used to detect CPU inactivity, then power consumption can be reduced, but peripheral devices that stall without CPU intervention cannot be detected

Engineering Contradiction:
Improvepower consumptionVSAvoidperipheral device monitoring
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The monitoring function is segmented into two independent components: a CPU activity monitor that manages CPU power states, and a peripheral watchdog timer that independently monitors peripheral devices. This segmentation allows each component to perform its specific function without interfering with the other, enabling peripheral monitoring while maintaining CPU power savings.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The peripheral watchdog timer acts as an intermediary between the CPU and peripheral devices. It independently watches peripheral activity and can trigger interrupts or alerts when stalls are detected, without requiring the CPU to continuously monitor peripherals. This intermediary approach enables reliable peripheral monitoring while allowing the CPU to remain in low-power states.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the processor continuously monitors peripheral activity, then stalled peripherals can be detected, but power consumption increases

Engineering Contradiction:
Improveperipheral device monitoringVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The peripheral watchdog timer is a self-service monitoring mechanism that operates autonomously without requiring continuous CPU intervention. It independently counts clock cycles, detects peripheral activity through programmed I/O or memory-mapped I/O interfaces, and generates alerts when stalls are detected. This self-service approach provides reliable monitoring while consuming minimal power compared to continuous CPU monitoring.

Inventive Principle:
Principle #25Self-service

3Reliability

If the peripheral watchdog timer generates an alert when the count exceeds a threshold, then system reliability improves, but additional circuit complexity is introduced

Engineering Contradiction:
Improvesystem reliabilityVSAvoidcircuit complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The peripheral watchdog timer is designed as a multi-functional unit that combines clock cycle counting, peripheral activity detection, threshold comparison, and alert generation within a single integrated circuit. This universal design provides comprehensive monitoring functionality without requiring separate dedicated circuits for each function, thereby limiting the increase in overall system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Reliability

If the peripheral watchdog timer resets the count upon detecting activity, then false alerts are reduced, but the timer cannot distinguish between different types of peripheral activity

Engineering Contradiction:
Improvealert accuracyVSAvoidactivity type information
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The peripheral watchdog timer implements partial monitoring by resetting the count only when specific activity patterns are detected. It uses configurable thresholds and activity detection mechanisms that can be tuned to monitor only the critical peripheral operations relevant to the application. This partial action approach reduces false alerts while minimizing the loss of information about other peripheral activities.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9612893B2Peripheral watchdog timer
Publication Date: 2017.04.04 SILICON LABORATORIES INC
  • US9612893B2 patent drawing
  • US9612893B2 patent drawing
  • US9612893B2 patent drawing

AI summary

In some embodiments, a circuit may include a plurality of peripherals and a peripheral watchdog timer circuit coupled to at least one of the plurality of peripherals. The peripheral watchdog timer circuit may be configured to count clock cycles and concurrently to detect activity associated with at least one of the plurality of peripherals. The peripheral watchdog timer circuit may be configured to reset a count in response to detecting the activity. In some embodiments, the peripheral watchdog timer circuit may be configured to generate an alert signal when the count exceeds a threshold count before detecting the activity. In some embodiments, the peripheral watchdog timer circuit is configured to initiate a reset operation when the alert is not serviced within a period of time.