OSCILLATOR CIRCUIT AND TEMPERATURE COMPENSATION METHOD FOR OSCILLATOR CIRCUIT

20230231519 · 2023-07-20

Assignee

Inventors

Cpc classification

International classification

Abstract

An oscillator circuit includes: a first temperature detector, detecting an internal temperature of the oscillator circuit; a current generator, generating a heater current so that the internal temperature matches a target temperature; a first and second heater, heating the resonator and the integrated circuit, respectively, based on the heater current; a second temperature detector, detecting a temperature of the integrated circuit; a first compensation voltage generation circuit, generating a first compensation voltage for compensating for a frequency variation due to a temperature change in the integrated circuit, based on a detection result of the second temperature detector; a second compensation voltage generation circuit, generating a second compensation voltage for compensating for a frequency variation due to a temperature change in the resonator, based on a detection result of the first temperature detector; and an oscillator, generating an oscillation signal based on the first and second compensation voltages.

Claims

1. An oscillator circuit that compensates for a frequency variation due to a temperature change in a resonator and a temperature change in an integrated circuit, the oscillator circuit comprising: a first temperature detector, detecting an internal temperature of the oscillator circuit; a current generator, generating a heater current so that the internal temperature matches a target temperature; a first heater, heating the resonator based on the heater current; a second heater, heating the integrated circuit based on the heater current; a second temperature detector, detecting a temperature of the integrated circuit; a first compensation voltage generation circuit, generating a first compensation voltage for compensating for a first frequency variation due to the temperature change in the integrated circuit, based on a detection result of the second temperature detector; a second compensation voltage generation circuit, generating a second compensation voltage for compensating for a second frequency variation due to the temperature change in the resonator, based on a detection result of the first temperature detector; and an oscillator, generating an oscillation signal based on the first compensation voltage and the second compensation voltage.

2. The oscillator circuit according to claim 1, wherein the second heater is a variable resistor whose resistance value changes.

3. The oscillator circuit according to claim 1, wherein the current generator comprises a target temperature generation circuit that, in a heater-on region and at an ambient temperature that is changing, generates the target temperature so as to compensate for the second frequency variation with respect to the ambient temperature.

4. The oscillator circuit according to claim 1, wherein, on a graph indicating a relationship between a temperature of the resonator and the second frequency variation, a boundary temperature matches a minimum temperature being the temperature of the resonator at which the second frequency variation becomes minimum; and the second compensation voltage generation circuit generates the second compensation voltage so that the second frequency variation becomes zero.

5. The oscillator circuit according to claim 2, wherein, on a graph indicating a relationship between a temperature of the resonator and the second frequency variation, a boundary temperature matches a minimum temperature being the temperature of the resonator at which the second frequency variation becomes minimum; and the second compensation voltage generation circuit generates the second compensation voltage so that the second frequency variation becomes zero.

6. The oscillator circuit according to claim 1, wherein, on a graph indicating a relationship between a temperature of the resonator and the second frequency variation, a boundary temperature does not match a minimum temperature being the temperature of the resonator at which the second frequency variation becomes minimum; and the second compensation voltage generation circuit generates the second compensation voltage so that the second frequency variation becomes zero.

7. The oscillator circuit according to claim 2, wherein, on a graph indicating a relationship between a temperature of the resonator and the second frequency variation, a boundary temperature does not match a minimum temperature being the temperature of the resonator at which the second frequency variation becomes minimum; and the second compensation voltage generation circuit generates the second compensation voltage so that the second frequency variation becomes zero.

8. The oscillator circuit according to claim 4, wherein the boundary temperature matches a maximum value of an ambient temperature.

9. The oscillator circuit according to claim 6, wherein the boundary temperature matches a maximum value of an ambient temperature.

10. An oscillator circuit that compensates for a frequency variation due to a temperature change in a resonator and a temperature change in an integrated circuit, the oscillator circuit comprising: a first temperature detector, detecting an internal temperature of the oscillator circuit; a current generator, generating a heater current so that the internal temperature matches a target temperature; a first heater, heating the resonator based on the heater current; a second heater, being a variable resistor whose resistance value changes, and heating the integrated circuit based on the heater current; a second temperature detector, detecting a temperature of the integrated circuit; a compensation voltage generation circuit, generating a compensation voltage for compensating for a frequency variation due to the temperature change in the integrated circuit, based on a detection result of the second temperature detector; and an oscillator, generating an oscillation signal based on the compensation voltage.

11. The oscillator circuit according to claim 10, wherein the current generator comprises a target temperature generation circuit that, in a heater-on region and at an ambient temperature that is changing, generates the target temperature so as to compensate for a frequency variation with respect to the ambient temperature.

12. A temperature control circuit, provided in an oscillator circuit that compensates for a frequency variation due to a temperature change in a resonator and an integrated circuit, the temperature control circuit comprising: a first temperature detector, detecting an internal temperature of the oscillator circuit; a current generator, generating a heater current so that the internal temperature matches a target temperature, and, in a heater-on region and at an ambient temperature that is changing, generating the target temperature so as to compensate for a frequency variation due to a temperature change in the resonator with respect to the ambient temperature; a first heater, heating the resonator based on the heater current; and a second heater, heating the integrated circuit based on the heater current.

13. The temperature control circuit according to claim 12, wherein the second heater is a variable resistor whose resistance value changes.

14. The temperature control circuit according to claim 12, wherein the current generator comprises a target temperature generation circuit that, in the heater-on region and at the ambient temperature that is changing, generates the target temperature so as to compensate for a frequency variation with respect to the ambient temperature.

15. A temperature compensation method for an oscillator circuit, the oscillator circuit compensating for a frequency variation due to a temperature change in a resonator and a temperature change in an integrated circuit and comprising: a first temperature detector, detecting an internal temperature of the oscillator circuit; a current generator, generating a heater current so that the internal temperature matches a target temperature; a first heater, heating the resonator based on the heater current; a second heater, heating the integrated circuit based on the heater current; a second temperature detector, detecting a temperature of the integrated circuit; a first compensation voltage generation circuit, generating a first compensation voltage for compensating for a first frequency variation due to the temperature change in the integrated circuit, based on a detection result of the second temperature detector; a second compensation voltage generation circuit, generating a second compensation voltage for compensating for a second frequency variation due to the temperature change in the resonator, based on a detection result of the first temperature detector; and an oscillator, generating an oscillation signal based on the first compensation voltage and the second compensation voltage, wherein the temperature compensation method comprises: by the current generator, generating the heater current so that the internal temperature matches the target temperature in a heater-on region and at an ambient temperature that is constant; setting a resistance value of a variable resistance of the second heater to a first resistance value and detecting the temperature of the integrated circuit; setting the resistance value of the variable resistance of the second heater to a second resistance value less than the first resistance value and detecting the temperature of the integrated circuit; by the first compensation voltage generation circuit, generating the first compensation voltage for compensating for the first frequency variation based on the temperature of the integrated circuit at which the resistance value is the first resistance value and the temperature of the integrated circuit at which the resistance value is the second resistance value; by the second compensation voltage generation circuit, generating the second compensation voltage for compensating for the second frequency variation based on a change in the second frequency variation with respect to the internal temperature in a heater-off region and at the ambient temperature that is changing; and by the current generator, generating the target temperature so as to compensate for the second frequency variation with respect to the ambient temperature in the heater-on region and at the ambient temperature that is changing.

