[go: up one dir, main page]

CN107276581B - Step temperature compensation method of crystal oscillator - Google Patents

Step temperature compensation method of crystal oscillator Download PDF

Info

Publication number
CN107276581B
CN107276581B CN201710348419.XA CN201710348419A CN107276581B CN 107276581 B CN107276581 B CN 107276581B CN 201710348419 A CN201710348419 A CN 201710348419A CN 107276581 B CN107276581 B CN 107276581B
Authority
CN
China
Prior art keywords
compensation
binary code
temperature
voltage
output
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.)
Active
Application number
CN201710348419.XA
Other languages
Chinese (zh)
Other versions
CN107276581A (en
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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201710348419.XA priority Critical patent/CN107276581B/en
Publication of CN107276581A publication Critical patent/CN107276581A/en
Application granted granted Critical
Publication of CN107276581B publication Critical patent/CN107276581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L1/00Stabilisation of generator output against variations of physical values, e.g. power supply
    • H03L1/02Stabilisation of generator output against variations of physical values, e.g. power supply against variations of temperature only

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

本发明公开了一种晶体振荡器的步进温度补偿方法采用闭环反馈补偿构架。首先,确定目标频率f0对应的二进制编码B0i,并存入单片机中;当温度变化是,模频率为f(T)的信号送入模数转换器中转换为对应的二进制编码B1i,并输入到单片机中与目标频率f0的二进制编码B0i进行比对,在单片机中设定阈值范围ΔB,将B0i和B1i进行比对之后,判断比对结果B0i‑B1i是否在阈值范围之内。若B0i‑B1i不在阈值范围内,则以步进二进制编码B2i进行补偿,补偿之后再次送入单片机中与B0i进行比对,如此进行循环补偿,直到比对结果B0i‑B1i在阈值范围内,最终实现温度补偿。本发明与现有温度补偿晶体振荡器相比,不需要温度传感器,因而克服现有TCXO中由于使用温度传感器和晶体谐振器晶片温度变化不同步引起的温度迟滞问题。

Figure 201710348419

The invention discloses a step temperature compensation method of a crystal oscillator, which adopts a closed-loop feedback compensation framework. First, determine the binary code B 0i corresponding to the target frequency f 0 and store it in the microcontroller; when the temperature changes, the signal with the modulo frequency f(T) is sent to the analog-to-digital converter and converted into the corresponding binary code B 1i , And input it into the single-chip microcomputer for comparison with the binary code B 0i of the target frequency f 0 , set the threshold range ΔB in the single-chip microcomputer, and compare the B 0i and B 1i to determine whether the comparison result B 0i -B 1i is in the within the threshold range. If B 0i ‑B 1i is not within the threshold range, it will be compensated by stepping binary code B 2i , and then sent to the microcontroller for comparison with B 0i after compensation, and cyclic compensation will be performed until the comparison result B 0i ‑B 1i Within the threshold range, temperature compensation is finally achieved. Compared with the existing temperature compensation crystal oscillator, the present invention does not need a temperature sensor, thus overcoming the problem of temperature hysteresis caused by using the temperature sensor and the temperature change of the crystal resonator wafer in the existing TCXO.

Figure 201710348419

Description

Step temperature compensation method of crystal oscillator
Technical Field
The invention belongs to the technical field of crystal oscillators, and particularly relates to a stepping temperature compensation method of a crystal oscillator.
Background
A Temperature compensated crystal Oscillator (TCXO) is a crystal Oscillator which can work in a wide Temperature range and keep the output frequency of the crystal Oscillator within a certain precision range (10) by a certain compensation mode-6~10-7Magnitude) of the oscillator. It has low power and can be started upThe system has the characteristics of high stability and the like, and is widely applied to various communication, navigation, radars, satellite positioning systems, mobile communication, program-controlled telephone exchanges and various electronic measuring instruments.
A conventional temperature compensated crystal Oscillator is essentially a Voltage Controlled crystal Oscillator (VCXO) with a temperature compensation network and a temperature dependent compensation Voltage generated therefrom. The key device in the uncompensated voltage-controlled crystal oscillator is an AT-cut quartz crystal, and the temperature characteristic curve of the AT-cut quartz crystal is approximate to a cubic curve which can be expressed as:
f(T)=a3(T-T0)3+a1(T-T0)+a0 (1)
wherein, a3Is a cubic coefficient term, a1Is a first order coefficient term, a0Is at a reference temperature T0The oscillation frequency of the time.
The frequency linear gain characteristic for an existing voltage controlled crystal oscillator can be approximately expressed as follows:
f(VC)=-G(VC-VC0)+f0 (2)
where G is the gain of the voltage controlled crystal oscillator, VCIs the control voltage, V, of a voltage-controlled crystal oscillatorC0Is the initial input voltage of the voltage-controlled end of the voltage-controlled crystal oscillator, f0Is input as VC0The oscillation frequency of the time.
Then, the compensation voltage V is used as the compensation voltage for the temperature characteristic of the crystal oscillatorCThe equation of (T) can be expressed as:
VC(T)=A3(T-T0)3+A1(T-T0)+A0 (3)
at this time, A3=a3/G,A1=a1/G,A0Is at a temperature T0The compensation voltage of time.
In order to realize equation (3), a temperature compensation voltage is generated and applied to the vco for temperature compensation to offset the frequency-temperature characteristic, so as to obtain a stable frequency output in a wide temperature range, thereby achieving the purpose of temperature compensation.
At present, the digital temperature compensation for realizing the temperature compensation crystal oscillator, namely TCXO, mainly comprises the steps of carrying out data acquisition on a temperature sensor by a singlechip and outputting compensation voltage, and mainly comprises two modes at present:
the first is microprocessor-based temperature compensation. FIG. 1 is a block diagram of a temperature compensated crystal oscillator in a microprocessor based temperature compensation mode, which is an open loop temperature compensation architecture. As shown in fig. 1, it includes a temperature sensor and conditioning circuit 101, a microprocessor 102, a compensation network 103, and a voltage controlled crystal oscillator 104. The temperature T is acquired and conditioned by the temperature sensor and conditioning circuit 101, and then is sent to the microprocessor 102 to be looked up in the temperature-compensation voltage table according to the temperature to obtain a compensation voltage value, then the compensation network 103 converts the compensation voltage value into a compensation voltage, and the compensation voltage value is input to the voltage-controlled voltage control end of the voltage-controlled crystal oscillator 104, namely a varactor component therein, and when the compensation voltage changes, the capacitance value of the varactor component changes accordingly, so that the output frequency of the voltage-controlled crystal oscillator is changed to achieve the purpose of controlling the frequency. It can be seen that a compensation voltage related to temperature is directly inputted to the voltage-controlled voltage control terminal of the (to-be-compensated) vcxo 104 for temperature compensation. The temperature-compensation voltmeter is constructed by collecting voltages that need to be compensated for the voltage-controlled crystal oscillator 104 to maintain stable frequency at different temperatures in advance. The detailed description can be found in "Liuhaixia, Yangyu, Weiwei. novel microcomputer compensated crystal oscillator. Instrument and Meter journal.2002 (S3):135 one 136"
The second is mixing-based temperature compensation. Fig. 2 is a structural diagram of a temperature compensated crystal oscillator in a mixing-based temperature compensation mode, which is also an open-loop temperature compensation architecture. As shown in fig. 2, the temperature compensated crystal oscillator generates a compensated frequency signal with the same sign and opposite sign as the absolute value of the offset frequency generated by the crystal oscillator 204 to be compensated through the temperature sensor 201 and the compensation frequency generating circuit 202, the signal after the compensation frequency signal is adjusted by the wave adjusting circuit 203 and the uncompensated frequency signal output by the crystal oscillator 204 are mixed in the mixer 205 and output, and the compensated frequency signal is obtained through another filter 205, so as to achieve the purpose of temperature compensation. The compensation frequency signal generating circuit mainly comprises a temperature sensor, an ADC, a singlechip and a DAC. For a detailed description, see the chinese patent invention with publication number CN 100471035B, issued on the 18 th day on 03 th 2009: the invention discloses a temperature compensation method of a quartz crystal oscillator, which is characterized in that the invention is a quartz crystal oscillator with yellow nucleus, Ribes, Renwei and Tan-Feng, application number/authorization number: CN 200410022680.3'. This method is advantageous in terms of phase noise characteristics when realizing a TCXO that is a high-frequency temperature compensated crystal oscillator, but is relatively complicated in structure and has not been widely used at present.
In summary, in the conventional temperature compensation method for a crystal oscillator, an open-loop compensation framework is adopted, and a temperature sensor is used, the temperature sensor is located as close to the crystal resonator as possible on a circuit, and a resonant wafer of the crystal resonator is separately packaged in a closed space, so that temperature hysteresis is inevitably generated between the temperature sensor and the resonant wafer, and the frequency-temperature characteristic of the temperature compensated crystal oscillator, i.e., TCXO, is not broken through. Especially for the crystal oscillator with high frequency output signal, the temperature lag problem is more serious and the compensation precision is limited.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a stepping temperature compensation method for a crystal oscillator, so as to avoid the problem of output frequency error caused by the temperature hysteresis effect caused by a temperature sensor, namely the inconsistency between the acquisition temperature of the sensor and the real-time temperature of a resonant wafer.
In order to achieve the above object, the step temperature compensation method of the crystal oscillator of the present invention is characterized by comprising the following steps:
(1) determining a target frequency f0Corresponding binary code B0i
At normal temperature T0For example, at 25 deg.C, the control voltage of the voltage-controlled crystal oscillator, i.e. VCXO voltage-controlled terminal, is adjusted
Figure BDA0001297021080000031
Make it output the target frequency f0Then converted into the corresponding binary code B by an analog-to-digital converter0iInput into a singlechip and carry out binary coding B0iStoring for comparison and operation;
(2) determining the binary code corresponding to the frequency deviation delta f (T) at the current moment
The output frequency of a voltage controlled crystal oscillator, VCXO, is f (t) ═ f due to temperature variations0+ -. DELTA.f (T), where the frequency f (T) is the uncompensated real-time output frequency that needs to be compensated, f0Is the target frequency for which the vco output is desired, and Δ f (t) is the frequency offset due to temperature change, which is a function that changes with temperature, and if the output frequency increases, f (t) ═ f0+ Δ f (t), if the output frequency decreases, f (t) f0A frequency signal f (T) output by the voltage controlled crystal oscillator (VCXO) in real time is sent to the analog-to-digital converter to be converted into a corresponding binary code B1iIs sent into a singlechip to be mixed with B0iComparing and calculating, and initializing step number n as 0
(3) Judging the comparison result B0i-B1iWhether or not within the threshold range Δ B
Setting a threshold range delta B in a singlechip, and coding a binary code B0iAnd binary coding B1iAfter the comparison, the comparison result B is judged0i-B1iIf the current value is not within the threshold range delta B, if not, n is equal to n +1, and the step (4) is carried out; if so, outputting the binary code corresponding to the current f (T), namely f (T) f0The temperature compensation of the voltage-controlled crystal oscillator (VCXO) is realized;
(4) step-by-step output of the compensation voltage
When B is present0i-B1iIf the voltage value is larger than the threshold value range, outputting the binary code B corresponding to the compensation voltage valuev=B0i+n×B2i(ii) a When B is present0i-B1iIf the value is smaller than the threshold value range, outputting the binary code corresponding to the compensation voltage valueBv=B0i-n×B2iWherein B is2iStep binary coding;
binary code B of compensation voltage output by single chip microcomputer0i+n×B2iOr B0i-n×B2iConverted into a compensation voltage by a digital-to-analog converter
Figure BDA0001297021080000041
Or
Figure BDA0001297021080000042
And outputting the voltage-controlled crystal oscillator (VCXO) voltage-controlled end after being conditioned by the signal conditioning circuit, and then returning to the step (3), wherein delta V (T) is the compensation voltage variation.
The object of the invention is thus achieved.
The step temperature compensation method of the crystal oscillator adopts a closed loop feedback compensation framework. First, a target frequency f is determined0Corresponding binary code B0iAnd storing the data into a singlechip; secondly, when the temperature changes, the frequency signal f (T) is sent into the analog-to-digital converter to be converted into the corresponding binary code B1iThen sent to a singlechip to be neutralized with a target frequency f0Binary coding of B0iComparing, and judging a comparison result B according to a threshold value range delta B set in the singlechip0i-B1iWhether within a threshold range. If B is0i-B1iIf not, B is encoded in step binary2iCompensating, sending into the singlechip again after compensation and B0iPerforming comparison, and performing cyclic compensation until the comparison result B0i-B1iWithin the threshold value range, temperature compensation is finally achieved.
Compared with the existing temperature compensation crystal oscillator, the crystal oscillator has the following technical advantages:
1) the frequency change information of the VCXO to be compensated is directly obtained through the analog-to-digital converter and the single chip microcomputer in real time without a temperature sensor, and the target frequency is approached in a binary coding mode corresponding to the minimum stepping compensation voltage. The method can overcome the problem of temperature hysteresis caused by asynchronous temperature change of the wafer using the temperature sensor and the crystal resonator in the existing TCXO;
2) the invention adopts a closed-loop compensation framework, so that real-time high-precision compensation is easier to realize;
3) the compensation process is simple, the data of frequency temperature and compensation voltage do not need to be collected firstly like the traditional temperature compensation crystal oscillator of the principle, but binary codes corresponding to information needing to be compensated are directly converted into the compensation voltage, the structure of the invention is simpler, and the invention is easy to integrate and produce in batches;
4) the invention can be well suitable for crystal oscillators with various frequencies, and particularly has better compensation effect for the high-frequency crystal oscillator with poorer compensation effect in the prior art.
Drawings
FIG. 1 is a block diagram of a conventional temperature compensated crystal oscillator based on microprocessor temperature compensation;
FIG. 2 is a diagram of a conventional temperature compensated crystal oscillator based on mixing;
FIG. 3 is a flow chart of an embodiment of a digital temperature compensation method for a crystal oscillator according to the present invention;
FIG. 4 is a functional block diagram of a hardware, temperature compensated crystal oscillator, constructed in accordance with the method of the present invention;
fig. 5 is a flowchart of the operation of the temperature compensated crystal oscillator shown in fig. 4.
Detailed Description
The following description of the embodiments of the present invention is provided in order to better understand the present invention for those skilled in the art with reference to the accompanying drawings. It is to be expressly noted that in the following description, a detailed description of known functions and designs will be omitted when it may obscure the subject matter of the present invention.
FIG. 3 is a flowchart of an embodiment of a step temperature compensation method for a crystal oscillator according to the present invention.
In this embodiment, as shown in fig. 3, the step temperature compensation method of the crystal oscillator of the present invention includes the following steps:
step S1: determining a target frequency f0Corresponding binary code B0i
At normal temperature T0For example, at 25 deg.C, the control voltage of the voltage-controlled crystal oscillator, i.e. VCXO voltage-controlled terminal, is adjusted
Figure BDA0001297021080000051
Make it output the target frequency f0Then converted into corresponding binary codes B by an analog-to-digital converter0iAnd the target frequency f is set0Binary coding of B0iStoring for comparison and operation;
step S2: determining the corresponding binary code when the frequency deviation delta f (T) of the current time
The output frequency of a voltage controlled crystal oscillator, VCXO, is f (t) ═ f due to temperature variations0+ -. DELTA.f (T), where the frequency f (T) is the uncompensated real-time output frequency that needs to be compensated, f0Is the target frequency for which the vco output is desired, and Δ f (t) is the frequency offset due to temperature change, which is a function that changes with temperature, and if the output frequency increases, f (t) ═ f0+ Δ f (t), if the output frequency decreases, f (t) f0A frequency signal f (T) output by the voltage controlled crystal oscillator (VCXO) in real time is sent to the analog-to-digital converter to be converted into a corresponding binary code B1iThen input into a singlechip to be mixed with B0iAnd (5) carrying out comparison and calculation, and initializing the step number n to be 0.
Step S3: judging the comparison result B0i-B1iWhether or not within the threshold range Δ B
Setting a threshold range delta B in a singlechip, and coding a binary code B0iAnd binary coding B1iAfter the comparison, the comparison result B is judged0i-B1iIf the current value is not within the threshold range delta B, if not, n is equal to n +1, and the step (4) is carried out; if so, outputting the binary code corresponding to the current f (T), namely f (T) f0The temperature compensation of the voltage-controlled crystal oscillator (VCXO) is realized;
step S4: step output compensation voltage
When B is present0i-B1iIf the voltage value is larger than the threshold value range, outputting the binary code B corresponding to the compensation voltage valuev=B0i+n×B2i(ii) a When B is present0i-B1iIf the voltage value is smaller than the threshold value range, outputting the binary code B corresponding to the compensation voltage valuev=B0i-n×B2iWherein B is2iStep binary coding;
binary code B of compensation voltage output by single chip microcomputer0i+n×B2iOr B0i-n×B2iConverted into a compensation voltage by a digital-to-analog converter
Figure BDA0001297021080000061
Or
Figure BDA0001297021080000062
And outputting the voltage-controlled crystal oscillator (VCXO) to a voltage control end of the VCXO after being conditioned by the signal conditioning circuit, and then returning to the step (3), wherein delta V (T) is the compensation voltage variation.
In this embodiment, a schematic block diagram of a hardware, i.e., a temperature compensated crystal oscillator, constructed according to the method of the present invention is shown in fig. 4, which includes: a voltage controlled crystal oscillator (VCXO 301), a power divider 302, an analog-to-digital converter 303, a single chip microcomputer 304, a digital-to-analog converter 305 and a signal conditioning circuit 306. The voltage controlled crystal oscillator, VCXO 301, is mainly composed of a quartz resonator, a varactor and an oscillation circuit, and its operating principle is to change the capacitance of the varactor by controlling the voltage, thereby "pulling" the frequency of the quartz resonator to achieve the purpose of frequency adjustment. The power divider 302 divides the output frequency signal of the VCXO 301 into two paths, one of which is normally output, and the other of which is input to the analog-to-digital converter 303; the analog-to-digital converter 303 converts the output frequency signal of the VCXO 301, which is a voltage controlled crystal oscillator, into a corresponding binary code. The single chip microcomputer 304 performs binary code storage, frequency comparison and calculation to obtain a binary code B of the compensation voltage0i+n×B2iOr B0i-n×B2iNumber ofThe analog-to-digital converter 305 encodes B a binary of the compensation voltage0i+n×B2iOr B0i-n×B2iConversion to compensation voltage
Figure BDA0001297021080000063
Or
Figure BDA0001297021080000064
And the output is regulated by the signal conditioning circuit 306 to the voltage control end of the voltage controlled crystal oscillator, namely VCXO 301, so that the temperature compensation of the voltage controlled crystal oscillator, namely VCXO is realized.
Fig. 5 is a flowchart of the operation of the temperature compensated crystal oscillator shown in fig. 4. In this embodiment, it comprises the following steps:
the first step is as follows: input control voltage for VCXO at normal temp
Figure BDA0001297021080000065
Make it output the target frequency f0Converting the binary code into corresponding binary code through an analog-to-digital converter, inputting the binary code into a singlechip, and converting f into binary code0Binary coding of B0iStoring for comparison and operation;
the second step is that: the output signal f (T) of VCXO is inputted into the single-chip processor through A/D converter, and f0Corresponding binary code B1iCalculating, and judging whether the result is in the threshold voltage range, when B is0i-B1iIf the voltage value is larger than the threshold value range, outputting the binary code B corresponding to the compensation voltage value0i+n×B2i(ii) a When B is present0i-B1iIf the voltage value is smaller than the threshold value range, outputting the binary code B corresponding to the compensation voltage value0i-n×B2i. On the contrary, when the comparison result B is obtained0i-B1iWithin the threshold value range, the current binary code B corresponding to f (T) is output1i. The programs of the processes are stored in the single chip microcomputer;
the third step: binary code B of compensation voltage output by single chip microcomputer0i±n×B2iConverted into a compensation voltage by a digital-to-analog converter
Figure BDA0001297021080000071
The fourth step: voltage signal output by D/A converter
Figure BDA0001297021080000072
The signal is processed by a signal conditioning circuit and output to a voltage control end of the VCXO, and finally f (T) is equal to f0Temperature compensation of the VCXO is achieved.
According to the above description, the essence of the present invention is that the frequency change information of the VCXO to be compensated is directly passed through the analog-to-digital converter and the single chip to obtain the binary code of the compensation information, the target frequency is approached in the manner of the binary code corresponding to the minimum step compensation voltage, the frequency comparison is performed cyclically, and the compensated voltage controlled crystal oscillator outputs the target frequency signal f equal to the target frequency signal f expected to be obtained0Thereby achieving the purpose of temperature compensation.
Although illustrative embodiments of the present invention have been described above to facilitate the understanding of the present invention by those skilled in the art, it should be understood that the present invention is not limited to the scope of the embodiments, and various changes may be made apparent to those skilled in the art as long as they are within the spirit and scope of the present invention as defined and defined by the appended claims, and all matters of the invention which utilize the inventive concepts are protected.

