CN113114108A - Method for estimating crystal oscillator frequency - Google Patents

Method for estimating crystal oscillator frequency Download PDF

Info

Publication number
CN113114108A
CN113114108A CN202110487261.0A CN202110487261A CN113114108A CN 113114108 A CN113114108 A CN 113114108A CN 202110487261 A CN202110487261 A CN 202110487261A CN 113114108 A CN113114108 A CN 113114108A
Authority
CN
China
Prior art keywords
frequency
crystal oscillator
temperature
crystal
lookup table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110487261.0A
Other languages
Chinese (zh)
Inventor
吴杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuo Ling Technology Ltd Co ltd
Original Assignee
Nuo Ling Technology Ltd Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nuo Ling Technology Ltd Co ltd filed Critical Nuo Ling Technology Ltd Co ltd
Priority to CN202110487261.0A priority Critical patent/CN113114108A/en
Publication of CN113114108A publication Critical patent/CN113114108A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/08Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance

Abstract

The invention relates to a method for estimating crystal oscillator frequency, which comprises the following steps: step 1) in factory production, storing a default temperature frequency characteristic curve into a nonvolatile memory for each device; step 2) in factory production, for each device, measuring the frequency deviation of the crystal oscillator at a temperature, and storing the frequency deviation into a nonvolatile memory; step 3) updating the frequency offset in the lookup table when the device is used for the first time; step 4), reading the temperature by the device, and estimating the frequency of the current crystal oscillator by using the updated lookup table; and 5) operating the functional module, and updating the lookup table according to the output of the functional module. By using the method, the device can achieve the same frequency deviation range performance as that of the TCXO, and can be used in a plurality of products.

Description