16. The temperature compensation method according to claim 15, further comprising: in the heater-on region and at the ambient temperature that is changing, generating the target temperature so as to compensate for the second frequency variation with respect to the ambient temperature.

17. The temperature compensation method according to claim 15, further comprising: on a graph indicating a relationship between a temperature of the resonator and the second frequency variation, causing a boundary temperature to match a minimum temperature being the temperature of the resonator at which the second frequency variation becomes minimum; and generating the second compensation voltage so that the second frequency variation becomes zero.

18. The temperature compensation method according to claim 17, wherein the boundary temperature matches a maximum value of the ambient temperature.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] FIG. 1 illustrates an example of a configuration of an oscillator circuit according to a first embodiment.

[0008] FIG. 2 illustrates an example of a relationship between temperature and frequency variation due to a temperature change in a resonator and a relationship between temperature and frequency variation due to a temperature change in an integrated circuit according to the first embodiment.

[0009] FIG. 3A illustrates an example of a relationship between ambient temperature and target temperature according to the first embodiment.

[0010] FIG. 3B illustrates an example of a relationship between ambient temperature and the total of frequency variations in the oscillator circuit according to the first embodiment.

[0011] FIG. 4A illustrates an example of a configuration of a temperature control circuit in the oscillator circuit according to the first embodiment.

[0012] FIG. 4B illustrates an example of a thermal resistance model according to the first embodiment.

[0013] FIG. 5A illustrates an example of a configuration of the oscillator circuit according to the first embodiment.

[0014] FIG. 5B illustrates an example of a configuration of the oscillator circuit according to the first embodiment.

[0015] FIG. 6 illustrates an example of a relationship between internal temperature of the oscillator circuit and frequency variation due to a temperature change in the resonator according to the first embodiment.

[0016] FIG. 7 is a flowchart illustrating an example of a temperature compensation method for the oscillator circuit according to the first embodiment.

[0017] FIG. 8A illustrates an example of a relationship between ambient temperature and temperature of a resonator and a relationship between ambient temperature and internal temperature of an oscillator circuit according to a second embodiment.

[0018] FIG. 8B illustrates an example of a relationship between temperature of the resonator and frequency variation due to a temperature change in the resonator and a relationship between internal temperature of the oscillator circuit and a temperature compensation component according to the second embodiment.

[0019] FIG. 9A illustrates an example of a thermal resistance model according to the second embodiment.

[0020] FIG. 9B illustrates an example of a relationship between ambient temperature and power according to the second embodiment.

[0021] FIG. 10A illustrates an example of a relationship between ambient temperature and temperature of the resonator and a relationship between ambient temperature and internal temperature of the oscillator circuit according to the second embodiment.

[0022] FIG. 10B illustrates an example of a relationship between temperature of the resonator and frequency variation due to a temperature change in the resonator and a relationship between internal temperature of the oscillator circuit and a temperature compensation component according to the second embodiment.

[0023] FIG. 11 illustrates an example of how temperature compensation is performed when no discontinuous point occurs according to a third embodiment.

[0024] FIG. 12 illustrates an example of how temperature compensation is performed when a discontinuous point occurs according to the third embodiment.

[0025] FIG. 13A illustrates an example of a relationship between ambient temperature and temperature of a resonator and a relationship between ambient temperature and internal temperature of an oscillator circuit according to the third embodiment.

[0026] FIG. 13B illustrates an example of a relationship between ambient temperature and temperature of a resonator and a relationship between ambient temperature and internal temperature of an oscillator circuit according to a fourth embodiment.

[0027] FIG. 14 illustrates an example of a relationship between temperature and frequency stability of a conventional crystal resonator.

DESCRIPTION OF THE EMBODIMENTS

[0028] The present disclosure provides an oscillator circuit having high frequency stability.

[0029] Hereinafter, an embodiment of the disclosure will be described in detail with reference to the drawings. In principle, the same components are given the same reference numerals, and repeated description is omitted.

[0030] In this specification, the term “zero” not only means substantially zero but may include a numerical range of approximately zero close to substantially zero.

[0031] In this specification, the term “ambient temperature” means an atmospheric temperature around an oscillator circuit. The term “target temperature” means a temperature aimed at when controlling an internal temperature of an oscillator circuit by heating using a heater. The term “boundary temperature” means a temperature at a boundary between a heater-on region and a heater-off region. The term “heater-on region” means a region in which a heater is turned on, which is a region in which an ambient temperature is equal to or lower than a boundary temperature. The term “heater-off region” means a region in which a heater is turned off, which is a region in which an ambient temperature is higher than a boundary temperature. However, these terms are defined for convenience only and should not be construed as limiting.

First Embodiment

[Oscillator Circuit]

[0032] An example of a configuration of an oscillator circuit 100 according to a first embodiment is described with reference to FIG. 1 to FIG. 6.

[0033] The oscillator circuit 100 is a circuit that compensates for a frequency variation due to a temperature change in a resonator 10 and an integrated circuit 40. In this specification, a frequency variation due to a temperature change in the resonator 10 is represented by ΔF.sub.xt1 [ppm]. A frequency variation due to a temperature change in the integrated circuit 40 is represented by ΔF.sub.IC [ppm]. The total of frequency variations in the oscillator circuit 100 is represented by AFtotal [ppm]. A temperature compensation component is represented by ΔF.sub.C [ppm].

[0034] The frequency variation ΔF.sub.xt1 [ppm] due to a temperature change in the resonator 10 is expressed by a cubic function as follows in the case where, for example, the resonator 10 is a crystal resonator (see FIG. 2).


ΔF.sub.xt1=A.sub.3x(T.sub.xt1−T.sub.0).sup.3+A.sub.2x(T.sub.xt1−T.sub.0).sup.2+A.sub.1x(T.sub.xt1−T.sub.0).sup.1   (1)

[0035] T.sub.xt1 is a temperature [° C.] of the resonator 10. A.sub.3x is a third order frequency variation coefficient [ppm/° C.sup.3] of a temperature variation factor of the resonator 10. A.sub.2x is a second order frequency variation coefficient [ppm/° C.sup.2] of a temperature variation factor of the resonator 10. A.sub.1x is a first order frequency variation coefficient [ppm/° C.] of a temperature variation factor of the resonator 10. To is a reference temperature [° C.] for normalizing ΔF.sub.xt1 [ppm] to 0.

[0036] The frequency variation ΔF.sub.IC [ppm] due to a temperature change in the integrated circuit 40 can be approximated by a linear function as follows (see FIG. 2).


ΔF.sub.IC≈A.sub.1i(T.sub.IC−T.sub.0).sup.1   (2)