Claims (1)

1.一种晶体振荡器的步进温度补偿方法,其特征在于,包括以下步骤:1. a step temperature compensation method of a crystal oscillator, is characterized in that, comprises the following steps: (1)、确定目标频率f0对应的二进制编码B0i (1), determine the binary code B 0i corresponding to the target frequency f 0 在常温T0,调整压控晶体振荡器即VCXO压控端的控制电压
Figure FDA0002767532760000011
使其输出目标频率f0的信号,然后经过模数转换器转换为对应的二进制编码B0i,输入到单片机中,并将二进制编码B0i保存,以便进行比对和运算;
At normal temperature T 0 , adjust the control voltage of the voltage-controlled crystal oscillator, that is, the voltage-controlled terminal of the VCXO
Figure FDA0002767532760000011
Make it output the signal of the target frequency f 0 , and then convert it into the corresponding binary code B 0i through the analog-to-digital converter, input it into the single-chip microcomputer, and save the binary code B 0i for comparison and operation;
(2)、确定当前时刻频率偏移Δf(T)时对应的二进制编码(2) Determine the binary code corresponding to the frequency offset Δf(T) at the current moment 由于温度的变化,压控晶体振荡器即VCXO的输出频率为f(T)=f0±Δf(T),其中,频率f(T)是未补偿而需要补偿的实时输出频率,f0是期望压控晶体振荡器输出的目标频率,Δf(T)是由温度变化引起的频率偏移,它是一个函数,随温度的变化而变化,如果输出频率升高,则f(T)=f0+Δf(T),如果输出频率降低,则f(T)=f0-Δf(T),将压控晶体振荡器即VCXO实时输出的频率为f(T)的信号送入模数转换器中转换为对应的二进制编码B1i,输入到单片机中,送入单片机中与B0i进行比对和计算,初始化步进次数n=0;Due to changes in temperature, the output frequency of the VCXO is f(T)=f 0 ±Δf(T), where f(T) is the real-time output frequency that is not compensated but needs to be compensated, and f 0 is The target frequency of the desired VCO output, Δf(T) is the frequency offset caused by temperature changes, it is a function that changes with temperature changes, if the output frequency increases, then f(T) = f 0 +Δf(T), if the output frequency is reduced, then f(T)=f 0 -Δf(T), send the signal with frequency f(T) output by the VCXO in real time into the analog-to-digital conversion It is converted into the corresponding binary code B 1i in the device, input into the single-chip microcomputer, sent to the single-chip microcomputer for comparison and calculation with B 0i , and the initialization step times n=0; (3)、判断比对结果B0i-B1i是否在阈值范围ΔB内(3), determine whether the comparison result B 0i -B 1i is within the threshold range ΔB 在单片机中设定阈值范围ΔB,将保存的二进制编码B0i和二进制编码B1i进行比对之后,判断比对结果B0i-B1i是否在阈值范围ΔB内,如果不在,则n=n+1,转到步骤(4),如果在,则结束补偿,f(T)=f0时,实现了压控晶体振荡器即VCXO的温度补偿;Set the threshold range ΔB in the microcontroller, and compare the stored binary code B 0i with the binary code B 1i to determine whether the comparison result B 0i -B 1i is within the threshold range ΔB, if not, then n=n+ 1. Go to step (4), if yes, end the compensation, when f(T)=f 0 , the temperature compensation of the voltage-controlled crystal oscillator, that is, the VCXO, is realized; (4)、步进输出补偿电压(4), step output compensation voltage 当B0i-B1i大于阈值范围,则输出补偿电压值对应的二进制编码Bv=B0i+n×B2i;当B0i-B1i小于阈值范围,则输出补偿电压值对应的二进制编码Bv=B0i-n×B2i,其中,B2i为步进二进制编码;When B 0i -B 1i is larger than the threshold range, the binary code B v corresponding to the compensation voltage value is output =B 0i +n×B 2i ; when B 0i -B 1i is smaller than the threshold range, the binary code B corresponding to the compensation voltage value is output v =B 0i -n×B 2i , where B 2i is a stepped binary code; 单片机输出补偿电压的二进制编码B0i+n×B2i或B0i-n×B2i,经过数模转换器转换为补偿电压
Figure FDA0002767532760000012
Figure FDA0002767532760000013
并经过信号调理电路调理后输出至压控晶体振荡器即VCXO压控端,然后返回步骤(3),其中,ΔV(T)是补偿电压增加值。
The binary code B 0i +n×B 2i or B 0i -n×B 2i of the output compensation voltage of the single-chip microcomputer is converted into the compensation voltage by the digital-to-analog converter
Figure FDA0002767532760000012
or
Figure FDA0002767532760000013
After being conditioned by the signal conditioning circuit, it is output to the voltage-controlled crystal oscillator, that is, the voltage-controlled end of the VCXO, and then returns to step (3), where ΔV(T) is the compensation voltage increase value.
CN201710348419.XA 2017-05-17 2017-05-17 Step temperature compensation method of crystal oscillator Active CN107276581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710348419.XA CN107276581B (en) 2017-05-17 2017-05-17 Step temperature compensation method of crystal oscillator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710348419.XA CN107276581B (en) 2017-05-17 2017-05-17 Step temperature compensation method of crystal oscillator

