Patent ID: 8224606

Claim:
An apparatus for correcting a time measurement based on a clock signal affected by jitter, the apparatus comprising: a source for said clock signal; a reference device relatively immune to localized jitter for providing a time dependent reference variable; a measuring unit for measuring the time measurement and a measured value of the time dependent reference variable after allowing the time dependent reference variable to increase for a duration that includes a first number of clock cycles terminated at a first event; a memory for storing data about expected values of the time dependent reference variable at various durations including various numbers of clock cycles, wherein the measuring unit updates the expected values; a comparator for determining a difference between the measured value of the time dependent reference variable and an updated expected value of said time dependent reference variable obtained from the updated expected values; a correction unit for correcting said time measurement in dependence on said difference, wherein the reference device comprises a charging capacitor and wherein the time-dependent reference variable is a voltage across the charging capacitor, the charging capacitor having a time constant that allows the charging capacitor to charge for the duration so that the voltage across the charging capacitor increases approximately linearly with time; and a first gate which is opened for the duration to pass the clock signal, and a second gate which is opened by the clock signal passing through the first gate to allow charging of the charging capacitor for the duration during half periods of the clock signal.