[0037] T.sub.IC is a temperature [° C.] of the integrated circuit 40. A.sub.1i is a first order frequency variation coefficient [ppm/° C.] of a temperature variation factor of the integrated circuit 40. T.sub.0 is a reference temperature [° C.] for normalizing ΔF.sub.IC [ppm] to 0.

[0038] The total ΔF.sub.total [ppm] of frequency variations in the oscillator circuit 100 after temperature compensation is expressed by the following equation.


ΔF.sub.total=ΔF.sub.xt1+ΔF.sub.IC−ΔF.sub.C=0   (3)

[0039] The oscillator circuit 100 includes the resonator 10, a first heater 20, a first temperature detector (such as a temperature sensor) 30, and the integrated circuit 40. The oscillator circuit 100 is connected via an input/output terminal DATA and an input terminal CLK to a control part 200 provided outside the oscillator circuit 100.

[0040] The integrated circuit 40 includes a current generator 41, a second heater 42, a second temperature detector (such as a temperature sensor) 43, a first temperature compensation voltage generation circuit 44, a second temperature compensation voltage generation circuit 45, an oscillator 46, an interface 47, a storage 50, and an interface 60. The integrated circuit 40 may also additionally include a test path for monitoring by a temperature detector. The integrated circuit 40 is connected to the first heater 20 via a terminal RH, and is connected to the first temperature detector 30 via a terminal THM.

[0041] The resonator 10 may be, for example, an SC-cut crystal resonator, an AT-cut crystal resonator, a microelectromechanical systems (MEMS) resonator, or a ceramic resonator. The resonator 10 is connected to the oscillator 46 via a connecting terminal X1 and a connecting terminal X2.

[0042] The first heater 20 heats the resonator 10 based on a heater current supplied from the current generator 41. The first heater 20 is preferably provided in close proximity to the resonator 10. The first heater 20 has one end connected to the ground and the other end connected to the second heater 42 and the current generator 41 via the terminal RH. The first heater 20 may be, for example, a heater resistor having a resistance R.

[0043] The first temperature detector 30 detects an internal temperature T.sub.thm of the oscillator circuit 100. The first temperature detector 30 is preferably provided in close proximity to the resonator 10. The first temperature detector 30 has one end connected to the ground and the other end connected to the interface 47 via the terminal THM. The first temperature detector 30 may be, for example, a thermistor whose resistance value changes with temperature, a platinum resistance element, or a thermocouple whose potential changes with temperature.

[0044] The interface 47 is provided between the first temperature detector 30 and the current generator 41 and between the first temperature detector 30 and the second temperature compensation voltage generation circuit 45. For example, the interface 47 converts a resistance value input from the first temperature detector 30 via the terminal THM into a voltage signal, generates data (for example, a voltage signal) S1 indicating the internal temperature T.sub.thm of the oscillator circuit 100, and outputs the same to the current generator 41 and the second temperature compensation voltage generation circuit 45.

[0045] The current generator 41 includes a target temperature generation circuit 411, a differential amplifier 412 and a heater driver 413. Based on the data Si indicating the internal temperature T.sub.thm of the oscillator circuit 100 input from the interface 47, the current generator 41 generates a heater current (of, for example, about several hundred mA) so that the internal temperature T.sub.thm of the oscillator circuit 100 matches a target temperature T.sub.gt. The current generator 41 supplies the heater current to the first heater 20 and the second heater 42. The target temperature T.sub.gt is preferably set to a temperature about 15° C. higher than an ambient temperature Ta. For example, in the case where the ambient temperature Ta is about 105° C., the target temperature T.sub.gt may be set to about 120° C.

[0046] The target temperature generation circuit 411 generates the target temperature T.sub.gt based on a voltage Vh at the terminal RH that represents the ambient temperature Ta. The target temperature generation circuit 411 generates data (for example, a voltage signal) S2 indicating the target temperature T.sub.gt, and outputs the same to the differential amplifier 412. The target temperature generation circuit 411 may be, for example, an approximate N-th order function generation circuit, an approximate hyperbolic function generation circuit, or an approximate sigmoid function generation circuit. Details of the approximate N-th order function generation circuit can be found in Japanese Patent No. 4070139. Details of the approximate hyperbolic function generation circuit and the approximate sigmoid function generation circuit can be found in U.S. Pat. No. 10,790,831.

[0047] For example, in a heater-on region and at the ambient temperature Ta that is changing, the target temperature generation circuit 411 generates the target temperature T.sub.gt (=internal temperature T.sub.thm of the oscillator circuit 100) so that the total ΔF.sub.total (=ΔF.sub.xt1+ΔF.sub.IC−ΔF.sub.C) of frequency variations in the oscillator circuit 100 with respect to the ambient temperature Ta becomes zero.

[0048] Data indicating a relationship between the ambient temperature Ta and the target temperature T.sub.gt in the case where the target temperature T.sub.gt is calibrated so that the total ΔF.sub.total of frequency variations in the oscillator circuit 100 becomes zero as shown in FIG. 3A is stored in the storage 50. Data indicating a relationship between the ambient temperature Ta and the total ΔF.sub.total of frequency variations in the oscillator circuit 100 in the case where the target temperature T.sub.gt is calibrated so that the total ΔF.sub.total of frequency variations in the oscillator circuit 100 becomes zero as shown in FIG. 3B is stored in the storage 50.

[0049] By appropriately calibrating the target temperature T.sub.gt, in the heater-on region and at the ambient temperature Ta that is changing, while both the temperature T.sub.xt1 of the resonator 10 and the internal temperature T.sub.thm of the oscillator circuit 100 change, the total ΔF.sub.total of frequency variations in the oscillator circuit 100 can be made zero.

[0050] Here, a reason why the voltage Vh at the terminal RH represents the ambient temperature Ta is briefly described with reference to FIG. 4A and FIG. 4B.

[0051] Internal power P [W] of the oscillator circuit 100 is the product of a power supply voltage Vdd [V] and a sum Ih [A] of the heater current supplied from the current generator 41 to the first heater 20 and the heater current supplied from the current generator 41 to the second heater 42. Hence, referring to a thermal resistance model, the following equation is established.


T.sub.thin−Ta=θa×Ih×Vdd   (4)

[0052] θa is a thermal resistance [° C./W] from the first temperature detector 30 toward the ambient temperature Ta.

[0053] Here, the sum Ih of the heater current supplied from the current generator 41 to the first heater 20 and the heater current supplied from the current generator 41 to the second heater 42 may be expressed by the following equation using the resistance R.sub.x of the first heater 20, a variable resistance R.sub.IC of the second heater 42, and the voltage Vh at the terminal RH.

[00001] Ih = R x + R IC R x × R IC Vh ( 5 )

[0054] When Ih is eliminated and Vh is solved from equations (4) and (5), the following equation is established.

[00002] Vh = R x × R IC ( R x + R IC ) × θ a × Vdd ( T thm - Ta ) ( 6 )

