VOLTAGE CONTROLLED CRYSTAL OSCILLATOR TEMPERATURE COMPENSATING CIRCUIT

Abstract: A voltage controlled crystal oscillator (VCXO) (25), for example, as used in a mobile communications terminal (23), has its output frequency Fref stabilised against temperature drift using frequency correction information received, for example, in a downlink signal (35) from a base station (33). A controller (31) uses the frequency correction information to produce a digital value (39) which is supplied to a DAC (29) which controls the output frequency of the VCXO (25). While the frequency is being stabilised in this manner, compensation values are determined based on the DAC value (39) and temperature values from a temperature ADC (45), and stored in memory (41). When the correction information ceases to be available, the compensation values from the memory (41) are used to compensate for temperature fluctuations. Each compensation value corresponds to a linear temperature region, and relates to the gradient for that temperature region. In this way, the invention does not need to store a vast number of compensation values, and does not require complex interpolation techniques for determining the control value (39) for the VCXO's DAC (29).

Description: VOLTAGE CONTROLLED CRYSTAL OSCILLATOR TEMPERATURE COMPENSATING CIRCUIT Field of the invention The invention relates to temperature compensation of a voltage controlled crystal oscillator (VCXO) , and in particular, to a method and apparatus for adaptive temperature compensation of a VCXO used in a mobile communications terminal. Background of the invention The reference frequency in a mobile station is generated with the aid of a crystal. The crystal is needed in order to fulfil frequency stability and accuracy requirements, as imposed by telecommunication standards such as GSM. Unfortunately, the stability and accuracy of the frequency is temperature dependent. While this can be a disadvantage, it does not pose any problems while the mobile station is in communication with a base station, since it can control the reference frequency using frequency correction information transmitted in the downlink signal from the base station. However, in a GSM system, during temporary loss of the signal received from the base station, the mobile station must still be required to maintain its reference frequency to an accuracy of 0.2ppm during a period of 64 slow associated control channel (SACCH) block . Thus, if the temperature changes during the gap in reception, conventional non-temperature compensated crystals will not be able to fulfil the accuracy requirements mentioned above. The worst case scenario is when the mobile station starts to transmit on the highest output power and then loses its synchronisation with the base station. The temperature change in the mobile station, due to heating of the power amplifier, will raise the temperature of the crystal. This change in crystal temperature will cause the frequency to drift. Many solutions are known to exist to overcome this problem. According to one solution, an average temperature dependency curve is supplied by the manufacturer of the crystal. The crystals are screened according to how much they deviate from the average temperature curve. Only crystals that fall within acceptable limits from the average temperature curve are thereafter used in manufacture. When the mobile station is in use, it measures the temperature and uses the average temperature dependancy curve to compensate the tuning of the reference frequency in the mobile station. This solution has many disadvantages . For example, manufacturers have to screen crystals which deviate too much from the average temperature dependancy curve. This results in a low yield, particularly for applications having a large temperature gradient . This problem becomes more relevant as mobile stations become smaller, resulting in greater temperature gradients within the mobile stations. In addition, the size of the crystal also dictates the temperature gradient which, again, also increases as the size of the package reduces. Figure 1 shows another commonly known solution in which a crystal 1 is packaged with a reference voltage controlled oscillator VCO 3, (forming a voltage controlled crystal oscillator VCXO 4) , a thermistor 5, an analogue to digital converter (ADC) 7, control logic 9 , and a digital to analogue converter (DAC) 11. This type of module, often called a temperature compensated crystal oscillator (TCXO) 13, is cycled in temperature when it is manufactured. This is done in order to make an individual trimming over the entire working temperature range of the crystal 1. The thermistor 5 measures the temperature of the crystal 1, and its output signal 15 is converted by the ADC 5 into a digital signal 17 for processing by the control logic 9. Depending on the measured temperature, the control logic 9 outputs a corresponding digital value 19, or compensation value, to the DAC 11 which provides a tuning signal 21 to the VCO 3 to obtain the desired reference frequency F ref . This type of solution suffers from the disadvantage of having to cycle each individual crystal though the entire working temperature range during manufacture, which takes an unreasonable amount of time. In addition, the provision of the thermistor 5, ADC 7, control logic 9 and DAC 11 all add to the overall cost of the crystal 1. Furthermore, the solution of Figure 1 must either store a vast number of temperature values and corresponding DAC values (which in turn requires a large memory) , or store fewer temperature values, which requires the use of a complex interpolation technique or algorithm to deduce a DAC value from a temperature dependancy curve. The aim of the present invention is to provide a method and apparatus for adaptive temperature compensation of a voltage controlled crystal oscillator which does not suffer from the disadvantages mentioned above . Summary of the invention According to a first aspect of the present invention, there is provided a method of controlling the output frequency of a voltage controlled crystal oscillator (VCXO) which is controlled by a VCXO control signal, the method comprising the steps of: (a) during a first period, receiving frequency correction information from a first source, and using this frequency correction information to control the output frequency of the VCXO; characterised by the steps of (b) during the first period, determining a plurality of VCXO compensation values which correspond to respective predefined temperature regions, and which are indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; (c) storing the compensation values; and, (d) during a second period when the frequency correction information from the first source is not available, determining the temperature range in which the VCXO is operating and using the corresponding stored compensation value to determine the VCXO control signal, thereby controlling the output frequency of the VCXO . According to another aspect of the invention, there is provided an apparatus for controlling the output frequency of a voltage controlled crystal oscillator (VCXO) which is controlled by a VCXO control signal, the apparatus comprising: (a) means for receiving frequency correction information from a first source during a first period; (b) means for using the frequency control information to control the output frequency of the VCXO during the first period; characterised in that the apparatus further comprises : (c) means for determining a plurality of VCXO compensation values during the first period, each VCXO compensation value corresponding to a respective predefined temperature region, and indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; (d) a first memory for storing the compensation values; and, (e) means for determining the temperature range in which the VCXO is operating, and using the corresponding stored compensation value to determine the VCXO control signal for controlling the output frequency of the VCXO during a second period when the frequency correction information is not available. According to yet another aspect of the present invention, there is provided a mobile communications terminal comprising; a voltage controlled crystal oscillator, VCXO (25) ; a digital to analogue converter, VCXO-DAC, (29) for controlling the VCXO (25) according to a VCXO control signal (39) ; means (37) for receiving frequency correction information from a base station (33) ; temperature measuring means (43) ; an analogue to digital converter (45) for converting the temperature signals into digital signals; control means (31) for controlling the output frequency of the VCXO 25; wherein the control means comprises: means for using the received frequency control information to control the output frequency of the VCXO during a first period; characterised in that the mobile communications terminal further comprises: means for determining a plurality of VCXO compensation values during the first period, each VCXO compensation value corresponding to a respective predefined temperature region, and indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; a first memory (41) for storing the compensation values; and, means for determining the temperature range in which the VCXO is operating, and using the corresponding stored compensation value to determine the VCXO control signal for controlling the output frequency of the VCXO during a second period when the frequency correction information is not available. Brief description of the drawings Figure 1 shows a known temperature compensated crystal oscillator (TCXO) ; Figure 2 shows an adaptive temperature compensated voltage controlled crystal oscillator according to a preferred embodiment of the present invention; Figure 3 shows the method of determining compensation values while external frequency correction information is available; Figure 4 is a graph which further explains the method of Figure 3 ; Figure 5 shows the method of using the compensation values to compensate for temperature when the external frequency correction information is not available; Figures 6 and 7 show temperature dependancy curves for a 32-bit sample space; Figures 8 and 9 show temperature dependancy curves for a 16-bit sample space; Figures 10 and 11 show temperature dependancy curves for a 8-bit sample space. Detailed description of a preferred embodiment of the invention Figure 2 shows a mobile station 23, which comprises a voltage controlled crystal oscillator (VCXO) 25 for producing an output frequency F ref , being the reference frequency of the mobile station 23. The output frequency F ref of the VCXO 25 is controlled according to the analogue voltage 27 supplied by a digital to analogue converter, referred to as the VCXO- DAC 29. The VCXO-DAC 29 is controlled by a controller 31. When the mobile station 23 is in communication with a base station 33, frequency correction information contained in the downlink signal 35 is received by the transceiver 37, and passed to the controller 31. The controller 31 controls the VCXO-DAC 29 by outputting a digital value, referred to as the VCXO-DAC value 39, to the VCXO-DAC 29. The digital value is chosen according to the frequency correction information contained in the downlink signal 35. The analogue signal 27 from trie VCXO-DAC 29 is then used for tuning the VCXO 25, to obtain the desired reference frequency F ref . Thus, when the mobile station 23 is in communication with the base station 33, the reference frequency F ref of the mobile station 23 is not affected by any temperature changes, since it is maintained stable and accurate according to the frequency correction information received from the base station 33. While in this mode of operation, the mobile station 23 adaptively calculates a set of temperature compensation values, referred to as EEPROM DELTAVALUES , which are stored in an EEPROM 41. Each EEPROM DELTAVAME represents a linear region on a temperature dependancy curve. The stored EEPROM DELTAVALϋES are subsequently used for controlling the reference frequency F ref , if the link to the base station 33 becomes interrupted, resulting in the frequency correction information no longer being available. A temperature measurement device, for example a thermistor 43, is provided for measuring the temperature in the vicinity of the VCXO 25. These temperature measurements are passed via a temperature ADC 45 to the controller 31. The controller 31 uses the temperature ADC values, firstly, when initially calculating the EEPROM DELTAVALUES (i.e. when the frequency correction information is being received from the base station 33) , and secondly, when the EEPROM DELTAVALUES are subsequently used to control the reference frequency during an interruption in the link to the base station 33. The time interval between temperature measurements depends upon the particular application in which the invention is being used, that is, the temperature variations in the working environment. The time interval will therefore vary from one application to another, but will preferably be regular for a particular application. According to the preferred embodiment of the invention, the temperature ADC 45 is eight bits wide, and can therefore be used to represent 31 linear regions on the temperature dependancy curve, each region being 8 ADC values wide. In other words, the linear regions represent temperature ADC values 0-7, 8- 15, 16-23, 24-31, 32-39, 40-47 240-247 and 248- 255. Figure 3 shows the steps involved in determining the temperature compensation values, that is the EEPROM DELTAVAUffis , which are stored in the EEPROM, while the frequency correction information is available from the base station. After each temperature measurement, step 101, the controller 31 determines whether the temperature ADC value is a multiple of eight (that is 0, 8, 16, 24, 32...248) , step 103. If the output of the temperature ADC is not a multiple of eight, the controller 31 does nothing and awaits the result of the next temperature measurement. If the output of the temperature ADC is a multiple of eight, the temperature ADC value is temporarily stored in RAM 47, together with the present VCXO-DAC value 39, step 105. The controller 31 also maintains a record of one old data record of each of these values so that the present and previous records are accessible. Incidentally, the previous records will be initially set to zero when the mobile station is used for the first time. The controller 31 determines whether the difference between the new and old temperature ADC value is one multiple (8-bits) up or down, step 107. This check is carried out to determine whether the new value represents a point at the other end of a neighbouring linear region, in which case, the controller 31 will want to calculate the EEPROM DEIiTAVAIιUE , or gradient, for that linear region (represented by the difference between the VCXO-DAC values 39 for the new and old points) . It is noted that during initial use of the invention a special case will occur in which the first value is not stored until two "multiple of eight" points have been crossed. If the difference between the new and old temperature ADC values is one multiple (8-bits) up or down, the controller calculates the difference in VCXO- DAC value 39 between the present and previous VCXO-DAC values 39 stored in RAM, step 109. This difference provides an indication of the linear gradient of the VCXO-DAC values 39 for that particular region on the temperature dependancy curve, and is stored as an ΞEPROM DELTAVALUE , step 110. Each EEPROM DELTAVALUE is stored in -lithe EEPROM at a specific position "n" , "n+1", "n+2" ...."n+30" , according to which linear temperature region it relates to on the temperature dependancy curve . It is noted that the difference is preferably calculated as "high temperature ' ADC-value" VCXO data subtracted by the "low temperature ADC-value" VCXO data. However, the opposite may be used provided that consistency is maintained throughout. Therefore, as the temperature varies during use, the EEPROM will gradually store an EEPROM DELTAvALUE for each region. As mentioned above, in this particular example, up to a maximum of 31 EEPROM DELTAVALrrES are stored, each one relating to a linear region 0-7, 8-15, 16-23, 24-31, 32-39, 40-47 240-247 or 248-255, respectively. The EEPROM DELTAVAIlUES are used for controlling the reference frequency F ref when the frequency correction information is no longer available from the base station, as will be discussed in greater detail later. The method of storing EEPROM DELTAVAIjUES will now be explained in further detail with reference to Figure . Assume that the previously stored data values in RAM (i.e. the previous temperature ADC value and previous VCXO-DAC value) correspond to that of point (a) . This corresponds to a temperature ADC value of 32 and a corresponding VCXO-DAC value V 32 . If the next temperature measurement takes place at point (b) , the temperature ADC value is somewhere between 32 and 40, and is thus not a multiple of 8. Therefore, no action is taken in response to this temperature measurement . If the next temperature measurement is taken at point (c) , the temperature ADC value is 40, which is a multiple of 8. Therefore, the controller will store the current temperature ADC value (i.e. 40) and the current VCXO-DAC value (i.e. V 40 ) in RAM. /' Next, the controller checks whether the current temperature ADC value (40) is one multiple (i.e. 8- bits) up or down from the previous value. In this case, the results is "YES", since the previous temperature ADC value was 32. This indicates to the controller that points (a) and (c) represent opposite ends of a linear region and, therefore, a value representing the gradient of this linear region should be stored as a EEPR0M DELTAVALϋE . Thus, the controller calculates the difference between the two VCXO-DAC values (i.e. the difference between V 40 and V 32 - corresponding to the temperature ADC values 40 and 32 respectively) . As mentioned above, this difference value represents the EEPROM DELTAVALUE , and indicates the gradient between points (a) and (c) . The region between points (a) and (c) corresponds to the 5 th region, which means that the EEPROM DEI)TAVALUE for this region is stored in the EEPROM at position n+4, (position "n" being used for storing the EEPROM DELTAVALUE for temperature ADC value 0, position n+1 for storing the EEPROM DELTAVALUE for ADC value 8, position n+2 for storing the EEPROM DEIιTAVALUE for ADC value 16, etc. ) . When the link to the base station ceases to be available, and the frequency correction signal is no longer available, the controller uses the stored EEPROM DELTAVALUES for controlling the reference frequency F ref/ as will hereinafter be explained. With reference to Figure 5, the first stage involves determining when the mobile station should switch from using the frequency control information received from the base station, to using the EEPR0M DELTAVAU3ES stored in the EEPROM. Preferably, the system includes an in-built delay before it switches from one mode to another. The controller determines in step 210 whether a non- successful decoding of a SACCH burst has occurred (which indicates that no frequency correction information is available from the base station) . If a non-successful decode has occurred, a counter, preferably an eight bit counter, is incremented by one, step 203 (starting from zero) . The counter is reset to zero, step 205, after every successfully demodulation of a SACCH burst. After each increment of the counter, the controller checks if the accumulated value is higher than an "activation delay parameter", step 207, which will have been pre-stored in the EEPROM, (for example, at byte location 32) . If the counter level is lower than the activation level, the controller returns to step 201 and awaits the result of the next SACCH decode operation. When the counter value is higher than the activation delay parameter, the current VCXO-DAC value (VCXO to ) and latest temperature ADC value (T to ) are stored in RAM, step 209. The system has now changed its mode of operation, so that the EEPR0M DELTAVALUES will hereinafter be used to determine the VCXO-DAC values 39 supplied to the VCXO- DAC 29, as long as the counter value is above the activation level. While in this mode, the temperature drift ΛT tx is calculated each time the present temperature T tx is measured, step 211: ΔT tx = ( T tx - T to) Next, the temperature drift ΔT tx is converted into a corresponding VCXO drift ΔVCXO tx , by multiplying with the EEPROM DELTAVALUE corresponding to the temperature at temperature T to , step 213. The EEPROM DELTAVALUE may be selected from the EEPROM, for example, using the five most significant bits of the Temp ADC value to point to Thus, ΔVCXO tx = Round ( (EEPROM DELTAVAIlUE /8) * ΔT tx ) The present VCXO-DAC value VCXO tx can then be calculated by adding the calculated VCXO drift ΔVCXO tx to the VCXO value previously stored in RAM, VCXO to , step 215: VCXO tx = ΔVCXO tx + VCXO to The VCXO-DAC value is updated after every temperature measurement until the mobile station has the possibility to switch back to normal frequency correction. Figures 6 to 11 show one example of a crystal temperature dependency curve, showing the VCXO-DAC values as a function of temperature, for 32, 16 and 8 bit sample spaces . If the temperature range is broken down into eight segments, this will give a sample space of 32 bits (256/8=32) . Figure 6 shows a plot of the VCXO-DAC values as a function of the temperature ADC values . The curve is characterised with a sample space of 32 "temp-ADC" values . Figure 7 shows the slope of the curve in Figure 6 as a function of the temperature ADC value. The curve is characterised with a sample space of 32 "temp-ADC" values . Figure 8 shows a plot of the VCXO-DAC values as a function of the temperature ADC values. The curve is characterised with a sample space of 16 "temp-ADC" values . Figure 9 shows the slope of the curve in Figure 8 as a function of the temperature ADC value. The curve is characterised with a sample space of 16 "temp-ADC" values . Figure 10 shows a plot of the VCXO-DAC as a function of the temperature ADC value. The curve is characterised with a sample space of 8 "temp-ADC" values . Figure 11 shows the slope of the curve in Figure 10 as a function of the temperature ADC value. The curve is characterised with a sample space of 8 "temp- ADC" values. The temperature slope will vary depending upon the conditions in a particular mobile station, i.e. the physical relationship of the crystal with respect to the thermistor. Normally, this would pose a problem for temperature compensated crystals which are trimmed beforehand, or rely on using predetermined temperature dependancy curves . However, the present invention does not suffer from this problem, since the adaptive determination of the compensation values in-situ, provides accurate compensation values for that particular environment . Another important advantage is that the invention will provide accurate compensation during temporary loss of the base station signal, even if the base station has a small frequency error, for example due to a hardware error. This is because only relative mapping is used, without any absolute references to the measured frequency of the connected base station. Thus, the stored values can still be used to provide accurate compensation even if adaptively learnt from an inaccurate base station frequency. It is noted that the invention uses the principle that, although each crystal will have its own temperature dependancy characteristics, they all have one common feature, which is the fact that the rate of change of frequency with temperature is not very fast, i.e. the temperature dependancy curve is not steep. The invention is particularly advantageous in that only one parameter needs to be stored for each temperature region, as opposed to storing a plurality of temperature values and corresponding VCXO-DAC values for a large number of temperatures. In addition, the invention does not rely on the use of any complicated algorithms for interpolating a VCXO-DAC value from an average temperature dependancy curve. Although the preferred embodiment has been described having specific features, such as 31 linear temperature regions, and an eight bit counter for determining the activation level, it is noted that these are merely the preferred features, and the invention is equally applicable to systems having other values or ranges. Likewise, although the values are stored in the EEPROM in ascending order, they may alternatively be stored in descending order. The counter is described as being reset after a successful SACCH burst. Alternatively, the counter could be reset when the decoded SACCH burst is above a predetermined quality. In this way, the invention can make use of signal quality information provided by a mobile station for determining when the counter should be reset. Thus, if signal quality is poor, or the bit error rate (BER) is high, the counter is not reset. It is also possible for the frequency compensation to be based on something other than a SACCH burst, for example, every received burst. However, this would increase power consumption. It is therefore preferable to base. the frequency compensation on the SACCH bursts, since the interval between SACCH bursts is suited to the required update frequency of the VCXO. It is noted that other such modifications may be made by a person skilled in the art, without departing from the scope of the invention as defined in the appended claims .