Method for estimating crystal oscillator frequency
Technical Field
The invention relates to a method, in particular to a method for estimating crystal oscillator frequency, and belongs to the technical field of electronic equipment and devices.
Background
All electronic devices and devices require clock sources to generate various clock signals, digital circuits require clock signals to drive, and radio frequency and analog circuits also require high-frequency clock signals to perform various signal processing, for example, high-frequency input signals are subjected to frequency mixing processing to obtain low-frequency signals, so that subsequent digitization and digital signal processing are facilitated.
Common electronic devices generally use one of these two clock sources: crystal oscillators (XOs) and temperature compensated crystal oscillators (TCXOs). The first is a crystal oscillator (XO) consisting of a crystal and an oscillator circuit, whose output frequency varies greatly with temperature, and a general temperature-frequency characteristic curve is shown in fig. 1. In order to be able to output a stable frequency, a temperature compensated crystal oscillator (TCXO) is produced. TCXOs incorporate a temperature compensation chip based on the XO to adjust the output frequency to a small range (typically +/-5ppm or better at the nominal frequency). "ppm" refers to "parts per million", i.e., 1 e-6. For example, for 38.4MHz,1ppm is 38.4MHz by 1 e-6-38.4 Hz. In this document, the unit of "deviation" is ppm. Typical consumer electronics choose a TCXO or XO-supported temperature range of-30C to 85C.
TCXOs are relatively expensive, have a large impact on equipment cost, and occasionally have problems with difficult supplies. Crystal oscillators (XOs) are low cost and are available in a large number of suppliers. For these reasons, electronic device manufacturers have a strong desire to use XOs instead of TCXOs. However, in some applications where the frequency offset is very critical (e.g., GNSS navigation positioning receivers), the XO may not be satisfactory because the large variation of the crystal oscillator frequency offset with temperature may result in a GNSS positioning time that is too long to be useful. Therefore, a new solution to solve the above technical problems is urgently needed.
Disclosure of Invention
The present invention is directed to the problem in the prior art, and provides a method for estimating a crystal oscillator frequency, which enables an XO to be applied to a wider range of electronic products (e.g., GNSS receivers), estimates the frequency of the XO, and enables the XO to be used at any temperature. By using the method, the device can achieve the same frequency deviation range performance as that of the TCXO, and can be used in a plurality of products.
In order to achieve the above object, a technical solution of the present invention is a method for estimating a crystal oscillator frequency, the method including the steps of:
step 1) in factory production, storing a default temperature frequency characteristic curve into a nonvolatile memory for each device;
step 2) in factory production, for each device, measuring the frequency deviation of the crystal oscillator at a temperature, and storing the frequency deviation into a nonvolatile memory;
step 3) updating the frequency offset in the lookup table when the device is used for the first time;
step 4), reading the temperature by the device, and estimating the frequency of the current crystal oscillator by using the updated lookup table;
and 5) operating the functional module, and updating the lookup table according to the output of the functional module.
As a modification of the present invention, in the step 1), a crystal temperature frequency characteristic curve is represented as df0(T), where T is the crystal temperature, and the curve is generally determined by the cutting mode and the cutting angle in the production process; in the same cutting mode, the curve of each crystal oscillator is also different and is generated by the difference of crystals and the cutting angle and other controls of production. For the same model and batch of crystal oscillators, the same temperature-frequency characteristic curve is used, and the curve is written into a Non-volatile Memory (Non-volatile Memory) in the device production process according to a lookup table (for example, 1C one point). The temperature frequency characteristic curve can be provided by a crystal oscillator supplier, or can be obtained by averaging the temperature frequency characteristic curves at various temperature points after measuring several crystal oscillators in a laboratory by a device manufacturer. Due to the frequency of the crystal in the device, it is also related to the load capacitance of the crystal in each device. The actual frequency of the crystal in the device is therefore considered to be the frequency offset value (df0(T), determined by temperature) plus an offset (df _ lc, determined by the load capacitance) in this look-up table; this offset varies from device to device. The actual frequency deviation value of the crystal oscillator frequency is expressed by the following formula:
df(T)=df0(T)+df_lc;
if the step size of the temperature is 1C, then T ═ 30C, -29C, -28C, …,83C,84C,85C, i.e. a look-up table with a total of 126 rows.
It can be seen that the content df0(T) written in the factory production of the device by this default lookup table is a relative value between the respective temperatures, and not an actual value of the crystal frequency in the device
As an improvement of the present invention, in the step 2), in order to obtain an actual value of the crystal frequency offset in one device at a certain temperature, the crystal frequency in each device needs to be measured on a production line of a factory. The crystal oscillator in the device uses an external thermistor to measure the crystal oscillator temperature, or uses an internal thermistor to measure the crystal oscillator temperature (i.e. a thermistor crystal oscillator), the device needs an analog-to-digital converter (ADC) to obtain the value of the temperature, and if a device is measured on a factory production line, the temperature of the crystal oscillator is T1, and the measured crystal oscillator frequency is df1(T1), then the following results are obtained:
df1(T1)=df0(T1)+df_lc;
thus, it is possible to solve:
df_lc=df1(T1)–df0(T1);
the device stores the value df _ lc in non-volatile memory.
Measuring the frequency offset of the crystal in the device at the factory may use one of a number of methods. For example, a single frequency signal with a known frequency may be input to the device, and the frequency of the signal is measured by Fast Fourier Transform (FFT) inside the device, and the measured frequency will have a corresponding offset due to the crystal frequency offset, and the crystal frequency offset may be calculated from the offset. Another method is that a single frequency signal is sent by a device to a receiving device on the factory production line, the receiving device measures the frequency of the signal through FFT, the measured frequency has a corresponding offset due to the crystal frequency offset, and the crystal frequency offset can be calculated from the offset.
As an improvement of the present invention, in step 3), after the above two steps are completed, when the device is powered on for the first time after being taken out of the factory, the df _ lc obtained in step 2) and the default lookup table df0(T) stored in step 1) are read from the non-volatile memory, and the actual frequency offset of the crystal oscillator at each temperature point is calculated:
df(T)=df0(T)+df_lc=df0(T)+df1(T1)–df0(T1);
thus obtaining the initial estimated value of the actual frequency deviation of the crystal oscillator under all temperatures (-30C to 85C), df (T);
the device stores these initial estimates in the non-volatile memory, and the device may choose to replace the corresponding values df0(T) in the look-up table of step 1) with these initial estimates df (T), or store df (T) in a new look-up table in the non-volatile memory. The lookup table storing df (t) is referred to hereinafter as the "df lookup table".
As an improvement of the present invention, in the step 4), the df lookup table functions as: in the subsequent use of the device, when the crystal oscillator bias needs to be known (for example, before GNSS signal acquisition or before cellular signal acquisition), the temperature of the crystal oscillator is read, and then an estimated value of the current frequency of the crystal oscillator is obtained in the df lookup table, and the estimated value of the current frequency of the crystal oscillator can help a GNSS module or a cellular system (for example, 4G LTE, NB-IoT, 5G) receiving module to quickly acquire a signal, so that the user experience is greatly improved.
As an improvement of the present invention, in the step 5), since the frequency of the GNSS signal and the frequency of the downlink signal of the cellular system are known, after the GNSS module or the cellular system receiving module captures the signal, the current frequency of the crystal oscillator is estimated more accurately according to the frequency of the signal. For example. The true frequency offset of the crystal oscillator is expressed as d in ppm. When the cellular system receiver obtains the frequency of the signal after acquiring and/or tracking that is f1 (knowing that the frequency of the signal transmitted from the base station is f), it can estimate that the frequency offset of the crystal oscillator is d1 ═ f1-f)/f × 1e6, which is ppm. In the above example, assuming that the true frequency offset of the crystal oscillator is d-4.3 ppm and f-800 MHz, if the frequency of the captured signal is f1 (800MHz +4kHz), then the estimated frequency offset is (f1-f)/f 1e6 (800MHz +4kHz-800MHz)/800MHz 1e6 is 5ppm.
Compared with the prior art, the method has the advantages that 1) the method in the technical scheme is simpler and more reliable; 2) the method has no any requirement on the variation curve of the crystal oscillator frequency along with the temperature, reduces the production cost of the crystal oscillator and increases the selection of equipment manufacturers on crystal oscillator suppliers;
drawings
FIG. 1 is a graph showing the variation of frequency deviation of a crystal oscillator with temperature;
FIG. 2 is a schematic diagram of a process for estimating the crystal frequency;
fig. 3 is a schematic block diagram of a device using a crystal oscillator, which is exemplified by a device supporting a cellular system and a GNSS.
The specific implementation mode is as follows:
for the purpose of enhancing an understanding of the present invention, the present embodiment will be described in detail below with reference to the accompanying drawings. In this application, a "device" refers to any electronic device or terminal using a crystal oscillator, such as a mobile phone, an internet of things module or terminal, a GNSS receiver, and so on.
Example 1: referring to fig. 1, a method of estimating a crystal oscillator frequency, the method comprising the steps of:
step 1) in factory production, storing a default temperature frequency characteristic curve into a nonvolatile memory for each device;
step 2) in factory production, for each device, measuring the frequency deviation of the crystal oscillator at a temperature, and storing the frequency deviation into a nonvolatile memory;
step 3) updating the frequency offset in the lookup table when the device is used for the first time;
step 4), reading the temperature by the device, and estimating the frequency of the current crystal oscillator by using the updated lookup table;
and 5) operating the functional module, and updating the lookup table according to the output of the functional module.
In the step 1), a crystal oscillator temperature frequency characteristic curve is represented as df0(T), wherein T is the crystal oscillator temperature, and the curve is generally determined by a cutting mode and a cutting angle in a production process; for the same model and batch of crystal oscillators, the same temperature-frequency characteristic curve is used, and the curve is written into a Non-volatile Memory (Non-volatile Memory) in the device production process according to a lookup table (for example, 1C one point). The actual frequency of the crystal in the device is therefore considered to be the frequency offset value (df0(T), determined by temperature) plus an offset (df _ lc, determined by the load capacitance) in this look-up table; this offset varies from device to device. The actual frequency deviation value of the crystal oscillator frequency is expressed by the following formula:
df(T)=df0(T)+df_lc;
if the step size of the temperature is 1C, then T ═ 30C, -29C, -28C, …,83C,84C,85C, i.e. a look-up table with a total of 126 rows.
It can be seen that the content df0(T) written in the factory production of the device by this default look-up table is a relative value between the respective temperatures, and not an actual value of the crystal frequency in the device.
In the step 2), in order to obtain an actual value of the frequency offset of the crystal oscillator in one device at a certain temperature, the frequency of the crystal oscillator in each device needs to be measured on a production line of a factory. The crystal oscillator in the device uses an external thermistor to measure the crystal oscillator temperature, or uses an internal thermistor to measure the crystal oscillator temperature (i.e. a thermistor crystal oscillator), the device needs an analog-to-digital converter (ADC) to obtain the value of the temperature, and if a device is measured on a factory production line, the temperature of the crystal oscillator is T1, and the measured crystal oscillator frequency is df1(T1), then the following results are obtained:
df1(T1)=df0(T1)+df_lc;
thus, it is possible to solve:
df_lc=df1(T1)–df0(T1);
the device stores the value df _ lc in non-volatile memory.
Measuring the frequency offset of the crystal in the device at the factory may use one of a number of methods. For example, a single frequency signal with a known frequency may be input to the device, and the frequency of the signal is measured by Fast Fourier Transform (FFT) inside the device, and the measured frequency will have a corresponding offset due to the crystal frequency offset, and the crystal frequency offset may be calculated from the offset. Another method is that a single frequency signal is sent by a device to a receiving device on the factory production line, the receiving device measures the frequency of the signal through FFT, the measured frequency has a corresponding offset due to the crystal frequency offset, and the crystal frequency offset can be calculated from the offset.
In step 3), after the above two steps are completed, when the device is powered on for the first time after leaving the factory, the df _ lc obtained in step 2) and the default lookup table df0(T) stored in step 1) are read from the nonvolatile memory, and the actual frequency offset of the crystal oscillator at each temperature point is calculated:
df(T)=df0(T)+df_lc=df0(T)+df1(T1)–df0(T1);
thus obtaining the initial estimated value of the actual frequency deviation of the crystal oscillator under all temperatures (-30C to 85C), df (T);
the device stores these initial estimates in the non-volatile memory, and the device may choose to replace the corresponding values df0(T) in the look-up table of step 1) with these initial estimates df (T), or store df (T) in a new look-up table in the non-volatile memory.
In the step 4), the df lookup table functions as: in the subsequent use of the device, when the crystal oscillator bias needs to be known (for example, before GNSS signal acquisition or before cellular signal acquisition), the temperature of the crystal oscillator is read, and then an estimated value of the current frequency of the crystal oscillator is obtained in the df lookup table, and the estimated value of the current frequency of the crystal oscillator can help a GNSS module or a cellular system (for example, 4G LTE, NB-IoT, 5G) receiving module to quickly acquire a signal, so that the user experience is greatly improved.
In the step 5), since the frequency of the GNSS signal and the frequency of the downlink signal of the cellular system are known, after the GNSS module or the cellular system receiving module captures the signal, the current frequency of the crystal oscillator is estimated more accurately according to the frequency of the signal.
The specific embodiment is as follows: referring to fig. 1-3, the present application proposes a method of estimating the frequency of a crystal oscillator (XO). The working principle is as follows, as shown in figure 2:
step 1): in factory production, for a crystal oscillator of one model, a default temperature frequency characteristic curve, namely the change curve information of frequency deviation (frequency offset) along with temperature is stored in a nonvolatile memory in an electronic device according to a lookup table format;
step 2): in factory production test, for each device, measuring the frequency deviation of a crystal oscillator at a temperature;
step 3): when the device is used for the first time, updating the frequency offsets at all temperatures in the lookup table according to the measurement result of a factory;
step 4): the device reads the temperature and then uses a look-up table to estimate the crystal frequency offset at any time. The frequency deviation information of the crystal oscillator is used for a functional module (such as a cellular system transceiver module and a GNSS positioning module) in a device to greatly reduce the signal searching range and achieve the same performance as that of the crystal oscillator with temperature compensation;
step 5): during the use process, the device updates the lookup table according to the frequency offset estimation of the crystal oscillator output by the functional module (such as a cellular system transceiver module, a GNSS positioning module) in the device and the read temperature of the crystal oscillator.
The detailed workflow is as follows (fig. 3 illustrates a schematic diagram of a device using a crystal oscillator, which supports both cellular communication systems and GNSS):
step 1): the temperature frequency characteristic curve of the crystal oscillator can be represented as df0(T), wherein T is the temperature of the crystal oscillator. This curve is generally determined by the cutting pattern and cutting angle during the production process. Fig. 1 shows a temperature-frequency characteristic curve in the AT cutting mode. In the same cutting mode, the curve of each crystal oscillator is also different and is generated by the difference of crystals and the cutting angle and other controls of production. For the same model and batch of crystal oscillators, the same temperature-frequency characteristic curve can be used, and the curve is written into a Non-volatile Memory (Non-volatile Memory) in the device production process according to a lookup table (for example, 1C one point). As shown in table 1.
Table 1: default temperature frequency Curve example (i.e., df0 lookup Table)
Figure BDA0003050973310000061
This temperature frequency characteristic curve can be provided by the crystal oscillator supplier or can be obtained by the device manufacturer by averaging the temperature quotients at various temperature points after measuring several crystal oscillators in a laboratory. Due to the frequency of the crystal in the device, it is also related to the load capacitance of the crystal in each device. The actual frequency of the crystal in the device can be considered to be roughly the frequency offset value (df0(T), determined by temperature) in the lookup table plus an offset (df _ lc, determined by load capacitance) that varies from device to device. The actual frequency deviation value of the crystal oscillator frequency can be expressed by the following formula:
df(T)=df0(T)+df_lc;
if the step size of the temperature is 1C, then T ═ 30C, -29C, -28C, …,83C,84C,85C, i.e. a look-up table with a total of 126 rows.
It can be seen that the content df0(T) written in the factory production of the device by this default look-up table is a relative value between the respective temperatures, and not an actual value of the crystal frequency in the device.
Step 2): in order to obtain the actual value of the crystal frequency offset of a device at a certain temperature, the crystal frequency of each device needs to be measured on the production line of a factory. The crystal oscillator in the device can use an external thermistor to measure the crystal oscillator temperature or an internal thermistor to measure the crystal oscillator temperature (i.e. a thermistor crystal oscillator). The device requires an analog-to-digital converter (ADC) to obtain a value of temperature. Assuming that the temperature of the crystal oscillator is T1 when a device is measured on a factory line, the crystal oscillator frequency measured at this time is df1 (T1). Then it can be found that:
df1(T1)=df0(T1)+df_lc;
thus, it is possible to solve:
df_lc=df1(T1)–df0(T1);
the device stores the value df _ lc in non-volatile memory.
Measuring the frequency offset of the crystal in the device at the factory may use one of a number of methods. For example, a single frequency signal with a known frequency may be input to the device, and the frequency of the signal is measured by Fast Fourier Transform (FFT) inside the device, and the measured frequency will have a corresponding offset due to the crystal frequency offset, and the crystal frequency offset may be calculated from the offset. Another method is that a device sends a single-frequency signal to a receiving device on the factory production line, the receiving device measures the frequency of the signal through FFT, the measured frequency has a corresponding offset due to the crystal oscillator frequency offset, and the crystal oscillator frequency offset can be calculated from the offset; step 3): after the above two steps are completed, when the device is powered on for the first time after being taken out of the factory, the df _ lc obtained in step 2) and the default lookup table df0(T) stored in step 1) are read from the nonvolatile memory, and the actual frequency offset of the crystal oscillator at each temperature point is calculated:
df(T)=df0(T)+df_lc=df0(T)+df1(T1)–df0(T1);
thus obtaining the initial estimated value of the actual frequency deviation of the crystal oscillator under all temperatures (-30C to 85C), df (T);
the device stores these initial estimates in non-volatile memory. The device may choose to replace the corresponding value df0(T) in the look-up table of step 1) with these initial estimate values df (T), or store df (T) in a new look-up table in the non-volatile memory. The lookup table storing df (t) is referred to hereinafter as the "df lookup table". For example, the above step calculates df _ lc to be 9ppm, and table 2 is an example of a temperature frequency curve after the device is initialized for the first time when the device is turned on (i.e., a df lookup table);
the frequency (df) in Table 2 is the frequency (df0) in Table 1 plus 9 ppm.
Table 2: an example of a temperature frequency curve (i.e., df look-up table) after a first power-on initialization of the device;
Figure BDA0003050973310000081
step 4): the role of the df lookup table: in the subsequent use of the device, when the crystal oscillator bias needs to be known (for example, before GNSS signal acquisition or before cellular signal acquisition), the temperature of the crystal oscillator is read, and then an estimated value of the current frequency of the crystal oscillator can be obtained in the df lookup table. The current frequency estimation value of the crystal oscillator can help the GNSS module or the cellular system (e.g. 4G LTE, NB-IoT, 5G) receiving module to quickly acquire signals, thereby greatly improving the user experience.
Step 5): since the frequency of the GNSS signal and the frequency of the downlink signal of the cellular system are known, after the GNSS module or the cellular system receiving module captures the signal, the current frequency of the crystal oscillator can be estimated more accurately according to the frequency of the signal. For example. The true frequency offset of the crystal oscillator is expressed as d in ppm. When the cellular system receiver obtains the frequency of the signal after acquiring and/or tracking that is f1 (knowing that the frequency of the signal transmitted from the base station is f), it can estimate that the frequency offset of the crystal oscillator is d1 ═ f1-f)/f × 1e6, which is ppm. In the above example, assuming that the true frequency offset of the crystal oscillator is d-4.3 ppm and f-800 MHz, if the frequency of the captured signal is f1 (800MHz +4kHz), then the estimated frequency offset is (f1-f)/f 1e6 (800MHz +4kHz-800MHz)/800MHz 1e6 is 5ppm.
At this time, the temperature of the crystal oscillator can be read simultaneously, and if the temperature is 7C, the frequency deviation of the crystal oscillator at 7C is 5ppm. The device may update the frequency offset information for the line of df lookup table 7C with 5ppm. As shown in table 3.
Table 3: device temperature frequency curve example (i.e. df look-up table), frequency of temperature 7 ℃ is updated from 2.8ppm to 5 ppm;
table 3: device temperature frequency curve example (i.e., df look-up table);
Figure BDA0003050973310000091
this process will improve the accuracy of the df lookup table. Meanwhile, the problem of long-term change of the crystal oscillator frequency along with time can be solved.
It should be noted that the above-mentioned embodiments are not intended to limit the scope of the present invention, and all equivalent modifications and substitutions based on the above-mentioned technical solutions are within the scope of the present invention as defined in the claims.