[0055] It is known from equation (6) that the voltage Vh at the terminal RH is a linear expression of the ambient temperature Ta. That is, it is known that the fact that the target temperature generation circuit 411 generates the target temperature T.sub.gt based on the voltage Vh at the terminal RH is equivalent to the fact that the target temperature generation circuit 411 generates the target temperature T.sub.gt based on the ambient temperature Ta.

[0056] The target temperature generation circuit 411 may not only generate a first order target temperature T.sub.gt with respect to the voltage Vh at the terminal RH, but may also generate an N (N≥1)-th order target temperature T.sub.gt with respect to the voltage Vh at the terminal RH.

[0057] The differential amplifier 412 amplifies a difference between the data Si indicating the internal temperature T.sub.thm of the oscillator circuit 100 input from the interface 47 and the data S2 indicating the target temperature T.sub.gt input from the target temperature generation circuit 411, and generates an amplified signal (for example, a voltage signal) S3. The differential amplifier 412 outputs the amplified signal S3 to the heater driver 413.

[0058] Based on the amplified signal S3 input from the differential amplifier 412, the heater driver 413 generates a heater current and supplies the heater current to the first heater 20 and the second heater 42.

[0059] For example, the heater driver 413 supplies the heater current to the first heater 20 and the second heater 42 in the case of turning on the first heater 20 and the second heater 42. In this case, the first heater 20 and the second heater 42 generate heat.

[0060] For example, the heater driver 413 does not supply the heater current to the first heater 20 and the second heater 42 in the case of turning off the first heater 20 and the second heater 42. In this case, the first heater 20 and the second heater 42 do not generate heat. A means of turning off a heater may be, for example, setting an output current of the heater driver 413 to zero, or adding a switch to a current path of the first heater 20 and the second heater 42 and turning off the switch.

[0061] The second heater 42 heats the integrated circuit 40 based on the heater current supplied from the current generator 41. The second heater 42 is preferably built in or provided in close proximity to the integrated circuit 40. The second heater 42 has one end connected to the ground and the other end connected to the current generator 41 via the terminal RH. The second heater 42 may be, for example, a heater resistor having a variable resistance R.sub.IC whose resistance value changes.

[0062] The resistance value of the variable resistance R.sub.IC is not particularly limited, and may be set to any value by the control part 200. The resistance value of the variable resistance R.sub.IC is stored in the storage 50. As the resistance value of the variable resistance R.sub.IC changes, a distribution ratio of power distributed to the resonator 10 and the integrated circuit 40 also changes.

[0063] For example, as shown in FIG. 5A, in the case where the resistance value of the variable resistance R.sub.IC is set to a large value (for example, about 20Ω) while the ambient temperature Ta is constant, a ratio of the heater current supplied from the current generator 41 to the second heater 42 is small compared to a ratio of the heater current supplied from the current generator 41 to the first heater 20. A ratio (for example, 30%) in which the second heater 42 heats the integrated circuit 40 is small compared to a ratio (for example, 70%) in which the first heater 20 heats the resonator 10. In this case, in the oscillator circuit 100, temperature control can be performed so as to lower the temperature T.sub.IC of the integrated circuit 40 while causing the internal temperature T.sub.thm of the oscillator circuit 100 and the temperature T.sub.xt1 of the resonator 10 to match the target temperature T.sub.gt.

[0064] For example, as shown in FIG. 5B, in the case where the resistance value of the variable resistance R.sub.IC is set to a small value (for example, about 3.7Ω) while the ambient temperature Ta is constant, a ratio of the heater current supplied from the current generator 41 to the second heater 42 is large compared to a ratio of the heater current supplied from the current generator 41 to the first heater 20. A ratio (for example, 70%) in which the second heater 42 heats the integrated circuit 40 is large compared to a ratio (for example, 30%) in which the first heater 20 heats the resonator 10. In this case, in the oscillator circuit 100, temperature control can be performed so as to raise the temperature T.sub.IC of the integrated circuit 40 while causing the internal temperature T.sub.thm of the oscillator circuit 100 and the temperature T.sub.xt1 of the resonator 10 to match the target temperature T.sub.gt.

[0065] That is, in the oscillator circuit 100, by appropriately changing the resistance value of the variable resistance R.sub.IC of the second heater 42, in the heater-on region and at the ambient temperature Ta that is constant, the temperature T.sub.IC of the integrated circuit 40 can be greatly changed while the temperature T.sub.xt1 of the resonator 10 remains substantially unchanged. Accordingly, in the oscillator circuit 100, a temperature compensation component can be generated so as to independently compensate only for the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40 out of ΔF.sub.total (=ΔF.sub.xt1+ΔF.sub.IC).

[0066] The second temperature detector 43 detects the temperature T.sub.IC of the integrated circuit 40. The second temperature detector 43 is preferably built in or provided in close proximity to the integrated circuit 40. The second temperature detector 43 generates data (for example, a voltage signal) S4 indicating the temperature T.sub.IC of the integrated circuit 40, and outputs the same to the first temperature compensation voltage generation circuit 44. The second temperature detector 43 may be, for example, a known temperature sensor.

[0067] Based on the temperature T.sub.IC (detection result of the second temperature detector 43) of the integrated circuit 40 input from the second temperature detector 43, the first temperature compensation voltage generation circuit 44 generates a first compensation voltage V.sub.1 being a temperature compensation component for compensating for the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40. The first temperature compensation voltage generation circuit 44 outputs the first compensation voltage V.sub.1 to the oscillator 46.

[0068] For example, in the heater-on region and at the ambient temperature Ta that is constant, the first temperature compensation voltage generation circuit 44 acquires data indicating a frequency F.sub.1 of an oscillation signal in the oscillator 46 actually measured, the data S1 indicating an internal temperature T.sub.thm1 of the oscillator circuit 100 detected by the first temperature detector 30, and the data S4 indicating a temperature T.sub.IC1 of the integrated circuit 40 detected by the second temperature detector 43 in the case where the resistance value of the variable resistance R.sub.IC of the second heater 42 is set to a large value. The frequency F.sub.1 of the oscillation signal in the oscillator 46 is expressed by the following equation using a first order temperature coefficient a with respect to the temperature T.sub.IC1 of the integrated circuit 40 and a first order temperature coefficient β with respect to the temperature T.sub.xt1 of the resonator 10.


F.sub.1=α.Math.T.sub.IC1+β.Math.T.sub.thm1(wherein T.sub.thm1≈T.sub.xt11)   (7)

[0069] For example, in the heater-on region and at the ambient temperature Ta that is constant, the first temperature compensation voltage generation circuit 44 acquires data indicating a frequency F.sub.2 of an oscillation signal in the oscillator 46 actually measured, the data S1 indicating an internal temperature T.sub.thm2 of the oscillator circuit 100 detected by the first temperature detector 30, and the data S4 indicating a temperature T.sub.IC2 of the integrated circuit 40 detected by the second temperature detector 43 in the case where the resistance value of the variable resistance R.sub.IC of the second heater 42 is set to a small value. The frequency F.sub.2 of the oscillation signal in the oscillator 46 is expressed by the following equation using the first order temperature coefficient a with respect to the temperature T.sub.IC2 of the integrated circuit 40 and the first order temperature coefficient β with respect to the temperature T.sub.xt12 of the resonator 10.


