Clock Glitch Detection Circuit With Shift-Register Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Clock glitches caused by radiation, cosmic rays, or alpha particles can lead to timing errors in computer logic circuits, affecting phase locked loop circuits and other timing-dependent systems.

Innovation Solution

A clock glitch detector circuit comprising a phase locked loop, shift register, and latches to store and compare clock signals, detecting glitches through OR logic output, with a clock switch to alternate to a backup clock when glitches are identified.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a clock glitch detector circuit is implemented to detect timing errors, then the reliability of the system is improved, but the device complexity increases due to additional components like shift registers, latches, and OR logic

Engineering Contradiction:
Improveclock signal stabilityVSAvoidcircuit complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The clock glitch detector is divided into distinct functional modules: a shift register for storing clock values, latches for retrieving and comparing bits, and OR logic for determining glitches. This segmentation allows each component to perform a specific function, improving reliability while managing complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The shift register acts as an intermediary component that stores current and previous clock values, enabling comparison without directly modifying the clock signal path. This intermediary structure detects glitches indirectly by comparing sequential states, maintaining system reliability while adding minimal complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If multiple latches and comparison logic are added to detect clock glitches, then the measurement precision of timing errors is improved, but the loss of time increases due to additional processing steps

Engineering Contradiction:
Improveglitch detection accuracyVSAvoiddetection processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The shift register continuously stores sequential clock values in advance, preparing data for comparison before a glitch detection event occurs. This preliminary storage eliminates the need for complex real-time sampling logic, achieving high measurement precision while minimizing detection processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The circuit compares only critical bit positions (current vs. previous clock states) rather than analyzing the entire clock waveform. This partial comparison approach achieves sufficient glitch detection accuracy while significantly reducing processing time compared to comprehensive waveform analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12553947B2Clock glitch detector
Publication Date: 2026.02.17 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12553947B2 patent drawing
  • US12553947B2 patent drawing
  • US12553947B2 patent drawing

AI summary

Embodiments herein describe a glitch detector circuit (and method of operation) for detecting glitches in a clock signal. In one embodiment, the glitch detector includes a shift register that samples the reference clock using a clock signal output by a PLL. The value in a first memory element of the shift register can be sampled to previous values that were stored (and then bit shifted) in the shift register. If there is a mismatch, the glitch detector indicates there was a clock glitch in the reference clock, and a corrective action can be performed.