Claims (6)

1. A method of estimating crystal oscillator frequency, the method comprising the steps of:
step 1) in factory production, storing a default temperature frequency characteristic curve into a nonvolatile memory for each device;
step 2) in factory production, for each device, measuring the frequency deviation of the crystal oscillator at a temperature, and storing the frequency deviation into a nonvolatile memory;
step 3) updating the frequency offset in the lookup table when the device is used for the first time;
step 4), reading the temperature by the device, and estimating the frequency of the current crystal oscillator by using the updated lookup table;
and 5) operating the functional module, and updating the lookup table according to the output of the functional module.
2. The method for estimating crystal oscillator frequency according to claim 1, wherein in the step 1), a crystal oscillator temperature frequency characteristic curve is represented as df0(T), wherein T is the crystal oscillator temperature, and the curve is determined by the cutting mode and the cutting angle in the production process; for the crystal oscillators with the same model and the same batch, the same temperature frequency characteristic curve is used, and the curve is written into a nonvolatile memory in the device production process according to a lookup table mode; the actual frequency of the crystal in the device is therefore considered to be the frequency offset value (df0(T), determined by temperature) plus an offset (df _ lc, determined by the load capacitance) in this look-up table; the actual frequency deviation value of the crystal oscillator frequency is expressed by the following formula:
df(T)=df0(T)+df_lc;
if the step size of the temperature is 1C, then T ═ 30C, -29C, -28C, …,83C,84C,85C, i.e. a look-up table with a total of 126 rows.
3. The method for estimating the crystal oscillator frequency according to claim 2, wherein in the step 2), the crystal oscillator in the device measures the crystal oscillator temperature by using an external thermistor, or measures the crystal oscillator temperature by using an internal thermistor, i.e. a thermistor crystal oscillator, the device needs an analog-to-digital converter, i.e. ADC, to obtain the value of the temperature, and if a device measures on the factory production line, the crystal oscillator temperature is T1, and the crystal oscillator frequency measured at this time is df1(T1), then the following steps are obtained:
df1(T1)=df0(T1)+df_lc;
thus, the following is solved:
df_lc=df1(T1)–df0(T1);
the device stores the value df _ lc in non-volatile memory.
4. The method according to claim 3, wherein in step 3), after the above two steps are completed, when the device is powered on for the first time after leaving the factory, the device reads df _ lc obtained in step 2) and the default look-up table df0(T) stored in step 1) from the non-volatile memory, and calculates the actual frequency offset of the crystal oscillator at each temperature point:
df(T)=df0(T)+df_lc=df0(T)+df1(T1)–df0(T1);
thus obtaining the initial estimated value of the actual frequency deviation of the crystal oscillator under all temperatures (-30C to 85C), df (T);
the device stores these initial estimates in the non-volatile memory, and the device may choose to replace the corresponding values df0(T) in the look-up table of step 1) with these initial estimates df (T), or store df (T) in a new look-up table in the non-volatile memory.
5. The method for estimating the crystal oscillator frequency according to claim 4, wherein in the step 4), the df lookup table functions as: when the device is used later and crystal oscillator deviation needs to be known, the temperature of the crystal oscillator is read firstly, then an estimated value of the current frequency of the crystal oscillator is obtained in the df lookup table, and the estimated value of the current frequency of the crystal oscillator can help a GNSS module or a cellular system receiving module to quickly capture signals, so that user experience is greatly improved.
6. The method according to claim 5, wherein in the step 5), since the frequency of the GNSS signal and the frequency of the downlink signal of the cellular system are known, the GNSS module or the cellular system receiving module estimates the current frequency of the crystal oscillator more accurately according to the frequency of the signal after acquiring the signal.
CN202110487261.0A 2021-05-05 2021-05-05 Method for estimating crystal oscillator frequency Pending CN113114108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110487261.0A CN113114108A (en) 2021-05-05 2021-05-05 Method for estimating crystal oscillator frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110487261.0A CN113114108A (en) 2021-05-05 2021-05-05 Method for estimating crystal oscillator frequency