F.sub.2=αT.sub.IC2+βT.sub.thm2(wherein T.sub.thm2≈T.sub.xt12)   (8)

[0070] When the resistance value of the variable resistance R.sub.IC of the second heater 42 is switched to a large value or a small value, since a change in the internal temperature Tthm of the oscillator circuit 100 is very small, the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 can be approximated to be first order. Accordingly, the first order temperature coefficient a with respect to the temperature Tic of the integrated circuit 40 is expressed by the following equation by solving simultaneous equations of equations (7) and (8).

[00003] α = F 1 T thm 2 - F 2 T thm 1 T IC 1 T thm 2 - T IC 2 T thm 1 ( 9 )

[0071] Based on equation (9), the first temperature compensation voltage generation circuit 44 calculates the first order temperature coefficient a with respect to the temperature T.sub.IC of the integrated circuit 40, and generates the first compensation voltage V.sub.1 for compensating for (ΔF.sub.IC=0) the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40. Accordingly, the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40 may be optimally adjusted.

[0072] The switching of the resistance value of the variable resistance Ric of the second heater 42 is not limited to two kinds, but may be N (N≥2) kinds. In the case of N kinds, the first temperature compensation voltage generation circuit 44 may calculate an N-th order temperature coefficient α.sub.N with respect to the temperature T.sub.IC of the integrated circuit 40, and may generate the first compensation voltage V.sub.1 for compensating for the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40.

[0073] Based on the data S1 indicating the internal temperature T.sub.thm (detection result of the first temperature detector 30) of the oscillator circuit 100 input from the interface 47, the second temperature compensation voltage generation circuit 45 generates a second compensation voltage V.sub.2 being a temperature compensation component for compensating for the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10. The second temperature compensation voltage generation circuit 45 outputs the second compensation voltage V.sub.2 to the oscillator 46.

[0074] For example, in a heater-off region and at the ambient temperature Ta that is changing, the second temperature compensation voltage generation circuit 45 acquires data indicating a frequency F of an oscillation signal in the oscillator 46 actually measured before temperature compensation, the data Si indicating the internal temperature Tthm of the oscillator circuit 100 detected by the first temperature detector 30, and data (see FIG. 6) indicating a relationship between the internal temperature Tthm of the oscillator circuit 100 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10. Then, the second temperature compensation voltage generation circuit 45 generates a temperature compensation component ΔF.sub.C expressed by the following equation. The data indicating the relationship between the internal temperature T.sub.thm of the oscillator circuit 100 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 as shown in FIG. 6 is stored in the storage 50.


ΔF.sub.C=B.sub.3(T.sub.thm−T.sub.0).sup.3+B.sub.2(T.sub.thm−T.sub.0).sup.2+B.sub.1(T.sub.t hm−T.sub.0).sup.1   (10)

[0075] Based on equation (10), the second temperature compensation voltage generation circuit 45 generates the second compensation voltage V.sub.2 for compensating for (ΔF.sub.xt1=0) the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10. Accordingly, the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 may be optimally adjusted.

[0076] Based on the first compensation voltage V.sub.1 input from the first temperature compensation voltage generation circuit 44 or the second compensation voltage V.sub.2 input from the second temperature compensation voltage generation circuit 45, the oscillator 46 generates an oscillation signal for causing the resonator 10 to oscillate. The oscillator 46 is an oscillator that changes an oscillation frequency according to a voltage supplied, and may be, for example, a voltage controlled XTAL oscillator (VCXO). By the oscillator 46 generating the oscillation signal based on the first compensation voltage V.sub.1 input from the first temperature compensation voltage generation circuit 44 or the second compensation voltage V.sub.2 input from the second temperature compensation voltage generation circuit 45, the oscillator circuit 100 is able to output the oscillation signal having a highly accurate oscillation frequency by which the frequency variation due to a temperature change in the resonator 10 and the integrated circuit 40 is compensated for.

[0077] The storage 50 may be, for example, a non-volatile memory or a one-time memory. The storage 50 may store, for example, the resistance value of the variable resistance R.sub.IC of the second heater 42 and the voltage Vh at the terminal RH. The storage 50 may store, for example, the data indicating the relationship between the ambient temperature Ta and the target temperature T.sub.gt and the data indicating the relationship between the ambient temperature Ta and the total ΔF.sub.total of frequency variations in the oscillator circuit 100. The storage 50 may store, for example, the data indicating the relationship between the internal temperature T.sub.thm of the oscillator circuit 100 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10. The storage 50 may store, in addition to the above data, any data used in an operation of the oscillator circuit 100. These data may be input to the storage 50 from the control part 200 via the interface 60. The various data stored in the storage 50 are preferably used as appropriate.

[0078] The interface 60 is provided between the storage 50 and the control part 200 and provides a communication interface. The interface 60 may be, for example, a serial interface such as an inter-integrated circuit (I2C) interface or a serial peripheral interface (SPI) interface.

[0079] The control part 200 sets various data. For example, the control part 200 sets the resistance value of the variable resistance R.sub.IC. For example, the control part 200 sets output gain of a target temperature generation circuit and output gain of two temperature compensation voltage generation circuits. The control part 200 outputs various data to the storage 50 via the interface 60. Through a test path for monitoring by a temperature sensor, it is possible to monitor the voltage Vh at the terminal RH, the internal temperature T.sub.thm of the oscillator circuit 100, the temperature T.sub.IC of the integrated circuit 40, the target temperature T.sub.gt or the like via the control part 200.

[0080] In the oscillator circuit 100 according to the first embodiment, appropriate temperature control is performed by use of the current generator 41, the first heater 20, the second heater 42, the first temperature detector 30 and so on. By use of two temperature compensation voltage generation circuits, the temperature compensation component for compensating for the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 and the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40 is generated. Accordingly, not only in the heater-off region, but also in the heater-on region in which the temperature T.sub.xt1 of the resonator 10, the temperature T.sub.IC of the integrated circuit 40, and the internal temperature T.sub.thm of the oscillator circuit 100 do not match each other, since the frequency variation due to a temperature change in the resonator 10 and the integrated circuit 40 can be sufficiently compensated for, the oscillator circuit 100 having high frequency stability can be realized.

[0081] [Operation of Oscillator Circuit]

[0082] An example of a temperature compensation method in the oscillator circuit 100 according to the first embodiment is described with reference to FIG. 7.

[0083] <Compensation for ΔF.sub.IC in Heater-on Region>

[0084] In a heater-on region, a state is achieved in which the ambient temperature Ta is constant.

[0085] In step S101, the first heater 20 and the second heater 42 are turned on. The current generator 41 generates a heater current so that the internal temperature T.sub.thm of the oscillator circuit 100 matches the target temperature T.sub.gt.

