Comparator Input Reversal in RC Oscillators for Clock Drift Stability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional embedded oscillator circuits suffer from long-term clock frequency drift due to comparator offset drift, which is unpredictable and difficult to trim, leading to instability and the need for external oscillators to meet precision specifications.

Innovation Solution

The oscillator circuit reverses the inputs to the comparator every other clock cycle, stabilizing the clock period by offsetting the drift effects, allowing for higher speed comparators and eliminating the need for external crystal oscillators.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If conventional RC oscillator circuits are used for on-chip clock generation, then the device complexity is reduced and ease of manufacture is improved, but the clock frequency stability deteriorates due to comparator offset drift

Engineering Contradiction:
Improveease of manufactureVSAvoidclock frequency stability
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent applies input reversal to the comparator, where the inputs are periodically swapped every other clock cycle. This inversion technique causes the comparator offset error to manifest with opposite polarity in alternating cycles, enabling cancellation when averaged. The comparator receives inverted inputs during alternate cycles, transforming the systematic drift error into a canceling oscillating error, thus maintaining clock frequency stability while using simple on-chip RC components.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent implements a feedback mechanism where the comparator output feeds back to control the switching of capacitor charging/discharging, and simultaneously the inputs to the comparator are reversed based on the clock phase. This closed-loop operation with periodic input reversal creates a self-correcting system where offset drift effects are automatically compensated over cycles, maintaining stable frequency without external trimming while keeping the circuit simple and manufacturable.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If factory trimming is applied to compensate for initial frequency offsets, then the initial precision is improved, but the long-term drift cannot be eliminated and manufacturing complexity increases

Engineering Contradiction:
Improveinitial frequency precisionVSAvoidlong-term frequency stability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

Rather than attempting to trim or compensate for offset through complex manufacturing processes, the patent applies input reversal to the comparator where the same offset error that causes drift is systematically inverted every other cycle. This transforms the problematic drift into a canceling pattern, eliminating long-term instability without requiring complex trimming procedures or increasing manufacturing complexity.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent converts the harmful comparator offset drift into a beneficial canceling effect by periodically reversing the comparator inputs. The same offset error that would normally cause frequency drift is now caused to produce equal and opposite errors in alternating cycles, which cancel out over time. This transforms the harmful drift mechanism into a self-correcting feature, achieving long-term stability without additional trimming complexity.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Reliability

If external crystal oscillators are used to meet precision specifications, then the clock frequency stability is improved, but the device complexity and cost increase

Engineering Contradiction:
Improveclock frequency stabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent eliminates the need for external crystal oscillators by applying input reversal to the on-chip comparator. This inversion technique causes offset errors to cancel out over alternating cycles, achieving the same frequency stability that would otherwise require external crystals. The solution maintains simplicity by keeping all components on-chip while achieving the reliability normally requiring external oscillators.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent makes the on-chip RC oscillator self-correcting through periodic input reversal to the comparator. The circuit automatically compensates for its own offset drift errors without requiring external components or complex trimming. This self-service mechanism enables the simple on-chip oscillator to achieve the frequency stability previously only attainable with external crystal oscillators, eliminating the need for additional complexity.

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach stabilizes the clock frequency, reducing drift effects and eliminating the requirement for external oscillators, ensuring consistent performance and meeting precision specifications.

Implementation Method 1

comparing a varying voltage with a reference voltage, and periodically reversing the inputs to the comparator

Methodology Applied
Scientific EffectComparator voltage comparison:

Data Source

PatentUS9507373B2Oscillator circuit and method of generating a clock signal
Publication Date: 2016.11.29 NXP USA INC
  • US9507373B2 patent drawing
  • US9507373B2 patent drawing
  • US9507373B2 patent drawing

AI summary

An oscillator circuit of the type comprising a flip-flop for generating a clock signal and two comparators for comparing a reference voltage with the voltage across a first capacitor which is charged during a first cycle of the clock signal and the voltage across a second capacitor which is charged during a second cycle of a clock signal provides a means for removing the effects of any offset in either comparator. This is achieved by reversing the inputs of the comparators for each cycle of the output frequency. Thus an offset in a comparator which would increase the clock period on one cycle will reduce the period of the next cycle by the same amount. As a net result, the period of time over two clock periods will stay constant regardless of any offset drift in a comparator.