Patent ID: 8054141

Claim:
A relaxation oscillator with comparator propagation delay compensation, comprising: a first capacitor coupled between a first node and a ground voltage; a comparator having a first input coupled to the first node, wherein, during operation, transitions in an output signal of the comparator are delayed relative to transitions in the signal on the first node by a comparator propagation delay; a first plurality of current sources configured to selectively supply power to the capacitor, the current sources switched based on an output of the comparator; and logic and a propagation delay integrator configured to generate a compensation voltage proportional to the comparator propagation delay and to shift a voltage on the capacitor by the compensation voltage, wherein a second input of the comparator is configured to be switched between high and low reference voltages based on an output of the comparator and the logic delays switching of the second input relative to switching of the current sources by a duration based on the comparator propagation delay.