[0086] In step S102, in the second heater 42, a resistance value of the variable resistance R.sub.IC is set to a large value. The first temperature compensation voltage generation circuit 44 acquires data indicating the temperature T.sub.IC1 of the integrated circuit 40 from the second temperature detector 43.

[0087] In step S103, in the second heater 42, the resistance value of the variable resistance Ric is set to a small value. The first temperature compensation voltage generation circuit 44 acquires data indicating the temperature T.sub.IC2 of the integrated circuit 40 from the second temperature detector 43.

[0088] In step S104, based on the data indicating the frequency F.sub.1 of the oscillation signal in the oscillator 46, the data indicating the internal temperature T.sub.thm1 of the oscillator circuit 100, the data indicating the temperature T.sub.IC1 of the integrated circuit 40, the data indicating the frequency F.sub.2 of the oscillation signal in the oscillator 46, the data indicating the internal temperature T.sub.thm2 of the oscillator circuit 100, and the data indicating the temperature T.sub.IC2 of the integrated circuit 40, the first temperature compensation voltage generation circuit 44 generates the first compensation voltage V.sub.1 so that the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40 becomes zero.

[0089] Through the processing from step S101 to step S104 described above, the frequency variation ΔF.sub.IC caused by a temperature variation factor of the integrated circuit 40 can be compensated for.

[0090] <Compensation for ΔF.sub.xt1 in Heater-off Region>

[0091] In a heater-off region, a state is achieved in which the ambient temperature Ta is changing.

[0092] In step S105, the first heater 20 and the second heater 42 are turned off. The second temperature compensation voltage generation circuit 45 acquires the data indicating the internal temperature T.sub.thm of the oscillator circuit 100 from the interface 47. The second temperature compensation voltage generation circuit 45 acquires, from the storage 50, the data indicating the relationship between the internal temperature T.sub.thm (=temperature T.sub.xt1 of the resonator 10) of the oscillator circuit 100 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10.

[0093] In step S106, based on the data indicating the frequency F of the oscillation signal in the oscillator 46, the data indicating the internal temperature T.sub.thm of the oscillator circuit 100, and a change in the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 with respect to the internal temperature T.sub.thm of the oscillator circuit 100, the second temperature compensation voltage generation circuit 45 generates the second compensation voltage V.sub.2 so that the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 becomes zero.

[0094] Through the processing from step S105 to step S106 described above, the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 can be compensated for.

[0095] <Compensation for ΔF.sub.total in Heater-On Region>

[0096] In a heater-on region, a state is achieved in which the ambient temperature Ta is changing.

[0097] In step S107, the first heater 20 and the second heater 42 are turned on. The target temperature generation circuit 411 acquires, from the storage 50, the data indicating the relationship (Ta−T.sub.gt characteristic) between the ambient temperature Ta and the target temperature T.sub.gt in the case where the target temperature T.sub.gt is calibrated so that the total ΔF.sub.total of frequency variations in the oscillator circuit 100 becomes zero.

[0098] In step S108, based on the voltage Vh at the terminal RH that represents the ambient temperature Ta, the oscillator circuit 100 generates the target temperature T.sub.gt using the Ta−T.sub.gt characteristic.

[0099] Through the processing from step S107 to step S108 described above, even if T.sub.xt1≠T.sub.thm due to the occurrence of a temperature gradient starting from a heater, the total ΔF.sub.total (=ΔF.sub.xt1+ΔF.sub.IC−ΔF.sub.C) of frequency variations in the oscillator circuit 100 can be compensated for.

[0100] By applying the temperature compensation method in the oscillator circuit 100 according to the first embodiment, the oscillator circuit 100 having high frequency stability can be realized.

Second Embodiment

[0101] An example of a temperature compensation method in the oscillator circuit 100 according to a second embodiment is described with reference to FIG. 8A to FIG. 10B.

[0102] The temperature compensation method in the oscillator circuit 100 according to the second embodiment differs from the temperature compensation method in the oscillator circuit 100 according to the first embodiment in that, in the temperature compensation method in the oscillator circuit 100 according to the second embodiment, the frequency variation AFxti due to a temperature change in the resonator 10 can be fully compensated for (ΔF.sub.xt1=ΔF.sub.C) at any ambient temperature. Since the other methods are the same as the temperature compensation method in the oscillator circuit 100 according to the first embodiment, repeated description is omitted.

[0103] An essential condition for full compensation for the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 at any ambient temperature includes that a boundary temperature Tz and a minimum temperature Tp match (Tz=Tp), which is hereinafter described. On a graph indicating the relationship between the temperature T.sub.xt1 of the resonator 10 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10, the minimum temperature Tp means the temperature T.sub.xt1 of the resonator 10 when the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 is minimized.

[0104] A solution to full compensation is not necessarily Tp=Tz, and a solution satisfying ΔF.sub.xt1=ΔF.sub.C is searched for assuming that Tp˜Tz. As shown in FIG. 8A and FIG. 8B, in all of (a).fwdarw.(b).fwdarw.(c).fwdarw.(d) and (a)'.fwdarw.(b)'.fwdarw.(c)′.fwdarw.(d)′, the equations are solved so that ΔF.sub.xt1=ΔF.sub.C is established.

[0105] Around the minimum temperature Tp, the temperature T.sub.xt1 of the resonator 10 becomes a temperature in a narrow range around the minimum temperature Tp due to temperature control in the oscillator circuit 100. Hence, the graph indicating the relationship between the temperature T.sub.xt1 of the resonator 10 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 may be approximated by an even function (for example, a quadratic function). The frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 may be expressed by the following equation.


ΔF.sub.xt1=A.sub.2(T.sub.xt1−Tp).sup.2   (11)

[0106] In a heater-off region, a temperature compensation component may be optimally adjusted so that ΔF.sub.xt1=ΔF.sub.C while a temperature gradient using a heater as a center becomes zero and T.sub.xt1=T.sub.thm.

[0107] When ΔF.sub.xt1 on the left side of equation (11) is replaced with ΔF.sub.C, and T.sub.xt1 on the right side of equation (11) is replaced with T.sub.thm, the temperature compensation component ΔF.sub.C may be expressed by the following equation.


F.sub.C=A.sub.2(T.sub.thm−Tp).sup.2   (12)

[0108] Here, when it is considered to modify equation (12) into an equation regarding (T.sub.thm−Tz) instead of an equation regarding (T.sub.thm−Tp) and equation (12) is developed, the following equation may be obtained.


F.sub.C=A.sub.2(T.sub.thm−Tp).sup.2=A.sub.2(T.sub.ttm.sup.2−2TpT.sub.thm+Tp.sup.2)   (13)

[0109] When equation (13) is transformed into a quadratic equation regarding (T.sub.thm−Tz), the following equation may be obtained.


F.sub.C=A.sub.2{(T.sub.thm−Tz).sup.2+2TzT.sub.thm−Tz.sup.2−2TpT.sub.thm+Tp.sup.2}  (14)

