Circuit device and oscillator

The circuit device with dual duty adjustment circuits achieves precise duty ratio adjustment and multiple clock signal outputs, addressing the challenge of inaccurate duty adjustment in existing technologies by using a two-stage duty adjustment mechanism.

JP7559553B2Active Publication Date: 2024-10-02SEIKO EPSON CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020218553
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2024-10-02
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

Existing circuit devices struggle to achieve highly accurate duty adjustment of clock signals while supporting multiple clock signal output functions, as previous methods fail to precisely adjust the duty ratio and are affected by process variations and fluctuations.

Method used

The circuit device incorporates an oscillation circuit connected to a vibrator, a waveform shaping circuit, a first duty adjustment circuit, and an output buffer circuit with a second duty adjustment circuit, allowing for two-stage duty adjustment of clock signals to achieve precise duty ratios, including a first duty adjustment circuit that adjusts the duty of the clock signal and a second duty adjustment circuit that adjusts the duty of a second output clock signal.

Benefits of technology

This configuration enables highly accurate duty adjustment of clock signals, meeting the requirement of 50% ± 1% duty ratio accuracy, supporting multiple clock signal output functions, and reducing power consumption by sharing circuits and optimizing voltage settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559553000001
    Figure 0007559553000001
  • Figure 0007559553000002
    Figure 0007559553000002
  • Figure 0007559553000003
    Figure 0007559553000003
Patent Text Reader

Abstract

To provide a circuit device and so on, capable of achieving a multi-output function and high-accuracy duty adjustment of a clock signal.SOLUTION: A circuit device 20 includes: an oscillation circuit 30 which is configured to oscillate an oscillator 10 to generate an oscillation signal XI; a waveform shaping circuit 40 to which the oscillation signal XI is input, and which is configured to output a clock signal CK obtained by performing waveform shaping on the oscillation signal XI; a first duty adjustment circuit 50 which is configured to perform a duty adjustment of the clock signal CK; and an output buffer circuit 70 which is configured to output a first output clock signal CKQ1 and a second output clock signal CKQ2 to the outside based on the clock signal CK. The output buffer circuit 70 includes a second duty adjustment circuit 80 which is configured to perform a duty adjustment of the second output clock signal CKQ2.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a circuit device, an oscillator, and the like. [Background technology]

[0002] Conventionally, a circuit device having an oscillation circuit that oscillates an oscillator such as a quartz crystal oscillator has been known. In such a circuit device, it is desired to improve the accuracy of the duty ratio of a clock signal generated based on an oscillation signal. For example, Patent Document 1 discloses a CMOS inverter circuit that holds the voltage of an input signal and performs duty correction of an output signal by inputting a control signal to a control terminal of a switch connected to one of the sources of a PMOS transistor and an NMOS transistor after inputting an input signal to an input terminal. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-21388 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, it is difficult to adjust the duty of the clock signal with high precision in the configuration of Patent Document 1. For example, it is difficult to achieve high precision duty adjustment while achieving a multi-output function of the clock signal. [Means for solving the problem]

[0005] One aspect of the present disclosure relates to a circuit device including: an oscillator circuit electrically connected to a first node electrically connected to one end of an oscillator and a second node electrically connected to the other end of the oscillator, and generating an oscillation signal by oscillating the oscillator; a waveform shaping circuit connected to the first node, receiving the oscillation signal from the first node, and outputting a clock signal obtained by shaping the oscillation signal; a first duty adjustment circuit that adjusts the duty of the clock signal; and an output buffer circuit that outputs a first output clock signal and a second output clock signal to the outside based on the clock signal, wherein the output buffer circuit includes a second duty adjustment circuit that adjusts the duty of the second output clock signal.