Publications (1)

Publication Number Publication Date
CN113114108A true CN113114108A (en) 2021-07-13

Family

ID=76720871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110487261.0A Pending CN113114108A (en) 2021-05-05 2021-05-05 Method for estimating crystal oscillator frequency

Country Status (1)

Country Link
CN (1) CN113114108A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531327A (en) * 2022-01-26 2022-05-24 小唐科技(上海)有限公司 Frequency deviation self-tracking device
CN115173961A (en) * 2022-06-29 2022-10-11 成都爱旗科技有限公司 Frequency offset determination method and device of wifi module and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108663696A (en) * 2018-04-27 2018-10-16 Oppo广东移动通信有限公司 Update method, device, storage medium and the mobile terminal of temperature and frequency deviation relationship
CN110932718A (en) * 2019-11-29 2020-03-27 紫光展讯通信(惠州)有限公司 Method, device and equipment for calibrating clock frequency of crystal oscillator and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108663696A (en) * 2018-04-27 2018-10-16 Oppo广东移动通信有限公司 Update method, device, storage medium and the mobile terminal of temperature and frequency deviation relationship
CN110932718A (en) * 2019-11-29 2020-03-27 紫光展讯通信(惠州)有限公司 Method, device and equipment for calibrating clock frequency of crystal oscillator and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531327A (en) * 2022-01-26 2022-05-24 小唐科技(上海)有限公司 Frequency deviation self-tracking device
CN115173961A (en) * 2022-06-29 2022-10-11 成都爱旗科技有限公司 Frequency offset determination method and device of wifi module and storage medium