[0110] The following equation may be obtained from equation (14).


ΔF.sub.C=A.sub.2{(T.sub.thm−Tz).sup.2+2(Tz−Tp)(T.sub.thm−Tz)+(Tz−Tp).sup.2}  (15)

[0111] In order to establish ΔF.sub.xt1=ΔFc at an arbitrary ambient temperature Ta in the heater-on region, the internal temperature T.sub.thm of the oscillator circuit 100 may be subjected to temperature control so as to satisfy T.sub.thm<Tz<T.sub.xt1. This is because the first heater 20 is closer to the resonator 10 than the first temperature detector 30 and T.sub.xt1>T.sub.thm is always established in the heater-on region. With respect to an equation obtained by equating the right side of equation (11) with the right side of equation (14), when both sides are divided by A.sub.2, the following equation may be obtained.


(T.sub.xt1−Tp).sup.2=(T.sub.thm−Tz)+2(Tz−Tp)(T.sub.thm−Tz)+(Tz−Tp).sup.2   (16)

[0112] Here, the internal temperature Tthm of the oscillator circuit 100, the temperature T.sub.xt1 of the resonator 10, and the ambient temperature Ta are associated in a thermal resistance model, as shown in FIG. 9A and FIG. 9B.

[0113] From the thermal resistance model, since (T.sub.thm−Ta):(T.sub.xt1−T.sub.thm)=θa:α×θa is established, the following equation may be obtained by solving T.sub.xt1.


T.sub.xt1=(1+α)T.sub.thm−αTa(wherein α is a positive number sufficiently smaller than 1)   (17)

[0114] When equation (17) is substituted into equation (16) and T.sub.xt1 is eliminated, the following equation may be obtained.


{(1+α)T.sub.thm−αTa−Tp}.sup.2=(T.sub.thm−Tz).sup.2+2(Tz−Tp)(T.sub.thm−Tz)+(Tz−Tp).sup.2   (18)

[0115] When T.sub.thm is rearranged, the following equation may be obtained.


(1+α).sup.2T.sub.thm.sup.2−2(1+α)(αTa+Tp)T.sub.thm+(αTa+Tp).sup.2=T.sub.thm.sup.2−2Tzt.sub.thm+Tz.sup.2+2(Tz−Tp)T.sub.thm−2(Tz−Tp)Tz+(Tz−Tp).sup.2


α(2+α)T.sub.thm.sup.2−2{αTa+α(αTa+Tp)}T.sub.thm+(αTa+Tp).sup.2=Tz.sup.2−2(Tz−Tp)Tz+(Tz−Tp).sup.2


α(2+α)T.sub.thm.sup.2−2α{(1+a)Ta+Tp}T.sub.thm+(αTa+Tp).sup.2=Tp.sup.2


α(2+a)T.sub.thm.sup.2−2α[(1+α)Ta+Tp]T.sub.thm+α(αTa+2Tp)Ta=0


(2+α)T.sub.thm.sup.2−2{(1+α)Ta+Tp}T.sub.thm+(αTa+2Tp)Ta=0   (19)

[0116] Since equation (19) is a quadratic equation regarding the internal temperature T.sub.thm of the oscillator circuit 100, when equation (19) is solved, the following equation may be obtained.

[00004] T thm = ( 1 + α ) Ta + Tp ± { ( 1 + α ) Ta + Tp } 2 - ( 2 + α ) ( α Ta + 2 Tp ) Ta 2 + α ( 20 ) = ( 1 + α ) Ta + Tp ± Ta 2 - 2 TpTa + Tp 2 2 + α = ( 1 + α ) Ta + Tp ± .Math. "\[LeftBracketingBar]" Ta - Tp .Math. "\[RightBracketingBar]" 2 + α

[0117] One of the two solutions is the case where ± is set to + in equation (20), and T.sub.thm=Ta is satisfied. However, this indicates that the internal temperature T.sub.thm matches the ambient temperature Ta and the amount of heat generated by the heater is zero. That is, it contradicts the fact that the heater is on, and cannot be an actual solution. The other solution is a solution to be obtained, and the following equation may be obtained.

[00005] T thm = α 2 + α Ta + 2 2 + α Tp ( 21 )

[0118] When equation (21) is substituted into equation (17), the following equation may be obtained.

[00006] T xtl = - α 2 + α Ta + 2 + 2 α 2 + α Tp ( 22 )

[0119] From equations (21) and (22), an average value of the internal temperature T.sub.thm of the oscillator circuit 100 and the temperature T.sub.xt1 of the resonator 10 may be expressed by the following equation.

[00007] 1 2 ( T thm + T xtl ) = Tp ( 23 )

[0120] As shown in FIG. 10A, a slope of the internal temperature T.sub.thm of the oscillator circuit 100 with respect to the ambient temperature Ta and a slope of the temperature T.sub.xt1 of the resonator 10 with respect to the ambient temperature Ta have the same absolute value and opposite polarities.

[0121] Accordingly, as shown in FIG. 10B, it is known that, in order to fully compensate for (ΔF.sub.xt1=ΔF.sub.C) the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 at any ambient temperature, the boundary temperature Tz and the minimum temperature Tp match (Tz=Tp). In the oscillator circuit 100, temperature control may be performed to control the internal temperature T.sub.thm of the oscillator circuit 100 to be first order with respect to the ambient temperature Ta while the boundary temperature Tz and the minimum temperature Tp match.

[0122] According to the temperature compensation method in the oscillator circuit 100 according to the second embodiment, the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 can be fully compensated for at any ambient temperature. Accordingly, the oscillator circuit 100 having very high frequency stability can be realized.

Third Embodiment

[0123] An example of a temperature compensation method in the oscillator circuit 100 according to a third embodiment is described with reference to FIG. 11 and FIG. 12.

[0124] The temperature compensation method in the oscillator circuit 100 according to the third embodiment differs from the temperature compensation method in the oscillator circuit 100 according to the second embodiment in that, in the temperature compensation method in the oscillator circuit 100 according to the third embodiment, the boundary temperature Tz and the minimum temperature Tp do not match. Since the other methods are the same as the temperature compensation method in the oscillator circuit 100 according to the second embodiment, repeated description is omitted.

[0125] A method for compensating for the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 in the case where the boundary temperature Tz and the minimum temperature Tp do not match is described.

[0126] As shown in FIG. 11, in the heater-off region ((a).fwdarw.(b)), in the oscillator circuit 100, the temperature compensation component ΔF.sub.C for compensating for the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 is generated.

[0127] As shown in FIG. 11, in the heater-on region ((b).fwdarw.(c)), in the oscillator circuit 100, the internal temperature T.sub.thm of the oscillator circuit 100 is subjected to temperature control so that, a graph indicating the relationship between the internal temperature Tthm of the oscillator circuit 100 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 achieves a smooth function (for example, a cubic function) at point (b) where the internal temperature T.sub.thm of the oscillator circuit 100 reaches the boundary temperature Tz. Then, in the oscillator circuit 100, the temperature compensation component ΔF.sub.C is generated based on the aforesaid function.

