Circuit arrangement and oscillator
The circuit device addresses the issue of mode-dependent power supply voltage changes by controlling power supply and reference values, ensuring accurate temperature compensation and reduced phase noise across modes, optimizing both noise and power consumption.
Patent Information
- Application Number
- JP2023047697
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
Smart Images

Figure 2024136548000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a circuit device, an oscillator, and the like. [Background technology]
[0002] Patent Document 1 discloses an oscillator that can realize TCXO mode, VCXO mode, SPXO mode, etc. with a single IC by selectively supplying a temperature compensation voltage from a temperature compensation circuit and a frequency adjustment voltage from a frequency adjustment circuit to a voltage control circuit. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] WO 03 / 021765 Summary of the Invention [Problem to be solved by the invention]
[0004] Patent Document 1 describes switching of operation modes, but does not consider switching of the power supply voltage according to the mode or the effects of this. It also does not describe switching between multiple modes with different power consumption. For example, in the conventional technology of Patent Document 1, if these modes were added, there was a risk that the accuracy of temperature compensation would decrease due to changes in the power supply voltage. [Means for solving the problem]
[0005] One aspect of the present disclosure relates to a circuit device capable of switching between a first mode in which the phase noise of an output clock signal is lower than that of a second mode, and the second mode in which power consumption is lower than that of the first mode, the circuit device including: an oscillation circuit that generates an oscillation signal; an output circuit that outputs the output clock signal based on the oscillation signal; a temperature sensor that outputs a temperature detection signal; a temperature compensation circuit that performs temperature compensation for an oscillation frequency of the oscillation circuit based on the temperature detection signal; and a control circuit that controls the power supply voltage supplied to the oscillation circuit in the first mode to be higher than the power supply voltage supplied to the oscillation circuit in the second mode, and controls at least one of a reference voltage supplied to the temperature compensation circuit based on the power supply voltage and a reference current supplied to the temperature sensor based on the power supply voltage so that they do not change between the first mode and the second mode.
[0006] Another aspect of the present disclosure relates to an oscillator capable of switching between a first mode in which the phase noise of an output clock signal is lower than that of a second mode, and the second mode in which power consumption is lower than that of the first mode, the oscillator including an oscillator and a circuit device, the circuit device including an oscillation circuit that oscillates the oscillator to generate an oscillation signal, an output circuit that outputs the output clock signal based on the oscillation signal, a temperature sensor that outputs a temperature detection signal, a temperature compensation circuit that performs temperature compensation for an oscillation frequency of the oscillation circuit based on the temperature detection signal, and a control circuit that controls so that a power supply voltage supplied to the oscillation circuit in the first mode is higher than the power supply voltage supplied to the oscillation circuit in the second mode, and controls so that at least one of a reference voltage supplied to the temperature compensation circuit based on the power supply voltage and a reference current supplied to the temperature sensor based on the power supply voltage does not change between the first mode and the second mode. [Brief description of the drawings]
[0007] [Figure 1] 2 shows an example of the configuration of a circuit device according to the present embodiment. [Diagram 2] 3 shows a detailed configuration example of the circuit device and oscillator of the present embodiment. [Diagram 3] 4 shows another detailed configuration example of the circuit device and oscillator of the present embodiment. [Figure 4] 2 shows an example of the configuration of a reference voltage generation circuit. [Diagram 5] An example of a temperature compensation circuit. [Figure 6] 1 shows an example of a function current generating circuit for a temperature compensation circuit. [Figure 7] FIG. 2 is a schematic diagram illustrating the generation of a function current. [Figure 8] An example of a temperature sensor configuration. [Figure 9] An example of an oscillator circuit and a waveform shaping circuit. [Figure 10] 5 is a diagram illustrating the relationship between the driving capability and phase noise of a waveform shaping circuit. [Figure 11] An explanatory diagram of the on and off states of a transistor in a waveform shaping circuit. [Figure 12] FIG. 13 is an explanatory diagram of a method for making the oscillation amplitude and the power supply voltage of the waveform shaping circuit different. [Figure 13] A detailed example of the configuration of an oscillator circuit and a waveform shaping circuit. [Figure 14] 13 shows another detailed configuration example of the waveform shaping circuit. [Figure 15] 1 shows an example of an output circuit configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] 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.
[0009] 1. Circuit devices, oscillators 1 shows an example of the configuration of a circuit device 20 according to this embodiment. The circuit device 20 according to this embodiment includes an oscillation circuit 30, an output circuit 80, a temperature compensation circuit 70, a temperature sensor 71, and a control circuit 60. The circuit device 20 may also include a reference voltage generating circuit 36, a reference current generating circuit 38, and a power supply circuit 90.
[0010] The oscillator circuit 30 generates an oscillation signal OSC. For example, the oscillator circuit 30 generates the oscillation signal OSC by oscillating an oscillator or the like. Alternatively, the oscillator circuit 30 may generate the oscillation signal OSC by an LC resonant circuit or the like. The oscillation signal OSC is, for example, a sine wave signal. The oscillator circuit 30 includes a drive circuit or the like for generating the oscillation signal OSC by driving an oscillator or the like.
[0011] The output circuit 80 outputs an output clock signal CKQ. For example, the output circuit 80 outputs the output clock signal CKQ based on the oscillation signal OSC. For example, the output circuit 80 outputs the output clock signal CKQ by buffering the clock signal based on the oscillation signal OSC. The clock signal based on the oscillation signal OSC is, for example, a rectangular clock signal obtained by shaping the oscillation signal OSC using a waveform shaping circuit (not shown). Alternatively, the output circuit 80 may output a signal obtained by dividing or multiplying the frequency of the clock signal based on the oscillation signal OSC as the output clock signal CKQ. For example, a frequency divider circuit or a PLL circuit (to be described later) may be provided between the oscillation circuit 30 and the output circuit 80, and the output circuit 80 may output the output clock signal CKQ obtained by dividing the frequency of the clock signal using the frequency divider circuit or multiplying the frequency using the PLL circuit.
[0012] The temperature compensation circuit 70 performs temperature compensation of the oscillation frequency of the oscillation circuit 30. The temperature compensation is a process of suppressing and compensating for the fluctuation of the oscillation frequency due to the temperature fluctuation. For example, the temperature compensation is a process of compensating for the frequency temperature characteristic of the oscillation signal OSC. Specifically, the temperature compensation circuit 70 performs temperature compensation based on a temperature detection signal from a temperature sensor 71. For example, the temperature compensation circuit 70 performs temperature compensation by generating a temperature compensation voltage based on a temperature detection voltage from the temperature sensor 71 and outputting the generated temperature compensation voltage to a variable capacitance circuit included in the oscillation circuit 30. In this case, the variable capacitance circuit of the oscillation circuit 30 is realized by a variable capacitance element such as a varactor. For example, when the temperature compensation voltage that compensates for the frequency temperature characteristic of the resonator 10 is approximated by a polynomial, the temperature compensation circuit 70 performs analog temperature compensation based on coefficient information of the polynomial. Alternatively, the temperature compensation circuit 70 may perform digital temperature compensation. In this case, the variable capacitance circuit can be realized by, for example, a capacitor array and a switch array connected to the capacitor array, and the temperature compensation circuit 70 can be realized by, for example, a logic circuit.
[0013] The temperature sensor 71 is a sensor that detects temperature. Specifically, the temperature sensor 71 outputs a temperature-dependent voltage that changes according to the environmental temperature as a temperature detection voltage. Specifically, the temperature sensor 71 outputs a temperature detection voltage whose voltage changes depending on temperature by using, for example, the temperature dependency of the forward voltage of a PN junction. Note that a modification using a digital temperature sensor circuit as the temperature sensor 71 is also possible. In this case, the temperature detection data may be D / A converted to generate the temperature detection voltage. Also, a configuration without the temperature compensation circuit 70 or the temperature sensor 71 may be used.
[0014] The reference voltage generating circuit 36 is a circuit that generates a reference voltage. For example, the reference voltage generating circuit 36 generates reference voltages VH and VL based on the power supply voltage VDDL and supplies them to the temperature compensation circuit 70. The reference voltage VH is, for example, a reference voltage for temperature compensation in a high temperature range, and corresponds to, for example, the reference voltages VH1 and VH2 in FIG. 6, which will be described later. The reference voltage VL is, for example, a reference voltage for temperature compensation in a low temperature range, and corresponds to, for example, the reference voltages VL1 and VL2 in FIG. 6. The reference voltage generating circuit 36 may generate a reference voltage other than the reference voltages VH and VL used in the temperature compensation circuit 70. For example, the reference voltage generating circuit 36 may generate a reference voltage used in the oscillation circuit 30 or a reference voltage for bias setting.
[0015] The reference current generating circuit 38 is a circuit that generates a reference current. For example, the reference current generating circuit 38 generates a reference current IRF based on the power supply voltage VDDL and supplies it to the temperature sensor 71. The temperature sensor 71 generates and outputs a temperature detection signal, such as a temperature detection voltage that changes depending on the environmental temperature, based on the reference current IRF from the reference current generating circuit 38. Note that the reference current generating circuit 38 may generate a reference current other than the reference current IRF used for the temperature sensor 71. For example, the reference current generating circuit 38 may generate a reference current used for an analog circuit other than the temperature sensor 71.
[0016] The control circuit 60 is a logic circuit and performs various control processes. For example, the control circuit 60 controls the entire circuit device 20 and controls the operation sequence of the circuit device 20. The control circuit 60 may also control the oscillation circuit 30, the reference voltage generation circuit 36, the reference current generation circuit 38, the memory 68, the temperature compensation circuit 70, the temperature sensor 71, the output circuit 80, the power supply circuit 90, and the like. The control circuit 60 can be realized by an ASIC (Application Specific Integrated Circuit) circuit that is automatically placed and wired, such as a gate array.
[0017] The power supply circuit 90 is supplied with a power supply voltage VDD and a ground voltage GND, and supplies various power supply voltages for the internal circuits of the circuit device 20 to the internal circuits. For example, the power supply circuit 90 generates a power supply voltage VDDL based on the power supply voltage VDD, and supplies it as a power supply voltage for the oscillation circuit 30, the reference voltage generation circuit 36, the reference current generation circuit 38, and the like. The power supply voltage VDDL is, for example, a voltage obtained by regulating the power supply voltage VDD from an external source using a regulator, and is a voltage obtained by lowering the power supply voltage VDD. The oscillation circuit 30 performs an oscillation operation of driving the resonator 10 based on the power supply voltage VDDL to generate an oscillation signal OSC. The reference voltage generation circuit 36 generates reference voltages VH and VL based on the power supply voltage VDDL. The reference current generation circuit 38 generates a reference current IRF based on the power supply voltage VDDL.
[0018] Here, the circuit device 20 of this embodiment can be switched between a first mode with low phase noise and a second mode with low power consumption. That is, the first mode is a mode in which the phase noise of the output clock signal CKQ is lower than that of the second mode. On the other hand, the second mode is a mode in which the power consumption of the circuit device 20 is lower than that of the first mode. For example, in the circuit device 20 of this embodiment, the first mode and the second mode can be switched by storing switching information in a non-volatile memory or setting a fuse in a fuse circuit. For example, by storing information in a non-volatile memory or setting a fuse, the circuit device 20 is set to the first mode, which is a low noise mode, in the first product, and the circuit device 20 is set to the second mode, which is a low power consumption mode, in the second product. Alternatively, the first mode and the second mode may be switched by writing to a register of the circuit device 20 by an external processing device such as a microcomputer.
[0019] In this embodiment, the control circuit 60 controls the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode so that it is higher than the power supply voltage VDDL supplied to the oscillation circuit 30 in the second mode. For example, the power supply circuit 90 supplies the oscillation circuit 30 with a power supply voltage VDDL higher in the first mode than in the second mode based on a control signal from the control circuit 60. For example, the power supply circuit 90 has a regulator that regulates the power supply voltage VDD from an external source or the like to generate the power supply voltage VDDL. Then, based on the control signal from the control circuit 60, the power supply voltage VDDL can be controlled by controlling the resistance ratio in the resistor divider circuit of the regulator. For example, the resistance ratio in the resistor divider circuit of the regulator is controlled based on the control signal from the control circuit 60 so that the power supply voltage VDDL is higher in the first mode than in the second mode. In this way, by increasing the power supply voltage VDDL of the oscillation circuit 30 in the first mode, the amplitude of the oscillation signal OSC can be increased, making it possible to achieve low noise. For example, by increasing the amplitude of the oscillation signal OSC, the period during which both the P-type transistor and the N-type transistor of the waveform shaping circuit that shapes the waveform of the oscillation signal OSC are on can be shortened, and phase noise caused by power supply noise and the like can be reduced. In addition, by increasing the amplitude of the oscillation signal OSC, the effect of floor noise can be reduced, and the first mode, which is a low noise mode, can be realized. Note that in the first mode, the current that the current source passes through the transistor for driving the oscillation circuit 30 may be controlled to be larger than that in the second mode. This makes it possible to achieve even lower noise in the first mode.
[0020] In this embodiment, the control circuit 60 controls at least one of the reference voltages VH, VL supplied to the temperature compensation circuit 70 and the reference current IRF supplied to the temperature sensor 71 so that they do not change between the first mode and the second mode. For example, the reference voltage generation circuit 36 supplies the reference voltages VH, VL, which are controlled so as not to change between the first mode and the second mode, to the temperature compensation circuit 70 based on a control signal from the control circuit 60. Also, for example, the reference current generation circuit 38 supplies the reference current IRF, which is controlled so that the current does not change between the first mode and the second mode, to the temperature sensor 71 based on a control signal from the control circuit 60.
[0021] The control for preventing the reference voltages VH, VL from changing between the first mode and the second mode is a control for making the reference voltages VH, VL in the first mode and the reference voltages VH, VL in the second mode approach the same voltage. For example, the control circuit 60 controls the reference voltages VH, VL in the first mode and the second mode to be the same voltage. The same voltage includes substantially the same voltage. The control for preventing the reference current IRF from changing between the first mode and the second mode is a control for making the reference current IRF in the first mode and the reference current IRF in the second mode approach the same current value. For example, the control circuit 60 controls the reference current IRF in the first mode and the second mode to be the same current value. The same current value includes substantially the same current value. Note that FIG. 1 shows an example in which both the reference voltages VH, VL and the reference current IRF are controlled so as not to change between the first mode and the second mode, but only one of the reference voltages VH, VL and the reference current IRF may be controlled so as not to change between the first mode and the second mode.
[0022] In this embodiment, the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode is set higher than that in the second mode. By increasing the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode, the first mode, which is a low-noise mode, can be realized. However, since the reference voltage generating circuit 36 generates the reference voltages VH and VL based on the power supply voltage VDDL, when the power supply voltage VDDL increases in the first mode, the reference voltages VH and VL may also change. For example, the reference voltages VH and VL may change to a high voltage in the first mode. When the reference voltages VH and VL change in this way, the temperature compensation in the temperature compensation circuit 70 is adversely affected, the temperature compensation is shifted, and the accuracy of the temperature compensation is reduced. In addition, since the reference current generating circuit 38 generates the reference current IRF based on the power supply voltage VDDL, when the power supply voltage VDDL increases in the first mode, the reference current IRF may also change. For example, the reference current IRF may change to a large current value in the first mode. Such a change in the reference current IRF adversely affects the temperature detection of the temperature sensor 71, causing a deviation in the temperature detection signal of the temperature sensor 71, resulting in a problem of reduced accuracy in temperature detection. If the accuracy of temperature detection is reduced, the accuracy of temperature compensation is also reduced.
[0023] In this respect, in the present embodiment, the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode is made higher than that in the second mode, and the reference voltages VH, VL supplied to the temperature compensation circuit 70 and the reference current IRF supplied to the temperature sensor 71 are controlled so as not to change between the first mode and the second mode. In this way, even if the power supply voltage VDDL becomes high in the first mode, the reference voltages VH, VL and the reference current IRF are controlled so as not to change, so that adverse effects caused by changes in the reference voltages VH, VL and the reference current IRF can be reduced. For example, it becomes possible to prevent a decrease in the accuracy of temperature compensation and a decrease in the accuracy of temperature detection. This makes it possible to prevent a decrease in the accuracy of the output clock signal CKQ of the circuit device 20.
[0024] 2 shows a detailed configuration example of the circuit device 20 and the oscillator 4 including the circuit device 20 according to this embodiment. The oscillator 4 includes a resonator 10 and a circuit device 20. The resonator 10 is electrically connected to the circuit device 20. For example, the resonator 10 and the circuit device 20 are electrically connected using internal wiring, bonding wires, metal bumps, or the like of a package that houses the resonator 10 and the circuit device 20. Note that the circuit device 20 and the oscillator 4 are not limited to the configurations shown in FIG. 2 and FIG. 3 described below, and various modifications are possible, such as omitting some of the components, adding other components, or replacing some of the components with other components.
[0025] The vibrator 10 is an element that generates mechanical vibration 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 that vibrates in a thickness shear manner such as an AT cut or SC cut cut angle, a tuning fork type quartz crystal vibrating piece, or a double tuning fork type quartz crystal vibrating piece. For example, the vibrator 10 may be a vibrator built into an oscillator of an SPXO (Simple Packaged Crystal Oscillator), a vibrator built into a temperature compensated crystal oscillator (TCXO) that does not have a thermostatic oven, or a vibrator built into an oven-controlled crystal oscillator (OCXO) that has a thermostatic oven. The vibrator 10 of this embodiment can also be realized by various vibrating pieces such as a vibrating piece other than a thickness shear vibration type, a tuning fork type, or a double tuning fork type, or a piezoelectric vibrating piece formed of a material other than quartz. For example, as the vibrator 10, a SAW (Surface Acoustic Wave) resonator or a MEMS (Micro Electro Mechanical Systems) vibrator as a silicon vibrator formed using a silicon substrate can be used.
[0026] The circuit device 20 is an integrated circuit device called an IC (Integrated Circuit). For example, the circuit device 20 is an IC manufactured by a semiconductor process, and is a semiconductor chip in which circuit elements are formed on a semiconductor substrate. The circuit device 20 includes pads PVDD, PGND, PX1, PX2, and PCK. A pad for output enable control of a clock signal may be provided. The pads are terminals of the circuit device 20, which is a semiconductor chip. For example, in the pad region, a metal layer is exposed from a passivation film, which is an insulating layer, and the exposed metal layer constitutes a pad, which is a terminal of the circuit device 20. The pads PVDD and PGND are a power pad and a ground pad, respectively. A power supply voltage VDD from an external power supply device is supplied to the pad PVDD. The pad PGND is a pad to which GND, which is a ground voltage, is supplied. GND can also be called VSS, and the ground voltage is, for example, a ground potential. In this embodiment, the ground is appropriately described as GND. For example, VDD corresponds to a high-potential power supply, and GND corresponds to a low-potential power supply. The pads PX1 and PX2 are pads for connecting the resonator 10. The pad PCK is a pad for outputting the output clock signal CKQ. The pads PVDD, PGND, and PCK are electrically connected to the terminals TVDD, TGND, and TCK, which are external terminals for external connection of the oscillator 4, respectively. For example, these pads and terminals are electrically connected using internal wiring of the package, bonding wires, metal bumps, or the like.
[0027] The oscillator circuit 30 is a circuit that oscillates the vibrator 10. For example, the oscillator circuit 30 generates an oscillation signal OSC by oscillating the vibrator 10. The oscillator circuit 30 can be realized by, for example, a drive circuit for oscillation electrically connected to one end and the other end of the vibrator 10, and passive elements such as a capacitor and a resistor. The drive circuit can be realized by, for example, a bipolar transistor or a CMOS inverter circuit. The drive circuit is a core circuit of the oscillator circuit 30, and the drive circuit drives the vibrator 10 with a voltage or current to oscillate the vibrator 10. As the oscillator circuit 30, various types of oscillator circuits such as an inverter type, a Pierce type, a Colpitts type, or a Hartley type can be used. The oscillator circuit 30 is electrically connected to the vibrator 10 via pads PX1 and PX2. The pads PX1 and PX2 are pads for connecting the vibrator. The drive circuit 34 for oscillation of the oscillator circuit 30 is provided between the pads PX1 and PX2. The oscillator circuit 30 can also include a variable capacitance circuit (not shown). The variable capacitance circuit is, for example, a circuit that changes the capacitance at least one of one end and the other end of the vibrator 10, and the oscillation frequency of the oscillation circuit 30 can be adjusted by adjusting the capacitance of the variable capacitance circuit. That is, the variable capacitance circuit is electrically connected to at least one of the pads PX1 and PX2, so that the load capacitance of the oscillation circuit 30 can be variably adjusted. The variable capacitance circuit can be realized by a variable capacitance element such as a varactor. For example, the variable capacitance circuit is composed of at least one variable capacitance element. Note that the connection in this embodiment is an electrical connection. The 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 a passive element or the like.
[0028] The waveform shaping circuit 40 receives the oscillation signal OSC from the oscillation circuit 30 and shapes the waveform of the oscillation signal OSC. For example, the waveform shaping circuit 40 shapes the oscillation signal OSC into a square-wave clock signal CK. For example, the waveform shaping circuit 40 shapes the sine-wave oscillation signal OSC and outputs a square-wave clock signal CK. The sine-wave oscillation signal OSC also includes a sine-wave signal containing harmonic components. The waveform shaping circuit 40 can include one or more buffer circuits for shaping the waveform of the oscillation signal OSC.
[0029] The memory 68 stores various information used in the circuit device 20. The memory 68 is, for example, a non-volatile memory. The non-volatile memory is an EEPROM such as a Floating gate Avalanche injection MOS (FAMOS) memory or a Metal-Oxide-Nitride-Oxide-Silicon (MONOS) memory, but is not limited thereto and may be an OTP (One Time Programmable) memory or a fuse-type ROM. Alternatively, the memory 68 may be realized by a volatile memory such as a RAM.
[0030] The frequency divider circuit 78 outputs a clock signal CKD obtained by dividing the clock signal CK from the waveform shaping circuit 40 by a set frequency division ratio. The setting information of the frequency division ratio is stored in, for example, the memory 68 or a register. This allows the output circuit 80 to output an output clock signal CKQ corresponding to the clock signal CKD divided by the frequency divider circuit 78. Alternatively, a PLL circuit that multiplies the frequency of the clock signal CK may be provided between the waveform shaping circuit 40 and the output circuit 80. In this way, the output circuit 80 can output an output clock signal CKQ having a frequency obtained by multiplying the oscillation frequency. The circuit device 20 of this embodiment may be configured without providing such a frequency divider circuit 78 or a PLL circuit.
[0031] The output circuit 80 buffers the clock signal CK generated based on the oscillation signal OSC and outputs it. For example, the output circuit 80 outputs an output clock signal CKQ based on the clock signal CK of the waveform shaping circuit 40. In FIG. 2, the output circuit 80 buffers the clock signal CKD from the frequency division circuit 78 and outputs it to the pad PCK as the output clock signal CKQ. For example, the output circuit 80 outputs the output clock signal CKQ in a single-ended CMOS signal format. Alternatively, the output circuit 80 outputs a differential clock signal 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).
[0032] The power supply circuit 90 receives a power supply voltage VDD from the pad PVDD and a ground voltage GND from the pad PGND, and supplies various power supply voltages for the internal circuits of the circuit device 20 to the internal circuits. For example, in FIG. 2, the power supply circuit 90 generates a power supply voltage VDDL based on the power supply voltage VDD, and supplies it as a power supply voltage for the oscillation circuit 30, the waveform shaping circuit 40, the frequency division circuit 78, the reference voltage generation circuit 36, and the reference current generation circuit 38. The power supply voltage VDDL is, for example, a voltage obtained by regulating the power supply voltage VDD from the outside by a regulator, and is a voltage obtained by lowering the power supply voltage VDD. The oscillation circuit 30 performs an oscillation operation of driving the resonator 10 based on the power supply voltage VDDL to generate an oscillation signal OSC. The waveform shaping circuit 40 shapes the waveform of the oscillation signal OSC based on the power supply voltage VDDL, and outputs the clock signal CK after the waveform shaping. The power supply circuit 90 can also generate a power supply voltage to be supplied to the control circuit 60, the memory 68, the temperature compensation circuit 70, the temperature sensor 71, or the like. Also, the output circuit 80 operates based on, for example, a power supply voltage VDD, and outputs an output clock signal CKQ.
[0033] Fig. 3 shows another example of the configuration of the circuit device 20 and the oscillator 4. Fig. 3 differs from Fig. 2 in that the power supply circuit 90 in Fig. 3 supplies a first power supply voltage VDDL1 to the oscillation circuit 30 and supplies a second power supply voltage VDDL2 different from the first power supply voltage VDDL1 to the waveform shaping circuit 40. Also in Fig. 3, the first power supply voltage VDDL1 is supplied to the reference voltage generating circuit 36 and the reference current generating circuit 38, and the second power supply voltage VDDL2 is supplied to the frequency dividing circuit 78. Specifically, the power supply circuit 90 includes regulators 91 and 92. The regulator 91 regulates the power supply voltage VDD to generate the first power supply voltage VDDL1, and the regulator 92 regulates the power supply voltage VDD to generate the second power supply voltage VDDL2.
[0034] 3, the oscillator circuit 30 operates by being supplied with the first power supply voltage VDDL1, and the waveform shaping circuit 40 operates by being supplied with the second power supply voltage VDDL2 different from the first power supply voltage VDDL1. In this way, it becomes possible to individually adjust the first power supply voltage VDDL1 supplied to the oscillator circuit 30 and the second power supply voltage VDDL2 supplied to the waveform shaping circuit 40. This makes it possible to finely adjust the low noise mode and the low power consumption mode.
[0035] For example, the waveform shaping circuit 40 operates by being supplied with a second power supply voltage VDDL2 smaller than the amplitude of the oscillation signal OSC. For example, an amplitude detection circuit (not shown) is provided to detect the amplitude of the oscillation signal OSC, and the power supply circuit 90 controls the second power supply voltage VDDL2 so that the second power supply voltage VDDL2 is smaller than the amplitude of the oscillation signal OSC based on the detection result of the oscillation amplitude. Specifically, the second power supply voltage VDDL2 can be controlled by controlling the resistance ratio in the resistor divider circuit of the regulator 92 based on the detection result of the oscillation amplitude. The amplitude of the oscillation signal OSC is, for example, the peak-to-peak voltage of the oscillation signal OSC. The amplitude of the oscillation signal OSC can be detected, for example, by detecting the envelope of the oscillation signal OSC. By making the second power supply voltage VDDL2 smaller than the amplitude of the oscillation signal OSC in this way, the phase noise of the clock signal CK can be reduced as described later, and the phase noise of the output clock signal CKQ can be reduced.
[0036] 2 and 3, in this embodiment, the power supply voltage VDDL or the first power supply voltage VDDL1 supplied to the oscillation circuit 30 in the first mode is controlled to be higher than the power supply voltage VDDL or the first power supply voltage VDDL1 supplied to the oscillation circuit 30 in the second mode. At least one of the reference voltages VH, VL supplied to the temperature compensation circuit 70 based on the power supply voltage VDDL or the first power supply voltage VDDL1 and the reference current IRF supplied to the temperature sensor 71 based on the power supply voltage VDDL or the first power supply voltage VDDL1 is controlled not to change between the first mode and the second mode. In this way, the power supply voltage VDDL or the first power supply voltage VDDL1 supplied to the oscillation circuit 30 in the first mode is higher than that in the second mode, thereby realizing low noise. In this embodiment, even if the power supply voltage VDDL or the first power supply voltage VDDL1 becomes higher in the first mode, the reference voltages VH, VL supplied to the temperature compensation circuit 70 or the reference current IRF supplied to the temperature sensor 71 is controlled not to change. Therefore, it is possible to prevent deterioration in the accuracy of temperature compensation and the accuracy of temperature detection caused by changes in the power supply voltage VDDL or the first power supply voltage VDDL1, and to prevent deterioration in the accuracy of the output clock signal CKQ, etc. In the following description, the first power supply voltage VDDL1 and the second power supply voltage VDDL2 in FIG. 3 will be collectively referred to as the power supply voltage VDDL as appropriate.
[0037] 2. Reference voltage generation circuit, reference current generation circuit, temperature compensation circuit Fig. 4 shows a configuration example of the reference voltage generating circuit 36. Note that the reference voltage generating circuit 36 is not limited to the configuration shown in Fig. 4, and various modifications are possible, such as omitting some of the components, adding other components, or replacing some of the components with other components.
[0038] In this embodiment, the circuit device 20 includes a reference voltage generating circuit 36 that generates reference voltages VH, VL based on the power supply voltage VDDL and supplies them to the temperature compensation circuit 70. The reference voltage generating circuit 36 supplies the temperature compensation circuit 70 with the reference voltages VH, VL that are controlled so as not to change between the first mode and the second mode. In this way, even if the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode becomes high, the reference voltages VH, VL that are controlled so as not to change between the first mode and the second mode are supplied from the reference voltage generating circuit 36 to the temperature compensation circuit 70. Therefore, by increasing the power supply voltage VDDL supplied to the oscillation circuit 30, the first mode, which is a low noise mode, can be realized, and a decrease in the accuracy of temperature compensation caused by a change in the power supply voltage VDDL can be prevented, and a decrease in the accuracy of the output clock signal CKQ can be prevented.
[0039] Specifically, as shown in FIG. 4, the reference voltage generating circuit 36 includes a plurality of resistors RH1 to RH8 that are provided in series between a power supply node to which a power supply voltage VDDL is supplied and a GND node. The reference voltage generating circuit 36 may also include resistors RH9 and RH10. The resistors RH1 to RH8 form a ladder resistor circuit 37. The reference voltage generating circuit 36 also includes a switch SWC that is provided in parallel with one of the plurality of resistors RH1 to RH8. In FIG. 4, the switch SWC is provided in parallel with a resistor RH1 having one end connected to the power supply node of VDDL and the other end connected to a node N1. The switch SWC is controlled to be turned on and off by a control signal SCC from the control circuit 60. The switch SWC can be realized by, for example, a MOS transistor. Although FIG. 4 shows an example in which eight resistors RH1 to RH8 are provided as the plurality of resistors, the number of resistors is not limited to this. The resistor provided in parallel with the switch SWC may be a resistor other than the resistor RH1.
[0040] A voltage generated at a node N2 between resistors RH2 and RH3 is output as a reference voltage VRF via resistor RH9. This reference voltage VRF is a voltage supplied to one end of a variable capacitance element of the oscillation circuit 30, for example, as described later. A temperature compensation voltage is supplied to the other end of the variable capacitance element. When the oscillation circuit 30 has a plurality of variable capacitance elements, a plurality of reference voltages VRF with different voltage levels are generated and supplied to one ends of the plurality of variable capacitance elements. A voltage generated at a node N5 between resistors RH5 and RH6 is output as a bias voltage VBS via resistor RH10. This bias voltage VBS is a voltage set as a center amplitude voltage of an oscillation signal OSC of the oscillation circuit 30, for example, as described later.
[0041] Furthermore, reference voltages VH2, VH1, VL2, and VL1 used in the temperature compensation circuit 70 are generated at a node N3 between the resistors RH3 and RH4, a node N4 between the resistors RH4 and RH5, a node N6 between the resistors RH6 and RH7, and a node N7 between the resistors RH7 and RH8. The reference voltages VH2 and VH1 correspond to the above-mentioned reference voltage VH, and the reference voltages VL2 and VL1 correspond to the reference voltage VL. The temperature compensation circuit 70 generates a temperature compensation voltage using a function current generated based on these reference voltages VH2, VH1, VL2, and VL1 and the temperature detection voltage.
[0042] In this embodiment, the switch SWC is turned off in the first mode, which is a low noise mode, and turned on in the second mode, which is a low power consumption mode. For example, based on the control signal SCC from the control circuit 60, the switch SWC is turned off in the first mode, and turned on in the second mode. In this way, in the second mode in which the power supply voltage VDDL is set to a low voltage for low power consumption, the switch SWC is turned on, and both ends of the resistor RH1 among the multiple resistors RH1 to RH8 are bypassed by the switch SWC. As a result, the reference voltages VH2, VH1, VL2, and VL1 set by the resistance division ratio of the multiple resistors RH2 to RH8 excluding the resistor RH1 are supplied to the temperature compensation circuit 70. On the other hand, in the first mode in which the power supply voltage VDDL is set to a high voltage for low noise, the switch SWC is turned off, and both ends of the resistor RH1 are not bypassed. As a result, the reference voltages VH2, VH1, VL2, and VL1 set by the resistance division ratio of the multiple resistors RH1 to RH8, in which the resistor RH1 is added to the resistors RH2 to RH8, are supplied to the temperature compensation circuit 70. Therefore, even if the power supply voltage VDDL becomes high in the first mode, it is possible to control so that the reference voltages VH2, VH1, VL2, and VL1 do not change between the first mode and the second mode. This makes it possible to prevent a decrease in the accuracy of temperature compensation caused by a change in the power supply voltage VDDL, and to prevent a decrease in the accuracy of the output clock signal CKQ, etc.
[0043] For example, the current flowing through the multiple resistors is IA, the power supply voltage VDDL in the first mode is V1, and the power supply voltage VDDL in the second mode is V2. Here, since the power supply voltage VDDL in the first mode is higher than that in the second mode, the relational expression V1>V2 holds. Also, the resistance values of the resistor RH1 and the resistors RH2-RH8 connected in parallel with the switch SWC are R1-R8. In this case, in the first mode in which the power supply voltage VDDL is V1 and the switch SWC is off, V1=(R1+R2+R3+···R8)×IA holds. Also, in the second mode in which the power supply voltage VDDL is V2 and the switch SWC is on, V2=(R2+R3+···R8)×IA holds. Therefore, for the resistance value R1 of the resistor RH1 connected in parallel with the switch SWC, the relation R1=(V1-V2) / IA holds. In this way, if the resistance value of the resistor RH1 provided in parallel with the switch SWC is set to R1=(V1-V2) / IA, the reference voltages VH2, VH1, VL2, and VL1 can be controlled so as not to change even when the power supply voltage VDDL=V1 in the first mode is set to a voltage higher than the power supply voltage VDDL=V2 in the second mode. That is, by dropping the voltage in the resistor RH1 provided in parallel with the switch SWC by the voltage V1-V2, which is the increase in the power supply voltage VDDL from V2 to V1 in the first mode, the voltage of the node N1 does not change between the first mode and the second mode. Therefore, even if the power supply voltage VDDL increases in the first mode, the reference voltages VH2, VH1, VL2, and VL1 do not change. As a result, by increasing the power supply voltage VDDL in the first mode, it is possible to realize low noise and prevent a decrease in the accuracy of temperature compensation caused by a change in the power supply voltage VDDL.
[0044] Fig. 5 shows a configuration example of a temperature compensation circuit 70. Fig. 5 shows a circuit that performs temperature compensation in an analog manner, and outputs a temperature-compensated voltage VCP by polynomial approximation with temperature as a variable. This temperature compensation circuit 70 includes a current generation circuit 72 and a current-voltage conversion circuit 75. The current generation circuit 72 generates a function current for temperature compensation of the temperature characteristic of the oscillation frequency based on a temperature detection voltage VTS from a temperature sensor 71. Then, the current-voltage conversion circuit 75 converts the function current from the current generation circuit 72 into a voltage and outputs a temperature-compensated voltage VCP.
[0045] The current generating circuit 72 includes a first-order correction circuit 73 and a high-order correction circuit 74. The first-order correction circuit 73 outputs a first-order current that approximates a first-order function based on the temperature detection voltage VTS. For example, the first-order correction circuit 73 outputs a first-order function current based on first-order correction data corresponding to a first-order coefficient of a polynomial in the polynomial approximation. The high-order correction circuit 74 outputs a high-order current that approximates a high-order function to the current-voltage conversion circuit 75 based on the temperature detection voltage VTS. For example, the high-order correction circuit 74 outputs a high-order current based on high-order correction data corresponding to a high-order coefficient of a polynomial in the polynomial approximation. As an example, the high-order correction circuit 74 outputs a third-order current that approximates a third-order function. The high-order correction circuit 74 may further include a correction circuit that performs fourth-order or higher correction.
[0046] The current-voltage conversion circuit 75 includes an amplifier circuit AM, a resistor RC, and a capacitor CC. The current-voltage conversion circuit 75 adds the primary current and the higher-order current, and performs current-voltage conversion on the sum current to output a temperature-compensated voltage VCP. This generates a temperature-compensated voltage VCP that approximates a polynomial function.
[0047] Fig. 6 shows an example of the configuration of a function current generating circuit 86 included in the temperature compensation circuit 70. This function current generating circuit 86 is provided in, for example, the high-order correction circuit 74 in Fig. 5, and generates high-order function currents such as second-order and third-order.
[0048] As shown in FIG. 6, the function current generating circuit 86 includes a reference current generating circuit 87, a first compensation circuit 88, and a second compensation circuit 89. The reference current generating circuit 87 generates a reference current IR. The first compensation circuit 88 performs temperature compensation in a low temperature range, and the second compensation circuit 89 performs temperature compensation in a high temperature range. The first compensation circuit 88 and the second compensation circuit 89 include a plurality of differential pair circuits. Reference currents IRF1 and IRF2 that are mirrors of the reference current IR flow in each differential pair circuit of the first compensation circuit 88. Reference currents IRG1 and IRG2 that are mirrors of the reference current IR also flow in each differential pair circuit of the second compensation circuit 89. The first compensation circuit 88 generates a current IF=IF1+IF2 for temperature compensation in a low temperature range, and the second compensation circuit 89 generates a current IG=IG1+IG2 for temperature compensation in a high temperature range. In addition, because the reference current IR is a constant current, the reference currents IRF1=IF1+IL1 and IRF2=IF2+IL2 flowing through each differential pair circuit of the first compensation circuit 88 also have constant current values. Similarly, the reference currents IRG1=IG1+IH1 and IRG2=IG2+IH2 flowing through each differential pair circuit of the second compensation circuit 89 also have constant current values.
[0049] In the low-temperature range, the current IF=IF1+IF2 is large, while the current IG=IG1+IG2 is small. On the other hand, in the high-temperature range, the current IG=IG1+IG2 is large, while the current IF=IF1+IF2 is small. By using such a function current generating circuit 86, it is possible to generate high-order function currents such as second-order, third-order, fourth-order, and fifth-order. For example, FIG. 7 is a diagram showing the generation of second-order, third-order, fourth-order, and fifth-order function currents. For example, a second-order function current is generated by adding a low-temperature side current shown in E1 and a high-temperature side current shown in E2 as shown in E3. A third-order function current is generated by adding a low-temperature side current shown in E4 and a high-temperature side current shown in E5 as shown in E6. A fourth-order function current is generated by adding a low-temperature side current shown in E7 and a high-temperature side current shown in E8 as shown in E9. A fifth-order function current is generated by adding a low-temperature side current shown in E10 and a high-temperature side current shown in E11 as shown in E12.
[0050] 6, the temperature detection voltage VTS from the temperature sensor 71 is input to the base of one of the bipolar transistors constituting each differential pair circuit of the functional current generating circuit 86, and the reference voltages VL1, VL2, VH1, and VH2 from the reference voltage generating circuit 36 are input to the base of the other bipolar transistor. The reference voltages VL1, VL2, VH1, and VH2 adjust the current generation temperatures on the low and high temperature sides. Furthermore, if the resistance value of the resistor provided on the low potential side of the differential pair circuit is reduced, the current becomes exponential, and if the resistance value is increased, the current becomes linear.
[0051] 6, the characteristics of the function current generated by the function current generating circuit 86 change based on the reference voltages VL1, VL2, VH1, and VH2 from the reference voltage generating circuit 36. In the oscillator 4, the reference voltages VL1, VL2, VH1, and VH2 are adjusted so that the function current generated by the function current generating circuit 86 has characteristics corresponding to the characteristics of the resonator 10. Therefore, it is desirable to prevent the reference voltages VL1, VL2, VH1, and VH2 from changing when the circuit device 20 and the oscillator 4 are set to the first mode and when they are set to the second mode. In this respect, in the present embodiment, even when the power supply voltage VDDL is set to a high voltage in the first mode, for example, the reference voltages VL1, VL2, VH1, and VH2 generated based on the power supply voltage VDDL are controlled not to change. Therefore, the accuracy of the temperature compensation by the temperature compensation circuit 70 can be maintained when the first mode is set and when the second mode is set.
[0052] Fig. 8 shows an example of the configuration of the reference current generating circuit 38 and the temperature sensor 71. Note that the reference current generating circuit 38 and the temperature sensor 71 are not limited to the configuration shown in Fig. 8, and various modifications are possible, such as omitting some of the components, adding other components, or replacing some of the components with other components.
[0053] In this embodiment, the circuit device 20 includes a reference current generating circuit 38 that generates a reference current IRF based on the power supply voltage VDDL and supplies it to the temperature sensor 71. The reference current generating circuit 38 supplies the temperature sensor 71 with a reference current IRF that is controlled so that the current does not change between the first mode and the second mode, based on a control signal from the control circuit 60. In this way, even if the power supply voltage VDDL supplied to the oscillation circuit 30 in the first mode becomes high, the reference current IRF that is controlled so that the current does not change between the first mode and the second mode is supplied from the reference current generating circuit 38 to the temperature sensor 71. Therefore, by increasing the power supply voltage VDDL supplied to the oscillation circuit 30, the first mode, which is a low noise mode, can be realized, and a decrease in the accuracy of temperature detection and temperature compensation due to a change in the power supply voltage VDDL can be prevented, and a decrease in the accuracy of the output clock signal CKQ can be prevented.
[0054] As shown in FIG. 8, the reference current generating circuit 38 includes a plurality of resistors RT1, RT2, RT3 and a bipolar transistor BP1 that are provided in series between a power supply node to which a power supply voltage VDDL is supplied and a GND node. For example, the resistors RT1 and RT2 are provided in series between the power supply node and a node N12, and the bipolar transistor BP1 and the resistor RT3 are provided in series between the node N12 and the GND node. The collector and base of the bipolar transistor BP1 are connected to each other, forming a diode connection. The reference current generating circuit 38 also includes a switch SWT that is provided in parallel with one of the plurality of resistors RT1, RT2, RT3. In FIG. 8, the switch SWT is provided in parallel with a resistor RT1 that has one end connected to the power supply node VDDL and the other end connected to a node N11. The switch SWT is controlled to be turned on and off by a control signal SCT from a control circuit 60. The switch SWT can be realized by, for example, a MOS transistor. Although FIG. 8 shows an example in which three resistors RT1 to RT3 are provided as the plurality of resistors, the number of resistors is not limited to this. Furthermore, the resistor connected in parallel to the switch SWT may be a resistor other than the resistor RT1.
[0055] In this embodiment, the switch SWT is turned off in the first mode, which is a low noise mode, and turned on in the second mode, which is a low power consumption mode. For example, based on the control signal SCT from the control circuit 60, the switch SWT is turned off in the first mode, and turned on in the second mode. In this manner, in the second mode in which the power supply voltage VDDL is set to a low voltage for low power consumption, the switch SWT is turned on, and both ends of the resistor RT1 are bypassed by the switch SWT. As a result, the reference current IRF flows from the power supply node to the GND node via the resistor RT2, the bipolar transistor BP1, and the resistor RT3. On the other hand, in the first mode in which the power supply voltage VDDL is set to a high voltage for low noise, the switch SWT is turned off, and both ends of the resistor RT1 are not bypassed. As a result, the reference current IRF flows from the power supply node to the GND node via the resistors RT1, RT2, the bipolar transistor BP1, and the resistor RT3. That is, in the second mode in which the power supply voltage VDDL is low, the reference current IRF flows through two resistors RT2 and RT3, whereas in the first mode in which the power supply voltage VDDL is high, the reference current IRF flows through three resistors RT1, RT2, and RT3, which is more than in the second mode. This makes it possible to control so that the reference current IRF does not change between the first mode and the second mode even if the power supply voltage VDDL becomes high in the first mode. Therefore, it is possible to prevent a decrease in the accuracy of temperature detection and temperature compensation caused by a change in the power supply voltage VDDL, and to prevent a decrease in the accuracy of the output clock signal CKQ, etc.
[0056] For example, the power supply voltage VDDL in the first mode is V1, and the power supply voltage VDDL in the second mode is V2. The resistance value of the resistor RT1 connected in parallel to the switch SWT is R1, the resistance values of the resistors RT2 and RT3 are R2 and R3, and the base-emitter voltage of the bipolar transistor BP1, whose collector and base are connected, is VBE. In this case, in the first mode in which the power supply voltage VDDL is V1 and the switch SWT is off, V1-VBE=(R1+R2+R3)×IRF is satisfied. In the second mode in which the power supply voltage VDDL is V2 and the switch SWT is on, V2-VBE=(R2+R3)×IRF is satisfied. Therefore, for the resistance value R1 of the resistor RT1 connected in parallel to the switch SWT, the relational expression R1=(V1-V2) / IRF is satisfied. In this way, if the resistance value of the resistor RT1 connected in parallel to the switch SWT is set to R1=(V1-V2) / IRF, the reference current IRF can be controlled not to change even when the power supply voltage VDDL=V1 in the first mode is set to a voltage higher than the power supply voltage VDDL=V2 in the second mode. That is, by dropping the voltage in the resistor RT1 connected in parallel to the switch SWT by the voltage V1-V2 when the power supply voltage VDDL rises from V2 to V1 in the first mode, the voltage of the node N11 does not change between the first mode and the second mode. Therefore, even if the power supply voltage VDDL increases in the first mode, the reference current IRF, the current value of which is determined by the base-emitter voltage VBE of the bipolar transistor BP1 and the resistance values of the resistors RT2 and RT3, does not change. As a result, by increasing the power supply voltage VDDL in the first mode, it is possible to realize low noise and prevent deterioration in the accuracy of temperature detection and temperature compensation caused by changes in the power supply voltage VDDL.
[0057] 8, a transistor TT1, a bipolar transistor BP2, and a resistor RT4 are provided in series between the power supply node and the GND node. The bipolar transistor BP2 is connected to a node N12 of the base and collector of the bipolar transistor BP1, and the bipolar transistors BP1 and BP2 form a current mirror circuit. The gates of the transistors TT2 and TT3, which are the current sources of the temperature sensor 71, are connected to a node N13 of the gate and drain of the transistor TT1, and the transistors TT1 and TT2, and the transistors TT1 and TT3 form a current mirror circuit. As a result, a current IE that is a mirror of the reference current IRF flows through the transistors TT2 and TT3, which are the current sources of the temperature sensor 71.
[0058] The temperature sensor 71 includes a bipolar transistor BP3, the collector of which is supplied with a current IE that is a mirror of the reference current IRF, and resistors RT5 and RT6. The resistor RT5 is provided between a base node N14 of the bipolar transistor BP3 and a collector node N15. The resistor RT6 is provided between the emitter of the bipolar transistor BP3 and the GND node, and is a resistor whose resistance value is variable. For example, the resistance value of the resistor RT6 is variably controlled based on a control signal SCR from the control circuit 60.
[0059] 8, the temperature sensor 71 includes a bipolar transistor BP4, the collector of which is supplied with a current IE that is a mirror of the reference current IRF, and resistors RT7 and RT8. The resistor RT7 is provided between a base node N16 of the bipolar transistor BP4 and a collector node N17. The resistor RT8 is provided between the emitter of the bipolar transistor BP4 and a collector node N15 of the bipolar transistor BP3, and is a resistor whose resistance value is variable. For example, the resistance value of the resistor RT8 is variably controlled based on a control signal SCR from the control circuit 60.
[0060] In FIG. 8, the current flowing through the transistors TT2 and TT3, which are current sources, is IE, and the resistance values of the resistors RT5, RT6, RT7, and RT8 are R5, R6, R7, and R8, respectively. The base-emitter voltages of the bipolar transistors BP3 and BP4 are VBE1 and VBE2. Then, the voltage of the node N15 of the collector of the bipolar transistor BP3 is VTSA=VBE1+IE×(2×R6-R5). Therefore, the temperature detection voltage, which is the voltage of the node N17 of the collector of the bipolar transistor BP4, is VTS=VBE2+IE×(R8-R7)+VTSA=VBE1+VBE2+IE×(2×R6+R8-R5-R7). Since the base-emitter voltages VBE1 and VBE2 have negative temperature characteristics, the temperature sensor 71 in FIG. 8 can output the temperature detection voltage VTS that changes according to the environmental temperature. In addition, the offset of the temperature detection voltage VTS can be adjusted by changing the resistance values of the resistors RT6 and RT8.
[0061] 8, the temperature sensor 71 includes the transistor TT3, the bipolar transistor BP4, and the resistors RT7 and RT8, but may not include these elements. In this case, the voltage VTSA at the collector node N15 of the bipolar transistor BP3 is output as the temperature detection voltage.
[0062] As described above, the temperature sensor 71 of this embodiment includes a bipolar transistor BP3, the collector of which is supplied with a current IE that is a mirror of the reference current IRF, a resistor RT5 that is provided between the base and collector of the bipolar transistor BP3, and a resistor RT6 with a variable resistance that is provided between the emitter of the bipolar transistor BP3 and the GND node. The bipolar transistor BP3 is a first bipolar transistor, the resistor RT5 is a first resistor, and the resistor RT6 is a second resistor. In this way, the temperature detection voltage VTS that changes according to the environmental temperature can be output using the base-emitter voltage VBE1 of the bipolar transistor BP3, etc. Then, as described above, the temperature detection voltage VTS changes according to the current IE that is a mirror of the reference current IRF. Therefore, when the power supply voltage VDDL becomes higher in the first mode than in the second mode, if the reference current IRF changes, the current IE that is a mirror of the reference current IRF also changes, and the temperature detection voltage VTS also changes. In this embodiment, even when the power supply voltage VDDL increases in the first mode, the reference current IRF supplied to the temperature sensor 71 based on the power supply voltage VDDL is controlled not to change. Therefore, the noise reduction achieved in the first mode can be achieved, and a decrease in the accuracy of temperature detection caused by a change in the power supply voltage VDDL can be prevented.
[0063] 3. Oscillation circuits, waveform shaping circuits Fig. 9 shows an example of the configuration of the oscillator circuit 30 and the waveform shaping circuit 40. Note that the oscillator circuit 30 and the waveform shaping circuit 40 are not limited to the configuration shown in Fig. 9, and various modifications are possible, such as omitting some of the components, adding other components, or replacing some of the components with other components.
[0064] The oscillator circuit 30 includes a current source 32 and a driver circuit 34. The oscillator circuit 30 may also include variable capacitance circuits CA1 and CA2, a capacitor CA3, and a resistor RA1.
[0065] The current source 32 and the drive circuit 34 are provided in series between a power supply node VDDL, which is a high-potential power supply node, and a GND node, which is a low-potential power supply node. The variable capacitance circuit CA1 is provided between a node NA1, to which one end of the vibrator 10 is connected, and the GND node. The variable capacitance circuit CA2 is provided between a node NA2, to which the other end of the vibrator 10 is connected, and the GND node. The capacitances of the variable capacitance circuits CA1 and CA2 are adjusted to adjust the oscillation frequency, thereby achieving temperature compensation processing for the oscillation frequency, and the like.
[0066] The drive circuit 34 includes a bipolar transistor BP. The collector of the bipolar transistor BP is connected to a node NA2 which is a supply node of a current I from the current source 32, and the emitter is connected to a GND node. A resistor RA1 is provided between the collector and the base. A capacitor CA3 is provided between a node NA3 at the base of the bipolar transistor BP and the node NA1. The capacitor CA3 is, for example, a DC blocking capacitor.
[0067] The current source 32 can be realized by, for example, a current mirror circuit. The current mirror circuit supplies the drive circuit 34 with a current I obtained by current-mirroring the reference current from the reference current generating circuit 38. The drive circuit 34 drives the vibrator 10 based on the current I from the current source 32. Here, the current source 32 is, for example, a variable current source, and supplies a variable current I to the drive circuit 34. The bipolar transistor BP of the drive circuit 34 drives the vibrator 10 based on this variable current I. The current source 32 supplies a larger current I to the drive circuit 34 in the first mode, which is a low noise mode, than in the second mode. This makes it possible to reduce floor noise in the oscillation circuit 30 as described later, and to reduce phase noise of the output clock signal CKQ. On the other hand, the current source 32 supplies a smaller current I to the drive circuit 34 in the second mode, which is a low power consumption mode, than in the first mode. This reduces power consumption in the oscillation circuit 30, and makes it possible to realize low power consumption of the circuit device 20.
[0068] The waveform shaping circuit 40 includes a P-type transistor TB1 and an N-type transistor TB2 that are connected in series between a power node VDDL, which is a high-potential power node, and a GND node. For example, the source of the transistor TB1 is connected to the power node, and the source of the transistor TB2 is connected to the GND node. The drains of the transistors TB1 and TB2 are connected to a connection node NB that outputs a clock signal CK. When the second power supply voltage VDDL2 is supplied to the waveform shaping circuit 40 as shown in FIG. 3, the power supply node is the node of VDDL2. The same applies to the following explanation. An oscillation signal OSC is input to the gates of the transistors TB1 and TB2, and the sine-wave oscillation signal OSC is shaped into a square-wave clock signal CK by the buffer circuit of the waveform shaping circuit 40, which is composed of the transistors TB1 and TB2.
[0069] 9, a reference voltage generating circuit 36 is provided. The reference voltage generating circuit 36 includes a ladder resistor circuit 37, which includes a plurality of resistors RA2 and RA3 arranged in series between a power supply node and a GND node. A bias voltage VBS is generated at a node NC by voltage division by the resistors RA2 and RA3. As an example, the bias voltage is set to VBS=VDDL / 2. The reference voltage generating circuit 36 also includes a resistor RA4, one end of which is connected to the node NC, which is a voltage division node. The reference voltage generating circuit 36 sets the bias voltage VBS of the oscillation signal OSC to be input to the waveform shaping circuit 40, and the oscillation signal OSC, whose center amplitude voltage is set to the bias voltage VBS, is input to the waveform shaping circuit 40.
[0070] A DC-cutting capacitor may be provided between the node of the gates of the transistors TB1 and TB2 of the waveform shaping circuit 40 and the input node of the oscillation signal OSC. In this way, the AC components of the oscillation signal OSC are input to the waveform shaping circuit 40. In this case, for example, a feedback resistor that feeds back the output of the waveform shaping circuit 40 to the input may be provided, and the bias voltage due to the self-bias of the waveform shaping circuit 40 may be set to the center amplitude voltage of the oscillation signal OSC after DC cutting.
[0071] In FIG. 9, the floor noise SWPM in the oscillation circuit 30 is expressed by the following equation (1).
[0072] SWPM=2FkT / PS (1)
[0073] F is the noise coefficient, k is the Boltzmann constant, and T is the temperature. PS is the input power of the drive circuit 34 (bipolar transistor BP) of the oscillation circuit 30, and is correlated with the amplitude of the oscillation signal OSC. For example, if the current I supplied to the drive circuit 34 of the oscillation circuit 30 is made larger in the first mode than in the second mode, as shown in the above formula (1), the input power PS increases, making it possible to reduce SWPM, which is the floor noise in the oscillation circuit 30. This makes it possible to reduce the phase noise of the clock signal CK, and therefore the phase noise of the output clock signal CKQ.
[0074] For example, the phase noise of the clock signal CK in the waveform shaping circuit 40 is generated due to floor noise in the oscillation circuit 30, noise of the power supply voltage VDDL, noise generated by the transistors TB1 and TB2 of the waveform shaping circuit 40, and the like. For example, FIG. 10 is a diagram for explaining the conversion from voltage noise to phase noise during waveform shaping in the waveform shaping circuit 40. As shown in FIG. 10, when the driving capability of the waveform shaping circuit 40 is small, the voltage noise shown in A1 is converted to a large phase noise shown in A2. On the other hand, when the driving capability of the waveform shaping circuit 40 is large, the phase noise shown in A4 converted from the voltage noise shown in A3 is smaller than the phase noise shown in A2 when the driving capability is small. Note that the voltage noises of A1 and A3 are noises caused by, for example, power supply noise and noise of the transistors TB1 and TB2, and the floor noise in the waveform shaping circuit 40 is converted to phase noise before being input to the waveform shaping circuit 40.
[0075] In this way, by increasing the driving capability of the waveform shaping circuit 40 in the first mode, phase noise caused by voltage noise or the like can be reduced, and the first mode, which is a low-noise mode, can be realized.
[0076] For example, FIG. 11 is a diagram for explaining the relationship between the voltage level of the oscillation signal OSC and the on / off state of the transistors TB1 and TB2 of the waveform shaping circuit 40. When the voltage level of the oscillation signal OSC is in the voltage range of (1) in FIG. 11, the P-type transistor TB1 is turned on and the N-type transistor TB2 is turned off. When the voltage level of the oscillation signal OSC is in the voltage range of (2) in FIG. 11, both the P-type transistor TB1 and the N-type transistor TB2 are turned on. When the voltage level of the oscillation signal OSC is in the voltage range of (3), the P-type transistor TB1 is turned off and the N-type transistor TB2 is turned on. During the period when both the transistors TB1 and TB2 are turned on as in (2) in FIG. 11, a through current flows from the power supply node to the GND node, and noise from the power supply is propagated as phase noise. For example, when a through current that exceeds the current supply capacity of the power supply circuit 90 flows, the effect of reducing the power supply noise by the regulator of the power supply circuit 90 is lost, and the power supply noise is not reduced and is propagated as phase noise.
[0077] In this regard, in this embodiment, the driving capability of the waveform shaping circuit 40 is increased in the first mode. In this way, it is possible to shorten the period during which both transistors TB1 and TB2 are on, as shown in (2) of Figure 11. By shortening the period during which both transistors TB1 and TB2 are on in this way, it is possible to reduce phase noise caused by power supply noise, and it is possible to achieve low noise in the output clock signal CKQ.
[0078] FIG. 12 is an explanatory diagram of a method of making the first power supply voltage VDDL1 supplied to the oscillation circuit 30 and the second power supply voltage VDDL2 supplied to the waveform shaping circuit 40 different from each other as shown in FIG. 3. In B2 of FIG. 12, the amplitude AP of the oscillation signal OSC is made larger than that in B1. For example, the amplitude AP is made larger than the second power supply voltage VDDL2 of the waveform shaping circuit 40. That is, the peak-to-peak voltage of the oscillation signal OSC is made larger than the second power supply voltage VDDL2. For example, the amplitude AP of the oscillation signal OSC can be made larger by increasing the first power supply voltage VDDL1 supplied to the oscillation circuit 30. By increasing the amplitude AP in this way, the period during which both the transistors TB1 and TB2 of the waveform shaping circuit 40 are turned on can be shortened as shown in C2 compared to the case where the amplitude AP is small as shown in C1. The transition period during which the clock signal CK transitions from the L level to the H level or from the H level to the L level is also shortened as shown in C4 by increasing the amplitude AP compared to C3 when the amplitude AP is small. By shortening the periods indicated by C2 and C4, it is possible to reduce phase noise caused by power supply noise, as in the case of FIG. 10, and it is possible to achieve low noise in the output clock signal CKQ.
[0079] As described above, in this embodiment, the driving capability of the waveform shaping circuit 40 in the first mode is larger than that in the second mode. For example, in the first mode, the driving capability of the waveform shaping circuit 40 is increased by setting the sizes of the transistors TB1 and TB2 of the waveform shaping circuit 40 to larger sizes or increasing the power supply voltage VDDL or the second power supply voltage VDDL2 supplied to the waveform shaping circuit 40, as compared to the second mode. Increasing the driving capability of the waveform shaping circuit 40 in the first mode in this manner makes it possible to reduce the phase noise of the clock signal CK caused by power supply noise, transistor noise, and the like, as described with reference to FIG. 10 and the like, and to output an output clock signal CKQ with reduced phase noise.
[0080] In this embodiment, the power supply voltage VDDL supplied to the waveform shaping circuit 40 in the first mode is higher than the power supply voltage VDDL supplied to the waveform shaping circuit 40 in the second mode. In this way, by increasing the power supply voltage VDDL supplied to the waveform shaping circuit 40 in the first mode, the driving capability of the waveform shaping circuit 40 in the first mode can be increased. This makes it possible to shorten the period in which both transistors TB1 and TB2 of the waveform shaping circuit 40 are turned on in FIG. 11, thereby reducing the phase noise of the clock signal CK caused by power supply noise and transistor noise, and realizing the first mode, which is a low-noise mode. Note that, when the power supply voltages of the oscillation circuit 30 and the waveform shaping circuit 40 are made different as shown in FIG. 3, the second power supply voltage VDDL2 supplied to the waveform shaping circuit 40 in the first mode may be made higher than that in the second mode.
[0081] In this embodiment, the power supply voltage VDDL supplied to the oscillator circuit 30 in the first mode is set higher than the power supply voltage VDDL supplied to the oscillator circuit 30 in the second mode. Increasing the power supply voltage VDDL of the oscillator circuit 30 in the first mode in this manner can increase the amplitude of the oscillation signal OSC, making it possible to realize low noise. For example, by increasing the amplitude of the oscillation signal OSC, the period during which both transistors TB1 and TB2 of the waveform shaping circuit 40 are on can be shortened as described in FIG. 12, and phase noise caused by power supply noise and the like can be reduced. In addition, by increasing the amplitude of the oscillation signal OSC, the effect of floor noise can be reduced, making it possible to realize the first mode, which is a low noise mode.
[0082] In this embodiment, as shown in FIG. 9, the oscillation circuit 30 includes a current source 32 and a drive circuit 34 that drives the vibrator 10 by receiving a current I from the current source 32. The current I supplied from the current source 32 to the drive circuit 34 in the first mode is larger than the current I supplied from the current source 32 to the drive circuit 34 in the second mode. For example, the current source 32 can be configured by a current mirror circuit that supplies a current I obtained by current-mirroring a reference current. In the first mode, the current I supplied from the current source 32 is increased by increasing the reference current or increasing the current mirror ratio compared to the second mode. In this way, by increasing the current supplied from the current source 32 to the drive circuit 34 in the first mode, the input power PS to the drive circuit 34 can be increased as described in the above formula (1), and the floor noise in the oscillation circuit 30 can be reduced. By reducing the floor noise of the oscillator circuit 30, the noise in the oscillator signal OSC is reduced, and the phase noise in the clock signal CK and the output clock signal CKQ generated based on the oscillator signal OSC can be reduced, thereby realizing the first mode, which is a low-noise mode.
[0083] In this embodiment, as shown in FIG. 3, the oscillator circuit 30 operates by being supplied with a first power supply voltage VDDL1, and the waveform shaping circuit 40 operates by being supplied with a second power supply voltage VDDL2 different from the first power supply voltage VDDL1. For example, the first power supply voltage VDDL1 and the second power supply voltage VDDL2 can be adjusted separately. For example, the regulators 91 and 92 in FIG. 3 include an operational amplifier that receives a reference voltage at its first input terminal and controls the gate of the drive transistor, and a resistive divider circuit provided between the drain node of the drive transistor and the GND node. The divided voltage of the output voltage of the drive transistor by the resistive divider circuit is fed back to the second input terminal of the operational amplifier. By adjusting the resistance ratio of this resistive divider voltage, the first power supply voltage VDDL1 output by the regulator 91 and the second power supply voltage VDDL2 output by the regulator 92 can be adjusted. In this way, the first power supply voltage VDDL1 supplied to the oscillation circuit 30 and the second power supply voltage VDDL2 supplied to the waveform shaping circuit 40 can be adjusted separately, which allows fine adjustment between the first mode, which is a low noise mode, and the second mode, which is a low power consumption mode. For example, in the first mode, the first power supply voltage VDDL1 of the oscillation circuit 30 and the second power supply voltage VDDL2 of the waveform shaping circuit 40 are increased, but each of the first power supply voltage VDDL1 and the second power supply voltage VDDL2 can be adjusted separately to achieve lower noise. In the second mode, the first power supply voltage VDDL1 of the oscillation circuit 30 and the second power supply voltage VDDL2 of the waveform shaping circuit 40 are decreased, but each of the first power supply voltage VDDL1 and the second power supply voltage VDDL2 can be adjusted separately to achieve lower power consumption.
[0084] In this embodiment, the waveform shaping circuit 40 operates by being supplied with a second power supply voltage VDDL2 smaller than the amplitude of the oscillation signal OSC. That is, as described in FIG. 12, the second power supply voltage VDDL2 is adjusted so that the second power supply voltage VDDL2 is smaller than the amplitude AP of the oscillation signal OSC. This adjustment can be realized by adjusting the resistance ratio of the resistor divider circuit of the regulator 92. In this way, the oscillation signal OSC having an amplitude larger than the second power supply voltage VDDL2 of the waveform shaping circuit 40 is input to the waveform shaping circuit 40, and the period during which both transistors TB1 and TB2 of the waveform shaping circuit 40 are turned on can be shortened. This makes it possible to reduce the phase noise of the clock signal CK caused by power supply noise and the like, and to realize the first mode, which is a low-noise mode.
[0085] FIG. 13 shows a detailed configuration example of the waveform shaping circuit 40 and the oscillation circuit 30. As shown in FIG. 13, the current source 32 of the oscillation circuit 30 includes a current mirror circuit composed of transistors TA1 and TA2. The sources of the P-type transistors TA1 and TA2 are connected to a power supply node, and the gates are commonly connected to a node NA4. Then, a current I obtained by current-mirroring the reference current IR by this current mirror circuit is supplied from the current source 32 to the drive circuit 34. For example, a plurality of switches SC1 to SCm and a plurality of transistors TC1 to TCm are provided between the node NA4 and the GND node, and the reference current IR is generated by these switches and transistors. Here, m is an integer of 2 or more. Then, each of the switches SC1 to SCm and each of the transistors TC1 to TCm are provided in series between the node NA4 and the GND node. The switches SC1 to SCm can be realized by, for example, transistors that are turned on or off by a control signal from the control circuit 60. The transistors TC1 to TCm are realized by, for example, N-type depletion type transistors, and their gates and sources are connected. In the first mode, the number of switches SC1 to SCm that are turned on is greater than in the second mode. In this way, the reference current IR is greater in the first mode than in the second mode, and the current I that the current source 32 supplies to the drive circuit 34 is also greater. This makes it possible to realize the first mode, which is a low noise mode. On the other hand, in the second mode, the number of switches SC1 to SCm that are turned on is smaller than in the second mode, and this makes it possible to realize the second mode, which is a low power consumption mode.
[0086] Each of the variable capacitance circuits CA1 and CA2 includes a variable capacitance element CD1, capacitors CD2 and CD3, and a resistor RD. One end of the capacitor CD2 is connected to a node NA1 or a node NA2, and the other end is connected to a node ND1. A temperature compensation voltage VCP is supplied to the node ND1 from the temperature compensation circuit 70 in FIG. 2 and FIG. 3 via the resistor RD. One end of the variable capacitance element CD1 is connected to the node ND1, and the other end is connected to a node ND2. A reference voltage VRF is supplied to the node ND2 from the reference voltage generating circuit 36. The capacitor CD3 is provided between the node ND2 and a GND node. The capacitance of the variable capacitance element CD1 of the variable capacitance circuits CA1 and CA2 is adjusted by the temperature compensation voltage VCP, thereby realizing a temperature compensation process.
[0087] The waveform shaping circuit 40 includes a buffer circuit 44. The buffer circuit 44 performs waveform shaping on the input oscillation signal OSC and outputs a clock signal CK. The buffer circuit 44 includes a plurality of P-type transistors TP1 to TPm and a plurality of P-side switches SP1 to SPm. Each of the P-type transistors TP1 to TPm and each of the P-side switches SP1 to SPm are connected in series between a power supply node and a connection node NB. The buffer circuit 44 also includes a plurality of N-type transistors TN1 to TNm and a plurality of N-side switches SN1 to SNm. Each of the N-type transistors TN1 to TNm and each of the N-side switches SN1 to SNm are connected in series between the connection node NB and a GND node. The plurality of P-type transistors TP1 to TPm correspond to the P-type transistor TB1 in FIG. 4, and the plurality of N-type transistors TN1 to TNm correspond to the N-type transistor TB2. That is, each of the transistors TB1 and TB2 of the waveform shaping circuit 40 is divided into a plurality of unit transistors.
[0088] In this embodiment, the number of P-side switches SP1 to SPm and N-side switches SN1 to SNm that are turned on in the first mode is greater than the number of P-side switches SP1 to SPm and N-side switches SN1 to SNm that are turned on in the second mode. For example, the switches SP1 to SPm and SN1 to SNm are turned on and off by a control signal from the control circuit 60, and are controlled so that the number of switches that are turned on in the first mode is greater than that in the second mode. In this way, the number of P-type transistors connected in parallel between the power supply node and the connection node NB and the number of N-type transistors connected in parallel between the connection node NB and the GND node are controlled so that they are greater in the first mode than in the second mode. That is, the on-resistance of the transistors TB1 and TB2 in FIG. 4 can be reduced in the first mode. This makes it possible to increase the driving capability of the waveform shaping circuit 40 in the first mode compared to the second mode, and to reduce phase noise caused by power supply noise, etc.
[0089] Fig. 14 shows another example of the configuration of the waveform shaping circuit 40. The waveform shaping circuit 40 in Fig. 14 includes a first buffer circuit 41 and a second buffer circuit 42 provided in the subsequent stage of the first buffer circuit 41. For example, an oscillation signal OSC is input to the first buffer circuit 41, and a signal CKA after waveform shaping by the first buffer circuit 41 is input to the second buffer circuit 42. Then, the signal after waveform shaping by the second buffer circuit 42 is output as a clock signal CK. Thus, in Fig. 14, waveform shaping is performed by a plurality of buffer circuits. Note that the number of stages of buffer circuits in the waveform shaping circuit 40 may be three or more.
[0090] 14, each of the first buffer circuit 41 and the second buffer circuit 42 includes a plurality of P-type transistors TP1 to TPm and a plurality of P-side switches SP1 to SPm. Each of the P-type transistors TP1 to TPm and each of the P-side switches SP1 to SPm are connected in series between a power supply node and a connection node NB1 or NB2. Each of the buffer circuits includes a plurality of N-type transistors TN1 to TNm and a plurality of N-side switches SN1 to SNm. Each of the N-type transistors TN1 to TNm and each of the N-side switches SN1 to SNm are connected in series between a connection node NB1 or NB2 and a GND node.
[0091] In each of the first buffer circuit 41 and the second buffer circuit 42, the number of P-side switches SP1 to SPm and N-side switches SN1 to SNm that are turned on in the first mode is greater than the number of P-side switches SP1 to SPm and N-side switches SN1 to SNm that are turned on in the second mode. In this way, in each of the buffer circuits, the number of P-type transistors connected in parallel between the power supply node and the connection node NB1 or NB2 and the number of N-type transistors connected in parallel between the connection node NB1 or NB2 and the GND node are controlled to be greater in the first mode than in the second mode. This makes it possible to increase the driving capability of each buffer circuit of the waveform shaping circuit 40 in the first mode compared to the second mode, and to reduce phase noise caused by power supply noise and the like. Also, as shown in FIG. 14, by providing multiple buffer circuits such as the first buffer circuit 41 and the second buffer circuit 42 and adjusting the driving capability of each buffer circuit of the multiple buffer circuits, it is possible to adjust the balance between low noise and low power consumption. In this case, the driving capabilities of the multiple buffer circuits may be switched individually or in conjunction with each other. That is, as the control signals for turning on and off the switches SP1 to SPm and the switches SN1 to SNm of the first buffer circuit 41 and the second buffer circuit 42, individual control signals may be used, or a common control signal may be used.
[0092] 4. Adjusting the drive capacity of the output circuit As described above, in this embodiment, the first mode and the second mode are realized by adjusting the power supply voltage VDDL and the driving capability of the waveform shaping circuit 40. In this case, in addition to these adjustments, the driving capability of the output circuit 80 may be adjusted. Fig. 15 shows an example of the configuration of an output circuit 80 that allows such adjustment of the driving capability. In Fig. 15, the driving capability of the output circuit 80 in the first mode, which is a low-noise mode, is greater than the driving capability of the output circuit 80 in the second mode.
[0093] 15 includes a transistor TE1, transistors TPE1-TPEm, transistors TNE1-TNEm, and a transistor TE2. TE1 and TPE1-TPEm are, for example, P-type transistors, and TNE1-TNEm and TE2 are, for example, N-type transistors. The output circuit 80 also includes P-side resistors RP1-RPm and N-side resistors RN1-RNm. These resistors RP1-RPm, RN1-RNm can also serve as resistors for electrostatic protection of the output circuit 80, for example.
[0094] The source of the transistor TE1 is connected to a power supply node, and a P-side signal PIN based on the clock signal CK or the clock signal CKD is input to the gate. The transistors TPE1-TPEm and the resistors RP1-RPm are provided between a node NE1 at the drain of the transistor TE1 and a node NE2 at the output of the output circuit 80. The transistors TPE1-TPEm and the resistors RP1-RPm are provided in series between the nodes NE1 and NE2. A control signal from the control circuit 60 is input to the gates of the transistors TPE1-TPEm to control their on / off.
[0095] The source of the transistor TE2 is connected to the GND node, and an N-side signal NIN based on the clock signal CK or the clock signal CKD is input to the gate. The resistors RN1 to RNm and the transistors TNE1 to TNEm are provided between the node NE2 and the node NE3 at the drain of the transistor TE2. The resistors RN1 to RNm and the transistors TNE1 to TNEm are provided in series between the node NE2 and the node NE3. A control signal from the control circuit 60 is input to the gates of the transistors TNE1 to TNEm to control their on / off.
[0096] In this embodiment, the number of transistors TPE1 to TPEm and transistors TNE1 to TNEm that are turned on in the first mode is greater than the number of transistors TPE1 to TPEm and transistors TNE1 to TNEm that are turned on in the second mode. In this way, in the first mode, the number of transistors that are turned on is increased, so that a greater number of resistors among the resistors RP1 to RPm and RN1 to RNm are connected in parallel, and it is possible to reduce the resistance value between the node NE1 and the node NE2 and the resistance value between the node NE2 and the node NE3. As a result, the driving capability of the output circuit 80 is greater in the first mode than in the second mode, and the inclination of the waveform of the output clock signal CKQ when driving an external load becomes steeper and closer to vertical. As a result, for the same reason as in the case of FIG. 10, the phase noise of the output clock signal CKQ caused by power supply noise and the like can be reduced, and the first mode, which is a low-noise mode, can be realized. On the other hand, in the second mode, the number of transistors that are turned on is reduced, which reduces the driving capability of the output circuit 80 and reduces the slope of the waveform of the output clock signal CKQ, making it gentler. In this way, by adjusting the driving capability of the output circuit 80 in addition to the power supply voltage VDDL and the driving capability of the waveform shaping circuit 40, further adjustments for lower noise and lower power consumption are possible.
[0097] 15, the driving capability is adjusted by changing the size of the transistor in the output stage of the output circuit 80, but the driving capability may be adjusted by changing the power supply voltage supplied to the output circuit 80. Also, in FIG. 15, a P-type transistor is used as the transistor TE1 to which the signal PIN is input, but an N-type transistor may be used. For example, when the output clock signal CKQ is to be output as a differential clock signal, an N-type transistor may be used as the transistor TE1 to perform an open-drain output.
[0098] As described above, the circuit device of the present embodiment is a circuit device that can switch between a first mode in which the phase noise of the output clock signal is lower than that of the second mode, and a second mode in which the power consumption is lower than that of the first mode. The circuit device includes an oscillation circuit that generates an oscillation signal, an output circuit that outputs an output clock signal based on the oscillation signal, a temperature sensor that outputs a temperature detection signal, a temperature compensation circuit that performs temperature compensation for the oscillation frequency of the oscillation circuit based on the temperature detection signal, and a control circuit. The control circuit controls so that the power supply voltage supplied to the oscillation circuit in the first mode is higher than the power supply voltage supplied to the oscillation circuit in the second mode. The control circuit also controls so that at least one of the reference voltage supplied to the temperature compensation circuit based on the power supply voltage and the reference current supplied to the temperature sensor based on the power supply voltage does not change between the first mode and the second mode.
[0099] In this embodiment, the circuit device is capable of switching between a first mode with low phase noise and a second mode with low power consumption. In this embodiment, an oscillation signal is generated, an output clock signal based on the oscillation signal is output, and temperature compensation of the oscillation frequency based on the temperature detection signal is performed. The power supply voltage supplied to the oscillation circuit in the first mode is controlled to be higher than that in the second mode, and at least one of the reference voltage supplied to the temperature compensation circuit and the reference current supplied to the temperature sensor is controlled so as not to change between the first mode and the second mode. In this way, the power supply voltage supplied to the oscillation circuit in the first mode is increased, thereby realizing the first mode, which is a low noise mode. Even if the power supply voltage increases in the first mode, the reference voltage and the reference current are controlled so as not to change, so that the adverse effects caused by changes in the reference voltage and the reference current can be reduced. This makes it possible to prevent a decrease in the accuracy of temperature compensation while realizing low noise.
[0100] In addition, this embodiment may include a reference voltage generation circuit that generates a reference voltage based on a power supply voltage and supplies it to the temperature compensation circuit, and the reference voltage generation circuit may supply to the temperature compensation circuit a reference voltage that is controlled so that the voltage does not change between the first mode and the second mode.
[0101] In this way, even if the power supply voltage supplied to the oscillation circuit in the first mode becomes high, a reference voltage that is controlled so as not to change between the first mode and the second mode is supplied from the reference voltage generation circuit to the temperature compensation circuit, thereby preventing a decrease in the accuracy of temperature compensation due to changes in the power supply voltage, etc.
[0102] In the present embodiment, the reference voltage generating circuit may include a plurality of resistors arranged in series between a power supply node to which a power supply voltage is supplied and a GND node, and a switch arranged in parallel with one of the plurality of resistors, and the switch may be turned off in the first mode and turned on in the second mode.
[0103] In this way, in the second mode, the switch is turned on so that both ends of the resistor connected in parallel to the switch are bypassed by the switch, and in the first mode, the switch is turned off so that both ends of the resistor are not bypassed. This makes it possible to control so that the reference voltage does not change between the first mode and the second mode even if the power supply voltage becomes high in the first mode.
[0104] In this embodiment, when the current flowing through the multiple resistors is IA, the power supply voltage in the first mode is V1, the power supply voltage in the second mode is V2, and the resistance value of the resistor connected in parallel to the switch is R1, R1=(V1-V2) / IA may be used.
[0105] In this way, by setting the resistance value of the resistor connected in parallel to the switch to R1 = (V1 - V2) / IA, the reference voltage can be controlled so as not to change even when the power supply voltage in the first mode is set to a higher voltage than that in the second mode.
[0106] In addition, this embodiment may include a reference current generating circuit that generates a reference current based on a power supply voltage and supplies the reference current to the temperature sensor, and the reference current generating circuit may supply to the temperature sensor a reference current that is controlled so that the current does not change between the first mode and the second mode.
[0107] In this way, even if the power supply voltage supplied to the oscillator circuit in the first mode becomes high, a reference current that is controlled so as not to change between the first mode and the second mode is supplied to the temperature sensor from the reference current generating circuit, thereby preventing a decrease in the accuracy of temperature detection due to changes in the power supply voltage, etc.
[0108] In the present embodiment, the reference current generating circuit may include a plurality of resistors arranged in series between a power supply node to which a power supply voltage is supplied and a GND node, a bipolar transistor having a collector and a base connected thereto, and a switch arranged in parallel with one of the plurality of resistors. The switch may be turned off in the first mode and turned on in the second mode.
[0109] In this way, in the second mode, the switch is turned on so that both ends of the resistor provided in parallel with the switch are bypassed by the switch, and in the first mode, the switch is turned off so that both ends of the resistor are not bypassed. This makes it possible to control so that the reference current does not change between the first mode and the second mode even if the power supply voltage becomes high in the first mode.
[0110] In this embodiment, when the reference current is IRF, the power supply voltage in the first mode is V1, the power supply voltage in the second mode is V2, and the resistance value of the resistor connected in parallel to the switch is R1, R1=(V1-V2) / IRF may be used.
[0111] In this way, by setting the resistance value of the resistor connected in parallel to the switch to R1 = (V1 - V2) / IRF, the reference current can be controlled so as not to change even when the power supply voltage in the first mode is set to a higher voltage than that in the second mode.
[0112] In addition, in this embodiment, the temperature sensor may include a first bipolar transistor having a collector supplied with a current that is a mirror of a reference current, a first resistor provided between the base and collector of the first bipolar transistor, and a second resistor having a variable resistance value provided between the emitter of the first bipolar transistor and a GND node.
[0113] In this way, it is possible to output a temperature detection voltage that changes according to the environmental temperature by utilizing the base-emitter voltage of the first bipolar transistor.
[0114] The oscillator of this embodiment is an oscillator that can switch between a first mode in which the phase noise of the output clock signal is lower than that of the second mode, and a second mode in which the power consumption is lower than that of the first mode. The oscillator includes a resonator and a circuit device. The circuit device includes an oscillation circuit that oscillates the resonator to generate an oscillation signal, an output circuit that outputs an output clock signal based on the oscillation signal, a temperature sensor that outputs a temperature detection signal, a temperature compensation circuit that performs temperature compensation of the oscillation frequency of the oscillation circuit based on the temperature detection signal, and a control circuit. The control circuit controls so that the power supply voltage supplied to the oscillation circuit in the first mode is higher than the power supply voltage supplied to the oscillation circuit in the second mode. The control circuit also controls so that at least one of a reference voltage supplied to the temperature compensation circuit based on the power supply voltage and a reference current supplied to the temperature sensor based on the power supply voltage does not change between the first mode and the second mode.
[0115] In this way, the first mode, which is a low-noise mode, can be realized by increasing the power supply voltage supplied to the oscillation circuit in the first mode. Even if the power supply voltage increases in the first mode, the reference voltage and reference current are controlled so as not to change, so that adverse effects caused by changes in the reference voltage and reference current can be reduced. This makes it possible to prevent deterioration of the accuracy of temperature compensation while realizing low noise.
[0116] 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 without substantially departing 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 the same meaning may be replaced with that different term anywhere in the specification or drawings. In addition, all combinations of the present embodiment and modifications are also included in the scope of the present disclosure. In addition, the configurations and operations of the circuit device and oscillator are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]
[0117] 4...oscillator, 10...resonator, 20...circuit device, 30...oscillator circuit, 32...current source, 34...driver circuit, 36...reference voltage generating circuit, 37...ladder resistor circuit, 38...reference current generating circuit, 40...wave shaping circuit, 41...first buffer circuit, 42...second buffer circuit, 44...buffer circuit, 60...control circuit, 68...memory, 70...temperature compensation circuit, 71...temperature sensor, 72...current generating circuit, 73...first correction circuit, 74...high-order correction circuit, 75...current-voltage conversion circuit, 78...frequency divider circuit, 80...output circuit, 86...function current generating circuit, 87...reference current generating circuit, 88...first compensation circuit, 89...second compensation circuit, 90...power supply circuit, 91, 92...regulator, BP, BP1, BP2, BP3 , BP3...bipolar transistor, CA1, CA2...variable capacitance circuit, CA3...capacitor, CD1...variable capacitance element, CD2, CD3...capacitor, CK...clock signal, CKQ...output clock signal, I...current, IR...reference current, OSC...oscillation signal, VBS...bias voltage, VDDL...power supply voltage, VDDL1...first power supply voltage, VDDL2...second power supply voltage, VRF, VH, VH1, VH2, VL, VL1, VL2, VRF...reference voltage, IR, IRF, IRF1, IRF2, IRG1, IRG2...reference current, RH1~RH10, RT1~RT8...resistors, SWC, SWT...switches, TT1~TT3...transistors, VCP...temperature compensation voltage, VTS...temperature detection voltage
Claims
1. 1. A circuit device capable of switching between a first mode in which a phase noise of an output clock signal is lower than that of a second mode, and the second mode in which power consumption is lower than that of the first mode, an oscillator circuit for generating an oscillation signal; an output circuit that outputs the output clock signal based on the oscillation signal; A temperature sensor that outputs a temperature detection signal; a temperature compensation circuit that performs temperature compensation for an oscillation frequency of the oscillation circuit based on the temperature detection signal; a control circuit that controls a power supply voltage supplied to the oscillation circuit in the first mode to be higher than the power supply voltage supplied to the oscillation circuit in the second mode, and controls at least one of a reference voltage supplied to the temperature compensation circuit based on the power supply voltage and a reference current supplied to the temperature sensor based on the power supply voltage so as not to change between the first mode and the second mode; A circuit device comprising:
2. 2. The circuit device according to claim 1, a reference voltage generating circuit that generates the reference voltage based on the power supply voltage and supplies the reference voltage to the temperature compensation circuit; The reference voltage generating circuit includes: a temperature compensation circuit that is supplied with the reference voltage, the reference voltage being controlled so that the voltage does not change between the first mode and the second mode.
3. 3. The circuit device according to claim 2, The reference voltage generating circuit includes: a plurality of resistors provided in series between a power supply node to which the power supply voltage is supplied and a GND node; a switch provided in parallel with one of the plurality of resistors; Including, A circuit device, characterized in that in the first mode, the switch is turned off, and in the second mode, the switch is turned on.
4. 4. The circuit device according to claim 3, The circuit device is characterized in that, when a current flowing through the plurality of resistors is IA, the power supply voltage in the first mode is V1, the power supply voltage in the second mode is V2, and a resistance value of the resistor provided in parallel with the switch is R1, R1=(V1-V2) / IA.
5. 2. The circuit device according to claim 1, a reference current generating circuit that generates the reference current based on the power supply voltage and supplies the reference current to the temperature sensor; The reference current generating circuit includes: A circuit device comprising: a temperature sensor that is supplied with the reference current, the reference current being controlled so that the current does not change between the first mode and the second mode.
6. 6. The circuit device according to claim 5, The reference current generating circuit includes: a plurality of resistors connected in series between a power supply node to which the power supply voltage is supplied and a GND node, and a bipolar transistor having a collector and a base connected to each other; a switch provided in parallel with one of the plurality of resistors; Including, A circuit arrangement, characterized in that in the first mode, the switch is turned off, and in the second mode, the switch is turned on.
7. 7. The circuit device according to claim 6, The circuit device is characterized in that, when the reference current is IRF, the power supply voltage in the first mode is V1, the power supply voltage in the second mode is V2, and a resistance value of the resistor provided in parallel with the switch is R1, R1=(V1-V2) / IRF.
8. 8. The circuit device according to claim 5, The temperature sensor is a first bipolar transistor having a collector supplied with a current that is a mirror of the reference current; a first resistor provided between the base and collector of the first bipolar transistor; a second resistor having a variable resistance value, the second resistor being provided between the emitter of the first bipolar transistor and a GND node; A circuit device comprising:
9. 1. An oscillator capable of switching between a first mode in which a phase noise of an output clock signal is lower than that of a second mode, and the second mode in which power consumption is lower than that of the first mode, Transducer and A circuit device; Including, The circuit device comprises: an oscillation circuit that oscillates the oscillator to generate an oscillation signal; an output circuit that outputs the output clock signal based on the oscillation signal; A temperature sensor that outputs a temperature detection signal; a temperature compensation circuit that performs temperature compensation for an oscillation frequency of the oscillation circuit based on the temperature detection signal; a control circuit that controls a power supply voltage supplied to the oscillation circuit in the first mode to be higher than the power supply voltage supplied to the oscillation circuit in the second mode, and controls at least one of a reference voltage supplied to the temperature compensation circuit based on the power supply voltage and a reference current supplied to the temperature sensor based on the power supply voltage so as not to change between the first mode and the second mode; 16. An oscillator comprising:
Citation Information
Patent Citations
Piezoelectric oscillator
JP1985032818U
Temperature compensation circuit for crystal oscillator and method of providing temperature compensation
JP2000507073A
Oscillator and electronic device using the same
JP2003338710A
Oscillator
JP2009124401A
Temperature detection circuit
JP2012163356A