Similar Documents

Publication Publication Date Title
JP4118142B2 (en) Reference oscillator with automatic aging and temperature compensation
US8223070B2 (en) High accuracy satellite receiving controller and associated method
US8077086B2 (en) Methods and apparatus for obtaining GNSS time in a GNSS receiver
US7925463B2 (en) Method and system for compensating temperature readings from a temperature sensing crystal integrated circuit
US7800457B2 (en) Self-calibrating temperature-compensated oscillator
US8693969B2 (en) Temperature compensation in a telecommunications device
US8742863B1 (en) Temperature-corrected frequency control with crystal oscillators for initial frequency acquisition
CN113114108A (en) Method for estimating crystal oscillator frequency
JP2006501480A (en) Self-adjustment of GPS receiver frequency offset
EP2370830B1 (en) Methods and apparatus for obtaining gnss time in a gnss receiver
US9838023B2 (en) Slow-clock calibration method and unit, clock circuit, and mobile communication terminal
US9322921B2 (en) Communications device with oscillator calibration and related methods
US8909164B2 (en) Frequency offset correction
WO2018080750A1 (en) Self-correction techniques for crystal oscillator
CN101488751B (en) Measurement system and method for temperature frequency correcting apparatus
CN101488752B (en) Temperature frequency correcting apparatus
CN101388646B (en) Successive approximation temperature and frequency correcting method and device
CN112083226A (en) Frequency calibration method and device for electronic equipment, medium and electronic equipment
CN110336557B (en) Frequency compensation method, terminal and storage medium
CN110830033B (en) Clock frequency compensation method and system for GNSS system, storage medium and terminal
JP2017153024A (en) Reference frequency generation device
US8912956B2 (en) Cooperative calibration of platform shared voltage controlled oscillator
CN201436786U (en) Testing system of temperature frequency correction device
CN115002892A (en) Method, terminal and medium for reducing influence of temperature drift of crystal oscillator of narrow-band system
JP2014220730A (en) Oscillator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination