Oscillator
A dual-circuit system with initial and fine temperature compensation processes addresses frequency micro-jumps in oscillators, achieving high precision clock frequency accuracy by minimizing frequency deviations through dual-stage temperature compensation.
Patent Information
- Application Number
- JP2023141948
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2039-02-21
AI Technical Summary
Conventional temperature-compensated oscillators experience micro-jumps in frequency due to fluctuations in temperature measurement results, particularly when high temperature compensation gain is applied, leading to difficulties in achieving high precision in clock frequency.
A dual-circuit system comprising a first circuit device that performs a first temperature compensation process to reduce coarse frequency fluctuations, followed by a second circuit device performing a second temperature compensation process for fine adjustments, using temperature sensors and digital processing to minimize frequency deviations.
The dual-circuit approach significantly reduces frequency micro-jumps, enabling high precision clock frequency accuracy with frequency deviations of 10 ppb or less, even in wide temperature ranges.
Smart Images

Figure 0007568016000001 
Figure 0007568016000002 
Figure 0007568016000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an oscillation vessel etc. [Background technology]
[0002] Conventionally, a temperature compensation type oscillator that performs temperature compensation based on a temperature detection result is known. For example, a conventional technology disclosed in Patent Document 1 is known as such a temperature compensation type oscillator. In the oscillator of the conventional technology, a clock signal is generated using a fractional-N type PLL circuit that multiplies the frequency of an oscillation signal of a vibrator. This oscillator includes a temperature measurement unit and a storage unit in which a temperature correction table is stored, and the division ratio of the fractional-N type PLL circuit is set based on the temperature measurement value by the temperature measurement unit and the temperature correction table, thereby realizing a digital temperature compensation process. Specifically, the temperature correction table stores the temperature measurement value, which is digital temperature detection data, in correspondence with the division ratio, and the division ratio of the fractional-N type PLL circuit is set based on the data of the division ratio read from the temperature correction table based on the temperature measurement value. As a result, a clock signal obtained by multiplying the frequency of the oscillation signal of the vibrator is output from the oscillator. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-220770 A Summary of the Invention [Problem to be solved by the invention]
[0004] In digital temperature compensation processing as described in Patent Document 1, frequency micro-jumps occur due to fluctuations in temperature measurement results. In this case, problems occur such as the micro-jump becoming larger as the temperature compensation gain increases. When such problems occur, it becomes difficult to achieve high accuracy in the oscillator clock frequency. [Means for solving the problem]
[0005] One aspect of the present disclosure relates to an oscillator including a vibrator, a first circuit device electrically connected to the vibrator, and a second circuit device, wherein the first circuit device generates a first clock signal by oscillating the vibrator and performs a first temperature compensation process to temperature compensate the frequency of the first clock signal, and the second circuit device receives the first clock signal from the first circuit device, generates a second clock signal based on the first clock signal, and performs a second temperature compensation process to temperature compensate the frequency of the second clock signal. [Brief description of the drawings]
[0006] [Figure 1] 2 shows an example of a basic configuration of an oscillator according to the present embodiment. [Diagram 2] 3 shows a first configuration example of an oscillator according to the present embodiment. [Diagram 3] 4 shows a second configuration example of the oscillator of the present embodiment. [Figure 4] 13 shows a third configuration example of the oscillator of the present embodiment. [Diagram 5] An example of frequency-temperature characteristics illustrating the problem of frequency micro-jumps and hysteresis errors. [Figure 6] An example of frequency-temperature characteristics when a frequency micro-jump occurs. [Figure 7] An example of frequency-temperature characteristics when frequency micro-jumps are suppressed. [Figure 8] 5 is an explanatory diagram of a temperature compensation method according to the embodiment. [Figure 9] 5A and 5B are diagrams illustrating the improvement of frequency deviation by the temperature compensation method of the present embodiment. [Figure 10] 5A to 5C are diagrams illustrating an improvement in hysteresis characteristics by the temperature compensation method of the present embodiment. [Figure 11] 13 shows a first configuration example of a first circuit device. [Figure 12] 13 shows a second configuration example of the first circuit device. [Figure 13] 13 shows a first configuration example of a second circuit device. [Figure 14] 13 shows a second configuration example of the second circuit device. [Figure 15] 13 shows a third configuration example of the second circuit device. [Figure 16] The first example of an oscillator structure. [Figure 17] A second example of an oscillator structure. [Figure 18] The third example of an oscillator structure. [Figure 19] 1 shows an example of the structure of an oscillator in which a resonator and a circuit device are housed. [Figure 20] Example of electronic device configuration. [Figure 21] An example of a mobile configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] The present embodiment will be described below. Note that the present embodiment described below does not unduly limit the contents of the claims. Furthermore, not all of the configurations described in the present embodiment are necessarily essential configurations.
[0008] 1. Oscillator FIG. 1 shows a basic configuration example of an oscillator 4 of this embodiment. The oscillator 4 is a temperature compensated oscillator, and includes a resonator 10, a circuit device 20, and a circuit device 30. The oscillator 4 may be a temperature compensated crystal oscillator (TCXO) that does not have a thermostatic oven, or may be an oven-controlled crystal oscillator (OCXO) that has a thermostatic oven. The circuit device 20 is a first circuit device, and the circuit device 30 is a second circuit device. The circuit device 20 is electrically connected to the resonator 10. For example, the resonator 10 and the circuit device 20 are electrically connected via a bonding wire, a metal bump, or internal wiring of a package. Also, in FIG. 1, the circuit device 30 is electrically connected to the circuit device 20. For example, the circuit device 20 and the circuit device 30 are electrically connected via a bonding wire, a metal bump, or internal wiring of a package.
[0009] The vibrator 10 is an element that generates mechanical vibrations by an electrical signal. The vibrator 10 can be realized by a vibrating piece such as a quartz crystal vibrating piece. For example, the vibrator 10 can be realized by a quartz crystal vibrating piece with a cut angle of AT cut or SC cut that vibrates in a thickness shear manner. The vibrator 10 of this embodiment can be realized by various vibrating pieces such as a vibrating piece other than a thickness shear vibration type, or a piezoelectric vibrating piece formed of a material other than quartz. For example, the vibrator 10 may be a SAW (Surface Acoustic Wave) resonator or a MEMS (Micro Electro Mechanical Systems) vibrator as a silicon vibrator formed using a silicon substrate.
[0010] The circuit devices 20 and 30 are integrated circuit devices known as ICs (Integrated Circuits). For example, the circuit devices 20 and 30 are ICs manufactured by a semiconductor process, and are semiconductor chips in which circuit elements are formed on a semiconductor substrate.
[0011] The circuit device 20, which is a first circuit device, generates a clock signal CK1 by oscillating the resonator 10, and performs a first temperature compensation process to temperature-compensate the frequency of the clock signal CK1. The circuit device 20 then outputs the clock signal CK1 that has been subjected to the first temperature compensation process. The clock signal CK1 is the first clock signal. The first temperature compensation process is a process that suppresses and compensates for frequency fluctuations in the clock signal CK1 caused by temperature fluctuations.
[0012] The circuit device 30, which is the second circuit device, receives the clock signal CK1 from the circuit device 20, generates a clock signal CK2 based on the clock signal CK1, and performs a second temperature compensation process to temperature compensate the frequency of the clock signal CK2. The circuit device 30 then outputs the clock signal CK2 that has been subjected to the second temperature compensation process. The clock signal CK2 is the second clock signal. The second temperature compensation process is a process that suppresses and compensates for the frequency fluctuation of the clock signal CK2 due to temperature fluctuation. Note that, hereinafter, the first temperature compensation process and the second temperature compensation process may be collectively referred to as temperature compensation process as appropriate.
[0013] Specifically, as shown in Fig. 1, the circuit device 20 includes an oscillation circuit 22 and a processing circuit 24. The oscillation circuit 22 generates a clock signal CK1 by oscillating the resonator 10. The processing circuit 24 performs a first temperature compensation process for temperature compensating the frequency of the clock signal CK1. The processing circuit 24 is a first processing circuit.
[0014] For example, the circuit device 20 includes a first vibrator terminal and a second vibrator terminal. A first terminal electrode, which is one end of the vibrator 10 provided outside the circuit device 20, is electrically connected to the first vibrator terminal. A second terminal electrode, which is the other end of the vibrator 10, is electrically connected to the second vibrator terminal. A clock signal CK1 generated by the oscillation operation of the vibrator 10 by the oscillation circuit 22 is output to the outside via a clock output terminal of the circuit device 20. For example, an oscillation signal from the oscillation circuit 22 is buffered by an output circuit (not shown) and output as a clock signal CK1 from the clock output terminal. The first vibrator terminal, the second vibrator terminal, and the clock output terminal are, for example, pads of the circuit device 20. Note that the connection in this embodiment is an electrical connection. An electrical connection is a connection that allows an electrical signal to be transmitted, and is a connection that allows information to be transmitted by an electrical signal. The electrical connection may be a connection via an active element or the like.
[0015] The oscillator circuit 22 includes a drive circuit for oscillation provided between the first oscillator terminal and the second oscillator terminal. For example, the oscillator circuit 22 can be realized by a transistor such as a bipolar transistor that realizes the drive circuit, and an active element such as a capacitor or a resistor. As the oscillator circuit 22, various types of oscillator circuits such as a Pierce type, a Colpitts type, an inverter type, or a Hartley type can be used. In addition, the oscillator circuit 22 is provided with a variable capacitance circuit, and the oscillation frequency can be adjusted by adjusting the capacitance value of this variable capacitance circuit. The variable capacitance circuit can be realized by a voltage variable capacitance element such as a varactor. The variable capacitance circuit is electrically connected to one end of the oscillator 10. A first variable capacitance circuit connected to one end of the oscillator 10 and a second variable capacitance circuit electrically connected to the other end of the oscillator 10 may be provided.
[0016] The processing circuit 24 performs a first temperature compensation process and outputs a control voltage VC that controls the oscillation of the resonator 10. For example, as the first temperature compensation process, the processing circuit 24 generates a control voltage VC for temperature compensation that compensates for the frequency-temperature characteristic of the resonator 10, and outputs the control voltage VC to the oscillation circuit 22. Based on this control voltage VC, the capacitance value of a variable capacitance element such as a varactor in the variable capacitance circuit of the oscillation circuit 22 is adjusted, thereby controlling the oscillation frequency of the oscillation circuit 22, thereby controlling the frequency of the clock signal CK1, and realizing the first temperature compensation process of the clock signal CK1. For example, the first temperature compensation process that keeps the frequency change of the clock signal CK1 constant with respect to the temperature change is realized. The processing circuit 24 can be realized by a circuit of an ASIC (Application Specific Integrated Circuit) by automatic placement and wiring such as a gate array. Alternatively, the processing circuit 24 may be realized by a processor such as a DSP (Digital Signal Processor) or a CPU (Central Processing Unit).
[0017] The circuit device 30 includes a clock signal generating circuit 32 and a processing circuit 34. The clock signal generating circuit 32 generates a clock signal CK2 having a frequency set by a frequency setting signal FSD based on a clock signal CK1 from the circuit device 20. For example, the clock signal generating circuit 32 generates a clock signal CK2 having a frequency obtained by multiplying the frequency of the clock signal CK1, using the clock signal CK1 that has been subjected to the first temperature compensation process, as a reference clock signal. The clock signal generating circuit 32 can be realized by, for example, a fractional-N type PLL circuit or a direct digital synthesizer called DDS, as described later. The clock signal CK1 is input to the circuit device 30 via a clock input terminal of the circuit device 30. The clock signal CK2 generated by the clock signal generating circuit 32 is output to the outside via a clock output terminal of the circuit device 30. For example, the clock signal CK2 generated by the clock signal generating circuit 32 is output from a clock output terminal via an output circuit (not shown) and output to the outside via an external terminal for external connection of the oscillator 4. The clock input terminal and the clock output terminal are, for example, pads of the circuit device 30 .
[0018] The processing circuit 34 outputs a frequency setting signal FSD. The frequency of the clock signal CK2 is controlled by this frequency setting signal FSD, thereby realizing a second temperature compensation process. For example, the second temperature compensation process is realized to make the frequency change of the clock signal CK2 constant in response to temperature change. The processing circuit 34 can be realized by an ASIC circuit using automatic placement and wiring such as a gate array. Alternatively, the processing circuit 34 may be realized by a processor such as a DSP or a CPU.
[0019] For example, as described in FIG. 8 below, the vibrator 10 has a large frequency variation amount, which is the amount of frequency variation with respect to temperature, in the frequency temperature characteristics. Therefore, if a digital temperature compensation process is performed using the clock signal generated by the oscillation of the vibrator 10 as it is, the frequency micro-jump caused by the fluctuation of the temperature measurement result becomes large, making it difficult to achieve high accuracy of the clock frequency of the oscillator 4. For example, the frequency micro-jump caused by the quantization error of the temperature detection data makes it difficult to achieve high accuracy of the clock frequency. Note that the micro-jump in this embodiment refers to a small and steep frequency change in response to a temperature change, which occurs over the entire temperature compensation range. A specific example is shown in FIG. 5 below.
[0020] In this respect, in the present embodiment, the circuit device 20 that oscillates the resonator 10 performs a first temperature compensation process, which is a rough adjustment temperature compensation process. This reduces the frequency fluctuation amount in the frequency temperature characteristic of the clock signal CK1 output from the circuit device 20. Then, when the circuit device 30 generates the clock signal CK2 based on the clock signal CK1 from the circuit device 20, it performs a second temperature compensation process, which is a fine adjustment temperature compensation process. In this way, by performing the first temperature compensation process for rough adjustment by the circuit device 20 and then the second temperature compensation process for fine adjustment by the circuit device 30, it is possible to reduce the frequency micro-jump caused by the fluctuation of the temperature measurement result, etc., and to realize high accuracy of the clock frequency of the oscillator 4. For example, in this embodiment, the absolute value of the frequency deviation of the clock signal CK2 due to temperature fluctuation is smaller than the absolute value of the frequency deviation of the clock signal CK1 due to temperature fluctuation, and it is possible to greatly reduce the frequency fluctuation amount in the frequency temperature characteristic of the clock signal CK2. For example, as described later in FIG. 8, the absolute value of the frequency deviation of the clock signal CK1 due to temperature fluctuation can be, for example, 1 ppm or less in the temperature range of -40°C to 105°C by performing the first temperature compensation process by the circuit device 20. In this embodiment, the clock signal CK1 that has been subjected to the first temperature compensation process of rough adjustment so that the absolute value of the frequency deviation is, for example, 1 ppm or less is input to the circuit device 30, and the circuit device 30 performs the second temperature compensation process to generate the clock signal CK2. In this way, the absolute value of the frequency deviation of the clock signal CK2 can be, for example, 100 ppb or less, and more preferably, 10 ppb or less, thereby realizing high accuracy of the clock frequency. Note that the frequency deviation here refers to the value obtained by dividing the difference between the nominal frequency and the actual frequency by the nominal frequency.
[0021] In this embodiment, the circuit device 20 includes an oscillation circuit 22 that generates a clock signal CK1 by oscillating the resonator 10, and a processing circuit 24 that performs a first temperature compensation process. The circuit device 30 includes a clock signal generation circuit 32 that generates a clock signal CK2 having a frequency set by a frequency setting signal FSD based on the clock signal CK1 from the circuit device 20, and a processing circuit 34 that performs a second temperature compensation process and outputs the frequency setting signal FSD. In this way, by providing the oscillation circuit 22 and the processing circuit 24 in the circuit device 20, it becomes possible for the circuit device 20 to perform a process of oscillating the resonator 10 to generate the clock signal CK1, and a first temperature compensation process of temperature compensating the frequency of the clock signal CK1. Furthermore, by providing the clock signal generation circuit 32 and the processing circuit 34 in the circuit device 30, it becomes possible for the circuit device 30 to perform a process of generating a clock signal CK2 based on the clock signal CK1, and a second temperature compensation process of temperature compensating the frequency of the clock signal CK2.
[0022] In this embodiment, the processing circuit 24 of the circuit device 20 generates a control voltage VC for temperature compensation that compensates for the frequency-temperature characteristics of the resonator 10 as a first temperature compensation process, and outputs the control voltage VC to the oscillation circuit 22. Meanwhile, the processing circuit 34 of the circuit device 30 performs a second temperature compensation process based on the temperature detection data, and outputs a frequency setting signal FSD, which is a digital signal, to the clock signal generation circuit 32.
[0023] In this way, the oscillation frequency of the oscillation circuit 22 is controlled based on the control voltage VC generated by the first temperature compensation process, thereby making it possible to generate a clock signal CK1 that has been subjected to the first temperature compensation process for compensating for the frequency-temperature characteristics of the resonator 10. Then, this clock signal CK1 and the frequency setting signal FSD generated by the second temperature compensation process are input to the clock signal generation circuit 32, making it possible to generate a clock signal CK2 that has been subjected to the second temperature compensation process. This makes it possible to perform the first temperature compensation process for rough adjustment, and then perform the second temperature compensation process for fine adjustment, thereby making it possible to achieve high accuracy in the clock frequency of the oscillator 4.
[0024] FIG. 2 shows a first configuration example of the oscillator 4 of this embodiment. In FIG. 2, the circuit device 20 has a temperature sensor 26, and performs a first temperature compensation process based on a temperature detection signal ST from the temperature sensor 26. The temperature detection signal ST is, for example, a temperature detection voltage. For example, the temperature sensor 26 outputs the temperature detection signal ST to the processing circuit 24. The processing circuit 24 performs the first temperature compensation process based on the temperature detection signal ST from the temperature sensor 26. For example, the processing circuit 24 performs the first temperature compensation process based on temperature detection data obtained by A / D converting the temperature detection signal ST from the temperature sensor 26 by an A / D conversion circuit (not shown). This A / D conversion circuit may be provided outside the processing circuit 24, or may be provided inside the processing circuit 24.
[0025] The temperature sensor 26 outputs a temperature-dependent voltage that changes according to the environmental temperature as a temperature detection signal ST. The environmental temperature is, for example, the temperature of the environment surrounding the resonator 10, the circuit device 20, etc. For example, the temperature sensor 26 generates a temperature-dependent voltage using a circuit element having temperature dependence, and outputs the temperature-dependent voltage based on a temperature-independent voltage. For example, the temperature sensor 26 outputs the forward voltage of a PN junction as a temperature-dependent voltage. For example, the temperature sensor 26 outputs the base-emitter voltage of a bipolar transistor as a temperature-dependent voltage. The temperature-independent voltage is, for example, a bandgap reference voltage.
[0026] The processing circuit 24 measures the environmental temperature using the temperature detection signal ST from the temperature sensor 26, suppresses the frequency fluctuation of the oscillation of the resonator 10 due to temperature fluctuation, performs a first temperature compensation process to compensate for the frequency-temperature characteristic of the resonator 10, and outputs a control voltage VC. The capacitance value of the variable capacitance circuit in the oscillation circuit 22 is controlled based on this control voltage VC, thereby realizing the first temperature compensation process that suppresses and keeps constant the frequency fluctuation of the oscillation of the resonator 10 due to temperature fluctuation. For example, the first temperature compensation process is realized such that the absolute value of the frequency deviation of the clock signal CK1 is, for example, 1 ppm or less.
[0027] In this way, by performing the first temperature compensation process using the temperature sensor 26 built into the circuit device 20, it becomes possible to perform appropriate temperature compensation of the frequency-temperature characteristics of the resonator 10. For example, by using the temperature sensor 26 built into the circuit device 20, it becomes possible to measure the temperature at a location not far away from the resonator 10. This makes it possible to reduce the difference between the actual temperature of the resonator 10 and the temperature measured by the temperature sensor 26, thereby realizing a more appropriate first temperature compensation process. For example, it becomes possible to reduce the hysteresis error of the temperature characteristics.
[0028] 2, the circuit device 30 receives the temperature detection signal ST from the temperature sensor 26 of the circuit device 20 and performs a second temperature compensation process based on the temperature detection signal ST. For example, the temperature detection signal ST is output via a signal output terminal of the circuit device 20 and input to the circuit device 30 via a signal input terminal of the circuit device 30. The signal output terminal is, for example, a pad of the circuit device 20, and the signal input terminal is, for example, a pad of the circuit device 30. For example, the temperature detection signal ST from the circuit device 20 is input to the processing circuit 34 of the circuit device 30. Then, the processing circuit 34 performs a second temperature compensation process based on the temperature detection signal ST and outputs a frequency setting signal FSD to the clock signal generation circuit 32. The clock signal generation circuit 32 generates a clock signal CK2 having a frequency set by the frequency setting signal FSD based on the clock signal CK1 from the circuit device 20. For example, the clock signal generation circuit 32 generates a clock signal CK2 having a frequency set by the frequency setting signal FSD using the clock signal CK1 as a reference clock signal. Then, the generated clock signal CK2 is output from the oscillator 4.
[0029] 2, the circuit device 30 performs the second temperature compensation process based on the temperature detection signal ST from the temperature sensor 26 of the circuit device 20. In this way, the first temperature compensation process in the circuit device 20 and the second temperature compensation process in the circuit device 30 can be performed based on the temperature detection signal ST from the same temperature sensor 26, so that more appropriate temperature compensation process can be realized. In addition, by using the temperature sensor 26 built into the circuit device 20, it is possible to increase the distance between the temperature sensor 26 and the circuit device 30. For example, the distance between the temperature sensor 26 and the vibrator 10 can be made shorter than the distance between the temperature sensor 26 and the circuit device 30. For example, the circuit device 30 performs digital temperature compensation process, so that the amount of heat generated by the digital process is high. By making the distance between the circuit device 30, which is such a heat source, and the temperature sensor 26 longer than the distance between the vibrator 10 and the temperature sensor 26, the adverse effect of the heat generated by the circuit device 30 can be reduced. Specifically, it is possible to significantly reduce the hysteresis error of the temperature characteristics as described later, and to achieve high accuracy of the clock frequency of the oscillator 4.
[0030] FIG. 3 shows a second configuration example of the oscillator 4 of this embodiment. In FIG. 3, the circuit device 30 receives the temperature detection signal ST from the circuit device 20 and the external temperature sensor 27 provided outside the circuit device 30, and performs a second temperature compensation process based on the temperature detection signal ST. For example, the temperature detection signal ST from the external temperature sensor 27 is input to the circuit device 30 via a signal input terminal of the circuit device 30. For example, the temperature detection signal ST from the external temperature sensor 27 is input to the processing circuit 34 of the circuit device 30. Then, the processing circuit 34 performs the second temperature compensation process based on the temperature detection signal ST, and outputs a frequency setting signal FSD to the clock signal generation circuit 32. For example, the processing circuit 34 performs the second temperature compensation process based on temperature detection data obtained by A / D converting the temperature detection signal from the external temperature sensor 27 by an A / D conversion circuit (not shown). The clock signal generation circuit 32 generates a clock signal CK2 having a frequency set by the frequency setting signal FSD based on the clock signal CK1 from the circuit device 20.
[0031] The external temperature sensor 27 is mounted, for example, inside the package of the oscillator 4. As the external temperature sensor 27, various temperature detection elements realized by circuit components such as a thermistor can be used. The circuit device 20 may perform the first temperature compensation process based on the temperature detection signal ST from the external temperature sensor 27, or may perform the first temperature compensation process based on the temperature detection signal ST from the temperature sensor 26 built in the circuit device 20. The circuit device 20 may perform the first temperature compensation process using both the built-in temperature sensor 26 and the external temperature sensor 27. The circuit device 30 may also perform the second temperature compensation process using both the temperature sensor 26 built in the circuit device 20 and the external temperature sensor 27. Alternatively, the circuit device 30 may perform the second temperature compensation process using a temperature sensor built in the circuit device 30. A plurality of temperature sensors may be provided as the external temperature sensor 27, and the first temperature compensation process and the second temperature compensation process may be performed using these plurality of temperature sensors. Alternatively, a plurality of temperature sensors may be provided in the circuit device 20 or the circuit device 30, and the first temperature compensation process and the second temperature compensation process may be performed using the plurality of temperature sensors.
[0032] 3, temperature compensation processing such as the second temperature compensation processing is performed based on the temperature detection signal ST from the external temperature sensor 27. In this way, for example, by disposing the external temperature sensor 27 close to the resonator 10, it becomes possible to measure the temperature around the resonator 10 more appropriately. This makes it possible to realize more appropriate and highly accurate temperature compensation processing. For example, by providing multiple temperature sensors as the external temperature sensor 27 within the package of the oscillator 4, it becomes possible to realize even more accurate temperature compensation processing.
[0033] FIG. 4 shows a third configuration example of the oscillator 4 of this embodiment. In FIG. 4, the circuit device 30 includes a storage unit 35 that stores information on the trained model. The processing circuit 34 performs a second temperature compensation process based on the trained model information. For example, the processing circuit 34 performs a second temperature compensation process based on the temperature detection signal ST and the trained model information stored in the storage unit 35. Then, the processing circuit 34 outputs a frequency setting signal FSD on which the temperature compensation process has been performed. The storage unit 35 can be realized by a semiconductor memory such as a nonvolatile memory. As the nonvolatile memory, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory) that allows data to be electrically erased, or an OTP (One Time Programmable) memory using a FAMOS (Floating gate Avalanche injection MOS) or the like can be used.
[0034] The temperature detection signal ST may be a temperature detection signal from the temperature sensor 26 built into the circuit device 20, or may be a temperature detection signal from the external temperature sensor 27. Alternatively, the temperature detection signal ST may be a temperature detection signal from a temperature sensor (not shown) built into the circuit device 30. Alternatively, the processing circuit 34 may perform the second temperature compensation process based on the temperature detection signals ST from a plurality of temperature sensors such as the temperature sensor 26 and the external temperature sensor 27, and information on the trained model stored in the storage unit 35. For example, the storage unit 35 stores information on the trained model that has been machine-learned to obtain a corresponding temperature compensation value for the temperature measurement result. The processing circuit 34 performs the second temperature compensation process to obtain a temperature compensation value corresponding to each temperature based on the temperature detection signal ST and the information on the trained model in the storage unit 35. When the processing circuit 34 performs a neural network calculation, the storage unit 35 stores information on the weighting coefficient of the neural network calculation as information on the trained model. The processing circuit 34 executes a second temperature compensation process in which, for example, based on temperature detection data corresponding to the temperature detection signal ST, the processing circuit 34 reads out weighting coefficient information from the memory unit 35 and performs neural network calculations to determine a temperature compensation value corresponding to each temperature.
[0035] By performing the second temperature compensation process using the information of the trained model in this way, it becomes possible to realize a more accurate and appropriate second temperature compensation process. For example, when the oscillator 4 is manufactured or shipped, the information of the trained model obtained by measuring the frequency-temperature characteristics of the oscillator 4 is written and stored in the storage unit 35 realized by a non-volatile memory or the like. For example, when the oscillator 4 is manufactured or shipped, the frequency characteristics of the clock signal at each temperature are measured while changing the environmental temperature using a thermostatic bath or the like. Then, the information of the trained model obtained based on the measurement results is written and stored in the storage unit 35. For example, the clock frequency and the temperature detection signal at each temperature are monitored, and the information of the trained model that has been machine-learned to obtain an appropriate temperature compensation value corresponding to the value of the temperature detection signal at each temperature is written and stored in the storage unit 35. In this way, during the actual operation of the oscillator 4, the processing circuit 34 can execute the second temperature compensation process to obtain temperature compensation data corresponding to the temperature detection signal from the temperature sensor. This makes it possible to realize the second temperature compensation process in which the effects of manufacturing process fluctuations and circuit characteristic fluctuations are suppressed and canceled. The oscillator 4 of this embodiment is not limited to the configuration described in FIG. 1 to FIG. 4, and various modifications are possible. For example, modifications such as realizing the circuit device 20 and the circuit device 30 by one semiconductor chip are also possible. In addition, the circuit device 20 may be provided with multiple temperature sensors, the circuit device 30 may be provided with one or multiple temperature sensors, or the oscillator 4 may be provided with multiple external temperature sensors realized by discrete components. The information of the trained model may be updated after the oscillator 4 is shipped. The second temperature compensation process based on the information of the trained model may be performed in a state where the oscillator 4 is mounted. The configuration for performing the second temperature compensation process is not necessarily limited to being housed in the same package as other circuit elements, and may be provided outside the package of the oscillator 4.
[0036] 2.Temperature compensation processing Next, the temperature compensation process of this embodiment will be described in detail. For example, in the frequency-temperature characteristic of Fig. 5, the horizontal axis is temperature, and the temperature is changed within a temperature range such as -40°C to 80°C, -40°C to 105°C, or -40°C to 125°C. The vertical axis is frequency deviation expressed in units such as ppb. The same applies to the subsequent figures.
[0037] A1 in FIG. 5 is the frequency-temperature characteristic when the temperature is raised from a low temperature to a high temperature in a conventional oscillator, and A2 is the frequency-temperature characteristic when the temperature is lowered from a high temperature to a low temperature. When the temperature is raised as in A1 in FIG. 5, the frequency fluctuation due to temperature fluctuation is relatively small. However, when the temperature is lowered after the temperature rise as in A2, a hysteresis error HYS occurs. That is, when the temperature of the IC of the circuit device rises due to the temperature rise, the temperature of the circuit device does not drop immediately even if the temperature is lowered thereafter, but remains high. For this reason, when the temperature compensation process is performed using a temperature sensor built into the circuit device, the temperature compensation process is performed using a temperature detection signal different from the actual temperature of the resonator and the temperature of the environment, and a hysteresis error HYS as shown in FIG. 5 occurs. In addition, in FIG. 5, a frequency micro jump FJP caused by fluctuations in the temperature measurement result also occurs. When such a micro jump FJP or hysteresis error HYS occurs, it becomes difficult to keep the frequency deviation due to temperature fluctuation within the frequency tolerance error, which is the specification of the oscillator.
[0038] Figure 6 is an example of the frequency-temperature characteristic when a frequency micro-jump occurs. When a large micro-jump occurs as in Figure 6, the slope of the frequency-temperature characteristic deteriorates, and the performance of the oscillator deteriorates. On the other hand, by suppressing the micro-jump as shown in Figure 7, it is possible to achieve high accuracy of the oscillator clock frequency.
[0039] B1 in FIG. 8 is the frequency-temperature characteristic of the oscillator 10 such as a quartz oscillator. In the temperature compensation process, compensation is performed to cancel the frequency-temperature characteristic of the oscillator 10 shown in B1. For this reason, as shown in B2, it is necessary to perform the temperature compensation process in a wide compensation range, for example, 20 ppm to 40 ppm. On the other hand, there is a fluctuation in the temperature measurement result using a temperature sensor. For example, TT in FIG. 8 is the true temperature value, and the temperature measurement result has a fluctuation as shown by TL to TH. This fluctuation occurs due to fluctuations in the outside air temperature, detection variations of the temperature sensor, variations in the time difference of heat transfer to the oscillator 10, and variations in A / D conversion of the temperature detection signal. When fluctuations in the temperature detection result as shown by TL to TH occur, the correction error ΔE1 caused by this fluctuation becomes large. For example, if the frequency-temperature characteristic of the vibrator 10 shown in B1 is to be compensated for in a wide compensation range shown in B2 by one temperature compensation process, a compensation error ΔE1 will cause a frequency micro-jump FJP as shown in Figures 5 and 6. For example, the second temperature compensation process, which is a digital temperature compensation process, is performed based on digital temperature detection data obtained by A / D converting the temperature detection signal. For this reason, there is a quantization error in the A / D conversion of the temperature detection signal, and if the second temperature compensation process is performed directly on the frequency-temperature characteristic of B1 in Figure 8, the compensation error due to this quantization error will become large, as shown in ΔE1 in Figure 8.
[0040] In this respect, in the present embodiment, the circuit device 20 performs the first temperature compensation process for rough adjustment. By performing such a first temperature compensation process, as shown in B3 of FIG. 8, the absolute value of the frequency deviation of the clock signal CK1 due to temperature fluctuation can be, for example, 1 ppm or less in the temperature range of -40°C to 105°C. Therefore, even if fluctuations in the temperature measurement result as shown in TL to TH occur, it is possible to make the correction error ΔE2 very small. That is, in this embodiment, the clock signal CK1 subjected to the first temperature compensation process for rough adjustment is input to the circuit device 30, and the circuit device 30 performs the second temperature compensation process for fine adjustment to generate the clock signal CK2. Therefore, since the clock signal CK1 having the frequency temperature characteristic as shown in B3 of FIG. 8 is input to the circuit device 30, the circuit device 30 does not need to perform the temperature compensation process in a wide correction range as shown in B2, and only needs to perform the temperature compensation process in a narrow correction range. Therefore, even if fluctuations occur in the temperature measurement result, the correction error ΔE2 can be made small. For example, the correction error due to the quantization error in the A / D conversion of the temperature detection signal can be made small, like ΔE2 in Figure 8, so that the clock frequency can be made highly accurate. For example, the absolute value of the frequency deviation of clock signal CK2 due to temperature fluctuations can be made much smaller than the absolute value of the frequency deviation of clock signal CK1 due to temperature fluctuations. This makes it possible to make the absolute value of the frequency deviation of clock signal CK2, for example, 100 ppb or less. Specifically, as shown in Figure 9, it becomes possible to make the absolute value of the frequency deviation of clock signal CK2 10 ppb or less, and to achieve high accuracy of the clock frequency.
[0041] In this embodiment, as shown in FIG. 2, the circuit device 30 performs the second temperature compensation process based on the temperature detection signal ST by the temperature sensor 26 of the circuit device 20. In this way, even if the circuit device 30 generates heat, for example, by performing the digital second temperature compensation process, it is possible to suppress the adverse effect of the heat on the temperature detection result of the temperature sensor 26. For example, it is possible to make the distance between the temperature sensor 26 and the vibrator 10 closer than the distance between the temperature sensor 26 and the circuit device 30, and it is possible to more appropriately measure the temperature of the vibrator 10 using the temperature sensor 26. For example, since the distance between the temperature sensor 26 and the circuit device 30 can be made farther, it is possible to suppress the adverse effect of the heat generated by the circuit device 30 on the temperature detection result of the temperature sensor 26. As a result, it is possible to significantly reduce the hysteresis error HYS described in FIG. 5. For example, C1 in FIG. 10 is the frequency-temperature characteristic when the temperature is increased from a low temperature to a high temperature in the oscillator 4 of this embodiment, and C2 is the frequency-temperature characteristic when the temperature is decreased from a high temperature to a low temperature. As shown in FIG. 10, according to the oscillator 4 of this embodiment, the hysteresis error can be significantly reduced compared to FIG.
[0042] 3.Circuit device Fig. 11 shows a first configuration example of a circuit device 20 which is a first circuit device. As shown in Fig. 11, the circuit device 20 includes an oscillation circuit 22 which generates a clock signal CK1 by oscillating the resonator 10, and a processing circuit 24 which performs a first temperature compensation process. In Fig. 11, the circuit device 20 also includes a temperature sensor 26 and a storage unit 50. The storage unit 50 can be realized by a memory such as a non-volatile memory.
[0043] 11, the processing circuit 24 generates a control voltage VC for temperature compensation that compensates for the frequency-temperature characteristic of the vibrator 10 as the first temperature compensation process, and outputs the control voltage VC to the oscillation circuit. For example, the processing circuit 24 performs a function generation process for compensating for the frequency-temperature characteristic of the vibrator 10 by polynomial approximation as the first temperature compensation process, and outputs the control voltage VC for temperature compensation to the oscillation circuit 22. The oscillation circuit 22 includes a variable capacitance circuit that is electrically connected to one end of the vibrator 10, for example, and the capacitance value of the variable capacitance circuit is controlled based on the control voltage VC. As a result, the clock signal CK1 that has been subjected to the first temperature compensation process is output from the circuit device 20. That is, as shown in B3 of FIG. 8, the clock signal CK1 is output such that the absolute value of the frequency deviation due to temperature fluctuation is 1 ppm or less in the temperature range of -40°C to 105°C.
[0044] Specifically, the processing circuit 24 includes a temperature compensation circuit 28 and a control circuit 29, and the temperature compensation circuit 28 includes a function generation circuit 52. The control circuit 29 controls the reading of data from the storage unit 50 and controls the temperature compensation circuit 28. The function generation circuit 52 generates a function for compensating for the frequency-temperature characteristic of the vibrator 10 by polynomial approximation. The storage unit 50 stores coefficient data of a polynomial in the polynomial approximation. For example, the function generation circuit 52 includes a zeroth-order component generation circuit, a first-order component generation circuit, and a third-order component generation circuit. The function generation circuit 52 can also include a high-order component generation circuit. The high-order components are components of fourth order or higher. The zeroth-order component generation circuit outputs a zeroth-order component signal that approximates the zeroth-order component of the frequency-temperature characteristic of the vibrator 10 based on the coefficient data for the zeroth-order component read from the storage unit 50. The first-order component generating circuit, the third-order component generating circuit, and the high-order component generating circuit output a first-order component signal approximating the first-order component of the frequency-temperature characteristic of the vibrator 10, a third-order component signal approximating the third-order component, and a high-order component signal approximating the high-order component, based on coefficient data for the first-order component, the third-order component, and the high-order component, respectively, read from the storage unit 50. The temperature compensation circuit 28 performs an addition process of these zero-order component signal, first-order component signal, third-order component signal, and high-order component signal to generate a control voltage VC for compensating for the frequency-temperature characteristic of the vibrator 10. According to the circuit device 20 of FIG. 11 having such a configuration, it is possible to realize a first temperature compensation process of an analog type using polynomial approximation.
[0045] FIG. 12 shows a second configuration example of the circuit device 20. As shown in FIG. 12, the circuit device 20 includes an oscillation circuit 22 that generates a clock signal CK1 by oscillating the resonator 10, and a processing circuit 24 that performs a first temperature compensation process. In FIG. 12, the circuit device 20 also includes a temperature sensor 26, a storage unit 57, and an A / D conversion circuit 58. The storage unit 57 can be realized by a memory such as a non-volatile memory. The A / D conversion circuit 58 performs A / D conversion of a temperature detection voltage, which is a temperature detection signal ST from the temperature sensor 26, and outputs temperature detection data DT to the processing circuit 24. Then, the processing circuit 24 generates a control voltage VC for temperature compensation that compensates for the frequency-temperature characteristic of the resonator 10 as the first temperature compensation process, and outputs the control voltage VC to the oscillation circuit. Then, the capacitance value of the variable capacitance circuit of the oscillation circuit 22 is controlled based on the control voltage VC, so that the clock signal CK1 that has been subjected to the first temperature compensation process is output from the circuit device 20.
[0046] Specifically, the processing circuit 24 includes a digital signal processing circuit 56 and a D / A conversion circuit 54. The digital signal processing circuit 56 performs a first temperature compensation process based on coefficient data for temperature compensation read from the storage unit 57. For example, the digital signal processing circuit 56 performs a first temperature compensation process for keeping the oscillation frequency of the vibrator 10 constant even when there is a temperature change based on the temperature detection data DT that changes according to temperature and the coefficient data of the polynomial in the polynomial approximation, and generates frequency control data. Then, the D / A conversion circuit 54 performs D / A conversion of the frequency control data from the digital signal processing circuit 56 and outputs a control voltage VC for temperature compensation to the oscillation circuit 22. As a result, the clock signal CK1 that has been subjected to the first temperature compensation process is output from the circuit device 20.
[0047] FIG. 13 shows a first configuration example of a circuit device 30 which is a second circuit device. In FIG. 13, the circuit device 30 includes a clock signal generating circuit 32, a processing circuit 34, an A / D conversion circuit 60, and a register 62. The A / D conversion circuit 60 performs A / D conversion of the temperature detection signal ST and outputs digital temperature detection data DT. The register 62 stores a division ratio setting value VDIV. The register 62 can be realized by, for example, a flip-flop circuit. Alternatively, the register 62 may be realized by a memory such as a RAM. The processing circuit 34 performs a second temperature compensation process based on the temperature detection data DT, and outputs a division ratio setting signal SDIV to the clock signal generating circuit 32 as the frequency setting signal FSD of the digital signal described in FIG. 1 to FIG. 4. For example, the processing circuit 34 outputs a division ratio setting signal SDIV to the clock signal generation circuit 32 to generate a clock signal CK2 that has been subjected to a second temperature compensation process, based on the temperature detection data DT from the A / D conversion circuit 60 and the division ratio setting value VDIV from the register 62.
[0048] The clock signal generating circuit 32 includes a PLL circuit 40 to which the clock signal CK1 is input as a reference clock signal. The PLL circuit 40 is, for example, a fractional-N type PLL circuit. The frequency setting signal FSD described with reference to Figs. 1 to 4 is a division ratio setting signal SDIV of a frequency divider circuit 48 included in the PLL circuit 40. The frequency divider circuit 48 performs frequency division processing with a division ratio set by the division ratio setting signal SDIV.
[0049] 13, the clock signal generating circuit 32 includes a fractional-N type PLL circuit 40 to which the clock signal CK1 is input as a reference clock signal, and the division ratio setting signal SDIV is input as a frequency setting signal FSD to the frequency divider circuit 48 of the PLL circuit 40. In this way, the division ratio setting signal SDIV that has undergone the second temperature compensation process is input to the frequency divider circuit 48 of the PLL circuit 40 to realize a PLL operation that multiplies the frequency of the clock signal CK1, and it becomes possible to generate a clock signal CK2 based on a signal that has multiplied the frequency of the clock signal CK1. This makes it possible to generate a clock signal CK2 that has undergone the second temperature compensation process based on the clock signal CK1. In addition, by using the fractional-N type PLL circuit 40, it becomes possible to set not only an integer but also a fraction as the division ratio of the PLL circuit 40, and it becomes possible to generate a clock signal CK2 of any frequency.
[0050] Next, a more detailed description will be given of the configuration of the circuit device 30 in Fig. 13. In Fig. 13, the clock signal generating circuit 32 includes a PLL circuit 40 and an output circuit 33.
[0051] The output circuit 33 outputs the clock signal CK2 based on the clock signal CKQ output by the PLL circuit 40. For example, the output circuit 33 includes a frequency divider circuit (not shown), and the frequency of the clock signal CKQ is divided by the frequency divider circuit, so that the frequency of the clock signal CK2 can be variably set. This allows the frequency of the clock signal CK2 to be set to a frequency desired by the user. The output circuit 33 also outputs the clock signal CK2 to the outside in a signal format such as LVDS (Low Voltage Differential Signaling), PECL (Positive Emitter Coupled Logic), HCSL (High Speed Current Steering Logic), or differential CMOS (Complementary MOS). For example, the output circuit 33 may be a circuit capable of outputting the clock signal CK2 in at least two signal formats among LVDS, PECL, HCSL, and differential CMOS. In this case, the output circuit 33 outputs the clock signal CK2 in a signal format set by the processing circuit 34.
[0052] The PLL circuit 40 receives the clock signal CK1 as a reference clock signal and performs PLL (Phase Locked Loop) operation. For example, the PLL circuit 40 generates a clock signal CKQ having a frequency that is multiplied by the frequency of the clock signal CK1. That is, the PLL circuit 40 generates a highly accurate clock signal CKQ that is phase-synchronized with the clock signal CK1. The PLL circuit 40 includes a phase comparator circuit 42, a control voltage generator circuit 44, a voltage controlled oscillator circuit 46, and a frequency divider circuit 48.
[0053] The phase comparator circuit 42 performs a phase comparison between the clock signal CK1, which is a reference clock signal, and the feedback clock signal FBCK. For example, the phase comparator circuit 42 compares the phases of the clock signal CK1 and the feedback clock signal FBCK, and outputs a signal CQ corresponding to the phase difference between the clock signal CK1 and the feedback clock signal FBCK as a signal of the phase comparison result. The signal CQ corresponding to the phase difference is, for example, a pulse signal with a pulse width proportional to the phase difference.
[0054] The control voltage generation circuit 44 generates a control voltage VC2 based on the result of the phase comparison in the phase comparison circuit 42. For example, the control voltage generation circuit 44 performs a charge pump operation and a filter process based on a signal CQ of the phase comparison result from the phase comparison circuit 42, to generate a control voltage VC2 that controls the oscillation of the voltage controlled oscillation circuit 46.
[0055] The voltage controlled oscillator 46, which is a VCO (Voltage controlled oscillator), generates a clock signal CKQ with a frequency corresponding to a control voltage VC2. For example, the voltage controlled oscillator 46 performs an oscillation operation based on the control voltage VC2 from the control voltage generating circuit 44 to generate the clock signal CKQ. For example, the voltage controlled oscillator 46 generates the clock signal CKQ with a frequency that changes according to the control voltage VC2 through an oscillation operation. As an example, the voltage controlled oscillator 46 has a variable capacitance element such as a varactor, and the capacitance of this variable capacitance element changes based on the control voltage VC2, thereby changing the frequency of the clock signal CKQ, which is an oscillation signal generated by the oscillation operation of the voltage controlled oscillator 46. Note that, as the voltage controlled oscillator 46, for example, an LC oscillation circuit using an inductor can be used.
[0056] The frequency divider circuit 48 divides the clock signal CKQ to output the feedback clock signal FBCK. For example, the frequency divider circuit 48 divides the frequency of the clock signal CKQ by a division ratio set by the division ratio setting signal SDIV, and outputs the resulting signal as the feedback clock signal FBCK. For example, if the oscillation frequency of the voltage controlled oscillator circuit 46 is fvco and the division ratio of the frequency division operation of the frequency divider circuit 48 is DIV, the frequency of the feedback clock signal FBCK is fvco / DIV. Then, the phase comparator circuit 42 performs a phase comparison between the clock signal CK1 and the feedback clock signal FBCK from the frequency divider circuit 48, as described above.
[0057] By using the PLL circuit 40 having such a configuration including the phase comparison circuit 42, the control voltage generation circuit 44, the voltage controlled oscillation circuit 46, and the frequency division circuit 48, it becomes possible to generate a clock signal CKQ that is phase-synchronized with the clock signal CK1, and to generate and output a highly accurate clock signal CK2 based on the clock signal CKQ.
[0058] In this embodiment, the processing circuit 34 includes a delta-sigma modulation circuit 36 and an arithmetic circuit 38. The delta-sigma modulation circuit 36 performs delta-sigma modulation, causing the PLL circuit 40 to operate as a fractional-N type PLL circuit. The arithmetic circuit 38 performs a second temperature compensation process based on the temperature detection data DT from the A / D conversion circuit 60 and the division ratio setting value VDIV from the register 62. The division ratio setting value VDIV is data for setting the division ratio of the PLL circuit 40. The delta-sigma modulation circuit 36 performs delta-sigma modulation on the calculation value, which is the calculation result of the arithmetic circuit 38, and outputs a division ratio setting signal SDIV for setting the division ratio of the divider circuit 48.
[0059] For example, in FIG. 13, a fractional frequency divider is configured by a frequency divider circuit 48 and a delta-sigma modulation circuit 36. The fractional frequency divider divides the clock signal CKQ using the inverse of the multiplication rate of the PLL circuit 40 as a frequency division ratio, and outputs the divided clock signal to the phase comparison circuit 42 as a feedback clock signal FBCK. The delta-sigma modulation circuit 36 performs delta-sigma modulation on the value of the decimal part of the frequency division ratio to generate a modulation value that is an integer. For example, the delta-sigma modulation circuit 36 performs third-order or fourth-order delta-sigma modulation processing. The sum of the value of the integer part of the frequency division ratio and the modulation value is set in the frequency divider circuit 48 as a frequency division ratio setting signal SDIV. This realizes a fractional-N type PLL circuit 40.
[0060] Specifically, the delta-sigma modulation circuit 36 performs delta-sigma modulation, which integrates and quantizes the fractional frequency division ratio L / M, to generate a delta-sigma modulated signal. The delta-sigma modulation circuit 36 then performs processing to add and subtract the delta-sigma modulated signal and the integer frequency division ratio N, and the output signal after the addition and subtraction is input to the frequency division circuit 48. In the output signal after the addition and subtraction, a plurality of integer frequency division ratios in a range around the integer frequency division ratio N change in a time series, and the time average value coincides with N+L / M. This N+L / M is set by the frequency division ratio setting signal SDIV from the processing circuit 34. For example, as described above, the frequency of the clock signal CKQ is fvco, and the phase comparison frequency, which is the frequency of the clock signal CK1 and the feedback clock signal FBCK, is fpfd. In this case, in a steady state in which the phase of the clock signal CK1, which is the reference clock signal, and the phase of the feedback clock signal FBCK are synchronized, the relational expression fvco=(N+L / M)×fpfd holds. By using the fractional-N type PLL circuit 40 configured in this way, it becomes possible to generate a clock signal CKQ by multiplying the clock signal CK1 by a division ratio expressed as N+L / M.
[0061] The arithmetic circuit 38 performs a second temperature compensation process based on the temperature detection data DT to generate a temperature compensation value. The arithmetic circuit 38 then performs an addition process on the division ratio setting value VDIV and the temperature compensation value to obtain a calculation value, and outputs the calculation value thus obtained as the calculation result to the delta-sigma modulation circuit 36. The delta-sigma modulation circuit 36 performs delta-sigma modulation on this calculation value to generate a division ratio setting signal SDIV and outputs it to the frequency divider circuit 48.
[0062] In this way, a fractional frequency divider can be realized, and a second temperature compensation process that suppresses fluctuations in the frequency of the clock signal CK2 due to temperature changes can be realized. Moreover, according to this embodiment, the fractional frequency division process that realizes the fractional frequency divider and the temperature compensation process can be executed collectively by digital arithmetic processing in the processing circuit 34. Therefore, it is possible to realize the fractional frequency division process and the temperature compensation process while suppressing an increase in the circuit scale of the circuit device 30.
[0063] FIG. 14 shows a second configuration example of the circuit device 30. FIG. 14 differs from FIG. 13 in that the processing circuit 34 in FIG. 14 has a neural network calculation circuit 39, and the storage unit 35 stores information on the trained model for neural network calculation. That is, FIG. 14 corresponds to the configuration example described in FIG. 4, and the circuit device 30 includes a storage unit 35 that stores information on the trained model, and the processing circuit 34 performs the second temperature compensation process based on the trained model. When performing the second temperature compensation process based on the trained model, it is desirable to perform the neural network calculation based on temperature detection signals from multiple temperature sensors. For example, the neural network calculation is performed based on temperature detection signals from one or more temperature sensors 26 provided in the circuit device 20, one or more external temperature sensors 27, or one or more temperature sensors provided in the circuit device 30.
[0064] A neural network is a mathematical model that simulates brain functions on a computer, and has an input layer, a hidden layer, and an output layer. The input layer is made up of neurons that output input values. Each neuron from the hidden layer onwards performs calculations that mimic the way information is transmitted as an electrical signal in the brain. In the brain, the ease with which information is transmitted changes depending on the strength of the synaptic connections, so in neural networks, the connection strength is expressed as a weight. In addition, activation functions, which are nonlinear functions, are used in calculations in neurons. Examples of activation functions include the ReLU function and the sigmoid function. Then, in each neuron, a calculation is performed to multiply and accumulate the outputs of each neuron in the previous layer connected to the neuron using the weights, add a bias, and apply the activation function. The calculation results in the output layer become the output of the neural network.
[0065] In a neural network, in order to obtain a desired output from an input, it is necessary to set appropriate weights and biases. In the following, weights are also referred to as weighting coefficients. It is assumed that the weighting coefficients may include biases. In learning, a data set is prepared in which an input corresponds to a correct output for that input. The correct output is the teacher data. The learning process of a neural network can be considered as a process of determining the most likely weighting coefficient based on the data set. For example, the backpropagation method can be used as the learning process of a neural network. In the backpropagation method, parameters are updated by repeating forward passes and backward passes. The parameters here are weighting coefficients.
[0066] In this embodiment, the input of the neural network is temperature detection data. In this case, it is desirable to input a plurality of temperature detection data by a plurality of temperature sensors. In addition, the storage unit 35 stores, for example, information on the weighting coefficient of the neural network as information on the trained model. The trained model has an input layer, an intermediate layer, and an output layer, and the weighting coefficient information is set based on a data set in which the temperature detection data and the temperature compensation value are associated. The neural network calculation circuit 39 performs a calculation based on the weighting coefficient information stored in the storage unit 35 using the temperature detection data as an input to the input layer of the trained model, and performs a neural network calculation so that the temperature compensation value is output as the output of the output layer of the trained model. In this case, for example, in the learning stage at the time of manufacture and shipment, the clock frequency at each temperature is measured, and a temperature compensation value for keeping the clock frequency constant against temperature changes is obtained based on the measured clock frequency. Then, based on a data set in which the temperature compensation value is associated with the temperature detection data corresponding to each temperature, the weighting coefficient information is set and written to the storage unit 35 as information on the trained model. In this way, it becomes possible to realize the second temperature compensation process based on the trained model. In addition, the machine learning in this embodiment is not limited to a method using a neural network, and it is possible to apply various widely known machine learning methods such as SVM (support vector machine), or machine learning methods that are an extension of these methods.
[0067] It is possible to realize more accurate and appropriate second temperature compensation processing by performing the second temperature compensation processing by neural network calculation based on a trained model as shown in Fig. 14. For example, it is possible to realize second temperature compensation processing that suppresses adverse effects due to manufacturing process variations and variations in circuit characteristics.
[0068] Fig. 15 shows a third configuration example of the circuit device 30. In Fig. 15, the clock signal generation circuit 32 includes a direct digital synthesizer 68. The direct digital synthesizer 68 uses the clock signal CK1 as a reference clock signal to generate a clock signal CK2 having a frequency set by the frequency setting signal FSD.
[0069] Specifically, in FIG. 15, the processing circuit 34 includes an arithmetic circuit 64 and an adder 66. The arithmetic circuit 64 receives the temperature detection data DT obtained by A / D converting the temperature detection signal ST by the A / D conversion circuit 60. The arithmetic circuit 64 performs an arithmetic process to obtain a temperature compensation value based on the temperature detection data DT, and outputs the temperature compensation value to the adder 66. The arithmetic process of the temperature compensation value in this case may be realized by an arithmetic process such as a neural network calculation based on the trained model described in FIG. 4 and FIG. 14. The adder 66 performs an arithmetic process to add the temperature compensation value to the frequency setting value VFSD, and outputs the frequency setting signal FSD to the clock signal generation circuit 32. The direct digital synthesizer 68 of the clock signal generation circuit 32 generates a clock signal CK2 having a frequency set by the frequency setting signal FSD. The output circuit 33 outputs the generated clock signal CK2 to the outside in a signal format such as LVDS, PECL, HCSL, or differential CMOS.
[0070] The direct digital synthesizer 68 is a circuit that digitally generates a clock signal of any frequency based on a reference clock signal. Here, the reference clock signal is the clock signal CK1. The direct digital synthesizer 68 includes, for example, a phase accumulator, which is an accumulation block, and a waveform signal generation circuit. The phase accumulator accumulates an accumulation setting value in synchronization with the reference clock signal as one cycle of operation. The clock frequency is set by this accumulation setting value. The waveform signal generation circuit can include, for example, a waveform memory and a D / A conversion circuit. The accumulation result in the phase accumulator becomes an address in the waveform memory, which allows a clock waveform of a clock frequency corresponding to the frequency setting signal FSD to be generated.
[0071] 15, it becomes possible to generate a clock signal CK2 of an arbitrary frequency set by the frequency setting value VFSD. Then, the processing circuit 34 performs the second temperature compensation process, so that it becomes possible to generate a highly accurate temperature-compensated clock signal CK2.
[0072] 4. Example of oscillator structure Next, structural examples of the oscillator 4 will be described. Fig. 16 shows a first structural example of the oscillator 4. Fig. 16 is a cross-sectional view that shows a schematic structure of the oscillator 4. In this embodiment, the oscillator 4 includes a resonator 10, a circuit device 20, and a circuit device 30. The oscillator 4 also includes a package 15 that houses the resonator 10 and the circuit device 20, and a package 5 that houses the package 15 and the circuit device 30. The package 15 and the package 5 are a first package and a second package, respectively. The first package and the second package can also be called a first container and a second container.
[0073] In this embodiment, the circuit device 20 housed in the package 15 performs the first temperature compensation process, and the circuit device 30 housed in the package 5 performs the second temperature compensation process. For example, the resonator 10 and the circuit device 20 are housed in the package 15 to configure a temperature-compensated oscillator 14 that performs, for example, an analog first temperature compensation process. The oscillator 14 that performs the analog first temperature compensation process and the circuit device 30 that performs the digital second temperature compensation process are housed in the package 5 to configure an oscillator 4 that generates a high-precision clock signal. The circuit device 30 can also be called a correction IC that performs a digital second temperature compensation process for fine adjustment.
[0074] Specifically, the package 5 is formed of, for example, ceramics, and has an accommodation space inside. In this accommodation space, an oscillator 14 in which a resonator 10 and a circuit device 20 are accommodated in a package 15, and a circuit device 30 are accommodated. The accommodation space is hermetically sealed, and is preferably in a reduced pressure state close to a vacuum. The package 5 can suitably protect the circuit device 30 and the oscillator 14 from impact, dust, heat, moisture, and the like.
[0075] The package 5 has a base 6 and a lid 7. Specifically, the package 5 is composed of the base 6 supporting the oscillator 14 and the circuit device 30, and the lid 7 joined to the upper surface of the base 6 so as to form an accommodation space between the base 6 and the lid 7. The base 6 has a first recess opening to the upper surface and a second recess opening to the bottom surface of the first recess on the inside. The circuit device 30 is supported on the bottom surface of the first recess. For example, the circuit device 30 is supported on a step portion of the bottom surface via a terminal electrode. The oscillator 14 is supported on the bottom surface of the second recess. For example, the oscillator 14 is supported on a step portion of the bottom surface via a terminal electrode. The base 6 has a third recess opening to the bottom surface of the second recess, and the circuit component 12 is placed in this third recess. The circuit component 12 to be placed can be, for example, a capacitor or the external temperature sensor 27 described in FIG. 3.
[0076] The circuit device 30 is electrically connected to the terminal of the oscillator 14, for example, via a bonding wire BW, a terminal electrode formed in the step portion, or the internal wiring of the package 5. This allows the clock signal CK1 and the temperature detection signal ST from the oscillator 14 to be input to the circuit device 30. The circuit device 30 is also electrically connected to the external terminals 8 and 9 of the oscillator 4, for example, via a bonding wire BW, a terminal electrode formed in the step portion, or the internal wiring of the package 5. The external terminals 8 and 9 are formed on the outer bottom surface of the package 5. The external terminals 8 and 9 are connected to an external device via external wiring. The external wiring is, for example, wiring formed on a circuit board on which the external device is mounted. This allows electrical connection between the circuit device 30 and the external device, and allows the clock signal CK2 and the like to be output to the external device. The terminals of the oscillator 14 and the external terminals 8 and 9 may be electrically connected.
[0077] In Fig. 16, the oscillator 14 is disposed below the circuit device 30. For example, a direction perpendicular to the substrate of the circuit device 30 and toward the bottom surface of the package 5 is designated as DA1, and a direction perpendicular to the direction DA1 is designated as direction DA2. The substrate of the circuit device 30 is a semiconductor substrate. In this case, the oscillator 14 is disposed in the direction DA1 of the circuit device 30. The circuit component 12 is disposed in the direction DA1 of the oscillator 14. The circuit device 30 is disposed with the direction DA2 being the longitudinal direction of the substrate.
[0078] 15, the circuit device 30 performs a first temperature compensation process based on the temperature detection signal ST from the temperature sensor 26, and the distance L1 between the temperature sensor 26 and the resonator 10 is shorter than the distance L2 between the temperature sensor 26 and the circuit device 30. For example, the temperature sensor 26 is formed in the circuit device 20, which is a semiconductor chip, and the resonator 10 is disposed so that its main surface faces the main surface of the circuit device 20. The distance L1 is the distance between the temperature sensor 26 and the resonator 10 in the direction DA1, and is, for example, the shortest distance between the temperature sensor 26 and the resonator 10 in the direction DA1. The distance L2 is the distance between the temperature sensor 26 and the circuit device 30 in the direction DA1, and is, for example, the shortest distance between the temperature sensor 26 and the circuit device 30 in the direction DA1.
[0079] By making the distance L1 shorter than the distance L2 in this way, it becomes possible for the temperature sensor 26 to measure the temperature of the resonator 10 more accurately. For example, the circuit device 30 becomes a heat source that generates high heat because it performs a digital second temperature compensation process and generates a high-speed clock signal by the PLL circuit 40 and the direct digital synthesizer 68. Therefore, if the distance L2 between the circuit device 30 and the temperature sensor 26 is short, the heat from the circuit device 30, which is a heat source, adversely affects the temperature measurement of the resonator 10 by the temperature sensor 26.
[0080] In this regard, in this embodiment, the distance L1 is short and the distance L2 is long, so that the adverse effect of heat generation from the circuit device 30 on temperature measurement can be reduced. Furthermore, in this embodiment, the resonator 10 and the circuit device 20 are housed in the package 15, so that the transfer of heat from the circuit device 30 can be thermally blocked by the package 15. Therefore, it is possible to further reduce the adverse effect of heat generation from the circuit device 30 on temperature measurement. This allows the hysteresis error to be significantly reduced as shown in FIG. 10.
[0081] FIG. 17 shows a second structural example of the oscillator 4. In FIG. 17, a circuit device 30 for correction is disposed on the bottom surface of the package 5, and an oscillator 14 is disposed above the circuit device 30. For example, in FIG. 16, the oscillator 14 is disposed in a direction DA1 below the circuit device 30, but in FIG. 17, the oscillator 14 is disposed in the opposite direction to the direction DA1. In FIG. 17, the oscillator 14 is disposed upside down from FIG. 16, and the terminals on the bottom surface of the oscillator 14 are electrically connected to the terminals, which are pads, of the circuit device 30 via the bonding wires BW. The terminals of the circuit device 30 are electrically connected to the external terminals 8 and 9 via the bonding wires BW, terminal electrodes, and internal wiring of the package 5. In the second structural example of FIG. 17, the distance L1 between the temperature sensor 26 and the vibrator 10 is shorter than the distance L2 between the temperature sensor 26 and the circuit device 30. This allows the temperature sensor 26 to accurately measure the temperature of the vibrator 10.
[0082] FIG. 18 shows a third structural example of the oscillator 4. In FIG. 18, the circuit device 30 is disposed in the direction DA2 of the oscillator 14. For example, the oscillator 14 and the circuit device 30 are disposed so as to be aligned in the direction DA2 when viewed from above the oscillator 4. Also in the third structural example of FIG. 18, the distance L1 between the temperature sensor 26 and the resonator 10 is shorter than the distance L2 between the temperature sensor 26 and the circuit device 30, enabling accurate temperature measurement of the resonator 10 by the temperature sensor 26. From the viewpoint of compactification of the oscillator 4, the first and second structural examples of FIG. 16 and FIG. 17 are more desirable than the third structural example of FIG. 18.
[0083] Fig. 19 shows an example of the structure of the oscillator 14. The oscillator 14 has a resonator 10, a circuit device 20, and a package 15 that houses the resonator 10 and the circuit device 20. The package 15 is made of, for example, ceramics and has an accommodation space inside, in which the resonator 10 and the circuit device 20 are accommodated. The accommodation space is hermetically sealed and is preferably in a reduced pressure state that is close to a vacuum. The package 15 can suitably protect the resonator 10 and the circuit device 20 from impact, dust, heat, moisture, and the like.
[0084] The package 15 has a base 16 and a lid 17. Specifically, the package 15 is composed of the base 16 that supports the vibrator 10 and the circuit device 20, and the lid 17 that is joined to the upper surface of the base 16 so as to form an accommodation space between the base 16 and the lid 17. The vibrator 10 is supported via a terminal electrode on a step portion provided on the inside of the base 16. The circuit device 20 is disposed on the inner bottom surface of the base 16. Specifically, the circuit device 20 is disposed so that the active surface faces the inner bottom surface of the base 16. The active surface is a surface on which the circuit elements of the circuit device 20 are formed. Furthermore, bumps BMP are formed on terminals that are pads of the circuit device 20. The circuit device 20 is supported on the inner bottom surface of the base 16 via the conductive bumps BMP. The conductive bumps BMP are, for example, metal bumps, and the vibrator 10 and the circuit device 20 are electrically connected via the bumps BMP, the internal wiring of the package 15, the terminal electrodes, and the like. Furthermore, the circuit device 20 is electrically connected to the external terminals 18, 19 of the oscillator 14 via the bumps BMP and the internal wiring of the package 15. The external terminals 18, 19 are formed on the outer bottom surface of the package 15. Then, as shown in Figures 16, 17, and 18, the external terminals 18, 19 of the oscillator 14 are electrically connected to the circuit device 30 via bonding wires BW, internal wiring, and terminal electrodes. This allows the clock signal CK1 and temperature detection signal ST from the oscillator 14 to be input to the circuit device 30.
[0085] In FIG. 19, the circuit device 20 is flip-mounted so that the active surface of the circuit device 20 faces downward, but this embodiment is not limited to such mounting. For example, the circuit device 20 may be mounted so that the active surface of the circuit device 20 faces upward. That is, the circuit device 20 is mounted so that the active surface faces the vibrator 10. According to this mounting, the temperature sensor 26 formed on the active surface of the circuit device 20 faces the vibrator 10 as shown in FIG. 16, FIG. 17, and FIG. 18. In the above, a double shield structure in which the vibrator 10 and the circuit device 20 are housed in the package 15 of the oscillator 14, and the oscillator 14 and the circuit device 30 are housed in the package 5, has been described. However, the structure of the oscillator 4 in this embodiment is not limited to this, and various modifications are possible. For example, a single shield structure in which the vibrator 10, the circuit device 20, and the circuit device 30 are housed in one package 5 may be adopted.
[0086] 5.Electronic equipment, mobile objects 20 shows a configuration example of an electronic device 500 including the oscillator 4 of this embodiment. The electronic device 500 includes the oscillator 4 and a processing device 520 that operates based on a clock signal CK2 from the oscillator 4. The electronic device 500 can also include an antenna ANT, a communication interface 510, an operation interface 530, a display unit 540, and a memory 550. Note that the electronic device 500 is not limited to the configuration in FIG. 20, and various modifications are possible, such as omitting some of these components or adding other components.
[0087] The electronic device 500 may be, for example, a network-related device such as a base station or a router, a high-precision measuring device that measures physical quantities such as distance, time, flow velocity, or flow rate, a bioinformation measuring device that measures bioinformation, or an in-vehicle device. The bioinformation measuring device may be, for example, an ultrasonic measuring device, a pulse wave meter, or a blood pressure measuring device. The in-vehicle device may be a device for automatic driving. The electronic device 500 may also be a wearable device such as a head-mounted display device or a clock-related device, a robot, a printing device, a projection device, a portable information terminal such as a smartphone, a content providing device that distributes content, or an imaging device such as a digital camera or a video camera.
[0088] The electronic device 500 may be used in a next-generation mobile communication system such as 5G. For example, the oscillator 4 of this embodiment may be used in various devices such as a base station, a remote radio head (RRH), or a mobile communication terminal of the next-generation mobile communication system. In the next-generation mobile communication system, a highly accurate clock frequency is required for time synchronization or the like, and the oscillator 4 of this embodiment, which can achieve a frequency deviation of, for example, 10 ppb or less, is a suitable application example.
[0089] The communication interface 510 receives data from the outside via the antenna ANT and transmits data to the outside. The processing device 520, which is a processor, controls the electronic device 500 and performs various digital processes on data transmitted and received via the communication interface 510. The functions of the processing device 520 can be realized by a processor such as a microcomputer. The operation interface 530 allows the user to perform input operations and can be realized by operation buttons, a touch panel display, or the like. The display unit 540 displays various information and can be realized by a display such as a liquid crystal or organic EL. The memory 550 stores data and its functions can be realized by a semiconductor memory such as a RAM or ROM.
[0090] FIG. 21 shows an example of a moving body including the oscillator 4 of this embodiment. The moving body includes the oscillator 4 and a processing device 220 that operates based on the clock signal CK2 from the oscillator 4. The oscillator 4 of this embodiment can be incorporated into various moving bodies such as a car, an airplane, a motorcycle, a bicycle, or a ship. The moving body is, for example, a device or apparatus that includes a driving mechanism such as an engine or a motor, a steering mechanism such as a handle or a rudder, and various electronic devices and moves on the ground, in the air, or on the sea. FIG. 21 shows a schematic diagram of an automobile 206 as a specific example of a moving body. The oscillator 4 of this embodiment is incorporated in the automobile 206. The control device 208 includes the oscillator 4 and a processing device 220 that operates based on the clock signal CK2 generated by the oscillator 4. The control device 208 controls the hardness or softness of a suspension according to the attitude of the vehicle body 207, or controls the brakes of each wheel 209. For example, the control device 208 may realize automatic driving of the automobile 206. The device in which the oscillator 4 of this embodiment is incorporated is not limited to such a control device 208, but can be incorporated into various in-vehicle devices such as meter panel devices and navigation devices installed in a moving object such as an automobile 206.
[0091] As described above, the oscillator of this embodiment includes a resonator, a first circuit device electrically connected to the resonator, and a second circuit device. The first circuit device generates a first clock signal by oscillating the resonator, and performs a first temperature compensation process to temperature compensate the frequency of the first clock signal. The second circuit device receives the first clock signal from the first circuit device, generates a second clock signal based on the first clock signal, and performs a second temperature compensation process to temperature compensate the frequency of the second clock signal.
[0092] According to this embodiment, the first circuit device that oscillates the resonator performs the first temperature compensation process, thereby reducing the amount of frequency fluctuation in the frequency temperature characteristics of the first clock signal output from the first circuit device. The second circuit device performs the second temperature compensation process when generating a second clock signal based on the first clock signal from the first circuit device. By performing the first temperature compensation process by the first circuit device and then the second temperature compensation process by the second circuit device in this manner, it becomes possible to reduce frequency micro-jumps caused by fluctuations in the temperature measurement results, and to achieve high accuracy of the clock frequency of the oscillator.
[0093] The first circuit device may also have a temperature sensor and perform the first temperature compensation process based on a temperature detection signal from the temperature sensor.
[0094] By performing the first temperature compensation process using the temperature sensor built into the first circuit device in this manner, it becomes possible to perform appropriate temperature compensation for the frequency-temperature characteristics of the vibrator.
[0095] In this embodiment, the distance between the temperature sensor and the vibrator may be shorter than the distance between the temperature sensor and the second circuit device.
[0096] In this way, by making the distance between the temperature sensor and the vibrator closer than the distance between the temperature sensor and the second circuit device, it becomes possible to more accurately measure the temperature of the vibrator using the temperature sensor.
[0097] In this embodiment, the second circuit device may receive a temperature detection signal from a temperature sensor and perform a second temperature compensation process based on the temperature detection signal.
[0098] In this way, the first temperature compensation process in the first circuit device and the second temperature compensation process in the second circuit device can be performed based on the temperature detection signal from the same temperature sensor, thereby achieving more appropriate temperature compensation processes.
[0099] In this embodiment, the second circuit device may receive a temperature detection signal from an external temperature sensor provided outside the first and second circuit devices, and perform a second temperature compensation process based on the temperature detection signal.
[0100] In this way, appropriate temperature measurement is possible by, for example, arranging the external temperature sensor in a location appropriate for temperature measurement.
[0101] In the present embodiment, the absolute value of the frequency deviation of the second clock signal due to temperature fluctuation may be smaller than the absolute value of the frequency deviation of the first clock signal due to temperature fluctuation.
[0102] In this way, by performing the first temperature compensation process for rough adjustment followed by the second temperature compensation process for fine adjustment, a highly accurate second clock signal with a small absolute value of frequency deviation can be output from the oscillator.
[0103] In this embodiment, the absolute value of the frequency deviation of the first clock signal due to temperature fluctuation may be 1 ppm or less in a temperature range of -40°C to 105°C.
[0104] In this manner, a first clock signal that has been subjected to a first temperature compensation process for coarse adjustment so that the absolute value of the frequency deviation is, for example, 1 ppm or less can be input to a second circuit device, and a second temperature compensation process can be performed in the second circuit device to generate a highly accurate second clock signal.
[0105] In this embodiment, the first circuit device may include an oscillator circuit that generates a first clock signal by oscillating an oscillator, and a first processing circuit that performs a first temperature compensation process. The second circuit device may include a clock signal generating circuit that generates a second clock signal having a frequency set by a frequency setting signal based on the first clock signal from the first circuit device, and a second processing circuit that outputs the frequency setting signal.
[0106] With this configuration, it becomes possible to cause the first circuit device to perform a process of generating a first clock signal by oscillating the oscillator and a first temperature compensation process of temperature compensating the frequency of the first clock signal, while it becomes possible to cause the second circuit device to perform a process of generating a second clock signal based on the first clock signal and a second temperature compensation process of temperature compensating the frequency of the second clock signal.
[0107] In this embodiment, the first processing circuit may generate a control voltage for temperature compensation that compensates for the frequency-temperature characteristic of the resonator as the first temperature compensation process and output the control voltage to the oscillation circuit, and the second processing circuit may output a frequency setting signal, which is a digital signal, to the clock signal generation circuit as the second temperature compensation process.
[0108] In this way, the oscillation frequency of the oscillator circuit is controlled based on the control voltage generated by the first temperature compensation process, so that a first clock signal that has been subjected to the first temperature compensation process for compensating for the frequency-temperature characteristic of the resonator can be generated. Then, this first clock signal and the frequency setting signal generated by the second temperature compensation process are input to the clock signal generation circuit, so that a second clock signal that has been subjected to the second temperature compensation process can be generated.
[0109] In the present embodiment, the second circuit device may include a storage unit that stores information about the trained model, and the second processing circuit may perform the second temperature compensation process based on the information about the trained model.
[0110] By performing the second temperature compensation process in this manner using information from the trained model, it is possible to achieve more accurate and appropriate second temperature compensation processing.
[0111] In this embodiment, the clock signal generating circuit may include a fractional-N type PLL circuit to which the first clock signal is input as a reference clock signal, and the frequency setting signal may be division ratio data for a divider circuit included in the PLL circuit.
[0112] In this way, the division ratio setting signal that has been subjected to the second temperature compensation process can be set in the divider circuit of the PLL circuit, making it possible to generate a second clock signal based on a signal that has a multiplied frequency of the first clock signal, and the second clock signal that has been subjected to the second temperature compensation process can be generated based on the first clock signal.
[0113] In addition, in this embodiment, the PLL circuit may include a phase comparison circuit that performs phase comparison between a first clock signal, which is a reference clock signal, and a feedback clock signal from the frequency divider circuit, a control voltage generation circuit that generates a control voltage based on the result of the phase comparison, and a voltage controlled oscillation circuit that generates a clock signal having a frequency corresponding to the control voltage.
[0114] By using a PLL circuit configured in this way, it becomes possible to generate a PLL clock signal that is phase-locked with a first clock signal, and to generate a highly accurate second clock signal based on this PLL clock signal.
[0115] In this embodiment, the clock signal generating circuit may include a direct digital synthesizer that uses the first clock signal as a reference clock signal and generates a second clock signal having a frequency set by the frequency setting signal.
[0116] By using such a direct digital synthesizer, it becomes possible to generate a second clock signal of an arbitrary frequency that is set by a frequency setting signal, and by the processing circuit performing second temperature compensation processing, it becomes possible to generate a highly accurate second clock signal that is temperature compensated.
[0117] Furthermore, this embodiment may include a first package that houses the vibrator and the first circuit device, and a second package that houses the first package and the second circuit device.
[0118] In this way, by housing the vibrator and the first circuit device in the first package, it becomes possible for the first package to thermally block the transfer of heat from a heat source external to the first package, such as the second circuit device, thereby reducing the adverse effects of heat from heat sources external to the first package on temperature measurement.
[0119] The present embodiment also relates to an electronic device including the oscillator described above and a processing device that operates based on the second clock signal from the oscillator.
[0120] The present embodiment also relates to a mobile object including the oscillator described above and a processing device that operates based on a second clock signal from the oscillator.
[0121] Although the present embodiment has been described in detail as above, it will be easily understood by those skilled in the art that many modifications are possible that do not substantially deviate from the novel matters and effects of the present disclosure. Therefore, all such modifications are intended to be included in the scope of the present disclosure. For example, a term described at least once in the specification or drawings together with a different term having a broader meaning or synonymy can be replaced with that different term anywhere in the specification or drawings. All combinations of the present embodiment and modifications are also included in the scope of the present disclosure. Furthermore, the configurations and operations of the oscillator, resonator, first circuit device, second circuit device, oscillation circuit, first processing circuit, clock signal generating circuit, second processing circuit, electronic device, and mobile object are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]
[0122] CK1, CK2: Clock signal, VC, VC2: Control voltage, FSD: Frequency setting signal, ST: Temperature detection signal, DT: Temperature detection data, SDIV: Division ratio setting signal, VDIV: division ratio setting value, VFSD: frequency setting value, FBCK: feedback clock signal, CKQ: clock signal, L1, L2: distance, BW...bonding wire, BMP...bump, ANT...antenna, 4...Oscillator, 5...Package, 6...Base, 7...Lid, 8, 9...External terminals, 10... resonator, 12... circuit component, 14... oscillator, 15... package, 16...base, 17...lid, 18, 19...external terminal, 20...circuit device, 22...oscillating circuit, 24...processing circuit, 26...temperature sensor, 27...external temperature sensor, 28...temperature compensation circuit, 29...control circuit, 30...circuit device, 32...clock signal generating circuit, 33...output circuit, 34... processing circuit, 35... storage unit, 36... delta-sigma modulation circuit, 38... arithmetic circuit, 39... neural network calculation circuit, 40... PLL circuit, 42... phase comparison circuit, 44...control voltage generating circuit, 46...voltage controlled oscillation circuit, 48...frequency dividing circuit, 50...storage unit, 52...function generating circuit, 54...D / A conversion circuit, 56... digital signal processing circuit, 57... storage unit, 58... A / D conversion circuit, 60: A / D conversion circuit; 62: register; 64: arithmetic circuit; 66: adder; 68…Direct Digital Synthesizer, 206... automobile, 207... vehicle body, 208... control device, 209...wheel, 220...processing device, 500: electronic device, 510: communication interface, 520: processing device, 530: operation interface, 540: display unit, 550: memory
Claims
1. A vibrator; A first circuit device electrically connected to the vibrator; A second circuit device; Including, the first circuit device generates a first clock signal by oscillating the oscillator, and performs a first analog temperature compensation process, which is temperature compensation for rough adjustment of a frequency of the first clock signal, based on a temperature detection signal from at least one of a first temperature sensor in the first circuit device and an external temperature sensor outside the first circuit device and the second circuit device; the second circuit device receives the first clock signal from the first circuit device, generates a second clock signal based on the first clock signal, and performs a second temperature compensation process of a digital type, which is temperature compensation for fine adjustment of the frequency of the second clock signal, based on a temperature detection signal from at least one of the first temperature sensor, a second temperature sensor in the second circuit device, and the external temperature sensor; an absolute value of a frequency deviation of the first clock signal after the first temperature compensation process in a temperature range in which temperature compensation is performed is less than or equal to a first value and greater than a second value smaller than the first value, and an absolute value of a frequency deviation of the second clock signal after the second temperature compensation process in the temperature range is less than or equal to the second value.
2. 2. The oscillator according to claim 1, the first circuit device performs the first temperature compensation process based on the temperature detection signal from the external temperature sensor; The oscillator is characterized in that the second circuit device performs the second temperature compensation process based on the temperature detection signal from the external temperature sensor.
3. 3. The oscillator according to claim 1, An oscillator, wherein the first circuit device and the second circuit device are configured on a single semiconductor chip.
4. 4. The oscillator according to claim 1, The oscillator, wherein the resonator is a MEMS resonator formed using a silicon substrate.
5. 3. The oscillator according to claim 2, An oscillator, wherein a distance between the external temperature sensor and the resonator is shorter than a distance between the external temperature sensor and the second circuit device.
6. 6. The oscillator according to claim 1, An oscillator, wherein an absolute value of a frequency deviation of the first clock signal due to temperature fluctuation is 1 ppm or less in a temperature range of -40°C to 105°C.
7. 7. The oscillator according to claim 1, The first circuit device is an oscillator circuit that generates the first clock signal by oscillating the oscillator; a first processing circuit for performing the first temperature compensation process; Including, The second circuit device is a clock signal generating circuit that generates the second clock signal having a frequency set by a frequency setting signal based on the first clock signal from the first circuit device; a second processing circuit that outputs the frequency setting signal; 16. An oscillator comprising:
8. 8. The oscillator according to claim 7, The first processing circuit is As the first temperature compensation process, a control voltage for temperature compensation that compensates for a frequency-temperature characteristic of the resonator is generated, and the control voltage is output to the oscillation circuit to control an oscillation frequency of the oscillation circuit, thereby performing a process of controlling a frequency of the first clock signal; The second processing circuit is an oscillator comprising: a clock signal generating circuit configured to output the frequency setting signal, which is a digital signal, to the clock signal generating circuit as the second temperature compensation process, thereby controlling a frequency of the second clock signal;
9. 9. The oscillator according to claim 7 or 8, The second circuit device includes a storage unit that stores information about a trained model, The second processing circuit performs the second temperature compensation process based on information of the trained model, The storage unit is As information on the trained model, information on weighting coefficients of neural network calculations is stored; the second processing circuit executes the second temperature compensation process to obtain a temperature compensation value corresponding to each of a plurality of temperatures in the temperature range by reading information of the weighting coefficient from the memory unit based on temperature detection data corresponding to a temperature detection signal and performing the neural network calculation.
10. 10. The oscillator according to claim 7, The clock signal generating circuit includes: a fractional-N type PLL circuit to which the first clock signal is input as a reference clock signal; 2. An oscillator according to claim 1, wherein the frequency setting signal is division ratio data for a frequency divider circuit included in the PLL circuit.
11. 11. The oscillator according to claim 10, The PLL circuit comprises: a phase comparator circuit for performing a phase comparison between the first clock signal, which is the reference clock signal, and a feedback clock signal from the frequency divider circuit; a control voltage generating circuit that generates a control voltage based on a result of the phase comparison; a voltage controlled oscillator circuit for generating a clock signal having a frequency corresponding to the control voltage; 16. An oscillator comprising:
12. 10. The oscillator according to claim 7, The clock signal generating circuit includes:
13. An oscillator comprising: a direct digital synthesizer that uses the first clock signal as a reference clock signal and generates the second clock signal having a frequency set by the frequency setting signal.
Citation Information
Patent Citations
Frequency adjusting circuit
JP2007208584A
Frequency and / or phase compensated microelectromechanical oscillators
JP2007518351A
Temperature compensation circuit and electronic apparatus
JP2012227870A
Temperature compensation type oscillation circuit, oscillator, electronic apparatus, moving body and manufacturing method of oscillator
JP2017220770A
