Receiver crystal oscillator frequency offset adjusting method and receiver thereof
By acquiring and processing the working data of the receiver, calculating and adjusting the crystal oscillator frequency deviation, the problem of the crystal oscillator frequency deviation adjustment in the prior art cannot adapt to the harsh environment, and the positioning accuracy and stability of the GNSS receiver are improved.
Patent Information
- Application Number
- CN202411221560.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-03
AI Technical Summary
The existing crystal oscillator frequency deviation adjustment scheme cannot adjust the crystal oscillator frequency deviation dynamically and adaptively in real time under harsh environments, resulting in the GNSS receiver being unable to position or the positioning results being largely biased.
By obtaining the working data of the receiver, calculating the clock speed and filtering, comparing the filtered clock speed with the set threshold, and adjusting the crystal oscillator frequency deviation if it exceeds the threshold. The specific steps include calculating the frequency error value and voltage adjustment amount, using DAC The chip performs frequency offset adjustment.
Real-time dynamic adaptive adjustment of crystal oscillator frequency deviation in high and low temperature environments is achieved, reducing the impact of frequency deviation on receiver signal locking, and improving the reliability, stability and positioning continuity of the receiver.
Smart Images

Figure CN119064954A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of navigation signal processing, and in particular relates to a receiver crystal oscillator frequency deviation adjustment method and a receiver thereof. Background Art
[0002] The crystal oscillator is one of the core components of the control chip and its control circuit, and it is responsible for providing the basic clock signal for the circuit. Therefore, the stable and reliable operation of the crystal oscillator becomes one of the most core and important tasks of the control chip, control circuit and even control equipment.
[0003] However, in actual circuits, crystal oscillators are easily affected by the external environment, and temperature is one of the main factors that have a greater impact on crystal oscillators. As the ambient temperature of the crystal oscillator changes, the output characteristics of the crystal oscillator will also change. Under today's increasingly precise control accuracy requirements, these changes in the crystal oscillator output characteristics will have a great impact on the control accuracy.
[0004] GNSS receivers have been widely used in people's production and life, bringing endless convenience to people's production and life. However, GNSS receivers have very strict requirements on crystal oscillators. Therefore, in view of the problem that the output characteristics of crystal oscillators are affected by temperature, GNSS receivers also need to adopt corresponding measures.
[0005] At present, for adjusting and correcting the frequency of the voltage-controlled crystal oscillator (VCO), the GNSS receiver generally adopts the following schemes: Scheme 1: Using a resistor voltage divider to control the voltage of the crystal oscillator, thereby achieving frequency deviation control; using a resistor voltage divider at room temperature, the frequency deviation of the crystal oscillator can be well stabilized in a fixed value range; but with the influence of the crystal oscillator aging rate and temperature, the frequency deviation of the crystal oscillator will change, and this change is unpredictable; and the deterioration of the crystal oscillator frequency deviation will cause the GNSS signal to fail to lock, and then cause the GNSS receiver to be unable to locate or the positioning result to have a large deviation. Scheme 2: Using a digital-to-analog conversion chip to replace the resistor voltage divider, and controlling the voltage output of the digital-to-analog conversion chip through software to achieve effective control of the frequency deviation; however, because the stability of the crystal oscillator itself and the stability of the output voltage of the digital-to-analog chip cannot be predicted in advance, this method can no longer effectively control the frequency deviation of the crystal oscillator in an environment with temperature changes. Therefore, the two commonly used crystal oscillator frequency deviation adjustment schemes cannot dynamically and adaptively adjust the frequency deviation of the crystal oscillator in real time under harsh environments. Summary of the invention
[0006] One of the purposes of the present invention is to provide a method for adjusting the frequency deviation of a receiver crystal oscillator with high reliability, good practicability and high accuracy.
[0007] A second object of the present invention is to provide a receiver including the receiver crystal oscillator frequency deviation adjustment method.
[0008] The receiver crystal oscillator frequency deviation adjustment method provided by the present invention comprises the following steps:
[0009] S1. Get the working data information of the receiver;
[0010] S2. Calculate the receiver clock speed based on the working data information obtained in step S1;
[0011] S3. Filter the receiver clock rate obtained in step S2 to obtain the filtered clock rate;
[0012] S4. Compare the filtered clock speed obtained in step S3 with the set threshold:
[0013] If the filtered clock speed obtained in step S3 exceeds the set threshold, the crystal oscillator frequency deviation is adjusted in subsequent steps;
[0014] If the filtered clock speed obtained in step S3 does not exceed the set threshold, it indicates that the crystal oscillator frequency deviation does not need to be adjusted, and the algorithm ends;
[0015] S5. The clock speed obtained in step S4 is converted to obtain the frequency error value of the crystal oscillator;
[0016] S6. According to the relationship between the crystal oscillator control voltage and frequency, the frequency error value of the crystal oscillator obtained in step S5 is converted to obtain the voltage adjustment amount;
[0017] S7. Adjust the frequency deviation of the crystal oscillator according to the voltage adjustment amount obtained in step S6.
[0018] Step S3 filters the receiver clock speed obtained in step S2 to obtain the filtered clock speed. Specifically, based on the clock speed result of the previous filtering and the receiver clock speed obtained in step S2, the receiver clock speed is filtered with the filtering coefficient as the weight to obtain the filtered clock speed.
[0019] The clock rate of the receiver obtained in step S2 is filtered to obtain the filtered clock rate. Specifically, the filtered clock rate is calculated using the following formula:
[0020]
[0021] Where β is the filter coefficient, which is an empirical value; δ v is the receiver clock rate; The clock rate of the last filter.
[0022] The step S5 converts the clock speed obtained in step S3 to obtain the frequency error value of the crystal oscillator, specifically, the frequency error value Δf0 of the crystal oscillator is calculated using the following formula:
[0023]
[0024] In the formula is the clock speed after filtering; E δr It is the conversion factor of RF frequency deviation into crystal frequency deviation and is an empirical value.
[0025] In step S6, the frequency error value of the crystal oscillator obtained in step S5 is converted into a voltage adjustment value according to the relationship between the crystal oscillator control voltage and the frequency. Specifically, the voltage adjustment value ΔU is calculated using the following formula:
[0026]
[0027] Where Δf0 is the frequency error value of the crystal oscillator; This is the conversion factor for converting frequency value into voltage value.
[0028] The conversion coefficient for converting the frequency value into the voltage value is determined according to the relationship between the voltage and frequency of the voltage-controlled crystal oscillator.
[0029] The present invention also provides a receiver, which includes the above receiver crystal oscillator frequency deviation adjustment method and uses the above method to adjust the crystal oscillator frequency deviation.
[0030] The receiver crystal oscillator frequency deviation adjustment method and the receiver provided by the present invention can dynamically and adaptively adjust the frequency deviation of the crystal oscillator caused by environmental factors such as high and low temperatures in real time, thereby greatly reducing the influence of the crystal oscillator frequency deviation on the signal locking of the receiver, improving the reliability, stability and positioning continuity of the receiver, and the method of the present invention has high reliability, good practicality and high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The figure is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0032] like Figure 1 The method flow chart of the method of the present invention is shown as follows: The crystal oscillator frequency deviation adjustment method for a receiver provided by the present invention comprises the following steps:
[0033] S1. Obtaining the working data information of the receiver; the method of the present invention is applicable to a voltage-controlled crystal oscillator, and the voltage-controlled crystal oscillator is used as a clock source of the GNSS receiver; in addition, the DAC chip is required to be a high-resolution chip;
[0034] According to the GNSS observation equation, the pseudorange measurement value contains errors such as satellite clock error, receiver clock error, ionosphere, troposphere, etc., and the satellite clock error and ionosphere and troposphere errors can be corrected through ephemeris information and models. The receiver clock error, clock speed and position information need to be calculated by the least squares method; the receiver clock error is the common error of each satellite pseudorange measurement value, which includes the frequency deviation error of the crystal oscillator; the receiver clock speed is the common error of the Doppler frequency shift measurement value of each satellite reflecting the GNSS constant speed, and its receiver clock speed is also the frequency deviation of the receiver crystal oscillator, where the frequency deviation includes the fixed frequency deviation of the crystal oscillator and the jitter frequency deviation of the crystal oscillator; when the crystal oscillator works in a high and low temperature environment, its frequency deviation changes slowly. According to the characteristics of the crystal oscillator, a method can be used to obtain the frequency deviation value of the crystal oscillator, and the adjustment amount of the DAC voltage can be obtained through the frequency deviation value of the crystal oscillator;
[0035] S2. Calculate the receiver clock speed based on the working data information obtained in step S1;
[0036] S3. Filtering the clock speed of the receiver obtained in step S2 to obtain a filtered clock speed; specifically, filtering the clock speed of the receiver based on the clock speed result of the previous filtering and the clock speed of the receiver obtained in step S2, using the filtering coefficient as a weight, to obtain a filtered clock speed;
[0037] In specific implementation, the clock speed after filtering is calculated using the following formula:
[0038]
[0039] Where β is the filter coefficient, which is an empirical value; δ v is the receiver clock rate; is the clock rate of the last filtering;
[0040] S4. Compare the filtered clock speed obtained in step S3 with the set threshold and adjust it; specifically comprising the following steps:
[0041] If the filtered clock speed obtained in step S3 exceeds the set threshold, the crystal oscillator frequency deviation is adjusted in subsequent steps;
[0042] If the filtered clock speed obtained in step S3 does not exceed the set threshold, it indicates that the crystal oscillator frequency deviation does not need to be adjusted, and the algorithm ends;
[0043] S5. The clock speed obtained in step S3 is converted to obtain the frequency error value of the crystal oscillator;
[0044] The clock speed is calculated from the signal Doppler frequency; the Doppler frequency includes the signal Doppler frequency and the Doppler frequency generated by the frequency deviation of the crystal oscillator relative to the nominal frequency; the offset of the actual signal frequency relative to the nominal frequency is calculated through the relationship between the Doppler frequency and the clock speed, and the offset is the frequency error value Δf0 that needs to be adjusted; therefore, in specific implementation, the frequency error value Δf0 of the crystal oscillator is calculated using the following formula:
[0045]
[0046] In the formula is the clock speed after filtering; E δr is the conversion factor of converting the RF frequency deviation into the crystal oscillator frequency deviation, which is an empirical value; in specific implementation, the conversion factor of converting the RF frequency deviation into the crystal oscillator frequency deviation can be obtained by actual experiments;
[0047] S6. According to the relationship between the crystal oscillator control voltage and frequency, the frequency error value of the crystal oscillator obtained in step S5 is converted into a voltage adjustment amount; specifically, the voltage adjustment amount ΔU is calculated using the following formula:
[0048]
[0049] Where Δf0 is the frequency error value of the crystal oscillator; is the conversion factor of converting the frequency value into the voltage value, and is determined according to the relationship between the voltage and frequency of the voltage-controlled crystal oscillator; in specific implementation, the conversion factor of converting the frequency value into the voltage value can be obtained by actual experiments;
[0050] S7. Adjust the frequency deviation of the crystal oscillator according to the voltage adjustment amount obtained in step S6.
[0051] In addition, when the method of the present invention is implemented, the receiver performs positioning calculation every second at a frequency of 1 Hz, and the clock speed δ is obtained by least squares calculation. v , the filtered clock speed and the set threshold Δδ v For comparison, If it is within the reasonable range, the voltage adjustment amount of the DAC is obtained by the method of the present invention, and the frequency of the crystal oscillator is adjusted until it enters the reasonable range, thereby achieving real-time dynamic adjustment of the crystal oscillator frequency. The voltage value adjustment step of the DAC chip needs to consider the loop bandwidth design to avoid the loop being unlocked during the adjustment process, resulting in discontinuous positioning.
[0052] The method of the present invention is further described below through an embodiment: Table 1 shows the specific values of the influence of temperature on the crystal oscillator, and the frequency adjusted by the method of the present invention; wherein the crystal oscillator has a nominal frequency of 10M.
[0053] Table 1 The influence of temperature on crystal oscillator and the data after adjustment
[0054]
[0055] It can be seen from the data in Table 1 that the method of the present invention can better compensate and adjust the frequency of the crystal oscillator.
Claims
1. A method for adjusting the frequency deviation of a receiver crystal oscillator, comprising the following steps: S1. Get the working data information of the receiver; S2. Calculate the receiver clock speed based on the working data information obtained in step S1; S3. Filter the receiver clock rate obtained in step S2 to obtain the filtered clock rate; S4. Compare the filtered clock speed obtained in step S3 with the set threshold: If the filtered clock speed obtained in step S3 exceeds the set threshold, the crystal oscillator frequency deviation is adjusted in subsequent steps; If the filtered clock speed obtained in step S3 does not exceed the set threshold, it indicates that the crystal oscillator frequency deviation does not need to be adjusted, and the algorithm ends; S5. The clock speed obtained in step S3 is converted to obtain the frequency error value of the crystal oscillator; S6. According to the relationship between the crystal oscillator control voltage and frequency, the frequency error value of the crystal oscillator obtained in step S5 is converted to obtain the voltage adjustment amount; S7. Adjust the frequency deviation of the crystal oscillator according to the voltage adjustment amount obtained in step S6.
2. The receiver crystal oscillator frequency deviation adjustment method according to claim 1, characterized in that Step S3 filters the receiver clock speed obtained in step S2 to obtain the filtered clock speed. Specifically, based on the clock speed result of the previous filtering and the receiver clock speed obtained in step S2, the receiver clock speed is filtered with the filtering coefficient as the weight to obtain the filtered clock speed.
3. The receiver crystal oscillator frequency deviation adjustment method according to claim 2, characterized in that The clock rate of the receiver obtained in step S2 is filtered to obtain the filtered clock rate. Specifically, the filtered clock rate is calculated using the following formula: Where β is the filter coefficient, which is an empirical value; δ v is the receiver clock rate; The clock rate of the last filter.
4. The receiver crystal oscillator frequency deviation adjustment method according to claim 3, characterized in that The step S5 converts the clock speed obtained in step S3 to obtain the frequency error value of the crystal oscillator, specifically, the frequency error value Δf0 of the crystal oscillator is calculated using the following formula: In the formula is the clock speed after filtering; E δr It is the conversion factor of RF frequency deviation into crystal frequency deviation and is an empirical value.
5. The receiver crystal oscillator frequency deviation adjustment method according to claim 4, characterized in that In step S6, the frequency error value of the crystal oscillator obtained in step S5 is converted into a voltage adjustment value according to the relationship between the crystal oscillator control voltage and the frequency. Specifically, the voltage adjustment value ΔU is calculated using the following formula: Where Δf0 is the frequency error value of the crystal oscillator; This is the conversion factor for converting frequency value into voltage value.
6. The receiver crystal oscillator frequency deviation adjustment method according to claim 5, characterized in that The conversion coefficient for converting the frequency value into the voltage value is determined according to the relationship between the voltage and frequency of the voltage-controlled crystal oscillator.
7. A receiver, characterized in that The invention comprises the receiver crystal oscillator frequency deviation adjustment method as described in any one of claims 1 to 6.
Citation Information
Cited By
Strr / dtr mode implementation method for flash controller
CN119806278A
Str / dtr mode implementation method for flash controller
CN119806278B