[0006] Another aspect of the present disclosure relates to an oscillator including the circuit device described above and the resonator. [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 of the present embodiment. [Diagram 3] 4 is a configuration example of a circuit device for explaining details of a first duty adjustment circuit. [Figure 4] 11 is a graph showing the relationship between the adjustment value of the adjustment data and the duty ratio. [Diagram 5] 1 is a graph showing process variations in the duty ratio of a clock signal. [Figure 6] 11 is a graph showing process variations in the duty ratio when the duty is adjusted by the first duty adjustment circuit. [Figure 7] 3 shows an example of the configuration of a circuit device according to a first comparative example of the present embodiment. [Figure 8] 13 shows an example of the configuration of a circuit device according to a second comparative example of the present embodiment. [Figure 9] 4 is a configuration example of a circuit device for explaining details of a second duty adjustment circuit. [Figure 10] 11 is a graph showing the relationship between the adjustment value of the adjustment data and the duty ratio. [Figure 11] 11 is a graph showing the relationship between the adjustment value of the adjustment data and the duty ratio. [Figure 12] 11 is a graph showing process variations in the duty ratio of an output clock signal. [Figure 13] 11 is a graph showing process variations in the duty ratio of an output clock signal when duty adjustment is performed by a first duty adjustment circuit. [Figure 14] 6 is a graph showing process variations in the duty ratio of an output clock signal when duty adjustment is performed by a first duty adjustment circuit and a second duty adjustment circuit. [Figure 15] 4 shows a configuration example of a second duty adjustment circuit. [Figure 16] 4 shows a detailed configuration example of a second duty adjustment circuit. [Figure 17] 4 shows a detailed configuration example of a second duty adjustment circuit. [Figure 18] 13 shows a modified example of the circuit device of the present embodiment. [Figure 19] 13 shows a modified example of the circuit device of the present embodiment. [Figure 20] 13 shows a modified example of the circuit device of the present embodiment. [Figure 21] 3 shows a configuration example of a first duty adjustment circuit. [Figure 22] An example of oscillator structure. 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 device 1 shows a configuration example of a circuit device 20 of this embodiment. The circuit device 20 of this embodiment includes an oscillation circuit 30, a waveform shaping circuit 40, a first duty adjustment circuit 50, and an output buffer circuit 70, and the output buffer circuit 70 includes a second duty adjustment circuit 80. As will be described later with reference to FIG. 22, the oscillator 4 of this embodiment 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 to each other using internal wiring, bonding wires, metal bumps, or the like of a package that houses the resonator 10 and the circuit device 20.

[0010] 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 in a temperature compensated crystal oscillator (TCXO) that does not have a thermostatic oven, or a vibrator built in an oven-controlled crystal oscillator (OCXO) that has a thermostatic oven. Alternatively, the vibrator 10 may be a vibrator built in an oscillator of an SPXO (Simple Packaged Crystal Oscillator). Note that 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, the vibrator 10 may be a surface acoustic wave (SAW) resonator or a micro electro mechanical systems (MEMS) vibrator as a silicon vibrator formed using a silicon substrate.

[0011] The circuit device 20 is an integrated circuit device known as 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.

[0012] The oscillator circuit 30 is a circuit that oscillates the vibrator 10. For example, the oscillator circuit 30 is electrically connected to a first node N1 electrically connected to one end of the vibrator 10 and a second node N2 electrically connected to the other end of the vibrator 10, and generates oscillation signals XI and XO by oscillating the vibrator 10. Specifically, the oscillator circuit 30 is electrically connected to a terminal TXI electrically connected to one end of the vibrator 10 and a terminal TXO electrically connected to the other end of the vibrator 10, and generates oscillation signals XI and XO by oscillating the vibrator 10. The terminal TXI is a first terminal, and the terminal TXO is a second terminal. The terminals TXI and TXO are, for example, pads of the circuit device 20, which is an IC. The oscillator circuit 30 can be realized, for example, by a drive circuit for oscillation provided between the terminals TXI and TXO, and passive elements such as a capacitor and a resistor. The drive circuit can be realized, for example, by a CMOS inverter circuit or a bipolar transistor. The driving circuit is a core circuit of the oscillation circuit 30, and the driving circuit drives the vibrator 10 with a voltage or current to oscillate the vibrator 10. As the oscillation circuit 30, various types of oscillation circuits, such as an inverter type, a Pierce type, a Colpitts type, or a Hartley type, can be used. In addition, the oscillation circuit 30 is provided with a variable capacitance circuit, and the oscillation frequency can be adjusted by adjusting the capacitance of this variable capacitance circuit. The variable capacitance circuit can be realized by a variable capacitance element such as a varactor. Alternatively, the variable capacitance circuit can be realized by a capacitor array whose capacitance value is weighted in binary and a switch array connected to the capacitor array. The variable capacitance circuit is electrically connected to, for example, a first signal line to which the terminal TXI is connected. The oscillation circuit 30 may have a first variable capacitance circuit electrically connected to a first signal line to which the terminal TXI is connected, and a second variable capacitance circuit electrically connected to a second signal line to which the terminal TXO is connected. Note that the connection in this embodiment is an electrical connection. The electrical connection is a connection that allows the transmission of an electrical signal, and is a connection that allows the transmission of information by an electrical signal. The electrical connection may be a connection via a passive element or the like.

[0013] The waveform shaping circuit 40 is a circuit that shapes the waveform of the oscillation signal XI, and is a buffer circuit that receives the oscillation signal XI and outputs a clock signal CK. For example, the waveform shaping circuit 40 is connected to a first node N1, receives the oscillation signal XI from the first node N1, and outputs a clock signal CK obtained by shaping the oscillation signal XI. For example, the waveform shaping circuit 40 shapes the waveform of the sine wave oscillation signal XI and outputs a square wave clock signal CK. The waveform shaping circuit 40 can be configured, for example, by a plurality of inverter circuits.

[0014] The first duty adjustment circuit 50 is a circuit that adjusts the duty of the clock signal CK. The first duty adjustment circuit 50 can also be called a bias voltage adjustment circuit that adjusts the bias voltage VBS. For example, the first duty adjustment circuit 50 adjusts the duty ratio of the clock signal CK by supplying a bias voltage VBS variably adjusted based on the adjustment data ADJ to the first node N1. By adjusting the duty ratio of the clock signal CK, the duty ratios of the output clock signals CKQ1 and CKQ2 of the circuit device 20 in FIG. 2 described later are also adjusted. The duty ratio is also called a duty cycle. Note that in this embodiment, the duty ratio may be simply referred to as a duty. For example, when the adjustment data ADJ is a first adjustment value, the first duty adjustment circuit 50 generates a bias voltage VBS of a first voltage value corresponding to the first adjustment value, and when the adjustment data ADJ is a second adjustment value, the first duty adjustment circuit 50 generates a bias voltage VBS of a second voltage value corresponding to the second adjustment value. That is, the first duty adjustment circuit 50 supplies the bias voltage VBS, the voltage value of which is variably set by the adjustment data ADJ, to the first node N1.

[0015] The first duty adjustment circuit 50 supplies a bias voltage VBS to the first node N1, which is the output node of the oscillation signal XI, so that the oscillation signal XI becomes an AC signal that varies around the bias voltage VBS. For example, the oscillation signal XI is an AC signal that has been DC-cut by a capacitor (not shown), and the center voltage of this AC signal is set by the bias voltage VBS from the first duty adjustment circuit 50. The oscillation signal XI with the bias voltage VBS set in this way is input to the waveform shaping circuit 40, where it is waveform-shaped to generate a square-wave clock signal CK.

[0016] In this case, the adjustment data ADJ is set to an adjustment value such that the duty ratio of the clock signal CK is, for example, 50%. For example, when the fluctuation of the semiconductor manufacturing process is typical, the adjustment data ADJ is set to an adjustment value such that the bias voltage VBS is set to a voltage of about 1 / 2 the power supply voltage of the waveform shaping circuit 40. Even if the process fluctuation of the P-type transistors and N-type transistors constituting the inverter circuit of the waveform shaping circuit 40 is fast or slow, the adjustment value of the adjustment data ADJ is set so that the duty ratio of the clock signal CK is 50%. In this way, even if there is a process fluctuation, it is possible to generate a clock signal CK adjusted to have a duty ratio of 50%.

[0017] The output buffer circuit 70 outputs output clock signals CKQ1 and CKQ2 to the outside based on the clock signal CK. For example, the output buffer circuit 70 buffers the clock signal CK and outputs it as output clock signals CKQ1 and CKQ2. CKQ1 is a first output clock signal, and CKQ2 is a second output clock signal. The output clock signals CKQ1 and CKQ2 are, for example, clock signals with different phases, specifically, for example, clock signals with a phase difference of 180 degrees. In this way, the output buffer circuit 70 outputs output clock signals CKQ1 and CKQ1 based on the oscillation signal XI to the clock terminals TCK1 and TCK2. Then, the output clock signals CKQ1 and CKQ2 are output to the outside from the clock terminals TCK1 and TCK2 via the external terminals of the oscillator 4. For example, the output buffer circuit 70 outputs the output clock signals CKQ1 and CKQ2 in a single-ended CMOS signal format. For example, when an output enable signal input via an output enable terminal (not shown) is active, the output buffer circuit 70 outputs the output clock signals CKQ1 and CKQ2. On the other hand, when the output enable signal is inactive, the output buffer circuit 70 sets the output clock signals CKQ1 and CKQ2 to a fixed voltage level, such as a low level. This sets the voltage levels of the clock terminals TCK1 and TCK2 to a fixed voltage level. The output enable may be controlled individually for each of the output clock signals CKQ1 and CKQ2. An active signal is, for example, a high level in the case of positive logic, and a low level in the case of negative logic. An inactive signal is, for example, a low level in the case of positive logic, and a high level in the case of negative logic. In FIG. 2, the output buffer circuit 70 outputs two output clock signals CKQ1 and CKQ2, but the output buffer circuit 70 may output three or more output clock signals by buffering the clock signal CK. The output buffer circuit 70 may output the output clock signals CKQ1 and CKQ2 in a signal format other than CMOS.

[0018] The output buffer circuit 70 also includes a second duty adjustment circuit 80 that adjusts the duty of the output clock signal CKQ2, which is the second output clock signal. For example, the output clock signal CKQ1, which is the first output clock signal, is output from the output buffer circuit 70 without being subjected to duty adjustment by the second duty adjustment circuit 80. On the other hand, the output clock signal CKQ2, which is the second output clock signal, is output from the output buffer circuit 70 after being subjected to duty adjustment by the second duty adjustment circuit 80. For example, the second duty adjustment circuit 80 adjusts the duty ratio of the output clock signal CKQ2 based on adjustment data ADJ2, which is the second adjustment data.

[0019] Fig. 2 shows a detailed configuration example of the circuit device 20 of this embodiment. As shown in Fig. 2, the circuit device 20 can include a processing circuit 60, a non-volatile memory 62, a power supply circuit 90, a temperature compensation circuit 92, and a temperature sensor circuit 94 in addition to the configuration in Fig. 1.

[0020] The processing circuit 60 is a control circuit that performs various control processes, and is realized by, for example, a logic circuit. For example, the processing circuit 60 controls the entire circuit device 20 and controls the operation sequence of the circuit device 20. The processing circuit 60 also controls each circuit block of the circuit device 20, such as the oscillation circuit 30, the output buffer circuit 70, and the temperature compensation circuit 92. The processing circuit 60 also performs read and write control of the non-volatile memory 62. The processing circuit 60 can be realized by, for example, an ASIC (Application Specific Integrated Circuit) circuit that is automatically placed and wired, such as a gate array.

[0021] The non-volatile memory 62 stores various types of information used in the circuit device 20. The non-volatile memory 62 can be realized by, for example, 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 be an OTP (One Time Programmable) memory, a fuse-type ROM, or the like.

[0022] The nonvolatile memory 62 stores the adjustment data ADJ and ADJ2 of FIG. 1. The adjustment data ADJ read from the nonvolatile memory 62 via the processing circuit 60 is input to the first duty adjustment circuit 50, and the first duty adjustment circuit 50 adjusts the duty of the clock signal CK based on the adjustment data ADJ. For example, the first duty adjustment circuit 50 adjusts the duty of the clock signal CK by generating a bias voltage VBS that is variably set according to the adjustment data ADJ and supplying it to the first node N1. Also, the second duty adjustment circuit 80 adjusts the duty of the output clock signal CKQ2 based on the adjustment data ADJ2 read from the nonvolatile memory 62 via the processing circuit 60. For example, the second duty adjustment circuit 80 adjusts the duty of the output clock signal CKQ2 using a control signal based on the adjustment data ADJ2. In this way, the circuit device 20 of this embodiment includes the nonvolatile memory 62 that stores the adjustment data ADJ and ADJ2. The first duty adjustment circuit 50 adjusts the duty of the clock signal CK based on the adjustment data ADJ stored in the nonvolatile memory 62. For example, the first duty adjustment circuit 50 adjusts the duty of the output clock signal CKQ1. The second duty adjustment circuit 80 adjusts the duty of the output clock signal CKQ2 based on the adjustment data ADJ2 stored in the nonvolatile memory 62. The nonvolatile memory 62 also stores information for temperature compensation, as described later.

[0023] The power supply circuit 90 is supplied with a power supply voltage VDD from a power supply terminal TVDD and with a ground voltage GND from a ground terminal TGND, and supplies each circuit block of the circuit device 20 with a power supply voltage for each circuit block. For example, the power supply circuit 90 has a regulator, which supplies a regulated power supply voltage generated based on the power supply voltage VDD to each circuit block of the circuit device 20. For example, the power supply circuit 90 supplies a first regulated power supply voltage to the oscillation circuit 30, and supplies a second regulated power supply voltage different from the first regulated power supply voltage to the waveform shaping circuit 40 and the output buffer circuit 70. The power supply circuit 90 also supplies various regulated power supply voltages to the first duty adjustment circuit 50, the processing circuit 60, the non-volatile memory 62, the temperature compensation circuit 92, and the temperature sensor circuit 94. The power supply circuit 90 also has a reference voltage generation circuit and a reference current generation circuit.

[0024] The temperature compensation circuit 92 performs temperature compensation of the oscillation frequency of the oscillation circuit 30. The temperature compensation of the oscillation frequency is temperature compensation of the oscillation signals XI and XO of the oscillation circuit 30. Specifically, the temperature compensation circuit 92 performs temperature compensation based on temperature detection information from the temperature sensor circuit 94. For example, the temperature compensation circuit 92 generates a temperature compensation voltage based on a temperature detection voltage from the temperature sensor circuit 94, and outputs the generated temperature compensation voltage to the oscillation circuit 30, thereby performing temperature compensation of the oscillation frequency of the oscillation circuit 30. For example, the temperature compensation circuit 92 outputs a temperature compensation voltage to the variable capacitance circuit 32 of the oscillation circuit 30, which becomes a capacitance control voltage of the variable capacitance circuit 32, to adjust the capacitance of the variable capacitance circuit 32, thereby performing temperature compensation. In this case, the variable capacitance circuit 32 of the oscillation circuit 30 is realized by a variable capacitance element such as a varactor. The temperature compensation is a process of suppressing and compensating for fluctuations in the oscillation frequency due to temperature fluctuations. For example, the temperature compensation circuit 92 performs analog temperature compensation by polynomial approximation. For example, when the temperature compensation voltage for compensating the frequency-temperature characteristic of the vibrator 10 is approximated by a polynomial, the temperature compensation circuit 92 performs analog-type temperature compensation based on coefficient information of the polynomial. The analog-type temperature compensation is realized by, for example, adding current signals and voltage signals, which are analog signals. Specifically, the nonvolatile memory 62 stores coefficient information of a polynomial for temperature compensation, and the processing circuit 60 reads out the coefficient information from the nonvolatile memory 62 and sets it, for example, in a register of the temperature compensation circuit 92. The temperature compensation circuit 92 then performs analog-type temperature compensation based on the coefficient information set in the register. Note that the temperature compensation circuit 92 may perform digital-type temperature compensation. In this case, the temperature compensation circuit 92 performs digital temperature compensation processing based on temperature detection data, which is temperature detection information of the temperature sensor circuit 94. For example, the temperature compensation circuit 92 obtains frequency adjustment data based on the temperature detection data. Then, the capacitance value of the variable capacitance circuit 32 of the oscillation circuit 30 is adjusted based on the obtained frequency adjustment data, thereby achieving temperature compensation processing of the oscillation frequency of the oscillation circuit 30. In this case, the variable capacitance circuit of the oscillator circuit 30 is realized by a capacitor array having a plurality of binary-weighted capacitors and a switch array.The non-volatile memory 62 also stores a lookup table showing the correspondence between temperature detection data and frequency adjustment data, and the temperature compensation circuit 92 performs temperature compensation processing to obtain the frequency adjustment data from the temperature data using the lookup table read from the non-volatile memory 62 by the processing circuit 60.

[0025] The temperature sensor circuit 94 is a sensor circuit that detects temperature. Specifically, the temperature sensor circuit 94 outputs a temperature-dependent voltage that changes according to the temperature of the environment as a temperature detection voltage. For example, the temperature sensor circuit 94 generates a temperature detection voltage by using a circuit element having temperature dependency. Specifically, the temperature sensor circuit 94 outputs a temperature detection voltage whose voltage value changes depending on temperature by using the temperature dependency of the forward voltage of a PN junction. For example, the base-emitter voltage of a bipolar transistor can be used as the forward voltage of the PN junction. Note that when performing digital temperature compensation processing, the temperature sensor circuit 94 measures a temperature such as the environmental temperature and outputs the result as temperature detection data. The temperature detection data is, for example, data that monotonically increases or decreases with respect to the temperature.

[0026] The first duty adjustment circuit 50 also includes a voltage divider circuit 52 and a selection circuit 54. The voltage divider circuit 52 outputs a plurality of divided voltages by dividing the power supply voltage and the ground voltage. For example, the voltage divider circuit 52 has a plurality of resistors connected in series between a power supply node and a ground node, and outputs a plurality of divided voltages divided by the plurality of resistors. That is, the voltage divider circuit 52 is realized by a resistor ladder circuit or the like. The power supply node is a node to which the power supply voltage is supplied, and the ground node is a node to which the ground is supplied. The selection circuit 54 selects a first divided voltage, which is one of the plurality of divided voltages, as a bias voltage VBS. That is, the selection circuit 54 selects the first divided voltage of the plurality of divided voltages as the bias voltage VBS based on the adjustment data ADJ. The selection circuit 54 also selects a second divided voltage, which is one of the plurality of divided voltages, as a reference voltage VREF, which will be described later.

[0027] 2. First duty adjustment circuit Next, the first duty adjustment circuit 50 will be described in detail. FIG. 3 is a configuration example of the circuit device 20 for explaining the details of the first duty adjustment circuit 50. In FIG. 3, the oscillation circuit 30 includes a current source IS, a bipolar transistor TR, a resistor RX, and a capacitor CX. The current source IS and the bipolar transistor TR are provided in series between the power supply node and the ground node of VREG1. The current source IS and the bipolar transistor TR form a drive circuit for the oscillation circuit 30. The current source IS can be realized by, for example, a CMOS transistor to whose gate a bias voltage is input. The resistor RX is provided between the collector node and the base node of the bipolar transistor TR. The capacitor CX is provided between the base node of the bipolar transistor TR and the first node N1.

[0028] 3, the oscillation circuit 30 includes variable capacitance elements CV1 and CV2 realized by varactors or the like, and fixed capacitance capacitors CF1 and CF2, which have fixed capacitance values, as the variable capacitance circuit 32 in FIG. 2. Specifically, the oscillation circuit 30 includes a fixed capacitance capacitor CF1, one end of which is connected to the first node N1, and a variable capacitance element CV1, one end of which is connected to the other end of the fixed capacitance capacitor CF1 and has a variable capacitance value. The oscillation circuit 30 also includes a fixed capacitance capacitor CF2, one end of which is connected to the second node N2, and a variable capacitance element CV2, one end of which is connected to the other end of the fixed capacitance capacitor CF2 and has a variable capacitance value. A capacitor CG is provided between the other ends of the variable capacitance elements CV1 and CV2 and the ground node. A temperature compensation voltage VCMP from the temperature compensation circuit 92 in FIG. 2 is supplied to one ends of the variable capacitance elements CV1 and CV2 via a resistor RCP. A reference voltage VREF is supplied to the other ends of the variable capacitance elements CV1 and CV2 via a resistor RRF. In this way, a voltage corresponding to the voltage difference between the temperature compensation voltage VCMP and the reference voltage VREF is applied to the variable capacitance elements CV1 and CV2. This sets the capacitance of the variable capacitance elements CV1 and CV2 to a value corresponding to the temperature compensation voltage VCMP, thereby achieving temperature compensation of the oscillation frequency of the oscillation circuit 30. In FIG. 3, the first duty adjustment circuit 50 that supplies the bias voltage VBS also supplies this reference voltage VREF.

[0029] The first duty adjustment circuit 50 is realized by a ladder resistor circuit provided between the power supply node and the ground node of VREG1, and outputs a bias voltage VBS which is a divided voltage by the ladder resistor circuit. The first duty adjustment circuit 50 also outputs a reference voltage VREF for temperature compensation as described above. The bias voltage VBS is supplied to the first node N1 via a resistor RBS. The bias voltage VBS sets the center voltage of the oscillation signal XI which is an AC signal, and the oscillation signal XI, for example a sine wave which changes around the bias voltage VBS, is input to the waveform shaping circuit 40.

[0030] The waveform shaping circuit 40 includes a plurality of inverter circuits IVA1 and IVA2 that serve as buffer circuits. Each of the inverter circuits IVA1 and IVA2 is composed of a P-type transistor and an N-type transistor that are serially arranged between the power supply node of VREG2 and the ground node. An oscillation signal XI whose bias point is set by a bias voltage VBS is input as an input signal to the inverter circuit IVA1 in the first stage of the waveform shaping circuit 40. That is, the oscillation signal XI is input to the gate of the P-type transistor and the gate of the N-type transistor that constitute the inverter circuit IVA1. An output signal of the inverter circuit IVA1 is input to the inverter circuit IVA2 in the next stage, which outputs a clock signal CK. As a result, a clock signal CK of a rectangular wave obtained by shaping the oscillation signal XI is output from the waveform shaping circuit 40. As an example, the temperature compensation voltage VCMP is a voltage that changes according to the temperature detection result, centered around a voltage of, for example, 0.9V. The reference voltage VREF is, for example, a voltage of about 0.3V to 0.4V. The power supply voltage of VREG1 is, for example, 1.2 V, and the power supply voltage of VREG2 is, for example, 1.0 V. The bias voltage VBS is a voltage that is adjusted within a range of, for example, ±0.1 V, centered around 0.5 V, which is about half the power supply voltage of VREG2 of the waveform shaping circuit 40.

[0031] As described above, the circuit device 20 of the present embodiment includes an oscillation circuit 30 connected to the first node N1 and the second node N2 connected to the vibrator 10, which generates oscillation signals XI and XO, a waveform shaping circuit 40 to which the oscillation signal XI is input from the first node N1 and which outputs a clock signal CK, and a first duty adjustment circuit 50 to which the bias voltage VBS variably adjusted based on the adjustment data ADJ is supplied to the first node N1. The oscillation signal XI, which varies around the bias voltage VBS variably adjusted based on the adjustment data ADJ, is input to the waveform shaping circuit 40 and shaped to adjust the duty ratio of the clock signal CK. In this way, the duty ratio of the clock signal CK can be adjusted by taking into account process variations such as the threshold voltages of the P-type transistors and N-type transistors constituting the waveform shaping circuit 40, the degree of distortion of the oscillation waveform, or the deviation of the duty ratio in a subsequent circuit, and the duty ratios of the output clock signals CKQ1 and CKQ2 from the circuit device 20 can also be adjusted. This makes it possible to bring the duty ratio closer to 50%, for example, and achieve highly accurate duty adjustment.

[0032] For example, Fig. 4 is a graph showing the relationship between the adjustment value of the adjustment data ADJ and the duty ratio. In Fig. 4, for example, the 5-bit adjustment data ADJ performs duty adjustment such that 50% ±8% is divided into, for example, 32 steps, and the resolution of the duty adjustment is 0.4%.

[0033] 5 is a graph showing the results of a corner simulation of process variations in the duty ratio when no duty adjustment is performed by the first duty adjustment circuit 50. Here, TYP is a typical case. SF is a case where the N-type transistor is slow and the P-type transistor is fast, FS is a case where the N-type transistor is fast and the P-type transistor is slow, SS is a case where both the N-type transistor and the P-type transistor are slow, and FF is a case where both the N-type transistor and the P-type transistor are fast. As shown in FIG. 5, the duty ratio varies within a range of about 50%±5% due to variations in the semiconductor manufacturing process.

[0034] 6 is a graph showing the results of a corner simulation of process variations in the duty ratio when duty adjustment is performed by the first duty adjustment circuit 50. As shown in Fig. 6, the first duty adjustment circuit 50 supplies a bias voltage VBS that is variably set based on the adjustment data ADJ, thereby making it possible to realize highly accurate duty adjustment such that the variation in the duty ratio is within a range of 50% ±1%, for example.

[0035] FIG. 7 shows a circuit device 120 of a first comparative example of this embodiment. In the oscillation circuit 130 of the circuit device 120 of the first comparative example, in addition to the capacitor CX1 between the first node N1 and the base node of the bipolar transistor TR, a capacitor CX2 is provided between the second node N2 and the collector node of the bipolar transistor TR. The variable capacitance element CV1 has one end connected to the first node N1 and the other end connected to the supply node of the temperature compensation voltage VCMP, and the variable capacitance element CV2 has one end connected to the second node N2 and the other end connected to the supply node of the temperature compensation voltage VCMP. The reference voltage VREFB is supplied to the first node N1, which is the node of the oscillation signal XI, and the reference voltage VREFC is supplied to the second node N2, which is the node of the oscillation signal XO. As a result, the oscillation signal XI becomes an oscillation signal that changes around the reference voltage VREFB, and the oscillation signal XO becomes an oscillation signal that changes around the reference voltage VREFC. The reference voltage VREFB is, for example, 0.4V, and the reference voltage VREFC is, for example, 1.2V.

[0036] 7, a DC-cutting capacitor CB is provided between the first node N1 and the input node of the waveform shaping circuit 140. This cuts the DC component of the oscillation signal XI, and the AC component is input to the waveform shaping circuit 140. The waveform shaping circuit 140 includes inverter circuits IVB1 and IVB2, and the first-stage inverter circuit IVB1 has a feedback resistor RB provided between its output node and input node. By providing such a feedback resistor RB, the first-stage inverter circuit IVB1 has a bias point set by self-bias.

[0037] 7, the reference voltage VREFB for temperature compensation is applied to the first node N1, which is the node of the oscillation signal XI, and the oscillation signal XI becomes an oscillation signal that changes around the reference voltage VREFB. Here, the reference voltage VREFB is adjusted to a voltage that optimizes the sensitivity of the variable capacitance element CV1, for example, and does not match the threshold voltage of the inverter circuit IVB1 in the first stage of the waveform shaping circuit 140. As an example, in the first comparative example, a power supply voltage of VREG=1.5V is supplied to the inverter circuit IVB1, so that the threshold voltage of the inverter circuit IVB1 is about VREG / 2=0.75V. On the other hand, the reference voltage VREFB is adjusted to, for example, VREFB=0.4V so that the sensitivity of the variable capacitance element CV1 is optimized, so that the threshold voltage of the inverter circuit IVB1 does not match the reference voltage VREFB that is the center voltage of the oscillation signal XI. Furthermore, the reference voltage VREFB is adjusted according to manufacturing variations in the varactors, which are variable capacitance elements, and is not adjusted according to manufacturing variations in the P-type transistors and N-type transistors that constitute the inverter circuit IVB1 and the like.

[0038] For this reason, in the first comparative example of FIG. 7, it was necessary to provide a DC-cut capacitor CB at the input node of the inverter circuit IVB1 to cut the DC component of the oscillation signal XI and input only the AC component of the oscillation signal XI to the inverter circuit IVB1. In the first-stage inverter circuit IVB1, the output node and the input node are connected via a feedback resistor RB to adjust the bias point by self-bias. However, in such bias point adjustment by self-bias, if nonlinear distortion occurs in the waveform of the oscillation signal XI, the duty ratio of the clock signal CK fluctuates, and a high-precision duty ratio cannot be realized. For example, in the first comparative example of FIG. 7, the actual value of the variation in the duty ratio is about 50%±4%, and a high-precision duty ratio of, for example, within 50%±1% cannot be realized. For example, when an external processing device performs processing based on the output clock signals CKQ1 and CKQ2 obtained by buffering the clock signal CK, there is an application in which the processing device performs processing using not only the rising edges of the output clock signals CKQ1 and CKQ2 but also the falling edges. In such applications, a duty ratio of about 50%±4% is not sufficient for proper processing, and a highly accurate duty ratio of within 50%±1% may be required, but the first comparative example in FIG. 7 cannot meet such a requirement.

[0039] 3, a DC-cutting capacitor CF1 is provided between the first node N1 of the oscillation signal XI and the variable capacitance element CV1. A DC-cutting capacitor CF2 is also provided between the second node N2 of the oscillation signal XO and the variable capacitance element CV2. This makes it possible to set the bias voltage VBS independent of the setting of the reference voltage VREF for temperature compensation, and makes it possible to make the oscillation signal XI an oscillation signal that changes around the bias voltage VBS.

[0040] For example, by adjusting the reference voltage VREF, the variable capacitance elements CV1 and CV2 can be adjusted to have optimal sensitivity. In this case, the capacitance of the first node N1 is the series capacitance of the variable capacitance element CV1 and capacitor CF1, and the capacitance of the second node N2 is the series capacitance of the variable capacitance element CV2 and capacitor CF2. However, by making the capacitances of the capacitors CF1 and CF2 sufficiently large, it becomes possible to use the variable capacitance elements CV1 and CV2 to adjust the capacitances of the first node N1 and the second node N2 to appropriate capacitances according to the environmental temperature.

[0041] In this embodiment, the bias voltage VBS can be adjusted by the first duty adjustment circuit 50 using the adjustment data ADJ, regardless of the reference voltage VREF, to an appropriate voltage such that the duty ratio of the clock signal CK approaches 50%.

[0042] For example, suppose that the threshold voltage of the inverter circuit IVA1 in the first stage of the waveform shaping circuit 40 in FIG. 3 becomes lower than half the voltage of VREG2, which is the power supply voltage, due to process variations such as the threshold voltage of the P-type transistor and the N-type transistor. For example, if there is a process variation in which the N-type transistor is Fast and the P-type transistor is Slow, the threshold voltage of the inverter circuit IVA1 becomes lower than half the voltage of VREG2. At this time, if the bias voltage VBS remains at half the voltage of VREG2, a situation occurs in which the duty ratio of the clock signal CK becomes larger than 50%. In this case, too, in this embodiment, the first duty adjustment circuit 50 sets the bias voltage VBS to a voltage lower than half the voltage of VREG2 based on the adjustment data ADJ. In this way, even if the threshold voltage of the inverter circuit IVA1 becomes lower due to process variations, the bias voltage VBS, which is the center voltage of the oscillation signal XI, becomes lower accordingly, so that the duty ratio of the clock signal CK can be brought closer to 50%. Therefore, highly accurate duty adjustment can be achieved such that the fluctuation of the duty ratio is within 50%±1%.

[0043] On the other hand, suppose that the threshold voltage of the inverter circuit IVA1 at the first stage of the waveform shaping circuit 40 becomes higher than half the voltage of VREG2 due to process variations in the threshold voltages of the P-type transistors and N-type transistors. For example, if there is a process variation in which the P-type transistors are Fast and the N-type transistors are Slow, the threshold voltage of the inverter circuit IVA1 becomes higher than half the voltage of VREG2. At this time, if the bias voltage VBS remains at half the voltage of VREG2, the duty ratio of the clock signal CK becomes smaller than 50%. In this case, too, in this embodiment, the first duty adjustment circuit 50 sets the bias voltage VBS to a voltage higher than half the voltage of VREG2 based on the adjustment data ADJ. In this way, even if the threshold voltage of the inverter circuit IVA1 becomes a high voltage due to process variations, the bias voltage VBS, which is the center voltage of the oscillation signal XI, becomes higher accordingly, so that the duty ratio of the clock signal CK can be brought closer to 50%. Therefore, highly accurate duty adjustment can be achieved such that the fluctuation of the duty ratio is within 50%±1%.

[0044] In addition, in Fig. 3, there is no need to provide the DC-cut capacitor CB provided in the first comparative example in Fig. 7, so the attenuation of the oscillation amplitude due to the voltage division of the DC-cut capacitor CB and the input capacitance is suppressed, making it possible to realize a low noise floor. Also, since the feedback resistor RB as shown in Fig. 7 is no longer necessary, abnormal oscillation caused by the feedback resistor RB can be prevented.

[0045] FIG. 8 shows a circuit device 220 of a second comparative example of this embodiment. The circuit device 220 of the second comparative example is provided with an oscillation circuit 230, a waveform shaping circuit 240, a bias circuit 250, and a constant current circuit 260. In this second comparative example, the bias circuit 250 is a replica circuit of the waveform shaping circuit 240, and the bias voltage output by the bias circuit 250 depends on the power supply voltage VDD supplied. For example, the bias circuit 250 outputs a bias voltage of about half the VDD. However, the duty ratio of the clock signal CK varies not only due to the variation of about ±0.1V in the threshold voltage of the P-type transistor and the N-type transistor of the inverter circuit in the first stage, but also due to the circuit in the subsequent stage, and the duty ratio also varies due to distortion of the oscillation waveform. Therefore, the second comparative example in FIG. 8 has a problem that it is not possible to realize high-precision duty adjustment that takes into account such various fluctuation factors. In the second comparative example of FIG. 8, the bias circuit 250 simply outputs a bias voltage that is about half of VDD, and there is no adjustment circuit that adjusts the bias voltage based on adjustment data.

[0046] In this regard, in the circuit device 20 of the present embodiment, the bias voltage VBS can be variably adjusted based on the adjustment data ADJ. That is, a first duty adjustment circuit 50 is provided, which is a circuit that adjusts the bias voltage VBS based on the adjustment data ADJ. Therefore, for example, in addition to the variations in the threshold voltages of the P-type transistors and N-type transistors in the first-stage inverter circuit IVA1 in FIG. 3, the deviation in the duty ratio in the subsequent circuit and the degree of distortion of the oscillation waveform can be taken into consideration to adjust the bias voltage VBS and adjust the duty ratio of the clock signal CK, so that a highly accurate duty adjustment is possible compared to the second comparative example in FIG. 8.

[0047] For example, the circuit device 20 of this embodiment includes a nonvolatile memory 62 that stores adjustment data ADJ, and the first duty adjustment circuit 50 generates a bias voltage VBS that is set by the adjustment data ADJ stored in the nonvolatile memory 62. For example, when the adjustment data ADJ stored in the nonvolatile memory 62 is a first adjustment value, the first duty adjustment circuit 50 generates a bias voltage VBS of a first voltage value corresponding to the first adjustment value, and when the adjustment data ADJ is a second adjustment value, the first duty adjustment circuit 50 generates a bias voltage VBS of a second voltage value corresponding to the second adjustment value. In this way, the adjustment data ADJ that can set an optimal duty ratio is stored in the nonvolatile memory 62, and when the circuit device 20 is actually operating, the first duty adjustment circuit 50 supplies the bias voltage VBS according to the adjustment data ADJ read from the nonvolatile memory 62, thereby realizing high-precision duty adjustment, for example, 50%±1%. Specifically, in an inspection process during the manufacture of the circuit device 20, the duty ratio of the output clock signal CKQ1, etc. is measured, and adjustment data ADJ is determined based on the measurement results and written to the non-volatile memory 62. For example, the adjustment data ADJ is determined taking into consideration not only variations in the threshold voltage of the transistors due to process variations, but also non-linear distortion of the oscillation waveform, etc. Then, during actual operation of the circuit device 20, the adjustment data ADJ determined based on the measurement results is read from the non-volatile memory 62, and the first duty adjustment circuit 50 supplies a bias voltage VBS according to the adjustment data ADJ, thereby making it possible to realize highly accurate duty adjustment within, for example, 50%±1%.

[0048] 3 is equal to or higher than VREG2, which is the power supply voltage of the waveform shaping circuit 40. That is, the relationship VREG1≧VREG2 holds. As an example, VREG1 is 1.2V and VREG2 is 1V.

[0049] On the other hand, in the second comparative example of FIG. 8, VREG, which is the power supply voltage of the oscillation circuit 230, is 1.2 V, and VDD, which is the power supply voltage of the waveform shaping circuit 240 and the bias circuit 250, is 1.8 to 5 V, and the relationship VREG < VDD holds. For this reason, the amplitude voltage of the oscillation signal XI input to the waveform shaping circuit 240 becomes smaller than the power supply voltage VDD of the waveform shaping circuit 240, and the rising waveform and the falling waveform of the output signal of the first-stage inverter circuit of the waveform shaping circuit 240 do not become steep and become dull waveforms. Then, when the output signal of the first-stage inverter circuit becomes a dull waveform, the duty ratio fluctuates due to variations such as the threshold voltage of the P-type transistor and the N-type transistor of the next-stage inverter circuit.

[0050] In contrast, in this embodiment, VREG1, which is the power supply voltage of the oscillation circuit 30, is equal to or higher than VREG2, which is the power supply voltage of the waveform shaping circuit 40. Therefore, it is possible to make the amplitude of the oscillation signal XI input to the waveform shaping circuit 40 as large as possible within the driving voltage range of the waveform shaping circuit 40. That is, within the driving voltage range of the waveform shaping circuit 40 set by VREG2, it is possible to input the oscillation signal XI with a full swing amplitude to the inverter circuit IVA1 in the first stage of the waveform shaping circuit 40. Therefore, since there is almost no period in which both the P-type transistor and the N-type transistor of the inverter circuit IVA1 in the first stage are turned on, the rising and falling waveforms of the output signal of the inverter circuit IVA1 become steep. As a result, it is possible to reduce the variation in the duty ratio caused by the variation in the threshold voltage of the P-type transistor and the N-type transistor of the inverter circuit IVA2 in the next stage. In addition, the AM noise caused by the fluctuation in the amplitude of the oscillation signal XI is converted into PM noise, which is phase noise, by the waveform shaping of the waveform shaping circuit 40. In this regard, if VREG1≧VREG2 and the amplitude of the oscillation signal XI is made as large as possible within the driving voltage range of the waveform shaping circuit 40 as in this embodiment, the degree of conversion from AM noise to PM noise can be reduced, and the signal quality of the clock signal CK can be improved. In addition, the waveform shaping circuit 40 and the output buffer circuit 70 at the downstream stage operate on the same power supply voltage of VREG2, but by making the power supply voltage of VREG2 lower than VREG1, which is the power supply voltage of the oscillation circuit 30, the power consumption of the output buffer circuit 70 can be reduced. For example, the output buffer circuit 70 consumes more power than other circuit blocks because it drives a large external load, but by making VREG2 a lower voltage than VREG1, it is possible to reduce the power consumption accordingly.

[0051] As shown in FIG. 3, in this embodiment, the oscillation circuit 30 includes a fixed-capacitance capacitor CF1, one end of which is connected to the first node N1 and has a fixed capacitance, and a variable-capacitance element CV1, one end of which is connected to the other end of the fixed-capacitance capacitor CF1 and has a variable capacitance. A temperature compensation voltage VCMP is input to one of the one end and the other end of the variable-capacitance element CV1, and a reference voltage VREF is input to the other of the one end and the other end. For example, in FIG. 3, a temperature compensation voltage VCMP is input to one end of the variable-capacitance element CV1, and a reference voltage VREF is input to the other end of the variable-capacitance element CV1. The temperature compensation voltage VCMP may be input to the other end of the variable-capacitance element CV1, which is on the ground node side, and the reference voltage VREF may be input to one end of the variable-capacitance element CV1, which is on the capacitor CF1 side. The variable-capacitance element CV2 is also connected in the same manner as the variable-capacitance element CV1, but a detailed description thereof will be omitted here.

[0052] According to this configuration, a voltage corresponding to the voltage difference between the temperature compensation voltage VCMP and the reference voltage VREF can be applied to the variable capacitance element CV1, and the capacitance value of the variable capacitance element CV1 can be changed by the temperature compensation voltage VCMP based on the reference voltage VREF, thereby realizing temperature compensation of the oscillation frequency of the oscillation circuit 30. Furthermore, by providing a fixed capacitance capacitor CF1, it becomes possible to adjust the bias voltage VBS and the reference voltage VREF independently. That is, the reference voltage VREF of the variable capacitance element CV1 such as a varactor can be independently adjusted at the same time as the duty adjustment by changing the bias voltage VBS. For example, while performing the duty adjustment by changing the bias voltage VBS so that the duty ratio of the clock signal CK approaches 50%, it becomes possible to adjust the reference voltage VREF so that the potential difference between both ends of the variable capacitance element CV1 becomes larger than 0V and the sensitivity becomes optimal.

[0053] In this embodiment, the first duty adjustment circuit 50 outputs a bias voltage to the first node N1 and outputs a reference voltage VREF to the other of the one end and the other end of the variable capacitance element CV1. For example, in Fig. 3, a temperature compensation voltage VCMP is input to one end of the variable capacitance element CV1, and the first duty adjustment circuit 50 outputs a reference voltage VREF to the other end of the variable capacitance element CV1. Note that the temperature compensation voltage VCMP may be input to the other end of the variable capacitance element CV1, and the first duty adjustment circuit 50 may output a reference voltage VREF to one end of the variable capacitance element CV1.

[0054] With this configuration, it is possible to use one first duty adjustment circuit 50 to supply the bias voltage VBS to adjust the duty ratio of the clock signal CK, and also to supply the reference voltage VREF for temperature compensation, thereby realizing temperature compensation of the oscillation frequency. In other words, the first duty adjustment circuit 50 that supplies the reference voltage VREF for temperature compensation can be effectively used to supply the bias voltage VBS as well, thereby adjusting the duty ratio. This makes it possible to share circuits, reduce the size of the circuit device 20, and reduce the power consumption of the circuit device 20.

[0055] Specifically, as will be described in detail later with reference to FIG. 21, the first duty adjustment circuit 50 includes a voltage divider circuit 52 having a plurality of resistors connected in series between a power supply node and a ground node, which outputs a plurality of divided voltages obtained by dividing the voltage by the plurality of resistors, and a selection circuit 54 which selects one of the plurality of divided voltages as a bias voltage VBS. That is, the voltage divider circuit 52 is realized by a ladder resistor circuit, and the selection circuit 54 selects the bias voltage VBS from the plurality of divided voltages generated by the voltage divider circuit 52, which is a ladder resistor circuit, based on the input adjustment data ADJ, and supplies the bias voltage VBS to the first node N1. With this configuration, for example, a plurality of divided voltages between the power supply voltage of VREG1 and GND are generated by the voltage divider circuit 52, and a voltage corresponding to the adjustment data ADJ is selected from the plurality of generated divided voltages, thereby making it possible to generate the bias voltage VBS which is the center voltage of the oscillation signal XI.

[0056] In this embodiment, the selection circuit 54 selects the first divided voltage, which is one of the multiple divided voltages from the voltage divider circuit 52, as the bias voltage VBS, and selects the second divided voltage, which is one of the multiple divided voltages, as the reference voltage VREF. In this way, the duty ratio of the clock signal CK can be adjusted by supplying the first divided voltage selected by the selection circuit 54 from the multiple divided voltages to the first node N1 as the bias voltage VBS. Then, the second divided voltage selected by the selection circuit 54 from the multiple divided voltages is supplied as the reference voltage VREF, so that the variable capacitance element CV1 can be operated in an appropriate sensitivity range, thereby realizing temperature compensation of the oscillation frequency. In addition, since only one ladder resistor circuit is provided as the voltage divider circuit 52 to generate the bias voltage VBS and the reference voltage VREF, the circuit area of ​​the circuit device 20 can be reduced compared to the case where a first ladder resistor circuit for the bias voltage and a second ladder resistor circuit for the reference voltage are provided. Furthermore, since the current flowing from the power supply node to the ground node can be reduced to, for example, about half that in the case where a first ladder resistor circuit and a second ladder resistor circuit are provided, low power consumption of the circuit device 20 can also be achieved.

[0057] 3. Second duty adjustment circuit In recent years, communication information terminals have become more advanced, and oscillators such as crystal oscillators are required to have a multi-output function that distributes clock signals to baseband processing units, RF / GPS, WLAN, Bluetooth (registered trademark) chipsets, etc. There is a trend toward faster processing speeds, and strict performance is required, for example, the accuracy of the duty ratio of an RF clock signal is within 50% ± 1%. In this regard, the above-mentioned Patent Document 1 discloses a method of holding the voltage of an input signal by inputting a shifted input waveform of an inverter circuit, and correcting the duty ratio of an output signal. However, with the method of Patent Document 1, it is difficult to adjust the delay time between the input signal and the shifted input signal, and when trying to realize the above-mentioned multi-output function, the duty ratio varies depending on the subsequent circuit, and there is a problem that the duty ratio cannot be made highly accurate.

[0058] 1 and 2, the circuit device 20 of this embodiment, which solves such problems, includes an oscillation circuit 30 that generates oscillation signals XI and XO, a waveform shaping circuit 40 that outputs a clock signal CK obtained by shaping the waveform of the oscillation signal XI, and a first duty adjustment circuit 50 that adjusts the duty of the clock signal CK. The circuit device 20 also includes an output buffer circuit 70 that outputs output clock signals CKQ1 and CKQ2 to the outside based on the clock signal CK, and the output buffer circuit 70 includes a second duty adjustment circuit 80 that adjusts the duty of the output clock signal CKQ2.

[0059] In this way, the output buffer circuit 70 outputs a plurality of output clock signals CKQ1, CKQ2 based on the clock signal CK, thereby satisfying the requirement for a multi-output function of the clock signal. In this case, the first duty adjustment circuit 50 adjusts the duty of the clock signal CK, thereby improving the accuracy of the duty ratio of the clock signal CK. However, when the output buffer circuit 70 buffers the clock signal CK that has been duty-adjusted, and outputs the output clock signals CKQ1, CKQ2 to realize the multi-output function, the accuracy of the duty ratio may become insufficient, and the required specification of the duty accuracy required for the circuit device 20 may not be satisfied.

[0060] Therefore, in this embodiment, a second duty adjustment circuit 80 that adjusts the duty of the output clock signal CKQ2 is provided in the output buffer circuit 70 that outputs the output clock signals CKQ1 and CKQ2 based on the clock signal CK. In this way, two-stage duty adjustment is possible, in which the duty adjustment is performed by the first duty adjustment circuit 50 and the duty adjustment is performed by the second duty adjustment circuit 80. For example, assume that a situation occurs in which the duty accuracy requirement of the output clock signal CKQ1 is satisfied by the duty adjustment by the first duty adjustment circuit, but the duty accuracy requirement of the output clock signal CKQ2 is not satisfied. For example, such a situation occurs when the output clock signal CKQ2, which is the second output clock signal, is a signal with a different phase from the output clock signal CKQ1, which is the first output clock signal. Even in such a case, the duty adjustment by the second duty adjustment circuit 80 provided in the output buffer circuit 70 makes it possible to satisfy the duty accuracy requirement of the output clock signal CKQ2 as well. This enables the output buffer circuit 70 to externally output multiple output clock signals CKQ1, CKQ2 that can satisfy the required duty accuracy specification, for example, 50%±1%, making it possible to achieve both the multiple output function of the clock signal and high-precision duty adjustment.

[0061] 9 is a configuration example of the circuit device 20 for explaining the details of the second duty adjustment circuit 80. As shown in FIG. 9, the first duty adjustment circuit 50 adjusts the duty ratio of the clock signal CK by supplying a bias voltage VBS variably adjusted based on, for example, adjustment data ADJ to the first node N1. As a result, the clock signal CK whose duty ratio has been adjusted with high precision is input from the waveform shaping circuit 40 to the output buffer circuit 70. The output buffer circuit 70 outputs output clock signals CKQ1 and CKQ2 based on the clock signal CK whose duty has been adjusted by the first duty adjustment circuit 50.

[0062] At this time, if the duty ratio of the output clock signal CKQ1 is measured as described above and the adjustment data ADJ is determined based on the measurement result, the first duty adjustment circuit 50 adjusts the duty based on the adjustment data ADJ, so that the required specification of duty accuracy can be satisfied for the output clock signal CKQ1. However, the output clock signal CKQ2 has a different phase from the output clock signal CKQ1, for example, and the phase is different by 180 degrees in FIG. 9. Therefore, even if the duty ratio of the output clock signal CKQ1 is adjusted with high accuracy to satisfy the required specification, the duty ratio of the output clock signal CKQ2 does not necessarily satisfy the required specification of duty accuracy. For example, when a clock signal with a reverse phase that is 180 degrees different from the output clock signal CKQ1 is output as the output clock signal CKQ2, an inverter circuit that inverts the signal level is required. In this case, if there is an imbalance between the driving capability of the P-type transistor and the driving capability of the N-type transistor that constitute the inverter circuit, a situation occurs in which the duty ratio of the output clock signal CKQ2 varies. For example, in the case of SF where the N-type transistors and the P-type transistors are slow and fast, respectively, or in the case of FS where the N-type transistors and the P-type transistors are fast and slow, respectively, the above-mentioned situation occurs, making it impossible to achieve high precision in the duty ratio of the output clock signal CKQ2.

[0063] In this embodiment, the output buffer circuit 70 is provided with a second duty adjustment circuit 80, which adjusts the duty of the output clock signal CKQ2. For example, the duty ratio of the output clock signal CKQ2 is measured, and adjustment data ADJ2 is determined based on the measurement result. The second duty adjustment circuit 80 adjusts the duty of the output clock signal CKQ2 based on the adjustment data ADJ2. In this manner, not only the output clock signal CKQ1 but also the output clock signal CKQ2 are subjected to highly accurate duty adjustment and output to the outside. This makes it possible to realize both a multi-output function of the clock signal and highly accurate duty adjustment.

[0064] Specifically, in FIG. 9, the output buffer circuit 70 includes a first buffer circuit 72 and a second buffer circuit 74. The first buffer circuit 72 buffers the clock signal CK and outputs it as an output clock signal CKQ1. For example, the first buffer circuit 72 has a buffer circuit BF1, and a signal obtained by buffering the clock signal CK by this buffer circuit BF1 is output as the output clock signal CKQ1. In this case, the output clock signal CKQ1 is a non-inverted signal of the clock signal CK, and the output clock signal CKQ1 is a clock signal of the same phase as the clock signal CK. The buffer circuit BF1 can be realized by, for example, a plurality of inverter circuits. The buffer circuit BF1 has a high driving capability so as to drive an external load, and has a higher driving capability than, for example, the waveform shaping circuit 40. Specifically, the buffer circuit BF1 is configured by P-type transistors and N-type transistors that are larger in size than the waveform shaping circuit 40.

[0065] On the other hand, the second buffer circuit 74 has a second duty adjustment circuit 80, buffers the clock signal CK, and outputs an output clock signal CKQ2 whose duty ratio is adjusted by the second duty adjustment circuit 80. For example, the clock signal CK from the waveform shaping circuit 40 is input to the second duty adjustment circuit 80, which inverts the signal level of the clock signal CK and adjusts the duty. The output signal from the second duty adjustment circuit 80 is buffered by the buffer circuit BF2 and output as the output clock signal CKQ2. In this case, the output clock signal CKQ2 is an inverted signal of the clock signal CK, and the output clock signal CKQ2 is a clock signal whose phase is different from that of the output clock signal CKQ1 and the clock signal CK. Specifically, the output clock signal CKQ2 is 180 degrees out of phase with the output clock signal CKQ1 and the clock signal CK. The buffer circuit BF2 can be realized by, for example, a plurality of inverter circuits. The buffer circuit BF2 has a high driving capability so as to be able to drive an external load, and has a higher driving capability than, for example, the second duty adjustment circuit 80 and the waveform shaping circuit 40. Specifically, the buffer circuit BF2 is configured with P-type transistors and N-type transistors that are larger in size than the second duty adjustment circuit 80 and the waveform shaping circuit 40.

[0066] 9, in the first signal path branched from the intermediate node of the output buffer circuit 70, the clock signal CK is buffered by the first buffer circuit 72 and output as the output clock signal CKQ1. In addition, in the second signal path branched from the intermediate node, the clock signal CK is buffered by the second buffer circuit 74, the signal level is inverted, and the duty is adjusted, and the signal is output as the output clock signal CKQ2. By providing such a first buffer circuit 72 and a second buffer circuit 74 in the output buffer circuit 70, a signal obtained by buffering the clock signal CK can be output to the outside as the output clock signal CKQ1, and a signal obtained by buffering the clock signal CK and whose duty ratio is adjusted by the second duty adjustment circuit 80 can be output to the outside as the output clock signal CKQ2. Therefore, it becomes possible to output a plurality of output clock signals CKQ1 and CKQ2 whose duties have been adjusted with high precision to the outside, and it becomes possible to realize both a multiple output function of the clock signal and high precision duty adjustment.

[0067] In this embodiment, the output clock signal CKQ1 and the output clock signal CKQ2 are clock signals whose phases differ by 180 degrees. For example, the output clock signal CKQ1 is a normal signal of the clock signal CK and has the same phase as the clock signal CK, while the output clock signal CKQ2 is an inverted signal of the clock signal CK and has a phase difference of 180 degrees from the clock signal CK and also has a phase difference of 180 degrees from the output clock signal CKQ1. In this way, the output clock signal CKQ1 and the output clock signal CKQ2 whose phase differs by 180 degrees from the output clock signal CKQ1 can be output to the outside to realize a multi-output function, and a plurality of output clock signals CKQ1 and CKQ2 whose duty cycles have been adjusted with high precision can be output to the outside. Therefore, when a clock signal whose phase differs by 180 degrees from the output clock signal CKQ1 is required outside the circuit device 20, in addition to the output clock signal CKQ1 whose phase is the same as the clock signal CK, it is possible to supply these output clock signals CKQ1 and CKQ2 whose duty cycles have been adjusted with high precision to the outside in response to such a request.

[0068] 9, the output clock signals CKQ1 and CKQ2 are out of phase with each other by 180 degrees, but this embodiment is not limited to this, and various modifications are possible, such as making the phases out of phase with each other by 90 degrees, etc. Also, in FIG. 9, the output buffer circuit 70 outputs two output clock signals CKQ1 and CKQ2, but the output buffer circuit 70 may be configured to output three or more output clock signals.

[0069] 9, the first duty adjustment circuit 50 adjusts the duty of the clock signal CK based on the adjustment data ADJ stored in the nonvolatile memory 62, and the second duty adjustment circuit 80 adjusts the duty of the output clock signal CKQ2 based on the adjustment data ADJ2 stored in the nonvolatile memory 62. Specifically, in an inspection process during the manufacture of the circuit device 20, the duty ratio of the output clock signal CKQ1 is measured, and the adjustment data ADJ is determined based on the measurement results. The duty ratio of the output clock signal CKQ2 is also measured, and the adjustment data ADJ2 is determined based on the measurement results. Then, the determined adjustment data ADJ and ADJ2 are written to the nonvolatile memory 62. Then, during the actual operation of the circuit device 20, the adjustment data ADJ and ADJ2 determined based on the measurement results are read from the nonvolatile memory 62, and the first duty adjustment circuit 50 adjusts the duty based on the adjustment data ADJ, and the second duty adjustment circuit 80 adjusts the duty based on the adjustment data ADJ2. For example, in the second duty adjustment circuit 80, the ratio between the driving capabilities of the P-type transistors and the N-type transistors that constitute the inverter circuit of the second duty adjustment circuit 80 is adjusted based on the adjustment data ADJ2. The adjustment of the driving capabilities ratio can be realized by adjusting the ratio between the sizes of the P-type transistors and the N-type transistors that constitute the inverter circuit. In this way, it becomes possible to output to the outside the output clock signals CKQ1 and CKQ2 that have been subjected to a highly accurate duty adjustment, for example, within 50% ± 1%.

[0070] For example, Fig. 10 and Fig. 11 are graphs showing the relationship between the adjustment value of the adjustment data ADJ and ADJ2 and the duty ratio. In the first stage duty adjustment shown in Fig. 10, for example, based on the adjustment data ADJ, the duty adjustment is performed such that 50% ± 8% is divided into 32 steps with 5 bits, and the resolution is 0.4%. In the second stage duty adjustment shown in Fig. 11, for example, based on the adjustment data ADJ2, the duty adjustment is performed such that 50% ± 4% is divided into 32 steps with 5 bits, and the resolution is 0.2%. Thus, in this embodiment, the resolution of the duty adjustment of the second duty adjustment circuit 80 is equal to or higher than the resolution of the duty adjustment of the first duty adjustment circuit 50. 10, the first duty adjustment circuit 50 performs a highly accurate duty adjustment to within 50%±1% for the output clock signal CKQ1, but the accuracy of the duty adjustment is insufficient for the output clock signal CKQ2, which has a different phase from the output clock signal CKQ1, as shown in Fig. 11. Therefore, the second duty adjustment circuit 80 performs a duty adjustment to achieve a highly accurate duty adjustment to within 50%±1% for the output clock signal CKQ2 as well.

[0071] Fig. 12 shows the results of a corner simulation of process variations in the duty ratios of the output clock signals CKQ1 and CKQ2 when no duty adjustment is performed by the first duty adjustment circuit 50 and the second duty adjustment circuit 80. As shown in Fig. 12, in SF where the N-type transistors are slow and the P-type transistors are fast, the duty ratio of the output clock signal CKQ1 varies to be smaller than 50%, and the duty ratio of the output clock signal CKQ2 varies to be larger than 50%. In FS where the N-type transistors are fast and the P-type transistors are slow, the duty ratio of the output clock signal CKQ1 varies to be larger than 50%, and the duty ratio of the output clock signal CKQ2 varies to be smaller than 50%.

[0072] Fig. 13 shows the results of a corner simulation of process variations in the duty ratios of the output clock signals CKQ1 and CKQ2 when duty adjustment is performed by the first duty adjustment circuit 50. As shown in Fig. 13, for the output clock signal CKQ1, highly accurate duty adjustment is achieved such that the duty ratio is within 50% ±1%, but for the output clock signal CKQ2, which has a different phase from the output clock signal CKQ1, the duty ratio exceeds the range of 50% ±1%. That is, for the output clock signal CKQ2, the duty adjustment by the first duty adjustment circuit 50 alone is insufficient to achieve a high accuracy in the duty ratio.

[0073] 14 shows the results of a corner simulation of process variations in the duty ratios of the output clock signals CKQ1 and CKQ2 when the duty adjustments are performed by both the first duty adjustment circuit 50 and the second duty adjustment circuit 80. As shown in FIG. 14, by performing the duty adjustments by both the first duty adjustment circuit 50 and the second duty adjustment circuit 80, highly accurate duty adjustment is achieved such that the duty ratios of both the output clock signals CKQ1 and CKQ2 are within 50%±1%. In this way, according to this embodiment, it is possible to achieve both a multi-output function of the clock signal and highly accurate duty adjustment.

[0074] FIG. 15 shows a configuration example of the second duty adjustment circuit 80. In FIG. 15, the second duty adjustment circuit 80 includes a reference inverter circuit 82 and a duty adjustment inverter circuit 84 connected in parallel. The reference inverter circuit 82 outputs a signal obtained by buffering the clock signal CK to an output node NQ. The reference inverter circuit 82 is, for example, an inverter circuit that operates constantly, and outputs a signal obtained by inverting the signal level of the clock signal CK input to an input node NI to an output node NQ. The duty adjustment inverter circuit 84 is connected in parallel to the reference inverter circuit 82, and outputs a signal obtained by buffering the clock signal CK to an output node NQ. The duty adjustment inverter circuit 84 has the driving capabilities of a P-type transistor and an N-type transistor set according to, for example, adjustment data ADJ2, and outputs a signal obtained by inverting the signal level of the clock signal CK input to an input node NI to an output node NQ. The buffer circuit BF2 provided in the subsequent stage of the second duty adjustment circuit 80 buffers the signal output to the output node and outputs it as the output clock signal CKQ2. In this way, for example, the duty adjustment inverter circuit 84 is connected in parallel to the reference inverter circuit 82 that operates constantly after power-on, and the clock signal CK is buffered, making it possible for the duty adjustment inverter circuit 84 to adjust the duty of the output clock signal CKQ2.

[0075] For example, the reference inverter circuit 82 is a main inverter circuit of the second duty adjustment circuit 80. Then, as shown in Fig. 9, the reference inverter circuit 82 of the second duty adjustment circuit 80 is provided in a second signal path branched off from the first signal path of the output clock signal CKQ1, and the reference inverter circuit 82 inverts the signal level of the clock signal CK, making it possible to output an output clock signal CKQ2 that is 180 degrees out of phase with the output clock signal CKQ1.

[0076] In this case, an imbalance may occur between the driving capabilities of the P-type transistors and the N-type transistors constituting the reference inverter circuit 82 due to process variations and the like. For example, in the case of SF where the N-type transistors are slow and the P-type transistors are fast, an imbalance occurs in which the driving capabilities of the N-type transistors are lower than the driving capabilities of the P-type transistors. In the case of FS where the N-type transistors are fast and the P-type transistors are slow, an imbalance occurs in which the driving capabilities of the P-type transistors are lower than the driving capabilities of the N-type transistors. When such an imbalance in driving capabilities occurs, the duty ratio of the output clock signal CKQ2 generated by the signal inversion of the reference inverter circuit 82 fluctuates.

[0077] 15, a duty adjustment inverter circuit 84 is provided which is connected in parallel to the main reference inverter circuit 82. The input of the duty adjustment inverter circuit 84 is connected to an input node NI common to the reference inverter circuit 82, and the output of the duty adjustment inverter circuit 84 is connected to an output node NQ common to the reference inverter circuit 82. The duty adjustment inverter circuit 84 is then capable of variably adjusting the driving capabilities of the P-type transistors and the N-type transistors which constitute the duty adjustment inverter circuit 84 based on the adjustment data ADJ2. For example, the ratio information of the driving capabilities can be variably adjusted.

[0078] For example, suppose that an imbalance occurs in which the driving capability of the N-type transistor of the reference inverter circuit 82 is lower than that of the P-type transistor due to process variations in which the N-type transistor is slow and the P-type transistor is fast. In this case, adjustment is made to increase the driving capability of the N-type transistor side of the duty adjustment inverter circuit 84 based on the adjustment data ADJ2. On the other hand, suppose that an imbalance occurs in which the driving capability of the P-type transistor of the reference inverter circuit 82 is lower than that of the N-type transistor due to process variations in which the N-type transistor is fast and the P-type transistor is slow. In this case, adjustment is made to increase the driving capability of the P-type transistor side of the duty adjustment inverter circuit 84 based on the adjustment data ADJ2. In this way, the duty ratio of the output clock signal CKQ2, which was not sufficiently accurate only by the first duty adjustment circuit 50 as shown in FIG. 13, can be adjusted with high accuracy by the second duty adjustment circuit 80, and a highly accurate duty adjustment within 50%±1% as shown in FIG. 14 can be realized.

[0079] 15, the size of each of the P-type transistor and N-type transistor constituting the duty adjustment inverter circuit 84 is 1 / 2 or less of the size of each of the P-type transistor and N-type transistor constituting the reference inverter circuit 82. For example, the size of the P-type transistor constituting the duty adjustment inverter circuit 84 is 1 / 2 or less of the size of the P-type transistor constituting the reference inverter circuit 82, and the size of the N-type transistor constituting the duty adjustment inverter circuit 84 is 1 / 2 or less of the size of the N-type transistor constituting the reference inverter circuit 82. Here, when the gate width of a transistor is W and the gate length is L, the size of the transistor can be expressed as W / L, for example. For example, when the gate lengths L of the two transistors are the same, the size of the transistor can also be expressed by the gate width W. In this way, by making the size of the transistors in the duty adjustment inverter circuit 84 half or less of the size of the transistors in the reference inverter circuit 82, the driving capabilities of the P-type transistors and N-type transistors in the reference inverter circuit 82 are used as a reference, and the duty adjustment inverter circuit 84 can adjust the driving capabilities of the P-type transistors and the N-type transistors based on the adjustment data ADJ2. Therefore, even if a process fluctuation occurs that causes an imbalance in the driving capabilities of the P-type transistors and the N-type transistors, it is possible to suppress fluctuations in the duty ratio of the output clock signal CKQ2 and achieve highly accurate duty adjustment. In the following, the driving capabilities of the P-type transistors are appropriately referred to as the driving capabilities of the P-side, and the driving capabilities of the N-type transistors are appropriately referred to as the driving capabilities of the N-side.

[0080] 16, the second duty adjustment circuit 80 includes a first duty adjustment inverter circuit 84-1 and a second duty adjustment inverter circuit 84-2. The first duty adjustment inverter circuit 84-1 is connected in parallel to the reference inverter circuit 82, and outputs a signal obtained by buffering the clock signal CK to an output node NQ. The second duty adjustment inverter circuit 84-2 is also connected in parallel to the reference inverter circuit 82, and outputs a signal obtained by buffering the clock signal CK to an output node NQ. The sizes of the P-type transistor and the N-type transistor constituting the second duty adjustment inverter circuit 84-2 are each twice the size of the P-type transistor and the N-type transistor constituting the first duty adjustment inverter circuit 84-1. In this way, it becomes possible to perform an adjustment in which the driving capabilities of the P-side and N-side of the first duty adjustment inverter circuit 84-1 and the driving capabilities of the P-side and N-side of the second duty adjustment inverter circuit 84-2 are weighted in binary based on the adjustment data ADJ2 and added to the driving capabilities of the P-side and N-side of the reference inverter circuit 82. This enables duty adjustment with higher resolution and achieves high precision in duty adjustment.

[0081] The adjustment of the driving capabilities of the P-side and N-side of the first duty adjustment inverter circuit 84-1 and the second duty adjustment inverter circuit 84-2 is an adjustment to increase the driving capabilities of the P-type transistor side and an adjustment to increase the driving capabilities of the N-type transistor side. For example, when each bit of the adjustment data ADJ2 is at a first logic level such as a low level, the driving capabilities of the P-type transistor side are increased, and when each bit is at a second logic level such as a high level, the driving capabilities of the N-type transistor side are increased.

[0082] 16, the second duty adjustment circuit 80 includes a first duty adjustment inverter circuit 84-1 and second to n-th duty adjustment inverter circuits 84-2 to 84-n that are connected in parallel to the reference inverter circuit 82 and output a signal obtained by buffering the clock signal CK to an output node NQ. As will be described in detail in FIG. 17, the control signals DT1 to DTn control one of the P-type transistor and the N-type transistor of each of the first to n-th duty adjustment inverter circuits 84-1 to 84-n to be turned on and the other to be turned off. In other words, the control signals DT1 to DTn that turn on one of the P-type transistor and the N-type transistor of each duty adjustment inverter circuit and turn off the other are input to the first to n-th duty adjustment inverter circuits 84-1 to 84-n. Here, the control signals DT1 to DTn are the first to n-th control signals and are signals that are set based on the adjustment data ADJ2. Taking FIG. 2 as an example, the processing circuit 60 outputs control signals DT1 to DTn based on the adjustment data ADJ2 read from the nonvolatile memory 62.

[0083] 16, the sizes of the P-type transistors and N-type transistors constituting the first to n-th duty adjustment inverter circuits 84-1 to 84-n are weighted in binary. For example, the size of each P-type and N-type transistor of the second duty adjustment inverter circuit 84-2 is twice the size of each P-type and N-type transistor of the first duty adjustment inverter circuit 84-1. Also, the size of each P-type and N-type transistor of the third duty adjustment inverter circuit 84-3 is twice the size of each P-type and N-type transistor of the second duty adjustment inverter circuit 84-2.

[0084] In this way, it becomes possible to perform an adjustment in which the driving capabilities of the P side and N side of the first to n-th duty adjustment inverter circuits 84-1 to 84-n are weighted in binary based on the adjustment data ADJ2 and added to the driving capabilities of the P side and N side of the reference inverter circuit 82. This enables adjustment of the duty ratio with high resolution, and achieves high-precision duty adjustment.

[0085] 17 shows a detailed configuration example of the second duty adjustment circuit 80. As shown in FIG. 17, the reference inverter circuit 82 of the second duty adjustment circuit 80 includes P-type transistors TP01 and TP02 connected in series between the power supply node of VREG2 and the output node NQ, and N-type transistors TN01 and TN02 connected in series between the ground node and the output node NQ. A clock signal CK is input to the gates of the P-type transistor TP01 and the N-type transistor TN01. The P-type transistor TP02 is always on because its gate is connected to the ground node, and the N-type transistor TN02 is always on because its gate is connected to the power supply node. In this way, the reference inverter circuit 82 is an inverter circuit that operates constantly.

[0086] 17, the first duty adjustment inverter circuit 84-1, which is a duty adjustment inverter circuit, includes P-type transistors TP11 and TP12 connected in series between the power supply node of VREG2 and the output node NQ, and N-type transistors TN11 and TN12 connected in series between the ground node and the output node NQ. TP11 is a first P-type transistor, and TP12 is a second P-type transistor. TN11 is a first N-type transistor, and TN12 is a second N-type transistor.

[0087] A clock signal CK is input to the gates of the first P-type transistor TP11 and the first N-type transistor TN11, while a control signal DT1, which is a common first control signal, is input to the gates of the second P-type transistor TP12 and the second N-type transistor TN12.

[0088] In this way, when the control signal DT1 is at a low level, which is the first logic level, the P-type transistor TP12 is turned on and the N-type transistor TN12 is turned off. This makes it possible to add the P-side driving capability of the P-type transistors TP11 and TP12 of the first duty adjustment inverter circuit 84-1 to the P-side driving capability of the reference inverter circuit 82. Therefore, even if an imbalance occurs in which the P-side driving capability of the reference inverter circuit 82 is reduced due to process fluctuations that cause the P-type transistor to be slow, the first duty adjustment inverter circuit 84-1 adds the P-side driving capability to eliminate this imbalance. This makes it possible to suppress fluctuations in the duty ratio of the output clock signal CKQ2 caused by the imbalance, making it possible to achieve highly accurate duty adjustment.

[0089] When the control signal DT1 is at a high level, which is the second logic level, the P-type transistor TP12 is turned off and the N-type transistor TN12 is turned on. This makes it possible to add the N-side driving capability of the N-type transistors TN11 and TN12 of the first duty adjustment inverter circuit 84-1 to the N-side driving capability of the reference inverter circuit 82. Therefore, even if an imbalance occurs in which the N-side driving capability of the reference inverter circuit 82 is reduced due to process fluctuations that cause the N-type transistors to be slow, the first duty adjustment inverter circuit 84-1 adds the N-side driving capability to eliminate this imbalance. This makes it possible to suppress fluctuations in the duty ratio of the output clock signal CKQ2 caused by the imbalance, making it possible to achieve highly accurate duty adjustment.

[0090] 17, the second duty adjustment circuit 80 includes a second duty adjustment inverter circuit 84-2 that is connected in parallel to the reference inverter circuit 82 and outputs a signal obtained by buffering the clock signal CK to the output node NQ. The second duty adjustment inverter circuit 84-2 includes P-type transistors TP21 and TP22 that are connected in series between the power supply node and the output node NQ, and N-type transistors TN21 and TN22 that are connected in series between the ground node and the output node NQ. TP21 is a third P-type transistor, and TP22 is a fourth P-type transistor. TN21 is a third N-type transistor, and TN22 is a fourth N-type transistor.

[0091] A clock signal CK is input to the gates of the third P-type transistor TP21 and the third N-type transistor TN21. Meanwhile, a control signal DT2, which is a common second control signal, is input to the gates of the fourth P-type transistor TP22 and the fourth N-type transistor TN22.

[0092] In this way, when the control signal DT2 is at a low level, the P-type transistor TP22 is turned on and the N-type transistor TN22 is turned off. This allows the P-side driving capability of the P-type transistors TP21 and TP22 of the second duty adjustment inverter circuit 84-2 to be added to the P-side driving capability of the reference inverter circuit 82. Therefore, even if an imbalance occurs that reduces the P-side driving capability of the reference inverter circuit 82, the P-side driving capability is added by the second duty adjustment inverter circuit 84-2, so that this imbalance can be eliminated. Also, when the control signal DT2 is at a high level, the P-type transistor TP22 is turned off and the N-type transistor TN22 is turned on. This allows the N-side driving capability of the N-type transistors TN21 and TN22 of the second duty adjustment inverter circuit 84-2 to be added to the N-side driving capability of the reference inverter circuit 82. Therefore, even if an imbalance occurs that reduces the driving capability of the N-side of the reference inverter circuit 82, the imbalance can be eliminated by adding the driving capability of the N-side by the second duty adjustment inverter circuit 84-2. This makes it possible to suppress fluctuations in the duty ratio of the output clock signal CKQ2, and realizes highly accurate duty adjustment.

[0093] 17, the second duty adjustment circuit 80 includes an n-th duty adjustment inverter circuit 84-n that is connected in parallel to the reference inverter circuit 82 and outputs a signal obtained by buffering the clock signal CK to the output node NQ. The n-th duty adjustment inverter circuit 84-n includes P-type transistors TPn1 and TPn2 that are connected in series between the power supply node and the output node NQ, and N-type transistors TNn1 and TNn2 that are connected in series between the ground node and the output node NQ. The clock signal CK is input to the gates of the P-type transistor TPn1 and the N-type transistor TNn1, and a control signal DTn, which is a common n-th control signal, is input to the gates of the P-type transistor TPn2 and the N-type transistor TNn2. When the control signal DTn is at a low level, the P-side driving capability of the P-type transistors TPn1 and TPn2 of the n-th duty adjustment inverter circuit 84-2 can be added to the P-side driving capability of the reference inverter circuit 82. When the control signal DTn is at a high level, the driving capability of the n-side of the reference inverter circuit 82 can be increased by the N-type transistors TNn1 and TNn2 of the n-th duty adjustment inverter circuit 84-2.

[0094] In addition, the control signals DT1 to DTn, which are the first to n-th control signals in Fig. 17, are signals that are set based on the adjustment data ADJ2. In addition, in Fig. 17, the size of the P-type and N-type transistors of the first duty adjustment inverter circuit 84-1 is 1 / 2 or less, specifically 1 / 3, of the size of the P-type and N-type transistors of the reference inverter circuit 82. In addition, the size of the P-type and N-type transistors of the second duty adjustment inverter circuit 84-2 is twice the size of the P-type and N-type transistors of the first duty adjustment inverter circuit 84-1. Specifically, the sizes of the P-type and N-type transistors of the first to n-th duty adjustment inverter circuits 84-1 to 84-n are binary weighted.

[0095] 4. Variations The circuit device 20 of this embodiment is not limited to the configuration example described above, and various modifications are possible. Various modifications of this embodiment will be described below.

[0096] For example, in the modified example of FIG. 18, the configuration of the oscillation circuit 30 is different from that of FIG. 3. For example, in FIG. 18, the fixed capacitance capacitors CF1 and CF2 of FIG. 3 are not provided. One end of the variable capacitance element CV1 is connected to the first node N1, and the temperature compensation voltage VCMP is supplied to the other end of the variable capacitance element CV1. One end of the variable capacitance element CV2 is connected to the second node N2, and the temperature compensation voltage VCMP is supplied to the other end of the variable capacitance element CV2. The first node N1 is supplied with the reference voltage VREFB from the first duty adjustment circuit 50 via the resistor RRFB, and the second node N2 is supplied with the reference voltage VREFC from the first duty adjustment circuit 50 via the resistor RRFC. As a result, a voltage corresponding to the voltage difference between the temperature compensation voltage VCMP and the reference voltage VREFB is applied to both ends of the variable capacitance element CV1, and a voltage corresponding to the voltage difference between the temperature compensation voltage VCMP and the reference voltage VREFC is applied to both ends of the variable capacitance element CV2. Also, the oscillation signal XI becomes an oscillation signal that changes around the reference voltage VREFB, and the oscillation signal XO becomes an oscillation signal that changes around the reference voltage VREFC. In addition, in Fig. 18, a DC-cutting capacitor CX2 is provided between the first node N1 and the input node of the waveform shaping circuit 40. By providing such a capacitor CX2, the DC component of the oscillation signal XI is cut, and only the AC component is transmitted to the waveform shaping circuit 40. Then, the first duty adjustment circuit 50 sets a bias voltage VBS as a bias point for the AC component signal of the oscillation signal XI, and the oscillation signal XI that changes around the bias voltage VBS can be input to the waveform shaping circuit 40.

[0097] The configuration of the first duty adjustment circuit 50 of this embodiment is not limited to the configurations shown in Fig. 3, Fig. 18, etc., and various modifications are possible. For example, the first duty adjustment circuit 50 may be implemented using circuits having the configurations described in the first and second comparative examples in Fig. 7 and Fig. 8.

[0098] 19 and 20, the circuit device 20 includes an output buffer circuit 70 that buffers the clock signal CK and outputs it to the outside as output clock signals CKQ1 and CKQ2. The output buffer circuit 70 has, for example, a buffer circuit with a higher driving capability than the waveform shaping circuit 40, and the signal obtained by buffering the clock signal CK by this buffer circuit with this high driving capability is output to the outside of the circuit device 20 as the output clock signals CKQ1 and CKQ2. In this way, even when the external load is large, it is possible to supply the output clock signals CKQ1 and CKQ2 with appropriate driving waveforms to the external load to drive the external load.

[0099] 19, the first duty adjustment circuit 50 supplies a reference voltage VREF such that VCMP-VREF is greater than 0 V, where VCMP is the temperature compensation voltage and VREF is the reference voltage. For example, the reference voltage VREF is supplied so that a voltage greater than 0 V is applied to the variable capacitance element CV1. Similarly, the reference voltage VREF is supplied so that a voltage greater than 0 V is applied to the variable capacitance element CV2.

[0100] In FIG. 19, the temperature compensation voltage VCMP is a voltage that changes with a third-order characteristic or the like depending on the temperature, centered around 0.9V. The first duty adjustment circuit 50 supplies the reference voltage VREF, for example, 0.3V in FIG. 19, to the variable capacitance element CV1 so that VCMP-VREF is greater than 0V. This causes VCMP-VREF, a voltage greater than 0V, to be applied to the variable capacitance element CV1. Therefore, the capacitance of the variable capacitance element CV1 changes variably depending on the temperature compensation voltage VCMP within an appropriate sensitivity range. Similarly, VCMP-VREF, a voltage greater than 0V, is applied to the variable capacitance element CV2, and the capacitance of the variable capacitance element CV2 changes variably depending on the temperature compensation voltage VCMP within an appropriate sensitivity range. This makes it possible to use the circuit device 20 as a circuit device for a TCXO, and to realize an oscillator for the TCXO.

[0101] On the other hand, in FIG. 20, the first duty adjustment circuit 50 supplies a reference voltage VREF such that VCMP-VREF is 0V or less. For example, the reference voltage VREF is supplied so that a voltage of 0V or less is applied to the variable capacitance element CV1. Similarly, the reference voltage VREF is supplied so that a voltage of 0V or less is applied to the variable capacitance element CV2. In FIG. 20, for example, a temperature compensation voltage VCMP of about 0.6V is supplied. Therefore, the first duty adjustment circuit 50 supplies a reference voltage VREF of, for example, 0.9V to the variable capacitance element CV1 in FIG. 20 so that VCMP-VREF is 0V or less. As a result, VCMP-VREF, which is a voltage of 0V or less, is applied to the variable capacitance element CV1. Similarly, VCMP-VREF, which is 0V or less, is also applied to the variable capacitance element CV2. This makes it possible to use the circuit device 20 as a circuit device for SPXO, and to realize an oscillator for SPXO.

[0102] For example, the first duty adjustment circuit 50 supplies a voltage of about 0.5V±0.1V as the bias voltage VBS. Therefore, in FIG. 19 which realizes a TCXO, the voltage division tap from which the reference voltage VREF is output in the ladder resistor circuit of the voltage divider circuit 52 is closer to the ground node than the voltage division tap from which the bias voltage VBS is output. On the other hand, in FIG. 20 which realizes an SPXO, the voltage division tap from which the reference voltage VREF is output in the ladder resistor circuit of the voltage divider circuit 52 is closer to the power supply node of VREG1 than the voltage division tap from which the bias voltage VBS is output. Thus, according to this embodiment, by simply switching the position of the voltage division tap from which the bias voltage VBS is output in the ladder resistor circuit of the voltage divider circuit 52, the same circuit device 20 can be used as a circuit device for TCXO as shown in FIG. 19 or as a circuit device for SPXO as shown in FIG. 20. Therefore, the circuit device 20 can be used in common for TCXO and SPXO.

[0103] FIG. 21 shows a configuration example of the first duty adjustment circuit 50. The first duty adjustment circuit 50 includes a voltage division circuit 52 and a selection circuit 54. The voltage division circuit 52 has a plurality of resistors R1 to Rm connected in series between the power supply node and the ground node of VREG1, and outputs a plurality of divided voltages VR1 to VRm-1 obtained by dividing the voltage by the plurality of resistors R1 to Rm. The selection circuit 54 selects one of the plurality of divided voltages VR1 to VRm-1 as the bias voltage VBS based on the adjustment data ADJ. This selection circuit 54 can be realized by a plurality of selector circuits that select voltages in a tournament manner, for example. Specifically, the selection circuit 54 selects a first divided voltage, which is one of the plurality of divided voltages VR1 to VRm-1, as the bias voltage VBS, and selects a second divided voltage, which is one of the plurality of divided voltages VR1 to VRm-1, as the reference voltage VREF, and outputs the selected voltage. This makes it possible to use one first duty adjustment circuit 50 to supply both the bias voltage VBS for duty adjustment and the reference voltage VREF for temperature compensation, thereby enabling the sharing of the circuit.

[0104] 5. Oscillator Fig. 22 shows an example of the structure of the oscillator 4 of this embodiment. The oscillator 4 has a resonator 10, a circuit device 20, and a package 15 that houses the resonator 10 and the circuit device 20. The package 15 is made of, for example, ceramics, and has an accommodation space inside, in which the resonator 10 and the circuit device 20 are accommodated. The accommodation space is hermetically sealed, and is preferably in a reduced pressure state that is close to a vacuum. The package 15 can suitably protect the resonator 10 and the circuit device 20 from impact, dust, heat, moisture, and the like.

[0105] The package 15 has a base 16 and a lid 17. Specifically, the package 15 is composed of the base 16 that supports the vibrator 10 and the circuit device 20, and the lid 17 that is joined to the upper surface of the base 16 so as to form an accommodation space between the base 16 and the lid 17. The vibrator 10 is supported via a terminal electrode on a step portion provided on the inside of the base 16. The circuit device 20 is also arranged on the inner bottom surface of the base 16. Specifically, the circuit device 20 is arranged so that the active surface faces the inner bottom surface of the base 16. The active surface is a surface on which the circuit elements of the circuit device 20 are formed. Furthermore, bumps BMP are formed on the terminals of the circuit device 20. The circuit device 20 is supported on the inner bottom surface of the base 16 via the conductive bumps BMP. The conductive bumps BMP are, for example, metal bumps, and the vibrator 10 and the circuit device 20 are electrically connected via the bumps BMP, the internal wiring of the package 15, the terminal electrodes, and the like. Furthermore, the circuit device 20 is electrically connected to external terminals 18, 19 of the oscillator 4 via bumps BMP and internal wiring of the package 15. The external terminals 18, 19 are formed on the outer bottom surface of the package 15. The external terminals 18, 19 are connected to an external device via external wiring. The external wiring is, for example, wiring formed on a circuit board on which the external device is mounted. This makes it possible to output a clock signal, etc. to the external device.

[0106] In FIG. 22, the circuit device 20 is flip-mounted so that the active surface of the circuit device 20 faces downward, but the present embodiment is not limited to such mounting. For example, the circuit device 20 may be mounted so that the active surface of the circuit device 20 faces upward. That is, the circuit device 20 is mounted so that the active surface faces the resonator 10. Alternatively, the oscillator 4 may be a wafer-level package (WLP) oscillator. In this case, the oscillator 4 includes a semiconductor substrate, a base having a through electrode penetrating between the first surface and the second surface of the semiconductor substrate, the resonator 10 fixed to the first surface of the semiconductor substrate via a conductive bonding member such as a metal bump, and an external terminal provided on the second surface side of the semiconductor substrate via an insulating layer such as a relocation wiring layer. An integrated circuit that becomes the circuit device 20 is formed on the first surface or the second surface of the semiconductor substrate. In this case, a first semiconductor wafer having a plurality of bases on which the resonators 10 and integrated circuits are arranged is attached to a second semiconductor wafer having a plurality of lids, thereby bonding the plurality of bases and the plurality of lids, and then the oscillators 4 are diced into individual pieces by a dicing saw or the like. In this way, it becomes possible to realize a wafer-level packaged oscillator 4, and it becomes possible to manufacture the oscillators 4 with high throughput and at low cost.

[0107] As described above, the circuit device of this embodiment includes an oscillator circuit electrically connected to a first node electrically connected to one end of the oscillator and a second node electrically connected to the other end of the oscillator, and generates an oscillation signal by oscillating the oscillator, a waveform shaping circuit connected to the first node, receiving the oscillation signal from the first node, and outputting a clock signal obtained by shaping the oscillation signal, and a first duty adjustment circuit that adjusts the duty of the clock signal.The circuit device also includes an output buffer circuit that outputs a first output clock signal and a second output clock signal to the outside based on the clock signal, and the output buffer circuit includes a second duty adjustment circuit that adjusts the duty of the second output clock signal.

[0108] In this embodiment, an oscillation signal is generated by an oscillation circuit oscillating an oscillator electrically connected via a first node and a second node, and the oscillation signal at the first node is input to a waveform shaping circuit for waveform shaping to generate a clock signal. Then, an output buffer circuit outputs a first output clock signal and a second output clock signal to the outside based on the clock signal. Then, a first duty adjustment circuit adjusts the duty of the clock signal, and a second duty adjustment circuit provided in the output buffer circuit adjusts the duty of the second output clock signal. In this way, a two-stage duty adjustment is possible in which the duty adjustment is performed by the first duty adjustment circuit and the duty adjustment is performed by the second duty adjustment circuit 80. Therefore, for example, even in a situation in which the duty adjustment by the first duty adjustment circuit does not satisfy the required specification of the duty accuracy of the second output clock signal, the duty adjustment by the second duty adjustment circuit makes it possible to make the second output clock signal also satisfy the required specification of the duty accuracy. Therefore, it is possible to achieve both the multiple output function of the clock signal and the highly accurate duty adjustment.

[0109] In this embodiment, the first output clock signal and the second output clock signal may be clock signals whose phases differ by 180 degrees.

[0110] In this way, a multi-output function can be realized by externally outputting a first output clock signal and a second output clock signal that is 180 degrees out of phase with the first output clock signal, and it is also possible to externally output the first output clock signal and the second output clock signal that have been subjected to highly accurate duty adjustment.

[0111] In addition, in this embodiment, the output buffer circuit may include a first buffer circuit that buffers the clock signal and outputs it as a first output clock signal, and a second buffer circuit that has a second duty adjustment circuit, buffers the clock signal, and outputs a second output clock signal whose duty ratio is adjusted by the second duty adjustment circuit.

[0112] In this way, the first buffer circuit can output the buffered clock signal to the outside as a first output clock signal, and the second buffer circuit can output the buffered clock signal, the duty ratio of which has been adjusted by the second duty adjustment circuit, to the outside as a second output clock signal.

[0113] In this embodiment, the first duty adjustment circuit may adjust the duty ratio of the clock signal by supplying a bias voltage variably adjusted based on adjustment data to the first node.

[0114] In this way, the bias voltage of the oscillation signal can be adjusted based on the adjustment data so that the clock signal has an optimal duty ratio, and the oscillation signal can be input to the waveform shaping circuit, making it possible to adjust the duty ratio with high precision.

[0115] In addition, in this embodiment, the second duty adjustment circuit may include a reference inverter circuit that outputs a signal obtained by buffering the clock signal to an output node, and a duty adjustment inverter circuit that is connected in parallel to the reference inverter circuit and outputs a signal obtained by buffering the clock signal to the output node.

[0116] In this way, the duty adjustment inverter circuit is connected in parallel to the reference inverter circuit and the clock signal is buffered, making it possible to adjust the duty of the second output clock signal by the duty adjustment inverter circuit.

[0117] In this embodiment, the size of each of the P-type transistor and N-type transistor that configure the duty adjustment inverter circuit may be half or less the size of each of the P-type transistor and N-type transistor that configure the reference inverter circuit.

[0118] In this way, the driving capability of the P-type transistor and the N-type transistor of the reference inverter circuit can be used as a reference, and the driving capability of the P-type transistor side and the driving capability of the N-type transistor side can be adjusted by the duty adjustment inverter circuit.

[0119] In this embodiment, the second duty adjustment circuit may include a duty adjustment inverter circuit that is the first duty adjustment inverter circuit, and a second duty adjustment inverter circuit that is connected in parallel to the reference inverter circuit and outputs a signal obtained by buffering the clock signal to an output node. The size of each of the P-type transistor and the N-type transistor that constitute the second duty adjustment inverter circuit may be twice the size of each of the P-type transistor and the N-type transistor that constitute the first duty adjustment inverter circuit.

[0120] In this way, it becomes possible to make an adjustment by adding the driving capacity of the P-type transistor side or the N-type transistor side of the first duty adjustment inverter circuit or the second duty adjustment inverter circuit to the driving capacity of the P-type transistor side or the N-type transistor side of the reference inverter circuit, thereby enabling duty adjustment with higher resolution.

[0121] In this embodiment, the second duty adjustment circuit may include a duty adjustment inverter circuit that is the first duty adjustment inverter circuit, and second to n-th duty adjustment inverter circuits (n is an integer of 3 or more) that are connected in parallel to the reference inverter circuit and output a signal obtained by buffering the clock signal to an output node. The first to n-th control signals may control one of the P-type transistor and the N-type transistor of each of the first to n-th duty adjustment inverter circuits to be on and the other to be off. The sizes of the P-type transistor and the N-type transistor that constitute the first to n-th duty adjustment inverter circuits may be binary weighted.

[0122] In this way, it becomes possible to make an adjustment in which the driving capabilities of the P-type transistor side and the N-type transistor side of the first to nth duty adjustment inverter circuits are weighted in a binary manner and added to the driving capabilities of the P-type transistor side and the N-type transistor side of the reference inverter circuit, thereby enabling duty adjustment with higher resolution.

[0123] In this embodiment, the duty adjustment inverter circuit may include a first P-type transistor and a second P-type transistor connected in series between a power supply node and an output node, and a first N-type transistor and a second N-type transistor connected in series between a ground node and the output node. A clock signal may be input to the gates of the first P-type transistor and the first N-type transistor, and a common first control signal may be input to the gates of the second P-type transistor and the second N-type transistor.

[0124] In this way, even if an imbalance occurs that reduces the driving capacity of the P-type transistor side or the N-type transistor side of the reference inverter circuit, the first duty adjustment inverter circuit can add driving capacity to the P-type transistor side or the N-type transistor side, thereby eliminating this imbalance and achieving highly accurate duty adjustment.

[0125] In this embodiment, the second duty adjustment circuit may include a duty adjustment inverter circuit that is the first duty adjustment inverter circuit, and a second duty adjustment inverter circuit that is connected in parallel to the reference inverter circuit and outputs a signal obtained by buffering the clock signal to an output node. The second duty adjustment inverter circuit may include a third P-type transistor and a fourth P-type transistor that are connected in series between the power supply node and the output node, and a third N-type transistor and a fourth N-type transistor that are connected in series between the ground node and the output node. A clock signal may be input to the gates of the third P-type transistor and the third N-type transistor, and a common second control signal may be input to the gates of the fourth P-type transistor and the fourth N-type transistor.

[0126] In this way, even if an imbalance occurs that reduces the driving capacity of the P-type transistor side or the N-type transistor side of the reference inverter circuit, the first duty adjustment inverter circuit and the second duty adjustment inverter circuit can add driving capacity to the P-type transistor side or the N-type transistor side, thereby eliminating this imbalance and achieving highly accurate duty adjustment.

[0127] This embodiment also relates to an oscillator including the above circuit device and a resonator.

[0128] 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]

