The present disclosure relates to the technical field of crystal oscillators, for example, to an oven controlled crystal oscillator and a frequency compensation method therefor.
“Frequency-temperature stability” is one of important technical indicators of an oven controlled crystal oscillator (OCXO). After the oven controlled crystal oscillator is designed, the “frequency-temperature stability” indicator many times still cannot meet the application requirements. It is a long-term goal of crystal oscillator manufacturers and user applications to continue to improve this indicator. Therefore, temperature compensation technique has been introduced to improve the temperature stability of OCXO.
A related temperature compensation solution is shown in
However, as requirements on the technical indicators are constantly rising, the compensation solution has come to a bottleneck. The reason is as follows. Because the temperature sensor is disposed between the oven and the housing and a temperature setpoint of the oven needs to be higher than a working environmental temperature; for example, when the OCXO needs to work at an environmental temperature range of −40° C. ˜85° C., the temperature of the oven may be set above 90° C. When the OCXO works at −40° C. or 85° C., a difference of temperature gradients among the housing, the temperature sensor, and the oven is different. When the OCXO works at −40° C. or 85° C., the difference of the temperature gradients among the housing, the temperature sensor and the oven changes when the airflow of the external environment changes. Thus, when the OCXO works at the same temperature and the airflow is different, the temperature gradient of the temperature sensor will change, and the frequency compensation amount given by the MCU will change slightly. Although this slight change may be ignored when the requirement of the technical indicator of the frequency temperature stability of the OCXO is low, when the technical indicator of the frequency temperature stability of the OCXO needs to be lower than the slight changing amount, this compensation method would not be able to meet the application requirements.
The present disclosure provides an oven controlled crystal oscillator and a frequency compensation method thereof, which may achieve a high precision compensation for the frequency of an oven controlled crystal oscillator.
Embodiments of the present disclosure provide an oven controlled crystal oscillator device, which includes an oven, a microcontroller, an oven controlled crystal oscillator disposed in the oven, and a current detection circuit.
The current detection circuit is coupled to the oven controlled crystal oscillator, and is configured to obtain an operating current value of the oven controlled crystal oscillator and provide the operating current value to the microcontroller; and the microcontroller is configured to determine a frequency compensation amount according to the operating current value based on a frequency compensation rule, and output the frequency compensation amount to the oven controlled crystal oscillator to compensate an output frequency.
Optionally, the device further includes an analog-to-digital converter that is coupled to the microcontroller and to the oven controlled crystal oscillator, and that is configured to convert the frequency compensation amount into an analog electrical signal and output the analog electrical signal to an analog voltage control end of the oven controlled crystal oscillator to allow the analog voltage control end to adjust the output frequency according to the analog electrical signal.
Optionally, the device further includes a housing, where the oven, the oven controlled crystal oscillator, the microcontroller, the current detection circuit and the analog-to-digital converter are all disposed in the housing. As an alternative, the oven and the oven controlled crystal oscillator are disposed outside the housing, while the microcontroller, the current detection circuit, and the analog-to-digital converter are disposed inside the housing. As another alternative, the housing comprises a first housing and a second housing, where the current detection circuit, the oven, and the oven controlled crystal oscillator are disposed in the first housing, while the microcontroller and the analog-to-digital converter are disposed in the second housing.
Embodiments of the present disclosure further provide an equipment having an oven controlled crystal oscillator, which includes any of the above-described oven controlled crystal oscillator device.
Embodiments of the present disclosure further provide a frequency compensation method of an oven controlled crystal oscillator device, the frequency compensation method being performed by any of the above-described oven controlled crystal oscillator device. The frequency compensation method includes: obtaining, by the current detection circuit, an operating current value of the oven controlled crystal oscillator, and providing the operating current value to a microcontroller; determining, by the microcontroller, a frequency compensation amount according to the operating current value based on a frequency compensation rule; and outputting, by the microcontroller, the frequency compensation amount to the oven controlled crystal oscillator to compensate an output frequency.
Optionally, in the above frequency compensation method, outputting by the microcontroller the frequency compensation amount to the oven controlled crystal oscillator to compensate the output frequency includes: outputting, by the microcontroller, the frequency compensation amount to an analog-to-digital converter; and converting, by the analog-to-digital converter, the frequency compensation amount into an analog electrical signal, and outputting the analog electrical signal to an analog voltage control end of the oven controlled crystal oscillator to allow the analog voltage control end to adjust the output frequency according to the analog electrical signal.
Optionally, the frequency compensation method further includes: obtaining operating current values and frequency drifts of the oven controlled crystal oscillator under different temperature values of the oven; and establishing the frequency compensation rule according to correspondences between the temperature values, the operating current values, and the frequency drifts, and storing the in the microcontroller.
Optionally, in the above frequency compensation method, determining by the microcontroller the frequency compensation amount according to the operating current value based on the frequency compensation rule includes: obtaining, by the microcontroller the frequency compensation rule corresponding to the operating current value; and obtaining the frequency compensation amount according to a correspondence between the operating current value and the temperature value and frequency drift in the frequency compensation rule.
Optionally, in the above frequency compensation method, the frequency drift refers to a difference between a current output frequency of the oven controlled crystal oscillator and a normal output frequency.
The present disclosure provides an oven controlled crystal oscillator device and a frequency compensation method thereof. By obtaining an operating current value of an oven controlled crystal oscillator, a frequency compensation amount can be determined, thereby avoiding the influence of temperature gradient on frequency compensation and improving the precision of frequency compensation.
To illustrate the technical solutions found in embodiments of the present disclosure or in the related art, drawings to be used in a description of the embodiments or the related art will be briefly described below.
Hereinafter the present disclosure will be described in detail in conjunction with the drawings and embodiments. The detailed description of the embodiments set forth below is intended to explain and not to limit the present disclosure. For ease of description, only part rather than all of structures related to the present disclosure are illustrated in the drawings. In the case where no contradiction is present, the following embodiments and the features in these embodiments may be combined in an arbitrary manner.
The oven controlled crystal oscillator device includes an oven 22, a microcontroller (MCU) 23, an oven controlled crystal oscillator (OCXO) disposed in the oven 22, and a current detection circuit 25.
The current detection circuit 25 is coupled to the OCXO 24, and is configured to obtain an operating current value of the OCXO 24, and provide the operating current value to the MCU 23.
The MCU 23 is configured to determine a frequency compensation amount according to the operating current value based on a frequency compensation rule, and output the frequency compensation amount to the OCXO 24 to compensate an output frequency.
Optionally, the device further includes a digital to analog converter (DAC) 26.
The DAC 26 is coupled to the MCU 23 and to the OCXO 24, and is configured to convert the frequency compensation amount into an analog electrical signal, and output the analog electrical signal to an analog voltage control end (VC) of the OCXO 24 to allow the analog voltage control end to adjust the output frequency according to the analog electrical signal. A frequency output end (Fout) of the OCXO 24 outputs a frequency.
Optionally, the device further includes a housing 21.
Referring to
Optionally, referring to
Optionally, referring to
In the above solution, by obtaining operating current values and frequency drifts of the crystal oscillator under different temperature values of the oven, the frequency compensation rule may be established according to correspondences between the temperature values, the operating current values, and the frequency drifts. The frequency compensation rule may be stored in the microcontroller.
Optionally, the microcontroller may obtain the frequency compensation rule according to the operating current value, and then obtain the frequency compensation amount according to the correspondence between the operating current value and the temperature value as well as frequency drift in the frequency compensation rule. The frequency compensation amount output by the analog-to-digital converter may then be converted into an analog electrical signal, and the analog-to-digital converter may output the analog electrical signal to the analog voltage control end (VC) of the oven controlled crystal oscillator, and the analog voltage control end adjusts the frequency of the oven controlled crystal oscillator.
The present disclosure provides an oven controlled crystal oscillator device. By obtaining the operating current value of the oven controlled crystal oscillator, a frequency compensation amount may be determined, thereby avoiding the influence of temperature gradient on frequency compensation and improving the precision of frequency compensation.
Embodiment two of the present disclosure further provides an equipment having an oven controlled crystal oscillator, which includes all oven controlled crystal oscillator devices provided in Embodiment one.
Optionally, the equipment is a communications equipment.
The present disclosure provides an equipment having an oven controlled crystal oscillator. By obtaining the operating current value of the oven controlled crystal oscillator through the oven controlled oscillator device in the equipment, a frequency compensation amount may be determined, thereby avoiding the influence of temperature gradient on frequency compensation and improving the precision of frequency compensation.
Referring to
In step 110, the current detection circuit obtains an operating current value of the oven controlled crystal oscillator, and provides the operating current value to the microcontroller.
The operating current may be a heating operating current of the oven controlled crystal oscillator. The temperature control principle of the oven controlled crystal oscillator consists in setting the temperature in the oven above the environmental temperature by means of heating. For example, when the oven controlled crystal oscillator needs to operate at an environmental temperature of −40° C. to 85° C., then the temperature of the oven may be set above 90° C. The heating principle consists in increasing the temperature by controlling the operating current of the oven controlled crystal oscillator. With a large current, the temperature in the oven increases, while with a small current, the temperature in the oven decreases.
Optionally, the current detecting circuit may periodically obtain the operating current value of the oven controlled crystal oscillator, and periodically monitor the operating current of the oven controlled crystal oscillator for purposes of monitoring the frequency of the oven controlled crystal oscillator and timely compensating the frequency.
In step 120, the microcontroller determines a frequency compensation amount according to the operating current value based on a frequency compensation rule.
The step 120 may include the following operations. The microcontroller obtains a corresponding frequency compensation rule according to the operating current value, and obtains the frequency compensation amount according to a correspondence between the operating current value and the temperature value as well as frequency drift in the frequency compensation rule.
The frequency drift refers to a difference between a present output frequency of the oven controlled crystal oscillator and a normal output frequency. For example, the difference may equal a present output frequency value of the oven controlled crystal oscillator minus a normal output frequency value of the oven controlled crystal oscillator. If the difference is a positive number, the output frequency of the oven controlled crystal oscillator needs to be reduced; if the difference is a negative number, then the output frequency of the oven controlled crystal oscillator needs to be increased. By obtaining corresponding operating current values and frequency drifts of the crystal oscillator under different temperature values of the oven, the frequency compensation rule can be established according to the correspondence between the temperature value, the operating current value, and the frequency drift. The frequency compensation rule may be stored in the microcontroller.
When the environmental temperature changes, the temperature of the oven would be affected by the environmental temperature, causing the output frequency of the oven controlled crystal oscillator to change. When the environmental temperature changes causing the output frequency of the oven controlled crystal oscillator to change, the heating operating current of the oven controlled crystal oscillator would also change. Because heating is the core of the oven controlled crystal oscillator temperature control, and the temperature control of the oven controlled crystal oscillator is embodied in the operating current (adjusting the temperature change by controlling the operating current), the heating operating current of the oven controlled crystal oscillator will make a responsive change once the temperature of the external environment changes, where a magnitude of the heating operating current change may have the same ratio as the ratio of the temperature change of the oven controlled crystal oscillator; that is, however the external environmental temperature changes, the heating temperature control circuit of the oven controlled crystal oscillator would always make a responsive adjustment to allow the heating operating current to undergo a corresponding change. Therefore, the frequency compensation amount may be determined according to the operating current values and frequency drift amounts under different temperatures, for compensating the frequency of the oven controlled crystal oscillator.
In step 130, the microcontroller outputs the frequency compensation amount to the oven controlled crystal oscillator to compensate the output frequency.
Optionally, the step 130 may include the following operations. The microcontroller may output the frequency compensation amount to the analog-to-digital converter, which may then convert the compensation quantity to an analog electrical signal and output the analog electrical signal to an analog voltage control end of the oven controlled crystal oscillator to allow the analog voltage control end to adjust the output frequency according to the analog electrical signal.
The analog electrical signal may be an analog voltage signal. The frequency compensation amount may be determined according to the frequency drift. If an output frequency value becomes larger after the frequency drift, the output frequency may be adjusted back, otherwise, the output frequency may be increased.
Optionally, the frequency compensation method of the oven controlled crystal oscillator device further includes: obtaining corresponding operating current values and frequency drifts of the crystal oscillator under different temperature values of the oven; and establishing the frequency compensation rule according to the correspondences between the temperature values, the operating current values, and the frequency drifts, and then storing the frequency compensation rule in the microcontroller.
Assuming the oven controlled crystal oscillator has a normal output frequency of 10 Hz, a standard operating current corresponding to the normal output frequency is 5 A, and the temperature of the oven is 40° C. The oven controlled crystal oscillator is affected by the external environmental temperature so that the output frequency is changed and the present operating current value is measured as 7A. Based on the pre-established frequency compensation rule, it can be learned that the present temperature of the oven the present operating current value is 80° C., the present output frequency is 12 Hz, where the present output frequency 12 Hz minus the normal output frequency 10 Hz provides +2 Hz. That is, the frequency drift is +2 (the output frequency is increased by 2 Hz). Thus, the frequency compensation amount may be determined to be −2, and the output frequency of the oven controlled crystal oscillator may be adjusted back for compensating the output frequency by outputting the analog voltage signal corresponding to the frequency compensation amount to the analog voltage control end of the oven controlled crystal oscillator.
According to the embodiments of the present disclosure, the operating current value of the oven controlled crystal oscillator is obtained, and a frequency compensation amount is determined according to the operating current value and is output to the oven controlled crystal oscillator to compensate the output frequency. This not only reduces the influence due to the measurement error, but improves the frequency compensation accuracy.
The present disclosure provides an oven controlled crystal oscillator device and a frequency compensation method of the same. An operating current value of an oven controlled crystal oscillator is obtained, and a frequency compensation amount may be determined according to the operating current value, which can avoid the influence of temperature gradient on frequency compensation and improving the precision of frequency compensation.
Number | Date | Country | Kind |
---|---|---|---|
201611179491.6 | Dec 2016 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/074837 | 2/24/2017 | WO | 00 |