Claims: Claims 1. A method of controlling the output frequency of a voltage controlled crystal oscillator (VCXO) which is controlled by a VCXO control signal, the method comprising the steps of: (a) during a first period, receiving frequency correction information from a first source, and using this frequency correction information to control the output frequency of the VCXO; characterised by the steps of: (b) during the first period, determining a plurality of VCXO compensation values which correspond to respective predefined temperature regions, and which are indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; (c) storing the compensation values; and, (d) during a second period when the frequency correction information from the first source is not available, determining the temperature range in which the VCXO is operating and using the corresponding stored compensation value to determine the VCXO control signal, thereby controlling the output frequency of the VCXO. 2. A method as claimed in claim 1, wherein the step of determining the compensation values during the first period comprises the steps of : (e) measuring the current temperature; (f) determining whether the current temperature corresponds to one of a predetermined set of temperature values, the set of temperature values defining the temperature regions; and, if so, (g) storing the current temperature value and a corresponding VCXO control signal; (h) determining whether the current temperature value is adjacent in the set of temperature values to a temperature value previously stored in step (g) , and, if so, (i) determining the difference between the currently stored VCXO control signal and a VCXO control signal previously stored in step (g) ; and, (j) storing the difference value as the compensation value representing that particular temperature region. 3. A method as claimed in claim 1 or 2 , wherein the step of storing each compensation value (j) involves storing the compensation value at a predetermined memory address corresponding to the particular temperature region. 4. A method as claimed in any one of claims 1 to 3, wherein the step of using the compensation values in step (d) comprises: calculating the temperature drift from when the frequency correction information ceased to be available; using the compensation value for that temperature region to determine the corresponding VCXO control signal drift; and, using the VCXO control signal drift to determine the current VCXO control signal . 5. A method as claimed in any one of claims 1 to 3, wherein the step of using the compensation values in step (d) comprises: storing a temperature value (T to ) and VCXO control signal VCXO to corresponding to when the frequency correction information ceased to be available; measuring the present temperature value T tx; determining the temperature drift, ΔT tx , as Δ T tx = (T tx - T t0 ) ; determining the corresponding VCXO control signal drift, ΔVCXO tx , as ΔVCXO tx = Round ( (EEPROM DELTAVALUE /8 ) * ΔT tx ) ; determining the current VCXO control signal, VCXO tx as VCXO tx = ΔVCXO tx + VCXO to ; and using the current VCXO control signal, VCXO tx , to control the output frequency of the VCXO. 6. A method as claimed in any one of the preceding claims, having a delay between when the frequency correction information ceases to be available, to when the compensation values are used for determining the VCXO control signal . 7. A method as claimed in claim 6, wherein the delay comprises: determining whether a SACCH burst has been unsuccessfully received, and, if so, incrementing a counter; determining whether the counter value is higher than a preset value, and, if so, using the compensation values to determine the VCXO control signal. 8. A method as claimed in claim 8, wherein the counter is reset upon receipt of a successfully decoded SACCH burst. 9. A method as claimed in any preceding claim, wherein the predefined temperature regions are of equal size. 10. A method s claimed in any one of the preceding claims, wherein the VCXO control signal represents a digital value supplying a digital to analogue converter (DAC) which controls the output frequency of the VCXO. 11. A method as claimed in any preceding claim, wherein accurate frequency compensation is provided during the second period even if the frequency of the first source has an error. 12. Apparatus for controlling the output frequency of a voltage controlled crystal oscillator (VCXO) which is controlled by a VCXO control signal, the apparatus comprising: (a) means for receiving frequency correction information from a first source during a first period; (b) means for using the frequency control information to control the output frequency of the VCXO during the first period; characterised in that the apparatus further comprises: (c) means for determining a plurality of VCXO compensation values during the first period, each VCXO compensation value corresponding to a respective predefined temperature region, and indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; (d) a first memory for storing the compensation values; and, (e) means for determining the temperature range in which the VCXO is operating, and using the corresponding stored compensation value to determine the VCXO control signal for controlling the output frequency of the VCXO during a second period when the frequency correction information is not available. 13. Apparatus as claimed in claim 12, wherein the means for determining the compensation values comprises : temperature measuring means for measuring the current temperature; means for determining whether the current temperature corresponds to one of a predetermined set of temperature values, the set of temperature values defining the temperature regions; a second memory for storing the current temperature value and a corresponding VCXO control signal if the current temperature value corresponds to one of the predetermined set of temperature values; means for determining whether the current temperature value is adjacent in the set of temperature values to an old temperature value previously stored in the second memory; means for determining the difference between the current VCXO control signal and an old VCXO control signal previously stored in the second memory, if the current temperature value is adjacent to the previous temperature value; and, means for storing in the first memory the difference value representing the compensation value for that particular temperature region. 14. Apparatus as claimed in claim 12 or 13, wherein the memory means comprises predefined memory locations, each one of the predefined memory locations storing a compensation value corresponding to a particular temperature region. 15. Apparatus as claimed in any one of claims 12 to 14, wherein the means for using the compensation values when the frequency correction information is not available comprises: means for calculating the temperature drift from the time the frequency correction information ceased to be available; means for using the compensation value for that temperature region to determine the corresponding VCXO control signal drift; and, means for using the VCXO control signal drift to determine the current VCXO control signal. 16. Apparatus as claimed in any one of claims 12 to 14, wherein the means for using the compensation values when the frequency correction information is not available comprises: means for storing the temperature value (T t0 ) and a VCXO control signal VCXO to corresponding to when the frequency correction information ceased to be available; means for measuring the present temperature T tx and calculating the temperature drift ΔT tx as ΔT tx = ( τ x - τ to) ; means for calculating the corresponding VCXO control signal drift, ΔVCXO tx , as: ΔVCXO^ = Round((EEPROM DELTAVALUE /8) * ΔT tx ) ; means for determining the current VCXO control signal, VCXO fcx , as: VCXO tx = ΔVCXO tx + VCXO to ; and means for controlling the output frequency of the VCXO according to the current VCXO control value VCXO tx . 17. Apparatus as claimed in any one of claims 12 to 16, further comprising delay means for delaying the using of the compensation values for determining the VCXO control signal after the frequency correction , ^ information ceases to be available. 18 Apparatus as claimed in claim 17, wherein the delay means comprises: a counter; means for determining whether a SACCH burst has been unsuccessfully received, and, if so, incrementing- the counter; means for determining whether the counter value is higher than a preset value, and, if so, using the compensation values for determining the VCXO control signal while the counter value is above the preset value . 19. Apparatus as claimed in claim 18, having means for resetting the counter upon receipt of a successfully decoded SACCH burst . 20. Apparatus as claimed in any one of the preceding claims, having a digital to analogue converter (DAC) for controlling the VCXO, whereby the DAC is controlled by the VCXO control signal . 21. Apparatus as claimed in any one of the preceding claims, wherein the first memory means is an EEPROM . 22. Apparatus as claimed in claim 21, wherein the memory addresses in the EEPROM store compensation values corresponding to temperature regions of equal size. 23. Apparatus as claimed in any one of claims 12 to 22, wherein accurate frequency compensation is achieved during the second period even if the frequency of the first source has an error. 24. A mobile communications terminal having apparatus as claimed in any one of claims 12 to 23. 25. A mobile communications terminal comprising; a voltage controlled crystal oscillator, VCXO (25) ; a digital to analogue converter, VCXO-DAC, (29) for controlling the VCXO (25) according to a VCXO control signal (39) ; means (37) for receiving frequency correction information from a base station (33) ; temperature measuring means (43) ; an analogue to digital converter (45) for converting the temperature signals into digital signals; control means (31) for controlling the output frequency of the VCXO 25; wherein the control means comprises : means for using the received frequency control information to control the output frequency of the VCXO during a first period; characterised in that the mobile communications terminal further comprises: means for determining a plurality of VCXO compensation values during the first period, each VCXO compensation value corresponding to a respective predefined temperature region, and indicative of a linear relationship between the VCXO control signal and temperature in the region concerned; a first memory (41) for storing the compensation values; and, means for determining the temperature range in which the VCXO is operating, and using the corresponding stored compensation value to determine the VCXO control signal for controlling the output frequency of the VCXO during a second period when the frequency correction information is not available. 26. A mobile communications terminal as claimed in claim 25, wherein accurate frequency compensation is achieved during the second period even if the frequency of the base station has an error.

Inventors: JAKOBSSON PETER, JAKOBSSON, PETER
Applicants: ERICSSON TELEFON AB L M, JAKOBSSON PETER, JAKOBSSON, PETER, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 2001
Main classification: H03B5
IPC codes: H03J1, H03J7, H03L1