[0129] 4...oscillator, 10...resonator, 15...package, 16...base, 17...lid, 18...external terminal, 19...external terminal, 20...circuit device, 30...oscillator circuit, 32...variable capacitance circuit, 40...wave shaping circuit, 50...first duty adjustment circuit, 52...voltage division circuit, 54...selection circuit, 60...processing circuit, 62...non-volatile memory, 70...output buffer circuit, 72...first buffer circuit, 74...second buffer circuit, 80...second duty adjustment circuit , 82...reference inverter circuit, 84...duty adjustment inverter circuit, 84-1 to 84-n...first duty adjustment inverter circuit to nth duty adjustment inverter circuit, 90...power supply circuit, 92...temperature compensation circuit, 94...temperature sensor circuit, 120...circuit device, 130...oscillation circuit, 140...wave shaping circuit, 220...circuit device, 230...oscillation circuit, 240...wave shaping circuit, 250...bias circuit, 260...constant current circuit, ADJ...adjustment data, BF1, BF2...buffer circuit, BMP...bump, CB...CF1, CF2, CG...capacitor, CK...clock signal, CKQ1, CKQ2...output clock signal, CV1...variable capacitance element, CV2...variable capacitance element, CX, CX1, CX2...capacitor, DT1~DTn...control signal, IS...current source, IVA1, IVA2, IVB1, IVB2...inverter circuit, N1...first node, N2...second node, VCMP...temperature compensation voltage, R1~Rm-1...resistor, RB...feedback resistor, RBS, RCP, RRF, RRFB, RRF C, RX...resistor, TP01, TP02, TP11, TP12, TP21, TP22, TPn1, TPn2...P-type transistor, TN01, TN02, TN11, TN12, TN21, TN22, TNn1, TNn2...N-type transistor, TCK1, TCK2...clock terminal, TGND...ground terminal, TR...bipolar transistor, TVDD...power terminal, TXI, TXO...terminal, VBS...bias voltage, VDD...power supply voltage, VR1~VRm-1...divided voltage, VREF, VREFB, VREFC...reference voltage, XI, XO...oscillation signal