[0128] As shown in FIG. 12, on a graph indicating a relationship between the internal temperature T.sub.thm of the oscillator circuit 100 and a slope dΔF.sub.C/dT.sub.thm, when a discontinuous point occurs at the slope dΔF.sub.C/dT.sub.thm where the internal temperature T.sub.thm of the oscillator circuit 100 reaches the boundary temperature Tz, after temperature compensation, a problem, such as occurrence of a large residual error component or deterioration of frequency stability due to a temperature change, may occur. However, according to the temperature compensation method in the oscillator circuit 100 according to the third embodiment, as shown in FIG. 11, on the graph indicating the relationship between the internal temperature Tthm of the oscillator circuit 100 and the slope dΔF.sub.C/dT.sub.thm, since no discontinuous point occurs at the slope dΔFc/dT.sub.thm where the internal temperature T.sub.thm of the oscillator circuit 100 reaches the boundary temperature Tz, such a problem can be avoided.

[0129] In the third embodiment, a case where the minimum temperature Tp is higher than the boundary temperature Tz has been described as an example. However, even if the minimum temperature Tp is equal to or lower than the boundary temperature Tz, it is of course possible to apply the same temperature compensation method.

[0130] According to the temperature compensation method in the oscillator circuit 100 according to the third embodiment, even if the boundary temperature Tz and the minimum temperature Tp do not match, the total ΔF.sub.total(=ΔF.sub.xt1−ΔF.sub.C) of frequency variations in the oscillator circuit 100 can be made zero. Accordingly, since resistance to individual differences in the minimum temperature Tp is enhanced, mass productivity can be improved.

Fourth Embodiment

[0131] An example of a temperature compensation method in the oscillator circuit 100 according to a fourth embodiment is described with reference to FIG. 13A and FIG. 13B.

[0132] The temperature compensation method in the oscillator circuit 100 according to the fourth embodiment differs from the temperature compensation method in the oscillator circuit 100 according to the third embodiment in that, in the temperature compensation method in the oscillator circuit 100 according to the fourth embodiment, the boundary temperature Tz matches an ambient temperature maximum value Ta_MAX. Since the other methods are the same as the temperature compensation method in the oscillator circuit 100 according to the third embodiment, repeated description is omitted.

[0133] As shown in FIG. 13A, in the temperature compensation method in the oscillator circuit 100 according to the third embodiment, the boundary temperature Tz is set to be lower than the ambient temperature maximum value Ta_MAX.

[0134] On the other hand, as shown in FIG. 13B, in the temperature compensation method in the oscillator circuit 100 according to the fourth embodiment, the boundary temperature Tz is set to match the ambient temperature maximum value Ta_MAX.

[0135] According to the temperature compensation method in the oscillator circuit 100 according to the fourth embodiment, by causing the boundary temperature Tz to match the ambient temperature maximum value Ta_MAX, an operation is performed only in the heater-on region at an ambient temperature at which normal operation is performed. Since fine adjustment of the internal temperature Tthm of the oscillator circuit 100 in the vicinity of the boundary temperature Tz can be avoided, the oscillator circuit 100 capable of simple temperature compensation can be realized.

Fifth Embodiment

[0136] In a fifth embodiment, an estimation method for estimating the temperature T.sub.xt1 of the resonator 10 at an arbitrary ambient temperature Ta by use of the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 is described.

[0137] First, in regard to compensation for the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40, the oscillator circuit 100 performs the same temperature compensation as in the first embodiment.

[0138] Next, the oscillator circuit 100 measures the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 in the heater-off region and at the ambient temperature Ta that is changing. Meanwhile, the oscillator circuit 100 measures the temperature T.sub.IC of the integrated circuit 40 and the internal temperature T.sub.thm of the oscillator circuit 100 (T.sub.IC=T.sub.xt1=T.sub.thm), and calculates an approximation function such as an N-th order function based on the relationship between the temperature T.sub.xt1 of the resonator 10 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10.

[0139] Next, the oscillator circuit 100 measures the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 in the heater-on region at an ambient temperature minimum value Ta_min, and calculates the temperature Txti of the resonator 10 based on the calculated approximation function. Meanwhile, the oscillator circuit 100 measures the internal temperature T.sub.thm of the oscillator circuit 100, and calculates a thermal resistance ratio α by using the following equation derived from the thermal resistance model (see FIG. 9A).


T.sub.xt1=(1+α)T.sub.thm−αTa   (24)

[0140] A reason to use the ambient temperature minimum value Ta_min is that the thermal resistance ratio α can be calculated with high accuracy since a difference between the internal temperature T.sub.thm of the oscillator circuit 100 and the ambient temperature Ta and a difference between the temperature T.sub.xt1 of the resonator 10 and the ambient temperature Ta become largest.

[0141] In the oscillator circuit 100, by using the thermal resistance ratio a calculated based on equation (24), the temperature T.sub.xt1 of the resonator 10 at an arbitrary ambient temperature Ta can be calculated. Further, in the oscillator circuit 100, by using the approximation function calculated based on the relationship between the temperature T.sub.xt1 of the resonator 10 and the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10, the frequency variation ΔF.sub.xt1 due to a temperature change in the resonator 10 at an arbitrary ambient temperature Ta can also be calculated.

[0142] According to the estimation method according to the fifth embodiment, the temperature T.sub.xt1 of the resonator 10 at an arbitrary ambient temperature Ta can be estimated. By applying the estimation method according to the fifth embodiment to the temperature compensation method in the oscillator circuit 100 according to each embodiment described above, the oscillator circuit 100 is able to easily perform temperature control of the internal temperature T.sub.thm of the oscillator circuit 100.

[0143] <Modifications>

[0144] In each embodiment described above, an example has been described in which the integrated circuit 40 is configured to include the current generator 41, the second heater 42, the second temperature detector 43, the first temperature compensation voltage generation circuit 44, the second temperature compensation voltage generation circuit 45, the oscillator 46, the interface 47, the storage 50, and the interface 60. However, the integrated circuit 40 is not limited to the above configuration.

[0145] For example, the integrated circuit 40 may be configured to include the current generator 41, the second heater 42, the second temperature detector 43, the first temperature compensation voltage generation circuit 44, the oscillator 46 and the interface 47. In the case where the integrated circuit 40 has the above configuration, the oscillator circuit 100 is able to perform temperature compensation so that the frequency variation ΔF.sub.IC due to a temperature change in the integrated circuit 40 is zero.

[0146] Although the above embodiments have been described as representative examples, it will be apparent to those skilled in the art that many modifications and substitutions may be made within the spirit and scope of the disclosure. Accordingly, the present disclosure should not be construed as limited by the embodiments described above, and various modifications and changes are possible without departing from the scope of the appended claims. For example, it is possible to combine a plurality of configuration blocks described in the configuration diagrams of the embodiments into one, or to divide one configuration block. It is possible to combine a plurality of steps described in the flowcharts of the embodiments into one, or to divide one step.