Publications (2)

Publication Number Publication Date
CN107276581A CN107276581A (en) 2017-10-20
CN107276581B true CN107276581B (en) 2021-01-26

Family

ID=60064469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710348419.XA Active CN107276581B (en) 2017-05-17 2017-05-17 Step temperature compensation method of crystal oscillator

Country Status (1)

Country Link
CN (1) CN107276581B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010089B (en) * 2019-11-29 2022-09-06 电子科技大学 Anti-vibration crystal oscillator
CN110855242B (en) * 2019-11-29 2022-10-25 电子科技大学 A crystal oscillator anti-vibration compensation device and method based on voltage variation
CN111669126A (en) * 2020-05-20 2020-09-15 成都恒晶科技有限公司 Test method for improving stability of temperature compensation crystal oscillator
CN115562428A (en) * 2022-10-21 2023-01-03 北京自动化控制设备研究所 Temperature Filtering Method for Temperature Compensation of V/F Conversion Circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195562A (en) * 2010-03-01 2011-09-21 精工爱普生株式会社 Oscillation circuit and frequency-correcting oscillation circuit
CN106253893A (en) * 2016-07-19 2016-12-21 电子科技大学 A kind of High Accuracy Microcomputer compensated crystal oscillator

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7253495B2 (en) * 2002-10-15 2007-08-07 Marvell World Trade Ltd. Integrated circuit package with air gap
US6995622B2 (en) * 2004-01-09 2006-02-07 Robert Bosh Gmbh Frequency and/or phase compensated microelectromechanical oscillator
CN106301224B (en) * 2016-08-15 2018-10-16 成都菁汇科技有限公司 A kind of crystal oscillator automatic temperature compensation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195562A (en) * 2010-03-01 2011-09-21 精工爱普生株式会社 Oscillation circuit and frequency-correcting oscillation circuit
CN106253893A (en) * 2016-07-19 2016-12-21 电子科技大学 A kind of High Accuracy Microcomputer compensated crystal oscillator