Claims

1. A first node electrically connected to one end of the vibrator; and a second node electrically connected to the other end of the vibrator. and a second node connected to the oscillator, and causing the oscillator to oscillate to generate an oscillation signal. an oscillator circuit for The oscillation signal is input from the first node, and the oscillation a waveform shaping circuit that outputs a clock signal obtained by shaping a waveform of a signal; a first duty adjustment circuit for adjusting the duty of the clock signal; Based on the clock signal, a first output clock signal and a second output clock signal are output to the outside. an output buffer circuit for outputting the signal; Including, The output buffer circuit includes: a second duty adjustment circuit for adjusting the duty of the second output clock signal; fruit, The first duty adjustment circuit includes: A bias voltage variably adjusted based on adjustment data is supplied to the first node. The circuit device is characterized in that the duty ratio of the clock signal is adjusted by the above-mentioned.

2. A first node electrically connected to one end of a vibrator, and a second node electrically connected to the other end of the vibrator. and a second node connected to the oscillator, and causing the oscillator to oscillate to generate an oscillation signal. an oscillator circuit for The oscillation signal is input from the first node, and the oscillation a waveform shaping circuit that outputs a clock signal obtained by shaping a waveform of a signal; a first duty adjustment circuit for adjusting the duty of the clock signal; Based on the clock signal, a first output clock signal and a second output clock signal are output to the outside. an output buffer circuit for outputting the signal; Including, The output buffer circuit includes: a second duty adjustment circuit for adjusting the duty of the second output clock signal; fruit, The second duty adjustment circuit is A reference inverter outputs a buffered signal of the clock signal to an output node. A quartz crystal circuit and A clock signal is buffered in parallel with the reference inverter circuit. a duty adjustment inverter circuit that outputs a signal obtained by the duty adjustment to the output node; A circuit device comprising:

