Circuit device and oscillator
Through amplitude detection and power supply control, the power supply voltage of the waveform shaping circuit is adjusted to be smaller than the oscillation signal amplitude, which solves the problem of unclear power supply voltage control in the oscillator and achieves low power consumption and low noise waveform shaping effects.
Patent Information
- Application Number
- CN202410195958.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2024-02-22
- Publication Date
- 2024-08-27
AI Technical Summary
In existing oscillators, the power supply voltage control of the oscillation stage and the buffer stage is unclear, making it difficult to control reliably when the oscillation amplitude is uneven, resulting in problems with through current and phase noise during waveform shaping.
An amplitude detection circuit is used to detect the amplitude of the oscillation signal, and the power supply voltage of the waveform shaping circuit is adjusted through the power control circuit to make it smaller than the amplitude of the oscillation signal to suppress the through current and reduce phase noise.
It achieves low power consumption of the waveform shaping circuit and reduces the phase noise of the clock signal, adapts to changes in the amplitude of the oscillation signal, and ensures circuit stability and efficiency.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The invention relates to a circuit device and an oscillator. Background Art
[0002] In a circuit device having an oscillation circuit, a waveform shaping circuit is provided for shaping a sinusoidal oscillation signal generated by the oscillation circuit into a rectangular wave signal. For example, in Patent Document 1, as a prior art, a quartz oscillator having an oscillation stage and a buffer stage and a circuit structure in which the output level of the rectangular wave of the inverter of the buffer stage is limited to a small value is disclosed. In addition, in Patent Document 1, as a prior art, it is recorded that the magnitude relationship between the power supply voltage Vd1 supplied to the oscillation stage and the power supply voltage Vd2 supplied to the inverter of the buffer stage is set to Vd2<Vd1.
[0003] Patent Document 1: Japanese Patent Application Laid-Open No. 2003-046338
[0004] However, the invention described in Patent Document 1 does not disclose the control of the power supply voltage of the oscillation stage and the buffer stage. In addition, in the structure described as the prior art in Patent Document 1, it is unclear how to determine the magnitude of the power supply voltage. In an actual oscillator, for example, it is assumed that the oscillation amplitude varies due to the type of oscillator, the manufacturing deviation of the oscillator or circuit elements, environmental changes, etc. Patent Document 1 does not clearly state a means for reliably controlling the power supply voltage of the oscillation stage to be larger than the power supply voltage of the inverter of the subsequent buffer stage even in such a case of uneven oscillation amplitude. Summary of the invention
[0005] One embodiment of the present disclosure relates to a circuit device, which includes: an oscillation circuit that generates an oscillation signal; a waveform shaping circuit that receives the oscillation signal and performs waveform shaping on the oscillation signal; a regulator that provides a regulated power supply voltage to the waveform shaping circuit; an amplitude detection circuit that detects the amplitude of the oscillation signal and outputs an amplitude detection signal; and a power supply control circuit that controls the regulator based on the amplitude detection signal so that the regulated power supply voltage is smaller than the amplitude of the oscillation signal.
[0006] Other embodiments of the present disclosure relate to an oscillator, which includes an oscillator and a circuit device, wherein the circuit device includes: an oscillation circuit that causes the oscillator to oscillate and generate an oscillation signal; a waveform shaping circuit that receives the oscillation signal and performs waveform shaping on the oscillation signal; a regulator that provides a regulated power supply voltage to the waveform shaping circuit; an amplitude detection circuit that detects the amplitude of the oscillation signal and outputs an amplitude detection signal; and a power supply control circuit that controls the regulator based on the amplitude detection signal so that the regulated power supply voltage is smaller than the amplitude of the oscillation signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 This is a configuration example of a circuit device according to this embodiment.
[0008] Figure 2 This is a detailed configuration example of the circuit device and the oscillator according to the present embodiment.
[0009] Figure 3 This is an example of the structure of an oscillation circuit and a waveform shaping circuit.
[0010] Figure 4 This is another structural example of an oscillation circuit.
[0011] Figure 5 It is an explanatory diagram of the method of this embodiment.
[0012] Figure 6 It is an explanatory diagram of the method of this embodiment.
[0013] Figure 7 This diagram is an illustration of a problem in a waveform shaping circuit.
[0014] Figure 8 It is an explanatory diagram of the method of this embodiment.
[0015] Fig. 9 This is an explanatory diagram regarding the through current in a waveform shaping circuit.
[0016] Fig.10 This is an explanatory diagram regarding the degradation of phase noise.
[0017] Fig.11 It is an explanatory diagram of phase noise in this embodiment.
[0018] Fig.12 This is an example of the configuration of an amplitude detection circuit and a power supply control circuit.
[0019] Fig.13 This is a diagram for explaining the operation of the amplitude detection circuit and the power supply control circuit.
[0020] Fig.14 This is a diagram for explaining the operation of the amplitude detection circuit and the power supply control circuit.
[0021] Fig.15 This is another configuration example of an amplitude detection circuit and a power supply control circuit.
[0022] Fig.16 This is another configuration example of an amplitude detection circuit and a power supply control circuit.
[0023] Fig.17 This is another configuration example of an amplitude detection circuit and a power supply control circuit.
[0024] Fig.18 This is a detailed configuration example of a power supply control circuit.
[0025] Fig.19 This is a flowchart illustrating the operation of this embodiment.
[0026] Fig. 20 This is another configuration example of a power supply control circuit.
[0027] Fig.21 This is another configuration example of a power supply control circuit.
[0028] Description of symbols
[0029] 4: oscillator; 10: oscillator; 20: circuit device; 30: oscillation circuit; 32: current source; 34: drive circuit; 36: buffer circuit; 38: waveform shaping circuit; 40: amplitude detection circuit; 50: power supply control circuit; 51: voltage generation circuit; 52: comparison circuit; 53: logic circuit; 54: determination circuit; 60: control circuit; 68: memory; 70: temperature compensation circuit; 72: temperature sensor; 80: output circuit; 90: power supply circuit; 91, 92: regulator; 94: variable resistance circuit; BP: bipolar transistor; CK: clock signal; CKQ: output clock signal; OSC: oscillation signal; PCK, PGND, PVDD, PX1, PX2: connection pads; SDT: detection signal; TCK, TGND, TVDD: terminals; VBS, VBST: bias voltage; VDQ: output voltage; VRGA, VRGB: adjustment power supply voltage; VT: threshold voltage. DETAILED DESCRIPTION
[0030] Hereinafter, the present embodiment will be described. In addition, the present embodiment described below does not unduly limit the contents of the claims. In addition, not all of the structures described in the present embodiment are necessarily essential components.
[0031] 1. Circuit devices, oscillators
[0032] Figure 1 The following is a configuration example of a circuit device 20 according to the present embodiment. The circuit device 20 according to the present embodiment includes an oscillation circuit 30 , a waveform shaping circuit 38 , an amplitude detection circuit 40 , a power supply control circuit 50 , and a regulator 92 .
[0033] The oscillation circuit 30 generates an oscillation signal OSC. For example, the oscillation circuit 30 generates the oscillation signal OSC by oscillating an oscillator or the like. Alternatively, the oscillation circuit 30 may generate the oscillation signal OSC by an LC resonant circuit or the like. The oscillation signal OSC is, for example, a sinusoidal signal. The oscillation circuit 30 includes a drive circuit or the like for generating the oscillation signal OSC by driving an oscillator or the like.
[0034] The waveform shaping circuit 38 receives the oscillation signal OSC from the oscillation circuit 30 and performs waveform shaping of the oscillation signal OSC. The waveform shaping circuit 38 performs waveform shaping on the sine wave oscillation signal OSC, for example, and outputs a rectangular wave clock signal CK. The waveform shaping circuit 38 includes one or more buffer circuits for performing waveform shaping of the oscillation signal OSC.
[0035] The regulator 92 provides the regulated power supply voltage VRGB to the waveform shaping circuit 38. For example, the regulator 92 performs a regulation operation of stepping down the input power supply voltage to generate the regulated power supply voltage VRGB, and provides the generated regulated power supply voltage VRGB to the waveform shaping circuit 38. The waveform shaping circuit 38 uses the regulated power supply voltage VRGB as the power supply voltage to perform waveform shaping of the oscillation signal OSC. For example, the waveform shaping circuit 38 performs waveform shaping of the oscillation signal OSC through a buffer circuit that operates using the regulated power supply voltage VRGB.
[0036] The amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC and outputs an amplitude detection signal. The amplitude detection signal is a signal indicating the magnitude of the amplitude of the oscillation signal OSC, and is a signal that changes according to the magnitude of the amplitude. For example, the amplitude detection signal is a voltage corresponding to the amplitude of the oscillation signal OSC, and the larger the amplitude, the larger the amplitude detection signal. For example, the amplitude detection circuit 40 detects and outputs the peak voltage of the oscillation signal OSC as an amplitude detection signal corresponding to the amplitude of the oscillation signal OSC. Alternatively, the amplitude detection circuit 40 may also output a DC voltage obtained by integrating the sinusoidal oscillation signal OSC as a voltage corresponding to the amplitude, i.e., an amplitude detection signal.
[0037] The power supply control circuit 50 is a circuit for controlling the regulator 92. The power supply control circuit 50 can be composed of an analog circuit, or an analog circuit and a digital circuit. For example, the power supply control circuit 50 controls the regulator 92 based on the amplitude detection signal from the amplitude detection circuit 40 so that the regulated power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC. Moreover, the regulator 92 provides the regulated power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC to the waveform shaping circuit 38, and the waveform shaping circuit 38 operates according to the provided regulated power supply voltage VRGB to perform waveform shaping of the oscillation signal OSC. The amplitude of the oscillation signal OSC can be specified by, for example, the peak voltage of the oscillation signal OSC. For example, the amplitude of the oscillation signal OSC can be specified by, for example, the peak voltage on the high potential side and the peak voltage on the low potential side of the oscillation signal OSC. In addition, the regulated power supply voltage VRGB is, for example, the high potential side power supply voltage of the waveform shaping circuit 38, specifically, a voltage corresponding to the potential difference between the high potential side power supply voltage and the low potential side power supply voltage. The low potential side power supply voltage is, for example, a GND voltage or a VSS voltage.
[0038] As described above, in this embodiment, the amplitude of the oscillation signal OSC generated by the oscillation circuit 30 is detected, and based on the amplitude detection signal as the amplitude detection result, the regulator 92 is controlled so that the adjustment power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC. Moreover, the adjustment power supply voltage VRGB from the regulator 92 controlled in this way is provided to the waveform shaping circuit 38, and the waveform of the oscillation signal OSC is shaped. In this way, according to this embodiment, the amplitude of the oscillation signal OSC can be detected, and the adjustment power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC can be reliably provided to the waveform shaping circuit 38. As a result, the waveform shaping circuit 38 does not generate a situation where the oscillation signal OSC with an amplitude smaller than the adjustment power supply voltage VRGB is waveform shaped, so that the generation of the through current during the waveform shaping can be suppressed, and the power consumption of the waveform shaping circuit 38 can be reduced. In addition, the phase noise of the clock signal CK after the waveform shaping can also be reduced. In addition, in this embodiment, the adjustment power supply voltage VRGB is controlled based on the detection result of the amplitude of the oscillation signal OSC. Therefore, even if the amplitude of the oscillation signal OSC changes due to a change in the type (oscillation frequency) of the oscillator 10, a manufacturing deviation of the oscillator 10 or circuit elements, a change in characteristics over time, or an environmental change, the regulated power supply voltage VRGB also changes according to the changed amplitude. For example, if the amplitude of the oscillation signal OSC increases, the regulated power supply voltage VRGB also increases, and if the amplitude of the oscillation signal OSC decreases, the regulated power supply voltage VRGB also decreases, so that appropriate control of the regulated power supply voltage VRGB corresponding to the amplitude can be achieved.
[0039] Figure 2The detailed configuration example of the circuit device 20 and the oscillator 4 including the circuit device 20 according to the present embodiment is shown. The oscillator 4 includes a vibrator 10 and the circuit device 20. The vibrator 10 is electrically connected to the circuit device 20. For example, the vibrator 10 and the circuit device 20 are electrically connected using internal wiring, bonding wires, or metal bumps of a package that accommodates the vibrator 10 and the circuit device 20. In addition, the circuit device 20 and the oscillator 4 are not limited to Figure 2 The structure can be implemented in various ways, such as omitting some of its structural elements, adding other structural elements, or replacing some of its structural elements with other structural elements.
[0040] The vibrator 10 is an element that generates mechanical vibrations by electrical signals. The vibrator 10 can be implemented, for example, by a vibrating plate such as a quartz vibrating plate. For example, the vibrator 10 can be implemented by a quartz vibrating plate with a thickness shear vibration such as an AT cut or an SC cut, a tuning fork type quartz vibrating plate, or a double tuning fork type quartz vibrating plate. For example, the vibrator 10 can be a vibrator built into an oscillator of an SPXO (Simple Packaged Crystal Oscillator), or a vibrator built into a temperature compensated quartz oscillator (TCXO) without a constant temperature bath, or a vibrator built into a constant temperature bath type quartz oscillator (OCXO) with a constant temperature bath. In addition, the vibrator 10 of the present embodiment can also be implemented by various vibrating plates such as a thickness shear vibration type, a vibrating plate other than a tuning fork type or a double tuning fork type, and a piezoelectric vibrating plate formed of a material other than quartz. For example, as the vibrator 10 , a SAW (Surface Acoustic Wave) resonator, a MEMS (Micro Electro Mechanical Systems) vibrator which is a silicon vibrator formed using a silicon substrate, or the like can be adopted.
[0041] 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 having circuit elements formed on a semiconductor substrate. Moreover, the circuit device 20 includes connection pads PVDD, PGND, PX1, PX2, and PCK. In addition, a connection pad for output enable control of a clock signal, etc. may also be provided. The connection pad is a terminal of the circuit device 20 as a semiconductor chip. For example, in a connection pad area, a metal layer is exposed from a passivation film as an insulating layer, and the connection pad as a terminal of the circuit device 20 is formed by the exposed metal layer. The connection pads PVDD and PGND are a power connection pad and a ground connection pad, respectively. A power supply voltage VDD from an external power supply device is provided to the connection pad PVDD. The connection pad PGND is a connection pad provided with GND as a ground voltage. GND may also be referred to as VSS, and the ground voltage is, for example, a ground potential. In this embodiment, the ground is appropriately recorded as GND. For example, VDD corresponds to a high potential side power supply, and GND corresponds to a low potential side power supply. The connection pads PX1 and PX2 are connection pads for connecting the oscillator 10. The connection pad PCK is a connection pad for outputting the output clock signal CKQ. The connection 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 connection pads and terminals are electrically connected using internal wiring of the package, bonding wires, or metal bumps.
[0042] The oscillation circuit 30 is a circuit for oscillating the vibrator 10. For example, the oscillation circuit 30 generates an oscillation signal OSC by oscillating the vibrator 10. The oscillation circuit 30 can be realized, for example, by an oscillation drive circuit electrically connected to one end and the other end of the vibrator 10 and passive elements such as capacitors and resistors. The drive circuit can be realized, for example, by a bipolar transistor or a CMOS inverter circuit. The drive circuit is the core circuit of the oscillation circuit 30, and the drive circuit drives the vibrator 10 by voltage or current, thereby oscillating the vibrator 10. As the oscillation circuit 30, various types of oscillation circuits such as inverter type, Pierce type, Colpitts type or Hartley type can be used. Moreover, the oscillation circuit 30 is electrically connected to the vibrator 10 via the connection pads PX1 and PX2. The connection pads PX1 and PX2 are connection pads for vibrator connection. The oscillation drive circuit 34 of the oscillation circuit 30 is arranged between the connection pads PX1 and PX2. In addition, the oscillation circuit 30 can include a variable capacitance circuit not shown. The variable capacitance circuit is, for example, a circuit that changes the capacitance of at least one of one end and the other end of the vibrator 10. By adjusting the capacitance of the variable capacitance circuit, the oscillation frequency of the oscillation circuit 30 can be adjusted. That is, the variable capacitance circuit is electrically connected to at least one of the connection pads PX1 and PX2, so that the load capacitance of the oscillation circuit 30 can be variably adjusted. The variable capacitance circuit can be implemented, for example, by a variable capacitance element such as a varactor diode. For example, the variable capacitance circuit is composed of at least one variable capacitance element. In addition, the connection in this embodiment is an electrical connection. The electrical connection is a connection that is connected in a manner that can transmit an electrical signal and can transmit information based on the electrical signal. The electrical connection can also be a connection via a passive element or the like.
[0043] The control circuit 60 is a logic circuit that performs various control processes. For example, the control circuit 60 controls the entire circuit device 20 or controls the operation sequence of the circuit device 20. In addition, the control circuit 60 may also control the oscillation circuit 30, the waveform shaping circuit 38, the amplitude detection circuit 40, the power supply control circuit 50, the temperature compensation circuit 70, the power supply circuit 90, or the memory 68. The control circuit 60 can be implemented by, for example, an ASIC (Application Specific Integrated Circuit) circuit that automatically configures and routes a gate array.
[0044] The memory 68 stores various information used in the circuit device 20. The memory 68 is, for example, a nonvolatile memory. The nonvolatile memory is an EEPROM such as a FAMOS (Floating gate Avalanche injection MOS) memory or a MONOS (Metal-Oxide-Nitride-Oxide-Silicon) memory, but is not limited thereto, and may also be an OTP (One Time Programmable) memory or a fuse-type ROM. Alternatively, the memory 68 may be implemented by a volatile memory such as a RAM.
[0045] The temperature compensation circuit 70 performs temperature compensation of the oscillation frequency of the oscillation circuit 30. Temperature compensation is a process of suppressing the variation of the oscillation frequency caused by temperature variation and performing compensation. Specifically, the temperature compensation circuit 70 performs temperature compensation based on the temperature detection signal from the temperature sensor 72. For example, the temperature compensation circuit 70 generates a temperature compensation voltage based on the temperature detection voltage from the temperature sensor 72, and outputs the generated temperature compensation voltage to the variable capacitance circuit of the oscillation circuit 30, thereby performing temperature compensation. In this case, the variable capacitance circuit of the oscillation circuit 30 is implemented by a variable capacitance element such as a varactor diode. For example, in the case where the temperature compensation voltage of the frequency-temperature characteristic of the compensation oscillator 10 is approximated by a polynomial, the temperature compensation circuit 70 performs temperature compensation in an analog manner according to the coefficient information of the polynomial. Alternatively, the temperature compensation circuit 70 can also perform temperature compensation in a digital manner. In this case, the variable capacitance circuit can be implemented, for example, by a capacitor array and a switch array connected to the capacitor array, and the temperature compensation circuit 70 can be implemented, for example, by a logic circuit.
[0046] The temperature sensor 72 is a sensor for detecting temperature. Specifically, the temperature sensor 72 outputs a temperature-dependent voltage that changes according to the temperature of the environment as a temperature detection voltage. Specifically, the temperature sensor 72 outputs a temperature detection voltage whose voltage changes depending on the temperature, for example, by using the temperature dependence of the forward voltage of the PN junction. In addition, as the temperature sensor 72, a modified implementation using a digital temperature sensor circuit can also be performed. In this case, the temperature detection data can be D / A converted to generate the temperature detection voltage.
[0047] The output circuit 80 is a circuit that buffers and outputs the clock signal CK generated based on the oscillation signal OSC. For example, the output circuit 80 buffers the clock signal CK and outputs it to the connection pad PCK as the output clock signal CKQ. For example, the output circuit 80 outputs the output clock signal CKQ in the form of a single-ended CMOS signal. Alternatively, the output circuit 80 outputs a differential clock signal in the form of a signal such as LVDS (Low Voltage Differential Signaling), PECL (Positive Emitter Coupled Logic), HCSL (High Speed Current Steering Logic) or differential CMOS (Complementary MOS).
[0048] Furthermore, a PLL circuit for multiplying the frequency of the clock signal CK may be provided between the oscillation circuit 30, the waveform shaping circuit 38, and the output circuit 80. In this way, the output circuit 80 can output the output clock signal CKQ having a frequency obtained by multiplying the oscillation frequency.
[0049] The power supply circuit 90 is supplied with a power supply voltage VDD from the connection pad PVDD and a ground voltage GND from the connection pad PGND, 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 regulated power supply voltages VRGA and VRGB obtained by regulating the power supply voltage VDD. For example, the regulator 91 of the power supply circuit 90 generates the regulated power supply voltage VRGA, and the regulator 92 generates the regulated power supply voltage VRGB. Moreover, the regulated power supply voltage VRGA is supplied to the oscillation circuit 30, and the oscillation circuit 30 performs an oscillation operation of driving the oscillator 10 based on the regulated power supply voltage VRGA to generate an oscillation signal OSC. In addition, the waveform shaping circuit 38 performs waveform shaping on the oscillation signal OSC according to the regulated power supply voltage VRGB, and outputs the clock signal CK after waveform shaping. In addition, the power supply circuit 90 can also generate the regulated power supply voltage provided to the control circuit 60, the memory 68, the temperature compensation circuit 70 or the temperature sensor 72, etc.
[0050] And, in Figure 2 In the embodiment, the amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC from the oscillation circuit 30, and the power supply control circuit 50 controls the power supply circuit 90 based on the result of the amplitude detection. As a result, the regulator 92 of the power supply circuit 90 provides the waveform shaping circuit 38 with a regulated power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC, and the waveform shaping circuit 38 operates based on the regulated power supply voltage VRGB to perform waveform shaping of the oscillation signal OSC and output the clock signal CK after waveform shaping.
[0051] Figure 3 The following is a configuration example of an oscillation circuit 30 and a waveform shaping circuit 38. The oscillation circuit 30 includes a current source 32 and a drive circuit 34. The oscillation circuit 30 can also include capacitor circuits CA1 and CA2.
[0052] The current source 32 and the driving circuit 34 are connected in series between the power supply node of VRGA as the high potential side power supply node and the GND node as the low potential side power supply node. The capacitor circuit CA1 is provided between the node NA1 on the side of the connection pad PX1 connected to one end of the vibrator 10 and the GND node. The capacitor circuit CA2 is provided between the node NA2 on the side of the connection pad PX2 connected to the other end of the vibrator 10 and the GND node. The capacitor circuits CA1 and CA2 are, for example, variable capacitor circuits. Furthermore, by adjusting the capacitance of the capacitor circuits CA1 and CA2, the oscillation frequency is adjusted, and temperature compensation processing of the oscillation frequency is achieved.
[0053] The driving circuit 34 includes a bipolar transistor BP. The collector of the bipolar transistor BP is connected to a node NA3 which is a supply node of the current I of 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 the base of the bipolar transistor BP and the node NA1.
[0054] The current source 32 can be realized by a current mirror circuit, for example. The current mirror circuit supplies a current I obtained by current mirroring a reference current from a reference current generating circuit (not shown) to the driving circuit 34. The driving circuit 34 drives the vibrator 10 based on the current I from the current source 32.
[0055] The waveform shaping circuit 38 includes a P-type transistor TC1 and an N-type transistor TC2 which are connected in series between a power supply node VRGB which is a high potential side power supply node and a GND node. Furthermore, a node NC1 which is a gate node of transistors TC1 and TC2 and a node NC2 which is a drain node of transistors TC1 and TC2 are connected via a resistor RC1. In addition, the waveform shaping circuit 38 includes a capacitor CC1 which is provided between an input node of the oscillation signal OSC and a node NC1. By providing this capacitor CC1, the oscillation signal OSC after the DC component is blocked is input to the node NC1. In this way, by connecting the input node NC1 and the output node NC2 via the resistor RC1 and providing the capacitor CC1 for DC blocking, waveform shaping of the oscillation signal OSC based on self-bias can be performed. That is, by feeding back the voltage of the node NC2 to the node NC1 via the resistor RC1, setting a bias voltage of the oscillation signal OSC which blocks the DC component, and using a voltage corresponding to the bias voltage as a threshold voltage, the sinusoidal oscillation signal OSC is waveform-shaped into a rectangular wave clock signal CK. In addition, at Figure 3, the waveform shaping circuit 38 is shown as a case where it is composed of a single-stage buffer circuit based on transistors TC1 and TC2, but the waveform shaping circuit 38 can be composed of a plurality of stages of buffer circuits. Figure 3 Although the bias voltage of the oscillation signal OSC at the node NC1 is set by self-bias, a bias voltage setting circuit may be separately provided to set a bias voltage corresponding to the amplitude center voltage of the oscillation signal OSC.
[0056] Figure 4 Another configuration example of the oscillation circuit 30 is shown. Figure 4 In the embodiment, the driving circuit 34 of the oscillation circuit 30 is composed of a CMOS buffer circuit 36. The buffer circuit 36 is composed of, for example, a P-type transistor and an N-type transistor connected in series between a power supply node and a GND node of VRGA. In addition, a resistor RA2 for feedback is provided between an input node NA1 and an output node NA2 of the buffer circuit 36. By driving the oscillator 10 using the buffer circuit 36 of such a structure, the oscillator 10 can be oscillated to generate an oscillation signal OSC.
[0057] 2. Adjust the power supply voltage based on the amplitude detection setting
[0058] In this embodiment, a method is adopted in which the amplitude of the oscillation signal OSC is detected to automatically control the adjustment power supply voltage VRGB of the waveform shaping circuit 38. That is, the amplitude of the oscillation signal OSC is detected by the amplitude detection circuit 40. Then, based on the detection result of the amplitude, as shown in FIG. Figure 5 As shown in the figure, the regulated power supply voltage VRGB provided to the waveform shaping circuit 38 is controlled so as to be smaller than the amplitude of the oscillation signal OSC. For example, the power supply control circuit 50 controls the regulator 92 based on the amplitude detection signal from the amplitude detection circuit 40 so as to regulate the power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC. Figure 5 In the embodiment, the amplitude of the oscillation signal OSC is determined, for example, by the peak voltage of the oscillation signal OSC, for example, by the peak voltage on the high potential side and the peak voltage on the low potential side. Moreover, the regulated power supply voltage VRGB corresponding to the potential difference between the high potential side power supply voltage and the low potential side power supply voltage of the waveform shaping circuit 38 is smaller than the amplitude of the oscillation signal OSC. Specifically, a resistor division circuit for setting the voltage level of the regulated power supply voltage VRGB is provided in the regulator 92. Moreover, the power supply control circuit 50 controls the regulated power supply voltage VRGB to be smaller than the amplitude of the oscillation signal OSC by controlling the resistance ratio in the resistor division circuit. In addition, Figure 5 The oscillation signal OSC is Figure 3The oscillation signal OSC at the node NC1 of the waveform shaping circuit 38 is a sine wave signal whose DC component is blocked by the capacitor CC1 and whose amplitude center voltage is set to the bias voltage. Figure 3 In the example of FIG. 1 , the self-bias bias voltage is set by feeding back the signal at the node NC2 to the node NC1 through the resistor RC1. Figure 5 The oscillation signal OSC at the node NC1 shown is a sine wave signal with the bias voltage as the amplitude center voltage. Figure 5 As shown, the high potential side power supply voltage of the waveform shaping circuit 38, i.e., the regulated power supply voltage VRGB, is lower than the peak voltage of the high potential side of the oscillation signal OSC. The peak voltage of the low potential side of the oscillation signal OSC is lower than the low potential side power supply voltage of the waveform shaping circuit 38.
[0059] For example, the amplitude of the oscillation signal OSC varies depending on the type of the vibrator 10. For example, when one circuit device 20 is used in common for a plurality of vibrators 10 having different oscillation frequencies, the amplitude of the oscillation signal OSC also varies depending on the type of the vibrator 10 packaged together with the circuit device 20. In addition, the CI value of the vibrator 10 varies due to manufacturing deviations, etc. The CI value corresponds to the series resistance component when the vibrator 10 during oscillation is represented by an equivalent circuit, and is an equivalent resistance value at the series resonant frequency. Moreover, when the CI value becomes higher, the amplitude of the oscillation signal OSC of the vibrator 10 becomes smaller. That is, the amplitude of the oscillation signal OSC varies due to manufacturing deviations of the vibrator 10, etc. In addition, the oscillation circuit 30 has a load capacitance such as the above-mentioned variable capacitance circuit, and if the load capacitance varies, the amplitude of the oscillation signal OSC also varies. In addition, the amplitude of the oscillation signal OSC also varies according to changes in the ambient temperature and over time. For example, in the aforementioned Patent Document 1, the power supply voltage of the inverter of the buffer stage is set without considering the fluctuation of the amplitude of the oscillation signal OSC. In contrast, in the present embodiment, the amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC, and controls the adjustment power supply voltage VRGB of the waveform shaping circuit 38 based on the amplitude detection result.
[0060] For example, Figure 6 In A1, the amplitude of the oscillation signal OSC becomes smaller. In this case, as shown in B1, the regulated power supply voltage VRGB is set to a voltage corresponding to the smaller amplitude. Figure 6 In A2, the amplitude of the oscillation signal OSC becomes larger. In this case, as shown in B2, the regulated power supply voltage VRGB is set to a voltage corresponding to the larger amplitude. In any case of B1 or B2, the regulator 92 is controlled so that the regulated power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC.
[0061] Figure 7This is an example of the waveform of the clock signal CK when the regulated power supply voltage VRGB supplied to the waveform shaping circuit 38 is larger than the amplitude of the oscillation signal OSC. Figure 3 The period during which both the P-type transistor TC1 and the N-type transistor TC2 of the waveform shaping circuit 38 are turned on and the through current is prolonged, and the through current increases. Moreover, if the through current increases, the current consumption of the waveform shaping circuit 38 increases, which hinders the low power consumption of the circuit device 20. In addition, when the signal level of the clock signal CK changes according to the voltage level of the oscillation signal OSC, there is a period during which both the P-type transistor TC1 and the N-type transistor TC2 are turned on, which also generates Figure 7 The waveform distortion as shown in F1 and F2.
[0062] Figure 8 This is an example of a case where the method of this embodiment is applied, and is an example of the waveform of the clock signal CK when the regulated power supply voltage VRGB provided to the waveform shaping circuit 38 is smaller than the amplitude of the oscillation signal OSC. By making the regulated power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC in this way, the period during which both the P-type transistor TC1 and the N-type transistor TC2 of the waveform shaping circuit 38 are turned on can be extremely short, thereby suppressing the through current to a minimum. As a result, the current consumption of the waveform shaping circuit 38 can be reduced, and the circuit device 20 can achieve low power consumption. In addition, since the period during which both the transistors TC1 and TC2 are turned on is extremely short, it is also possible to suppress Figure 7 The waveform distortion shown in F1 and F2 is generated.
[0063] Fig. 9 It is an explanatory diagram of the through current in the waveform shaping circuit 38 . Fig. 9 C1 and C2 represent the through current when the amplitude of the oscillation signal OSC is equal to the regulated power supply voltage VRGB, and C3 and C4 represent the through current when the regulated power supply voltage VRGB is larger than the amplitude of the oscillation signal OSC. In this case, as shown by C2 and C4, the through current generated by the conduction of both transistors TC1 and TC2 becomes very large.
[0064] on the other hand, Fig. 9 C5 and C6 represent the through current when the regulated power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC. In this case, as shown by C6, the through current is much smaller than that of C2 and C4. Therefore, compared with the case of C2 and C4, the power consumption of the waveform shaping circuit 38 can be reduced.
[0065] In addition, the regulator 92 generates the regulated power supply voltage VRGB by regulating the power supply voltage VDD. By providing such a regulator 92, the regulated power supply voltage VRGB can be generated after removing the power supply noise such as ripple of the power supply voltage VDD, and provided to the waveform shaping circuit 38. However, when Fig. 9 When the through current during signal transition increases as shown by C2 and C4, it exceeds the current supply capability of the regulator 92, and the power supply noise cannot be completely removed by the regulator 92, and the PSRR (Power Supply Rejection Ratio) which is the power supply voltage variation removal ratio deteriorates.
[0066] In this regard, in the present embodiment, as shown by C5, by making the regulated power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC, the through current during the signal transition is reduced as shown by C6. Therefore, it is possible to prevent the through current from exceeding the current supply capability of the regulator 92 and failing to completely remove the power supply noise, thereby suppressing the deterioration of the PSRR.
[0067] Fig.10 1 is a diagram illustrating the degradation of the phase noise of the clock signal CK when the regulated power supply voltage VRGB is larger than the amplitude of the oscillation signal OSC. Fig.10 As shown in D1 of FIG. 3 , the threshold value variation of the waveform shaping circuit 38 during waveform shaping becomes larger. Moreover, due to the threshold value variation, as shown in D2, the temporal variation of the transition timing of the clock signal CK during waveform shaping also becomes larger. As a result, as shown in D3, the phase fluctuation of the clock signal CK after waveform shaping becomes larger, and the phase noise of the clock signal CK becomes larger.
[0068] Fig.11 1 is a diagram illustrating the phase noise in the method of this embodiment in which the regulated power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC. Fig.11 As shown in E1, Fig.10 Compared with D1, it can reduce the threshold fluctuation during waveform shaping. Fig.11 As shown in E2, Fig.10 Compared with D2, the temporal variation of the transition timing of the clock signal CK during waveform shaping is also reduced. Fig.11 As shown in E3, Fig.10 Compared with D3, the phase fluctuation of the clock signal CK after waveform shaping is also smaller, which can reduce the phase noise of the clock signal CK.
[0069] 3. Amplitude detection circuit, power supply control circuit
[0070] Fig.124 shows a configuration example of the amplitude detection circuit 40 and the power supply control circuit 50. In addition, various configuration examples of the amplitude detection circuit 40 and the power supply control circuit 50 are described below, but the present embodiment is not limited thereto, and various modifications such as omitting some of their configuration elements, adding other configuration elements, or replacing some of their configuration elements with other configuration elements can be implemented.
[0071] The amplitude detection circuit 40 includes transistors TB1, TB3, resistors RB1, RB2, a voltage source VS, and capacitors CB1, CB2. The transistors TB1, TB3, and the resistor RB2 are connected in series between a power supply node and a GND node. The resistor RB2 and the capacitor CB2 are connected in parallel between a node NB1 of the drain of the transistor TB1 and a GND node. The transistor TB1 is an N-type transistor, and the open drain of the N-type transistor TB1 is connected. In addition, the P-type transistor TB3 is turned on when the amplitude detection circuit 40 is in operation.
[0072] The capacitor CB1 is provided between the input node of the oscillation signal OSC and the node NB2 of the gate of the transistor TB1. In addition, the resistor RB1 and the voltage source VS are provided in series between the node NB2 and the GND node. The capacitor CB1 is a capacitor for DC blocking. Through the capacitor CB1, the DC component of the oscillation signal OSC is blocked and the AC component is transmitted to the node NB2. The voltage source VS sets a bias voltage corresponding to the amplitude center voltage of the oscillation signal OSC after the DC component is blocked. A capacitor CB2 for maintaining voltage is provided at the node NB1. The capacity of the discharge current caused by the time constant of the CR of the capacitor CB2 and the resistor RB2 is sufficiently smaller than the current supply capacity of the transistor TB1. Thus, the peak voltage of the oscillation signal OSC is maintained at the node NB1 of the drain of the transistor TB1, the envelope of the oscillation signal OSC is detected, and the output voltage VDQ corresponding to the peak voltage is output from the amplitude detection circuit 40 as an amplitude detection signal.
[0073] The power supply control circuit 50 includes a voltage generating circuit 51 and a comparison circuit 52. Fig.18 As shown in FIG. 5 , the power supply control circuit 50 may include a logic circuit 53. The voltage generating circuit 51 generates a variable threshold voltage VT. The comparison circuit 52 compares the output voltage VDQ, which is the amplitude detection signal of the amplitude detection circuit 40, with the threshold voltage VT and outputs a detection signal SDT as a comparison result. The output voltage VDQ is a voltage corresponding to the amplitude of the oscillation signal OSC, for example, the peak voltage of the oscillation signal OSC. Furthermore, if the voltage VDQ is Fig.18For example, the logic circuit 53 sets the regulation power supply voltage VRGB of the regulator 92 based on the detection signal SDT as the comparison result of the comparison circuit 52. That is, the logic circuit 53 sets the regulation power supply voltage VRGB to a voltage smaller than the amplitude of the oscillation signal OSC in the waveform shaping circuit 38.
[0074] The voltage generating circuit 51 includes transistors TB2, TB4, a resistor RB3, a voltage source VST, and a capacitor CB3. The comparison circuit 52 includes a comparator CPB. The transistors TB2, TB4, and the resistor RB3 are connected in series between the power supply node and the GND node. The resistor RB3 and the capacitor CB3 are connected in parallel between the node NB3 of the drain of the transistor TB2 and the GND node. The transistor TB2 is an N-type transistor, and the structure of the open drain connection of the N-type transistor TB2 is formed. In addition, when the power supply control circuit 50 is operated, the P-type transistor TB4 is turned on. In addition, the voltage source VST is provided between the node NB4 of the gate of the transistor TB2 and the GND node. In this way, the voltage generating circuit 51 becomes a replica structure equivalent to the amplitude detection circuit 40, and becomes a structure that maintains the symmetry of the circuit. Moreover, the bias voltage VBST is set to the node NB4 by the voltage source VST. Here, the voltage source VST generates a variable bias voltage VBST, thereby, the threshold voltage VT generated based on the bias voltage VBST also becomes a variable voltage. In addition, the threshold voltage VT based on the bias voltage VBST is input to the inverting input terminal of the comparator CPB of the comparison circuit 52 as the first input terminal, and the output voltage VDQ of the amplitude detection circuit 40 is input to the non-inverting input terminal of the comparator CPB as the second input terminal. That is, the voltage corresponding to the amplitude of the oscillation signal OSC is input to the non-inverting input terminal of the comparator CPB. And, when the output voltage VDQ exceeds the threshold voltage VT, the comparator CPB makes the detection signal SDT become an effective level. Fig.18 The logic circuit 53 controls the regulator 92 based on the detection signal SDT, thereby controlling the regulated power supply voltage VRGB so that the regulated power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC.
[0075] Fig.13 , Fig.14 4 is a diagram for explaining the operation of the amplitude detection circuit 40 and the power supply control circuit 50. The oscillation signal OSC is Fig.12 The capacitor CB1 is blocked from DC components, and the voltage source VS of the amplitude detection circuit 40 is set to a bias voltage, thereby Fig.13 , Fig.14As shown in G1 and G2 of FIG. 5 , a sine wave signal with a bias voltage VBS as the amplitude center voltage is formed. In addition, the bias voltage VBST of the voltage source VST of the power supply control circuit 50 is set to a voltage as shown in G1 and G2 relative to the oscillation signal OSC. Furthermore, by detecting the envelope of the oscillation signal OSC, an amplitude detection circuit 40 outputs a signal as shown in FIG. Fig.13 , Fig.14 The output voltage VDQ shown in G3 and G4 is shown in FIG. Here, the N-type transistor TB1 is open-drain connected, so the voltage of the oscillation signal OSC and the bias voltage VBS in G3 and G4 are reduced by the threshold voltage of the transistor TB1 compared to G1 and G2. In addition, the threshold voltage VT set by the bias voltage VBST of the voltage source VST is also a voltage obtained by reducing the bias voltage VBST in G3 and G4 by the threshold voltage of the transistor TB2 connected with an open drain compared to G1 and G2.
[0076] And, in Fig.13 In G3, the output voltage VDQ of the amplitude detection circuit 40 exceeds the threshold voltage VT generated by the voltage generation circuit 51, and VDQ>VT. Therefore, the comparison circuit 52 outputs the detection signal SDT of a valid level, for example, a high level. Fig.14 In G4, the output voltage VDQ of the amplitude detection circuit 40 is lower than the threshold voltage VT, and VDQ<VT is satisfied. Therefore, the comparison circuit 52 outputs the detection signal SDT of a low level which is a non-active level.
[0077] In this way, Figure 12 to Figure 14 In the embodiment, the amplitude detection circuit 40 outputs the output voltage VDQ as the amplitude detection signal, and the power control circuit 50 determines the amplitude of the oscillation signal OSC by comparing the output voltage VDQ with the threshold voltage VT. Specifically, the voltage generation circuit 51 of the power control circuit 50 generates a variable bias voltage VBST, and the threshold voltage VT is also variable. Moreover, the comparison circuit 52 of the power control circuit 50 can determine the amplitude of the oscillation signal OSC by comparing the output voltage VDQ of the amplitude detection circuit 40 with the variable threshold voltage VT. Fig.18 In the example of FIG. 5 , the logic circuit 53 performs the determination process based on the detection signal SDT from the power supply control circuit 50 .
[0078] As described above, in this embodiment, the amplitude detection circuit 40 detects the envelope of the oscillation signal OSC to detect the amplitude of the oscillation signal OSC. For example, the amplitude detection circuit 40 detects the envelope of the oscillation signal OSC. For example, the amplitude detection circuit 40 detects and holds the peak voltage of the sinusoidal oscillation signal OSC to realize envelope detection. Fig.13 , Fig.14 The output voltage VDQ shown in G3 and G4 is output from the amplitude detection circuit 40 as an amplitude detection signal. Moreover, the power supply control circuit 50 controls the regulator 92 based on the output voltage VDQ of the amplitude detection circuit 40 as an amplitude detection signal so that the adjusted power supply voltage VRGB is smaller than the amplitude of the oscillation signal OSC. In this way, the amplitude detection circuit 40 detects the envelope of the oscillation signal OSC, thereby outputting the peak voltage of the oscillation signal OSC from the amplitude detection circuit 40 as a voltage of the amplitude of the oscillation signal OSC. Moreover, the power supply control circuit 50 can use the output voltage VDQ of the amplitude detection circuit 40 as the amplitude detection signal of the oscillation signal OSC, and control the adjusted power supply voltage VRGB to be smaller than the amplitude of the oscillation signal OSC.
[0079] In addition, in this embodiment, the amplitude detection circuit 40 sets the bias voltage VBS for the oscillation signal OSC whose DC component is blocked by the capacitor CB1, and outputs the output voltage VDQ generated by detecting the envelope of the oscillation signal set with the bias voltage VBS. Furthermore, the power supply control circuit 50 compares the output voltage VDQ of the amplitude detection circuit 40 with the threshold voltage VT which is a voltage higher than the bias voltage VBS. For example, Fig.13 In G3, the comparison circuit 52 of the power supply control circuit 50 compares the output voltage VDQ with the threshold voltage VT which is a voltage higher than the bias voltage VBS. Since the output voltage VDQ is higher than the threshold voltage VT, the detection signal SDT becomes an effective level. Fig.14 In G4, the comparison circuit 52 compares the output voltage VDQ with the threshold voltage VT which is a voltage higher than the bias voltage VBS. Since the output voltage VDQ is lower than the threshold voltage VT, the detection signal SDT is set to a non-valid level. In this way, the envelope of the oscillation signal OSC in which the bias voltage VBS is set as the center amplitude voltage can be detected. Moreover, by comparing the output voltage VDQ generated by the envelope detection with the threshold voltage VT which is set to a voltage higher than the bias voltage, it is possible to determine whether the peak voltage corresponding to the amplitude of the oscillation signal OSC is higher or lower than the threshold voltage VT. Thus, by the envelope detection of the amplitude detection circuit 40, the bias voltage VBS, and the setting of the threshold voltage VT, the amplitude of the oscillation signal OSC can be determined.
[0080] In addition, various modifications can be made as the configurations of the amplitude detection circuit 40 and the power supply control circuit 50 . Figure 15 to Figure 18 2 shows another configuration example of the amplitude detection circuit 40 and the power supply control circuit 50. Fig.15 In place of Fig.12The resistors RB2 and RB3 are provided with transistors TB5 and TB6 as current sources. That is, the N-type transistors TB5 and TB6 are controlled by their gates to operate as current sources that flow a constant current. Moreover, the current supply capability of the transistors TB5 and TB6 is sufficiently smaller than the current supply capability of the transistors TB1 and TB2. Thus, for example, at the node NB1 of the drain of the transistor TB1, the peak voltage of the oscillation signal OSC is maintained, and the envelope of the oscillation signal OSC can be detected.
[0081] exist Fig.16 In place of Fig.12 A resistor division circuit composed of resistors RB1, RB4, RB5, RB6, and RB7 is provided for the voltage sources VS and VST. Resistors RB4, RB5, RB6, and RB7 are provided in series between the power supply node and the GND node. Furthermore, resistor RB1 is provided between node NB5, which is a connection node between resistors RB6 and RB7, and node NB2, which is a gate node of transistor TB1. In this way, the voltage of node NB4 and the voltage of node NB5 can be set by the resistor division ratio of the resistor division circuit. Furthermore, the voltage of node NB5 can be set to Fig.12 The bias voltage VBS is set to set the voltage of the node NB4 to the bias voltage VBST. In this case, the resistor division circuit is configured to be able to variably set the resistance ratio, thereby being able to variably set the threshold voltage VT to be compared with the output voltage VDQ of the amplitude detection circuit 40. Fig.17 In Fig.16 The resistors RB2 and RB3 in the structure are Fig.15 Similarly, the transistors TB5 and TB6 are replaced with current sources, and the others are Fig.16 Same structure.
[0082] Fig.18 is a diagram showing a detailed configuration example of the power supply control circuit 50. Fig.18 In the embodiment, the power supply control circuit 50 includes: a voltage generating circuit 51 that generates a variable threshold voltage VT; a comparison circuit 52 that compares the output voltage VDQ as the amplitude detection signal of the amplitude detection circuit 40 with the threshold voltage VT; and a logic circuit 53. Moreover, the logic circuit 53 sets the adjustment power supply voltage VRGB of the regulator 92 based on the comparison result of the comparison circuit 52. For example, the logic circuit 53 controls the setting of the adjustment power supply voltage VRGB based on the detection signal SDT as the comparison result of the comparison circuit 52. For example, if Fig.13As shown in G3 of FIG. 4 , the output voltage VDQ of the amplitude detection circuit 40 is greater than the threshold voltage VT, and the detection signal SDT of the comparison circuit 52 is at an effective level. In this case, the logic circuit 53 determines that the regulated power supply voltage VRGB is less than the amplitude of the oscillation signal OSC. Fig.14 As shown in G4 of FIG. 5 , the output voltage VDQ of the amplitude detection circuit 40 is less than the threshold voltage VT, and the detection signal SDT of the comparison circuit 52 is at an inactive level. In this case, the logic circuit 53 determines that the regulated power supply voltage VRGB is greater than the amplitude of the oscillation signal OSC. In this way, based on the comparison result of the variable threshold voltage VT and the output voltage VDQ as the amplitude detection signal of the amplitude detection circuit 40, the logic circuit 53 can determine the magnitude of the amplitude of the oscillation signal OSC. Moreover, the logic circuit 53 can control the regulator 92 based on the judgment result so that the regulated power supply voltage VRGB is less than the amplitude of the oscillation signal OSC.
[0083] Fig.19 4 is a flowchart for explaining the operation of the present embodiment. When the oscillation of the oscillator 4 is started by turning on the power supply, etc. (step S1), the amplitude detection of the oscillation signal OSC for startup determination is performed (step S2). For example, it is detected whether the amplitude of the oscillation signal OSC increases due to the start of oscillation and gradually increases to an amplitude that can be judged as being properly started. Specifically, Fig.12 By setting the variable bias voltage VBST, the threshold voltage VT is set as the threshold voltage for startup determination. Then, the comparison circuit 52 detects the amplitude of the oscillation signal OSC for startup determination by comparing the output voltage VDQ of the amplitude detection circuit 40 and the threshold voltage VT for startup determination. The threshold voltage VT for startup determination is, for example, less than 1.0V, and as an example, is about 0.5 to 0.6V. Then, it is determined whether the detection signal SDT of the comparison circuit 52 becomes an effective level (step S3). For example, when the output voltage VDQ of the amplitude detection circuit 40 exceeds the threshold voltage VT for startup determination, the detection signal SDT of the comparison circuit 52 becomes an effective level, and it is determined that the amplitude of the oscillation signal OSC becomes an amplitude that can be determined to be properly started. Then, when the detection signal SDT becomes an effective level, the amplitude detection of the oscillation signal OSC for amplitude determination is performed (step S4). The amplitude detection for amplitude determination is an amplitude detection for controlling the adjustment power supply voltage VRGB to be less than the amplitude of the oscillation signal OSC.
[0084] Next, in the amplitude detection of the oscillation signal OSC for amplitude determination, it is determined whether the detection signal SDT of the comparison circuit 52 is at an effective level (step S5). Fig.13As shown in G3, when the output voltage VDQ of the amplitude detection circuit 40 exceeds the threshold voltage VT for amplitude determination, the detection signal SDT of the comparison circuit 52 becomes a valid level. For example, in the case of positive logic, the valid level is a high level, and the invalid level is a low level. In this case, a process of changing the variable threshold voltage VT is performed (step S6), for example, the threshold voltage VT is increased, and the process returns to step S4. In this way, when the detection signal SDT is not a non-valid level but maintains a valid level, the processes of steps S4, S5, and S6 are repeated, and the threshold voltage VT is changed in a manner that the threshold voltage VT gradually increases. Then, when the detection signal SDT becomes a non-valid level, the process transfers to the decision process of adjusting the power supply voltage VRGB (step S7). For example, based on the last detected threshold voltage VT before the detection signal SDT becomes a non-valid level, the power supply voltage VRGB is decided to be adjusted. For example, in Fig.13 In this embodiment, the regulated power supply voltage VRGB is determined to be a voltage corresponding to the threshold voltage VT immediately before exceeding the output voltage VDQ of the amplitude detection circuit 40. In this way, the regulated power supply voltage VRGB can be set to an optimal voltage smaller than the amplitude of the oscillation signal OSC.
[0085] As described above, in the present embodiment, the power supply control circuit 50 determines whether the voltage corresponding to the amplitude of the oscillation signal OSC exceeds the threshold voltage VT for startup determination at startup, and controls the regulator 92 based on the amplitude detection signal SDT when the voltage exceeds the threshold voltage VT for startup determination. The voltage corresponding to the amplitude is, for example, the voltage of the amplitude detection signal of the amplitude detection circuit 40, which is the output voltage VDQ of the amplitude detection circuit 40. The output voltage VDQ is, for example, the peak voltage of the oscillation signal OSC, specifically, the peak voltage of the oscillation signal OSC in which the bias voltage VBS is set to the center amplitude voltage. For example, in Fig.19 In steps S2 and S3, the amplitude detection of the oscillation signal OSC for start determination is performed. When the output voltage VDQ of the amplitude detection circuit 40, which is a voltage corresponding to the amplitude of the oscillation signal OSC, exceeds the threshold voltage VT for start determination, the detection signal SDT of the comparison circuit 52 becomes an effective level. Fig.19 The control of the regulator 92 based on the amplitude detection signal shown in steps S4 to S7. In this way, after the amplitude of the oscillation signal OSC becomes an appropriate amplitude that can be judged as the oscillator 4 has started, the control of the regulated power supply voltage VRGB based on the amplitude detection signal of the oscillation signal OSC can be started.
[0086] For example, before the output voltage VDQ of the amplitude detection circuit 40 exceeds the threshold voltage VT for start-up determination, the waveform shaping circuit 38 is set to an operation disabled state and does not perform waveform shaping of the oscillation signal OSC. Figure 2 The output circuit 80, the temperature compensation circuit 70, the temperature sensor 72, etc. are also set to the operation prohibition state. In this way, it is possible to prevent power from being wasted in the waveform shaping circuit 38, etc. before the oscillator 4 (circuit device) is started. In addition, if the waveform shaping circuit 38 is performed when the amplitude of the oscillation signal OSC is not at an appropriate amplitude, a large through current will be generated in the waveform shaping circuit 38 or an inappropriate clock signal CK will be output. In this regard, if the waveform shaping circuit 38 is performed when the amplitude of the oscillation signal OSC is not at an appropriate amplitude, a large through current will be generated in the waveform shaping circuit 38 or an inappropriate clock signal CK will be output. Fig.19 By setting the waveform shaping circuit 38 and the like to the operation prohibition state during the period from the detection signal SDT of the start determination in step S3 to the effective level, such a situation can be prevented from occurring. Figure 5 , Figure 6 The control of adjusting the power supply voltage VRGB based on the amplitude detection result of the oscillation signal OSC described in FIG.
[0087] In addition, in the present embodiment, the power supply control circuit 50 determines whether the voltage corresponding to the amplitude exceeds the threshold voltage VT for start-up determination based on the amplitude detection signal from the amplitude detection circuit 40. For example, the power supply control circuit 50 determines whether the output voltage VDQ as the amplitude detection signal from the amplitude detection circuit 40 exceeds the threshold voltage VT set for start-up determination. In this way, the amplitude detection circuit 40 and the power supply control circuit 50 can be used for amplitude detection and power supply control for start-up determination, and amplitude detection and power supply control for amplitude determination. For example, according to the present embodiment, the amplitude detection circuit 40 and the power supply control circuit 50 set for start-up determination can be used as an amplitude detection circuit and a power supply control circuit for controlling the regulator 92 based on the amplitude detection result. As a result, it is not necessary to separately set the amplitude detection circuit 40 and the power supply control circuit 50 for start-up determination and amplitude determination, respectively, so that the increase in the circuit scale of the circuit device 20 can be suppressed.
[0088] In addition, in this embodiment, the logic circuit 53 sets the threshold voltage VT to the first voltage V1, and sets the threshold voltage to the second voltage V2 higher than the first voltage V1 when the voltage corresponding to the amplitude of the oscillation signal OSC exceeds the first voltage V1. Fig.19In steps S4 and S5, the logic circuit 53 sets the threshold voltage VT to the first voltage V1, and the comparison circuit 52 determines whether the output voltage VDQ, which is the voltage corresponding to the amplitude, exceeds VT=V1. And, in the case where the output voltage VDQ exceeds VT=V1, the detection signal SDT of the comparison circuit 52 becomes an effective level, and as shown in step S6, the logic circuit 53 changes the threshold voltage VT to a second voltage V2 higher than the first voltage V1. In this way, by changing the threshold voltage VT from a low voltage to a high voltage while comparing the voltage corresponding to the amplitude of the oscillation signal OSC with the threshold voltage VT, it is possible to determine the threshold voltage VT close to the voltage corresponding to the amplitude. In this way, the amplitude of the oscillation signal OSC can be determined, and control can be achieved to make the regulated power supply voltage VRGB smaller than the amplitude.
[0089] In addition, the logic circuit 53 sets the regulated power supply voltage VRGB to a voltage lower than the first voltage V1 when the voltage corresponding to the amplitude of the oscillation signal OSC does not exceed the second voltage V2. Fig.19 In steps S4 and S5, the threshold voltage VT is set to the first voltage V1, and when the output voltage VDQ corresponding to the amplitude exceeds VT=V1, the threshold voltage VT is set to the second voltage V2 higher than the first voltage V1 in step S6. Then, in steps S4 and S5 again, it is determined whether the output voltage VDQ exceeds VT=V2 as the threshold voltage. Moreover, when the output voltage VDQ corresponding to the amplitude exceeds VT=V2 as the threshold voltage, as shown in step S6, the threshold voltage VT is set to the third voltage V3 higher than the second voltage V2. On the other hand, when the output voltage VDQ does not exceed VT=V2 as the threshold voltage in step S5, the process moves to step S7, and the adjustment power supply voltage VRGB is set to a voltage lower than the first voltage V1. In this way, when the output voltage VDQ corresponding to the amplitude is between the first voltage V1 and the second voltage V2 and the relationship of V1<VDQ<V2 is established, the adjustment power supply voltage VRGB is set to a voltage lower than the first voltage V1. Thus, the regulated power supply voltage VRGB can be set to a voltage that does not exceed the output voltage VDQ corresponding to the amplitude and is close to the output voltage VDQ corresponding to the amplitude, and appropriate control can be achieved to make the regulated power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC.
[0090] In addition, the structure of the power supply control circuit 50 is not limited to Fig.18 The structure can be modified in various ways. Fig. 20 , Fig.21 2 shows another configuration example of the power supply control circuit 50. Fig. 20 , Fig.21In the embodiment, the power supply control circuit 50 includes a determination circuit 54, which compares the voltage corresponding to the amplitude of the oscillation signal OSC with the first to nth threshold voltages, and outputs the first to nth determination results. Here, n is an integer greater than 2. Moreover, the regulator 92 generates an adjusted power supply voltage VRGB based on the first to nth determination results from the determination circuit 54. In this way, by controlling the regulator 92 based on the first to nth determination results obtained by comparing the voltage corresponding to the amplitude of the oscillation signal OSC with the first to nth threshold voltages, it is possible to achieve control that makes the adjusted power supply voltage VRGB smaller than the amplitude of the oscillation signal OSC. For example, without using Fig.18 The logic circuit 53 shown can realize the control of the regulator 92 so as to adjust the power supply voltage VRGB to be smaller than the amplitude of the oscillation signal OSC.
[0091] For example, in Fig. 20 , Fig.21 In the example, the determination circuit 54 has n determination units, and the structure of each determination unit is the same as in Fig.12 The structures of the voltage generating circuit 51 and the comparison circuit 52 described in the above are the same. For example, the voltage generating circuit of each determination unit generates the threshold voltages VT1 to VTn by the bias voltages VBST1 to VBSTn of the voltage source provided in each determination unit. The threshold voltages VT1 to VTn are the first threshold voltage to the nth threshold voltage. Then, the comparison circuit of each determination unit compares the output voltage VDQ corresponding to the amplitude of the oscillation signal OSC of the amplitude detection circuit 40 with the threshold voltages VT1 to VTn, and outputs the determination signals DQ1 to DQn as the first determination result to the nth determination result. For example, when the output voltage VDQ exceeds the threshold voltage VT1, the determination signal DQ1 becomes an effective level. Similarly, when the output voltage VDQ exceeds the threshold voltage VT2, the determination signal DQ2 becomes an effective level, ..., and when the output voltage VDQ exceeds the threshold voltage VTn, the determination signal DQn becomes an effective level. Then, by controlling the resistance value of the variable resistance circuit 94 of the regulator 92 based on these determination signals DQ1 to DQn, the regulated power supply voltage VRGB outputted from the regulator 92 is controlled.
[0092] For example, in the regulator 92, the gate of the transistor TD1 is controlled by inputting the output of the operational amplifier OPD, which inputs the reference voltage VRF to the non-inverting input terminal, which is the first input terminal. In addition, the inverting input terminal of the operational amplifier OPD, which is the second input terminal, is connected to the node ND1, which is the connection node between the resistor RDA and the variable resistor circuit 94. In addition, when the regulator 92 is in operation, the transistor TD2 is turned on. Moreover, when the resistance value of the resistor RDA is set to R1 and the resistance value of the variable resistor circuit 94 is set to R2, the output of the regulator 92 becomes the regulated power supply voltage VRGB of VRGB={(R1+R2) / R2}×VRF. Therefore, by variably controlling the resistance value R2 of the variable resistor circuit 94 based on the judgment signals DQ1~DQn, VRGB={(R1+R2) / R2}×VRF, which is the regulated power supply voltage, can be controlled. For example, in Fig. 20 In the embodiment, the variable resistor circuit 94 includes a plurality of resistors connected in parallel between the node ND1 and the GND node. Furthermore, the resistance value R2 of the variable resistor circuit 94 is controlled by controlling the conduction and cutoff of each transistor connected in series to each resistor according to the determination signals DQ1 to DQn. Fig.21 In the embodiment, the variable resistance circuit 94 includes a plurality of resistors connected in series between the node ND1 and the GND node. The resistance value R2 of the variable resistance circuit 94 is controlled by controlling the on / off of each transistor connected in parallel with each resistor according to the determination signals DQ1 to DQn.
[0093] As described above, the circuit device of this embodiment includes: an oscillation circuit that generates an oscillation signal; a waveform shaping circuit that receives the oscillation signal and performs waveform shaping of the oscillation signal; and a regulator that provides a regulated power supply voltage to the waveform shaping circuit. In addition, the circuit device includes: an amplitude detection circuit that detects the amplitude of the oscillation signal and outputs an amplitude detection signal; and a power supply control circuit that controls the regulator based on the amplitude detection signal so that the regulated power supply voltage is smaller than the amplitude of the oscillation signal.
[0094] According to this embodiment, the amplitude of the oscillation signal can be detected, and the regulated power supply voltage smaller than the amplitude of the oscillation signal can be reliably provided to the waveform shaping circuit. As a result, in the waveform shaping circuit, the oscillation signal whose amplitude is smaller than the regulated power supply voltage does not need to be waveform shaped, thereby suppressing the generation of through current during waveform shaping. In addition, the noise of the signal after waveform shaping can also be reduced.
[0095] In addition, in the present embodiment, the amplitude detection circuit may detect the envelope of the oscillation signal to detect the amplitude of the oscillation signal.
[0096] In this way, the amplitude detection circuit detects the envelope of the oscillation signal, and a voltage corresponding to the amplitude of the oscillation signal can be output from the amplitude detection circuit.
[0097] In addition, in this embodiment, the power supply control circuit may also include: a voltage generating circuit that generates a variable threshold voltage; a comparison circuit that compares the output voltage of the amplitude detection signal of the amplitude detection circuit with the threshold voltage; and a logic circuit that sets the regulated power supply voltage of the regulator based on the comparison result of the comparison circuit.
[0098] In this way, the logic circuit can determine the magnitude of the amplitude of the oscillation signal based on the comparison result between the variable threshold voltage and the output voltage of the amplitude detection signal of the amplitude detection circuit.
[0099] In the present embodiment, the logic circuit may set the threshold voltage to a first voltage, and when the voltage corresponding to the amplitude exceeds the first voltage, the threshold voltage may be set to a second voltage higher than the first voltage.
[0100] In this way, by comparing the voltage corresponding to the amplitude of the oscillation signal and the threshold voltage while changing the threshold voltage from a low voltage to a high voltage, the threshold voltage corresponding to the voltage corresponding to the amplitude can be determined.
[0101] In addition, in the present embodiment, the logic circuit may set the regulated power supply voltage to a voltage lower than the first voltage when the voltage corresponding to the amplitude does not exceed the second voltage.
[0102] Thus, when the voltage corresponding to the amplitude is between the first voltage and the second voltage, the regulated power supply voltage is set to a voltage lower than the first voltage, thereby achieving appropriate control to make the regulated power supply voltage smaller than the amplitude of the oscillation signal.
[0103] In addition, in this embodiment, the amplitude detection circuit may set a bias voltage for the oscillation signal after the DC component is blocked by the capacitor, and output an output voltage generated by detecting the envelope of the oscillation signal with the set bias voltage. In addition, the power supply control circuit may compare the output voltage of the amplitude detection circuit with a voltage higher than the bias voltage, that is, a threshold voltage.
[0104] In this way, the envelope of the oscillation signal with a set bias voltage can be detected, and by comparing the output voltage generated by envelope detection with a threshold voltage set to a voltage higher than the bias voltage, it can be determined whether the voltage corresponding to the amplitude of the oscillation signal is higher or lower than the threshold voltage.
[0105] In addition, in this embodiment, the power supply control circuit can also determine whether the voltage corresponding to the amplitude of the oscillation signal exceeds the threshold voltage for startup determination at startup, and control the regulator based on the amplitude detection signal when the threshold voltage for startup determination is exceeded.
[0106] In this way, after the amplitude of the oscillation signal reaches an appropriate amplitude that can be judged as being started, control for adjusting the power supply voltage based on the amplitude detection signal of the oscillation signal can be started.
[0107] In addition, in the present embodiment, the power supply control circuit may determine whether or not a voltage corresponding to the amplitude exceeds a threshold voltage for start-up determination based on the amplitude detection signal from the amplitude detection circuit.
[0108] In this way, the amplitude detection circuit and the power supply control circuit can be used for both the amplitude detection and power supply control for start determination and the amplitude detection and power supply control for amplitude determination.
[0109] In addition, in this embodiment, the power supply control circuit may also include a determination circuit that compares the voltage corresponding to the amplitude of the oscillation signal with the first to nth threshold voltages and outputs the first to nth determination results (n is an integer greater than 2). Furthermore, the regulator may also generate a regulated power supply voltage based on the first to nth determination results from the determination circuit.
[0110] In this way, by controlling the regulator based on the first to nth determination results obtained by comparing the voltage corresponding to the amplitude of the oscillation signal with the first to nth threshold voltages, control can be achieved such that the regulated power supply voltage is smaller than the amplitude of the oscillation signal.
[0111] Furthermore, the oscillator of the present embodiment includes a resonator and the above-described circuit device.
[0112] In addition, the present embodiment is described in detail as described above, but those skilled in the art can easily understand that many modifications can be made without substantially departing from the new matters and effects of the present disclosure. Therefore, all such modifications are included in the scope of the present disclosure. For example, in the specification or the drawings, a term recorded together with at least one more general or synonymous different term can be replaced with the different term at any position in the specification or the drawings. In addition, all combinations of the present embodiment and the modifications are also included in the scope of the present disclosure. In addition, the structure, operation, etc. of the circuit device and the oscillator are not limited to the contents described in the present embodiment, and various modifications can be implemented.
Claims
1. A circuit device, characterized in that: Include: an oscillation circuit that generates an oscillation signal; a waveform shaping circuit, which receives the oscillation signal as an input and performs waveform shaping on the oscillation signal; a regulator that provides a regulated supply voltage to the waveform shaping circuit; an amplitude detection circuit, which detects the amplitude of the oscillation signal and outputs an amplitude detection signal; as well as A power supply control circuit controls the regulator based on the amplitude detection signal so that the regulated power supply voltage is smaller than the amplitude of the oscillation signal.
2. The circuit arrangement according to claim 1, characterized in that The amplitude detection circuit detects the envelope of the oscillation signal to detect the amplitude of the oscillation signal.
3. The circuit arrangement according to claim 1, characterized in that The power control circuit comprises: a voltage generating circuit that generates a variable threshold voltage; a comparison circuit that compares the threshold voltage with an output voltage of the amplitude detection signal of the amplitude detection circuit; as well as A logic circuit sets the regulated power supply voltage of the regulator based on the comparison result of the comparison circuit.
4. The circuit arrangement according to claim 3, characterized in that The logic circuit sets the threshold voltage to a first voltage, and sets the threshold voltage to a second voltage higher than the first voltage when a voltage corresponding to the amplitude exceeds the first voltage.
5. The circuit arrangement according to claim 4, characterized in that The logic circuit sets the regulated power supply voltage to a voltage lower than the first voltage when the voltage corresponding to the amplitude does not exceed the second voltage.
6. The circuit arrangement according to claim 1, characterized in that The amplitude detection circuit sets a bias voltage for the oscillation signal after the DC component is blocked by the capacitor, and outputs an output voltage generated by detecting the envelope of the oscillation signal to which the bias voltage is set. The power supply control circuit compares the output voltage of the amplitude detection circuit with a threshold voltage that is a voltage higher than the bias voltage.
7. The circuit arrangement according to claim 1, characterized in that The power supply control circuit determines whether the voltage corresponding to the amplitude of the oscillation signal exceeds a threshold voltage for startup determination at startup, and controls the regulator based on the amplitude detection signal when the voltage exceeds the threshold voltage for startup determination.
8. The circuit arrangement according to claim 7, characterized in that The power supply control circuit determines whether or not a voltage corresponding to the amplitude exceeds the threshold voltage for the start determination based on the amplitude detection signal from the amplitude detection circuit.
9. The circuit arrangement according to claim 1, characterized in that The power supply control circuit includes a determination circuit that compares the voltage corresponding to the amplitude of the oscillation signal with a first threshold voltage to an nth threshold voltage and outputs a first determination result to an nth determination result, wherein n is an integer greater than or equal to 2. The regulator generates the regulated power supply voltage based on the first to n-th determination results from the determination circuit.
10. An oscillator, characterized in that: The oscillator comprises an oscillator and a circuit device. The circuit device comprises: an oscillation circuit that causes the oscillator to oscillate to generate an oscillation signal; a waveform shaping circuit, which receives the oscillation signal as an input and performs waveform shaping on the oscillation signal; a regulator that provides a regulated supply voltage to the waveform shaping circuit; an amplitude detection circuit, which detects the amplitude of the oscillation signal and outputs an amplitude detection signal; as well as A power supply control circuit controls the regulator based on the amplitude detection signal so that the regulated power supply voltage is smaller than the amplitude of the oscillation signal.