Also Published As

Publication number Publication date
CN107276581A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN107257240B (en) Digital temperature compensation method of crystal oscillator
CN107276581B (en) Step temperature compensation method of crystal oscillator
US9281823B2 (en) Single insertion trimming of highly accurate reference oscillators
US10367451B2 (en) Temperature-compensated crystal oscillator based on digital circuit
CN101091316B (en) Method and device for Vco center frequency tuning and limiting gain variation
CN107276582B (en) Temperature compensation crystal oscillator based on analog circuit
US20180239307A1 (en) Circuit device, physical quantity measurement device, electronic apparatus, and vehicle
US10908558B2 (en) Circuit device, physical quantity measurement device, electronic apparatus, and vehicle
CN101084624A (en) Vco gain tuning using voltage measurements and frequency iteration
CN107257239B (en) A Temperature Compensated High Frequency Crystal Oscillator Based on Analog Compensation
TW200820622A (en) Current device and method for phase-locked loop
CA2430778C (en) Precision oven-controlled crystal oscillator
TW201914215A (en) Method of controlling digitally controlled oscillator
US6420938B1 (en) Software controlled crystal oscillator
WO2010043932A1 (en) Temperature compensation in a phase-locked loop
CN201270504Y (en) Frequency synthesizer
WO2024147300A1 (en) Systems and methods for real-time frequency shift detection via a nested-mems architecture
Zhou et al. Comparison among precision temperature compensated crystal oscillators
CN111010089B (en) Anti-vibration crystal oscillator
RU150424U1 (en) THERMAL COMPENSATED QUARTZ GENERATOR FOR SYNCHRONIZATION OF RADIO COMMUNICATION SYSTEMS
JPH1168461A (en) Piezoelectric oscillation circuit
Okuno et al. A 2.23 ps RMS jitter 3 μs fast settling ADPLL using temperature compensation PLL controller
CN110829999A (en) Active digital crystal oscillator anti-vibration compensation device and method
CN113783553A (en) A digitally controlled oscillator based on dynamic phase selection and its clock generation method
US20250274128A1 (en) Mixed signal electronics for locking control of high-q feedback loops and associated circuitry for detecting phase shift of a resonator

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
GR01 Patent grant
GR01 Patent grant