Frequency-locked and phase-locked loop-based clock glitch detection for security

US11962312B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11962312-B2
Application numberUS-202318106398-A
CountryUS
Kind codeB2
Filing dateFeb 6, 2023
Priority dateMay 25, 2022
Publication dateApr 16, 2024
Grant dateApr 16, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A glitch detection device includes an oscillator to generate multiple local clocks of multiple different phases and a sampling circuit to oversample, using the multiple local clocks, a system clock to generate multiple samples of the system clock. The device further includes digital logic that in turn includes a glitch detector to monitor a variation in pulse width of the system clock based on counting the multiple samples and to report a glitch in response to detecting a variation in the pulse width that exceeds a threshold value. The digital logic further includes a loop filter coupled between the glitch detector and the oscillator. The loop filter variably adjusts the oscillator based on a frequency of each of the multiple samples to control an output frequency of each of the multiple different phases of the oscillator.

First claim

Opening claim text (preview).

What is claimed is: 1. A glitch detection device comprising: an oscillator to generate multiple local clocks of multiple different phases; a sampling circuit to oversample, using the multiple local clocks, a system clock to generate multiple samples of the system clock; and digital logic comprising: a glitch detector to monitor a variation in pulse width of the system clock based on counting the multiple samples and to report a glitch in response to detecting a variation in the pulse width that exceeds a threshold value; and a loop filter coupled between the glitch detector and the oscillator, the loop filter to variably adjust the oscillator based on a frequency of each of the multiple samples to control an output frequency of each of the multiple different phases of the oscillator. 2. The glitch detection device of claim 1 , wherein the glitch detector comprises: multiple counters, one counter to count each of the multiple samples; a summer to combine values of the multiple counters and generate duty cycle measurements of pulses of the system clock; and glitch detector logic to detect the variation in pulse width based on the duty cycle measurements. 3. The glitch detection device of claim 2 , further comprising: a level shifter coupled to the oscillator to translate the multiple local clocks to a logic level of the sampling circuit; and a crossover circuit coupled between the sampling circuit and the multiple counters, the crossover circuit to merge multiple phases of the multiple samples into a single-phase domain and provide a clock of the single-phase domain to the multiple counters. 4. The glitch detection device of claim 1 , wherein the loop filter is configured to lock onto a frequency comprising a multiple of the system clock, the loop filter comprising: a subtractor to determine a difference between a measured pulse width of the system clock and a target multiple of a frequency of the system clock; and a first order digital filter coupled between the subtractor and the oscillator. 5. The glitch detection device of claim 1 , wherein the oscillator is one of a voltage-controlled oscillator (VCO), a supply-regulated ring oscillator, a current starving ring oscillator, a digitally-controlled ring oscillator, or an inductive-capacitive (LC) oscillator. 6. The glitch detection device of claim 1 , further comprising a supply regulator to convert a chip supply voltage to an oscillator supply voltage, wherein the loop filter is to variably adjust the oscillator supply voltage based on a frequency of each of the multiple samples to control the output frequency of each of the multiple different phases. 7. The glitch detection device of claim 6 , further comprising: multiple first transistors coupled to the chip supply voltage, wherein a gate of each of the multiple first transistors is coupled to an output of the loop filter; a second transistor coupled between the multiple first transistors and the oscillator supply voltage; and a threshold voltage (V T )-based bias generator comprising a current mirror that generates an output voltage, to drive a second gate of the second transistor, based on a level of the chip supply voltage. 8. The glitch detection device of claim 6 , wherein the oscillator comprises: an oscillator capacitor coupled to the supply regulator, the oscillator capacitor to hold the oscillator supply voltage; a multiple-stage ring oscillator; and multiple banks of loading capacitors, one coupled to each stage of the multiple-stage ring oscillator. 9. The glitch detection device of claim 8 , further comprising a supply difference detector (SDD)-based auto-tuner coupled to the multiple banks of capacitors, the SDD-based auto-tuner to: detect that a difference between the chip supply voltage and the oscillator supply voltage drops below a threshold value; and in response to the detection, turn off one or more loading capacitors of identical capacitance from each of the multiple banks of loading capacitors to fine-tune the multiple local clocks in response to process, voltage, temperature (PVT) variations. 10. The glitch detection device of claim 8 , further comprising a droop compensation circuit coupled to the oscillator capacitor, the droop compensation circuit to increase the oscillator supply voltage in response to detecting a noise-based droop in the oscillator supply voltage relative to the chip supply voltage. 11. The glitch detection device of claim 1 , wherein the loop filter is a phase-locked loop (PLL) filter, further comprising: a phase frequency detector (PFD) coupled between the oscillator and the system clock, the PFD to lock onto a phase of the system clock or output a digital error pulse; and a charge pump coupled between the PFD and the PLL filter, the charge pump to convert the digital error pulse to an analog error current that is provided to the PLL filter. 12. A computing system comprising: an external oscillator that generates a system clock; and a die coupled to the external oscillator, the die comprising: an internal oscillator to generate multiple local clocks of multiple different phases; a sampling circuit to oversample, using the multiple local clocks, the system clock to generate multiple samples of the system clock; and digital logic comprising: a glitch detector to monitor a variation in pulse width of the system clock based on counting the multiple samples and to report a glitch in response to detecting a variation in the pulse width exceeds a threshold value; and a loop filter coupled between the glitch detector and the internal oscillator, the loop filter to variably adjust the internal oscillator based on a frequency of each of the multiple samples to control an output frequency of each of the multiple different phases of the internal oscillator. 13. The computing system of claim 12 , wherein the glitch detector comprises: multiple counters, one counter to count each of the multiple samples; a summer to combine values of the multiple counters and generate duty cycle measurements of pulses of the system clock; and glitch detector logic to detect the variation in pulse width based on the duty cycle measurements. 14. The computing system of claim 13 , wherein the die further comprises: a level shifter coupled to the internal oscillator to translate the multiple local clocks to a logic level of the sampling circuit; and a crossover circuit coupled between the sampling circuit and the multiple counters, the crossover circuit to merge multiple phases of the multiple samples into a single-phase domain and provide a clock of the single-phase domain to the multiple counters. 15. The computing system of claim 12 , wherein the loop filter is configured to lock onto a frequency comprising a multiple of the system clock, the loop filter comprising: a subtractor to determine a difference between a measured pulse width of the system clock and a target multiple of a frequency of the system clock; and a first order digital filter coupled between the subtractor and the internal oscillator. 16. The computing system of claim 12 , wherein the internal oscillator is one of a voltage-controlled oscillator (VCO), a supply-regulated ring oscillator, a current starving ring oscillator, a digitally-controlled ring oscillator, or an inductive-capacitive (LC) oscillator. 17. The computing system of claim 12 , wherein the die further comprises a supply regulator to convert a chip supply voltage to an oscillator supply voltage, wherein the loop filter is to variably adjust the oscillator supply voltage

Assignees

Inventors

Classifications

  • H03L7/099Primary

    concerning mainly the controlled oscillator of the loop · CPC title

  • the up-down pulses controlling source and sink current generators, e.g. a charge pump · CPC title

  • H03L7/0995Primary

    the oscillator comprising a ring oscillator · CPC title

  • using special filtering or amplification characteristics in the loop (H03L7/087 - H03L7/091 take precedence) · CPC title

  • the phase or frequency detector using a sampling device (H03L7/087 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11962312B2 cover?
A glitch detection device includes an oscillator to generate multiple local clocks of multiple different phases and a sampling circuit to oversample, using the multiple local clocks, a system clock to generate multiple samples of the system clock. The device further includes digital logic that in turn includes a glitch detector to monitor a variation in pulse width of the system clock based on …
Who is the assignee on this patent?
Nvidia Corp
What technology area does this patent fall under?
Primary CPC classification H03L7/099. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Apr 16 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).