Abstract:
An automatic calibration of a clock of a wireless portable part with respect to a clock of a fixed part in a field environment. The calibration performed in the field environment negates the need to calibrate the clock during manufacture and negates the need for an initial field recalibration because of temperature differences between manufacture and the field. In performing the calibration the frequency of the clock of the portable part is varied until the portable part is synchronous with the fixed part to with in a range of timing bits. The portable part is declared calibrated after remaining calibrated for a defined number of data frames.

Description:
TECHNICAL FIELD 
       [0001]    The present invention is related to calibration of signals in a portable unit relative to a fixed unit and more specifically to the signal calibration in a portable unit using phase drift. 
       BACKGROUND 
       [0002]    There are electronic devices such as wireless phones, wherein a hand set is coupled to a base unit through a wireless medium. As these devices become more and more ubiquitous cost becomes more and more a factor. Curtailing cost relies heavily on reducing manufacturing cost, for instance hardware elements such as devices and pins, and manufacturing setup and test times. For example, elimination of a circuit pin reduces cost more because of the required testing than the physical existence of the circuit pin, assuming the adequacy of real estate to provide for having the pin. Performing calibration in manufacturing and then at some point recalibrating in the field tends to waist the calibration in manufacturing and the associated product cost. If a field calibration, or more importantly an automatic field calibration, could be devised to provide an automatic calibration of an electronic device in the field would not only eliminate the need for calibrating the electronic device in manufacturing, but also eliminate, or nearly eliminate, the disruption of operations for calibration in the field. 
         [0003]    US Patent Application Publication No. 2012/0223757 A1 (Camp) is directed to methods and apparatuses with a dynamically adjustable characteristics and using a phase adjustment circuit. In US Patent Application Publication No. 2011/0239031 A1 (Ware et al.) a low power signaling system is directed to an open loop clock distribution circuit. US Patent Application Publication No. 2010/0046683 A1 (Beukema et al.) is directed to systems and methods for adaptive clock and equalization control for data receivers that is based on a closed loop sampling clock framework. US Patent Application Publication No. 2008/0222440 A1 (Jones et al.) is directed to a temperature based real time clock calibration system and method. U.S. Pat. No. 6,545,950 B1 (Walukas et al.) is directed to an electronic clock calibration system that generates an output signal responsive to a base reference signal, which is less accurate than the base reference signal. In U.S. Pat. No. 6,326,830 B1 (Brady et al.) an automatic clock calibration circuit, is directed to a phrase frequency detector that detects the phrase differences between clock signals. 
       SUMMARY 
       [0004]    It is an objective of the present disclosure to automatically calibrate a portable part, for instance a wireless remote, without physical connections to a fixed part, for instance a base unit, while the portable part and the fixed part are active in a field operational environment. 
         [0005]    It is further an objective of the present disclosure to calibrate a clock of the portable part when the clock drift is out side allowable limits. 
         [0006]    It is still further an objective of present disclosure that a timing drift of the portable part with respect to the fixed part between approximately −15 and +8 timing bits is defined as being in lock, or in sync. 
         [0007]    It is also an objective of the present disclosure to use the field calibration of the portable part to replace clock calibration in manufacturing and eliminate the necessity for an accurate crystal in the portable part. 
         [0008]    The present disclosure exhibits a fundamental change in the manufacture of an electronic device, where calibration of clocks between a fixed part (FP) and a portable part (PP) is not done in manufacturing, but automatically after installation in the field. The electronic device comes in at least two parts, a fixed part that has a fixed location and at least one portable part that is moveable within a physical range about the fixed part. The portable part can, for example be an environmental parameter measuring device, e.g. measuring humidity or temperature. The fixed part comprises a base unit for receiving, storing or sending measured parameters that are received from the portable part. 
         [0009]    In the manufacture of the fixed and portable parts a calibration of the clocks were performed. Beside the test and calibration time required, this also required additional hardware that necessitated testing, a pin and associated circuitry, all of which added manufacturing cost. Any calibration performed was at a specific temperature and once the parts reached the field in a customer&#39;s environment, the calibration could easily be required to be redone because of difference in temperature, for instance. 
         [0010]    The present disclosure automatically calibrates the clocks in the portable part relative to the fixed part and performs the calibration in the field in the customer&#39;s environment. This eliminates manufacturing costs associated with an initial calibration and provides a calibration in a customer&#39;s environment and is performed automatically. 
         [0011]    In order to do the calibration in the field and the customer&#39;s environment a dummy carrier is produced by the fixed part. The portable part is set into a receiving mode at the lowest possible clock frequency. After waiting a period of time, either synchronization between the fixed part using the dummy carrier is accomplished, or the effort to synchronize times out. If the synchronization times out, the clock frequency of the portable part is changed (increased if starting at the lowest possible clock frequency) and synchronization is again attempted. When synchronization is accomplished, the portable part is monitored to insure that synchronization is maintained for “Y” cycles, which are enough cycles to determine marginal synchronization. If synchronization cannot be maintained for “Y” cycles, the clock frequency of the portable part is changed and synchronization of the portable part to the fixed part is again checked to determine if the two parts have been synchronized. It is possible that the clock frequency of the portable part that was marginally set was on the high side of the frequency synchronizing in which the frequency of the portable part needs to be reduced to achieve synchronization. After a durable synchronization has been established a clock register value is calculated and stored in the portable part. Since the calibration (synchronization) is temperature dependent several values of the clock register value for different temperatures can be established and stored in the memory of the portable part. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0012]    This invention will be described with reference to the accompanying drawings, wherein: 
           [0013]      FIG. 1  is a diagram of the present disclosure of the signal relationship between a fixed part and a portable part that is in need of calibration; 
           [0014]      FIG. 2  is a diagram of the present disclosure of the signal relationship between a fixed part and a parallel part that are synchronized and not in need of calibration; and 
           [0015]      FIG. 3  is a flow diagram of the method to calibrate the clock of the portable part with the fixed part of the present disclosure. 
           [0016]      FIGS. 4A ,  4 B and  4 C are diagrams that demonstrate an example of clock calibration and communication between the fixed and portable parts of the present disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0017]    In  FIG. 1  are shown two carrier signals of the present disclosure used for calibration of an associated combination of a portable part (PP) with respect to a fixed part (FP) in an environment classically defined as a field environment. As shown the carrier signal of the fixed part (FP)  10  and the portable part (PP)  11  comprises k frames where the Kth frame of the PP has become out of synchronization with the FP. The two carrier signals  10  and  11  start out in sync  12  and after k frames are out of sync  13  caused by the relative drift of the clocks of the fixed and portable parts, or a change in the environment such as change in the temperature. When it has been determined that the PP clock is no longer within a predetermined range of approximately −15 to +8 timing bits with respect to the FP clock, the frequency of the PP clock is automatically calibrated by changing the frequency  14  of the PP clock until the timing of the two carrier signals are synchronized to within the predetermined range of timing bits. 
         [0018]    At the beginning of calibration the clock of the PP is started at a frequency near but below the frequency of the FP, and the frequency of the clock of the PP is increased until the two clocks are synchronous resulting in a timing relationship between −15 and +8 timing bits. It should be noted that although the preferred method of synchronizing the two clocks starts with a low PP clock frequency and increases the frequency until the two clocks are synchronous, other approaches also fall within the scope of this disclosure where the frequency of the portable part is changed in some orderly way that allows convergence on synchronization of the two clocks, e.g. starting at a high frequency and lowering the frequency of the portable part until synchronization is accomplished. After calibration, the timing relationship between the two clocks is again checked after “Y” data frames to determine that the two clocks are still within the acceptable timing range before ending the calibration of the PP clock with respect to the FP clock. It should also be noted that even though calibration takes some number of data frames to verify, when the two clocks become out of synchronization (calibration) a calibration procedure is started immediately. 
         [0019]    In  FIG. 2  is shown the fixed part  20  and the portable part  21  data frames that are in synchronization for “Y” data frames. For each of the “m” to “Y” data frames, which are in synchronization, phase and Tap data is stored in buffers  22  in the portable part. “Phase” is the phase relationship between the FP and PP clocks in decimal units, wherein Phase=1 means that to PP clock has a phase relationship with respect to the FP clock where the PP clock is one bit late, and Phase=−1 means that the PP clock is one bit early. TAP provides a greater resolution of the phase relationship between the FP and PP clocks, wherein the phase relationship is expressed in units of 1/9 of a phase unit, or digital bit. Tap is valuable for fine tuning, for example Phase=0 and Tap=8 is a phase relationship of 8/9 or almost a full bit. Increasing the phase relationship between the two clocks slightly by a Tap of one yields Phase=1 and Tap=0. When the number “Y” data frames is reached and the two clocks remain in synchronization, the phase and Tap data is used to determine the clock register value  23  and this register value is stored in non-volatile memory in the portable part.  FIG. 3  shows the method of calibrating the portable part so the portable part and the fixed part are synchronous. When calibration is initiated, the fixed part transmits a series of dummy data frames  30 , and the calibration program is started in the portable part  31 . The portable part is set into receiving mode at the lowest possible clock frequency  32 . Then there is a wait for synchronization with the clock of the fixed part  33 . If the operation times out  34 , the clock frequency of the portable part is changed (increased)  36  and the procedure returns to waiting for synchronization with the fixed part  33 . If the operation does not time out  35  do the two clock signals remain in synchronization after “Y” data frames. If no  37 , then change the frequency of the portable part  36  and return to waiting for synchronization  33 . If the two clock signals remain in synchronization after “Y” data frames  38 , then the portable clock register value is determined and the clock register value is stored  39  and the procedure ends  40 . 
         [0020]    Alternatively, the clock frequency is set at a frequency that is not low as stated in step  32 , for instance the clock frequency is set high and when the procedure times out  34 , the portable part clock frequency is changed (lowered)  36 , which continues until the procedure does not time out  35 . Other synchronous clock procedures may also be developed that are within the intent and scope of this patent disclosure. 
         [0021]    It should be noted that the following is an example of the two part electronic device of the present disclosure and the calibration of the clocks between the two parts. Further it should be noted that this clock calibration is not during manufacturing and is performed for the first time after installation in a field environment. In  FIG. 4A  is shown a block diagram of a portable part (PP)  50  and a fixed part (FP)  51 . The FP and the PP communicate wirelessly, wherein the FP provides a synchronization signal (synch signal) approximately every 10 ms looking for a response from the PP. The PP provides parameter data, e.g. humidity measurements, approximately every 30 sec. 
         [0022]    As shown in  FIG. 4B , when the clocks of the FP and PP are in synchronization, an occurring data signal  52  is received by the FP  51  from the PP  50  upon the receipt of the sync signal  53  transmitted by the FP  51 . The data signal in this example is humidity data, which is stored in the FP  51  and transferred to a system for analysis; however, the data signal could be any other parametric value that is being tracked by a PP 50   
         [0023]    When the clocks of the PP  50  and the FP  51  are not in synchronization, as shown in  FIG. 4C , several synchronization signals  54  are transmitted from the FP  51  approximately every 10 ms seeking the data signal, which is transmitted by the PP  50  approximately every 30 sec. The frequency of the data signal  54 , comprising the parameter value (humidity in this example), is varied, as aforementioned, until the clock of the PP  50  is synchronized with the clock of the FP  51 . The two clocks can drift out of synchronization by variations in environmental temperature of the PP  50  and perhaps the environmental temperature surrounding the FP  51 , particularly if the parts and design that make up the oscillator of the FP are of a quality that allows a substantial drift in the FP clock frequency. 
         [0024]    While the invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.