Not applicable.
Not applicable.
1. Field of the Invention
The invention relates generally to the field of oscillators used to control event timing of electronic circuits. More particularly, the invention relates to oscillator frequency controls configured to reduce cumulative timing error.
2. Background Art
Certain types of electronic instrumentation are used to make data records indexed with respect to time. One example of such circuitry includes seismic data recording systems. Such systems make a record with respect to time of seismic signals detected by each one of a plurality of seismic sensors deployed in a selected pattern on the Earth's land surface or in a body of water. Typically the signal recordings are indexed with respect to an actuation time of a seismic energy source. The signal recordings may be made at a central location in a single recording system. In other cases, various autonomously operating recording devices may be used. In such cases, synchronization of the autonomous recording devices to each other and to a fixed time reference is important.
Methods for synchronization of such autonomously operating devices may include periodic detection of a time signal from a global positioning system (GPS) satellite. Another method for synchronization can include periodic connection of the autonomous recording device to a time reference generated by a “master” clock.
Irrespective of the method used for synchronization of an autonomously operating recording device to another device, it is important to maintain accurate timing of the recorded digitized samples of the desired signals during intervals between synchronization events. Accurate timing may be maintained, for example, using crystal-controlled oscillators with associated frequency control circuitry. In such crystal-controlled oscillators it is also known in the art to maintain the crystal at substantially constant environmental conditions. Even when using such timing accuracy enhancements, during an extended period of time between synchronization events any deviation in the oscillator frequency from a reference frequency may result in cumulative timing error in the recorded signals.
A method for correcting time error in an oscillator operated clock according to one aspect of the invention includes at selected times determining at least one of a time error in the clock and a frequency difference between the oscillator and a reference oscillator by detecting a time reference signal. A change in the at least one of the time error and the frequency difference between a first one and a second one of the detecting the time reference signals is determined. A frequency of the oscillator is adjusted so as to substantially cancel a cumulative time error between the second one of the detecting the time reference signal and a selected detecting the time reference signal.
Other aspects and advantages of the invention will be apparent from the following description and the appended claims.
An example data recording system that may use a clock frequency control according to the invention is shown schematically in
The CPU 24 can be configured to use the oscillator 20 output to generate clock signals for operation of some of the other devices disposed in the data recorder 10. Such devices may include an analog to digital converter (“ADC”) 32 and a mass storage device 30 such as a random access memory, flash drive, hard drive or other data storage device known in the art. Signals from the seismic sensor 12 may be conducted to the input of a preamplifier 34. The output of the preamplifier 34 may be coupled to the analog signal input of the ADC 32. Digital words output by the ADC 32 representing signal amplitude of the seismic sensor 12 at discrete times (the individual sample times) may be conducted to the CPU 24 for time indexing and transmission to the mass storage device 30.
The data records made in the mass storage device 30 may have time index information associated therewith that is transmitted from the CPU 24, in other cases the absolute time information relating to the acquisition time of each data sample may be inferred by the fact that each sample is supposed to occur after a predetermined time interval after the immediately prior data sample. The predetermined time interval will be inversely related to the sample rate. In order to more accurately index such time information to an absolute time reference, such as global positioning system (“GPS”) satellite signals, the data recorder 10 may include an external time reference signal receiver 28 coupled to an antenna 36. In the present example, the time reference signal receiver 28 can be configured to receive and detect signals from a portable device (not shown), such as a hand held device, that itself has obtained absolute time reference signals from a GPS satellite or other absolute time reference. The time reference signal receiver 28 may also be configured to detect GPS signals directly. The purpose of such configuration of the time reference signal receiver 28 is to enable the data recorder 10 to operate in environmental conditions where GPS satellite signals or other external time reference signals are not continuously detectable, or may not be detectable at all at the location of the data recorder 10. It is contemplated that the data recorder 10 may be periodically placed in communication with the external time reference signals (such as by the hand held device mentioned above used by the system operator) so that clock system adjustment can be correspondingly determined and applied in the data recorder 10. The time reference signals, for example, if GPS signals are used, can include a reference clock frequency signal, or sequential absolute time reference signals that can be used to generate a reference frequency, or a series of pulses from the reference signal receiver 28 having a known and substantially stable time interval between successive pulses. In the present example, a clock frequency comparator 26 may be used to determine a difference between the oscillator 20 output frequency and such a reference frequency. Differences between the oscillator 20 frequency and the reference frequency can be used, for example, in the CPU 24 to generate a control signal to be applied to the oscillator 20 to adjust the oscillator frequency accordingly. The time interval between external time reference pulses may be compared with the time interval of equivalent events in the circuitry of the data recorder 10, and a time interval error may be determined between the external time reference pulses, and the data recorder clock circuit pulses.
The frequency difference between the oscillator 20 and the frequency of the external time reference signals is determined and communicated to the CPU 24. The frequency difference may be used, at 42, to determine a running average of the frequency differences between the oscillator 20 and the time reference signals. The time period for determining the running average may be set to an appropriate period related to the use of the data recorder (10 in
From the frequency difference determined as explained above, a trend of the frequency difference with respect to time can be determined. From such trend an error canceling feedback signal can be determined. The feedback signal can be used in the CPU, as shown at 42, to generate a frequency correction for the oscillator 20, such that between successive detections of time reference signals a cumulative time error is expected to be substantially zero.
The adjustment to the oscillator frequency process is preferably made over a selected period of time to prevent inducing a step change, or a noticeable time shift, during the adjustment process. For example, an expected time between successive detections of the external time reference signal may be used as a base period. The frequency of the oscillator 20 may be adjusted such that the adjustment is zero at the beginning of the base period and gradually changes over a selected fraction of the base period. The frequency adjustment may be applied such that a total time correction provided by the frequency adjustment is expected to substantially cancel a predicted timing error between the time calculated in the CPU 24 using the oscillator 20 for timing input and the time reference from the external time reference signals.
In one example, the adjustment applied to the oscillator frequency may be represented by a waveform, with a value of zero beginning at the start of the base period and ending at zero, after an excursion into both the positive and the negative values during the correction period. Such waveform may be linear or other curve, depending on the characteristics of the particular oscillator. The fraction of the base period over which the adjustment is introduced, the final magnitude, and the shape of the curve of the frequency adjustment may be initially determined from the measurements of timing error between the time calculated by the oscillator 20 and the time reference signals.
In one example the adjustment waveform may be sinusoidal. The sinusoid will have an “offset” or bias (mean value) such that it presents a correction to the oscillator frequency. An amplitude of the sinusoid should be selected such that the absolute frequency of the oscillator both increases and decreases over the base period with respect to the oscillator frequency at the beginning of the base period. The average value of the sinusoid will be related to the amount of change in oscillator frequency required to cause a total timing error to be substantially zero over the base period. A possible advantage of using a sinusoid adjustment waveform wherein the oscillator frequency both increases and decreases from the initial frequency is to reduce any cumulative timing error over the base period.
Returning to
In one example, the frequency adjustment for temperature variation will be used in calculation of the average value of frequency adjustment sinusoid, as explained above, wherein the sinusoid the average value is selected to provide the amount of oscillator frequency adjustment required.
A clock oscillator frequency control according to the various aspects of the invention may maintain more accurate correspondence with an absolute time reference than may be possible using clock oscillator frequency control known in the art prior to the invention.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.