3. 3. The circuit device according to claim 1, The first output clock signal and the second output clock signal are clocks having a phase difference of 180 degrees. A circuit arrangement, characterized in that it is a lock signal.

4. 4. The circuit device according to claim 1, The output buffer circuit includes: The clock signal is buffered and output as the first output clock signal. A first buffer circuit; The second duty adjustment circuit is provided, and the clock signal is buffered, the second output clock whose duty ratio has been adjusted by the second duty adjustment circuit a second buffer circuit for outputting a signal; A circuit device comprising:

5. 3. The circuit device according to claim 2, The duty adjustment inverter circuit includes a P-type transistor and an N-type transistor. The size of each of the transistors is determined by the P-type transistors constituting the reference inverter circuit. a circuit device having a size equal to or smaller than half the size of each of the N-type and N-type transistors 。

6. In the circuit device according to claim 2 or 5, The second duty adjustment circuit is The duty adjustment inverter circuit is a first duty adjustment inverter circuit. A quartz crystal circuit and A clock signal is buffered in parallel with the reference inverter circuit. a second duty adjustment inverter circuit that outputs a signal obtained by the second duty adjustment inverter circuit to the output node; Including, The second duty adjustment inverter circuit includes a P-type transistor and an N-type transistor The size of each of the first duty adjustment inverter circuits is It is noted that the size is twice that of each of the P-type and N-type transistors that are formed. A circuit device that resembles a

7. In the circuit device according to claim 2 or 5, The second duty adjustment circuit is The duty adjustment inverter circuit is a first duty adjustment inverter circuit. A quartz crystal circuit and A clock signal is buffered in parallel with the reference inverter circuit. The second to n-th duty adjustment inverter circuits (n is an integer of 3 or more), Including, The first to nth duty adjustment inverter circuits are controlled by the first to nth control signals. In each of the paths, one of the P-type transistor and the N-type transistor is on and the other is off. It is controlled so that P-type transistors constituting the first to n-th duty adjustment inverter circuits and the sizes of the N-type transistors are binary weighted. circuit device.

8. 3. The circuit device according to claim 2, The duty adjustment inverter circuit includes: a first P-type transistor connected in series between a power supply node and the output node; and a second P-type transistor; a first N-type transistor connected in series between a ground node and the output node; and a second N-type transistor; Including, The gates of the first P-type transistor and the first N-type transistor are provided with A clock signal is input, The gates of the second P-type transistor and the second N-type transistor are connected to a common A circuit device comprising:

9. 9. The circuit device according to claim 8, The second duty adjustment circuit includes: The duty adjustment inverter circuit is a first duty adjustment inverter circuit. A quartz crystal circuit and A clock signal is buffered in parallel with the reference inverter circuit. a second duty adjustment inverter circuit that outputs a signal obtained by the second duty adjustment inverter circuit to the output node; Including, The second duty adjustment inverter circuit includes: a third P-type transistor connected in series between the power supply node and the output node; and a fourth P-type transistor; a third N-type transistor connected in series between the ground node and the output node; a star and a fourth N-type transistor; Including, The gates of the third P-type transistor and the third N-type transistor are provided with the A clock signal is input, The gates of the fourth P-type transistor and the fourth N-type transistor are connected to a common A circuit device comprising:

10. A circuit arrangement according to any one of claims 1 to 9; The oscillator; 13. An oscillator comprising:

Citation Information

Patent Citations

  • Oscillator and electronic device using the same

    JP2003338710A

  • CMOS inverter

    JP2013021388A

  • Clock generation circuit

    JP2013258659A

  • Oscillation circuit

    JP2015073246A

  • Semiconductor device

    JP2018067830A