Circuit device, oscillator, and method for manufacturing oscillator
The circuit device adjusts clock signal duty without feedback, improving noise characteristics and achieving precise 50% duty ratio through a novel duty adjustment mechanism, addressing noise issues in existing clock duty compensation circuits.
Patent Information
- Application Number
- JP2023027991
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The clock duty compensation circuit in existing technologies causes noise to wrap around and deteriorate the noise characteristics of the clock signal due to operational amplifier feedback.
A circuit device with a clock signal generation circuit, output circuit, and duty adjustment mechanism that adjusts the duty of the clock signal without feedback, using a storage circuit to store a duty adjustment value and output DC voltages based on the clock signal and its inverse to minimize noise and improve accuracy.
The solution improves noise characteristics and achieves precise duty ratio adjustment of 50% by minimizing measurement errors and noise, enhancing the accuracy of the output clock signal.
Smart Images

Figure 2024121092000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a circuit device, an oscillator, and a method for manufacturing an oscillator. [Background technology]
[0002] Patent Document 1 discloses a clock duty compensation circuit having a low-pass filter, a first inverter, a second inverter, a first resistor, a second resistor, a capacitor, an operational amplifier, and a third resistor. The low-pass filter smoothes the input clock signal, the first inverter inverts the signal, the first resistor and the capacitor integrate the signal, and the first DC level is supplied to the non-inverting input of the operational amplifier. The second inverter inverts the output signal of the first inverter, the second resistor and the capacitor integrate the signal, and the second DC level is supplied to the inverting input of the operational amplifier. The operational amplifier performs bias correction by adding the difference between the first DC level and the second DC level to the output signal of the low-pass filter via the third resistor. The bias-corrected output signal of the low-pass filter is supplied to the first inverter. The clock duty is compensated by bias correction so that the difference value becomes zero. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 05-252007 Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, the clock duty compensation circuit operates constantly, and the operational amplifier performs feedback to the input node of the first inverter, which causes noise to sneak in and deteriorates the noise characteristics of the clock signal. [Means for solving the problem]
[0005] One aspect of the present disclosure relates to a circuit device including a clock signal generation circuit that generates a clock signal, an output circuit that outputs an output clock signal based on the clock signal, a clock terminal that outputs the output clock signal, a test terminal, a memory circuit that stores a duty adjustment value, and a duty adjustment circuit that adjusts the duty of the clock signal based on the duty adjustment value, wherein the output circuit outputs a first DC voltage based on a normal signal of the clock signal to the test terminal in a first state, and outputs a second DC voltage based on an inverted signal of the clock signal to the test terminal in a second state.
[0006] Another aspect of the present disclosure relates to an oscillator including the above circuit device and an oscillator for generating the clock signal.
[0007] Yet another aspect of the present disclosure relates to a method for manufacturing an oscillator including a circuit device, the circuit device including a clock signal generation circuit that generates a clock signal, an output circuit that outputs an output clock signal based on the clock signal, a clock terminal that outputs the output clock signal, a test terminal, a memory circuit that stores a duty adjustment value, and a duty adjustment circuit that adjusts the duty of the clock signal based on the duty adjustment value, the method including setting the circuit device to a first state in which the output circuit outputs a first DC voltage based on a normal signal of the clock signal to the test terminal and measuring the first DC voltage, setting the circuit device to a second state in which the output circuit outputs a second DC voltage based on an inverted signal of the clock signal to the test terminal and measuring the second DC voltage, setting the duty adjustment value based on a difference value between the first DC voltage and the second DC voltage, and writing the set duty adjustment value to the memory circuit. [Brief description of the drawings]
[0008] [Figure 1] 1 shows a first configuration example of a circuit device. [Diagram 2]6A shows a second configuration example of a circuit device and a connection configuration example during testing. [Diagram 3] 13 is an example of a flowchart for duty adjustment. [Figure 4] FIG. 4 is a diagram for explaining a duty adjustment technique. [Diagram 5] FIG. 4 is a diagram for explaining a duty adjustment technique. [Figure 6] 11A and 11B are diagrams for explaining a duty error when a duty adjustment is performed using a smoothed DC voltage of a clock signal itself. [Figure 7] 5A and 5B are diagrams for explaining a duty error in the present embodiment. [Figure 8] 3 shows a detailed configuration example of an oscillator circuit, a waveform shaping circuit, and a duty adjustment circuit. [Figure 9] 13 shows a first detailed configuration example of an output circuit. [Figure 10] FIG. 4 is an explanatory diagram of the operation of a first detailed configuration example of an output circuit. [Figure 11] 4 shows a second detailed configuration example of an output circuit. [Figure 12] FIG. 11 is an explanatory diagram of the operation of a second detailed configuration example of the output circuit. [Figure 13] 3 shows a third detailed configuration example of an output circuit. [Figure 14] FIG. 11 is an explanatory diagram of the operation of a third detailed configuration example of an output circuit. [Figure 15] 1 is a diagram showing the relationship between the duty and harmonic distortion of a clock signal with a dull waveform. [Figure 16] 5 is a diagram showing the relationship between the duty and harmonic distortion of a clock signal in the present embodiment. [Figure 17] 1 shows an example of the configuration of an oscillator including the circuit device of the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] A preferred embodiment of the present disclosure will be described in detail below. Note that the embodiment described below does not unduly limit the contents described in the claims, and all of the configurations described in the embodiment are not necessarily essential configurations.
[0010] 1.Circuit device 1 shows a first configuration example of a circuit device. The circuit device 100 includes a clock signal generating circuit 110, an output circuit 140, a duty adjustment circuit 150, a memory circuit 160, a clock terminal TCK, a test terminal TVT, and a resistor RA. The circuit device 100 is, for example, an integrated circuit device in which a plurality of circuit elements are integrated on a semiconductor substrate.
[0011] The clock signal generating circuit 110 generates a clock signal CK, which is a periodic rectangular pulse signal. The clock signal generating circuit 110 includes an oscillation circuit 120 and a waveform shaping circuit 130. However, the clock signal generating circuit 110 may not include the oscillation circuit 120, and an oscillation signal OSC may be input from outside the circuit device 100.
[0012] The oscillator circuit 120 generates an oscillation signal OSC. The oscillation signal OSC is a sine wave signal, but is not limited thereto, and may be a distorted sine wave signal, or a sine wave signal with the top and bottom clipped. Various configurations of the oscillator circuit 120 are assumed. For example, an oscillator may be provided outside the circuit device 100, and the oscillator circuit 120 may drive the oscillator to generate the oscillation signal OSC. Alternatively, the oscillator circuit 120 may include a resonant circuit formed by an inductor and a capacitor, and a drive circuit that drives the resonant circuit to generate the oscillation signal OSC. In this case, a part or the whole of the resonant circuit may be provided outside the circuit device 100.
[0013] The waveform shaping circuit 130 outputs a clock signal CK by shaping the waveform of the oscillation signal OSC. That is, the waveform shaping circuit 130 shapes the oscillation signal OSC, which is a sine wave signal or the like, into the clock signal CK, which is a rectangular pulse signal. The waveform shaping circuit 130 is, for example, one or more stages of inverters connected in series. Note that in this embodiment, the connection between the circuit elements is an electrical connection. An electrical connection is a connection that allows an electrical signal to be transmitted, and is a connection that allows information to be transmitted by an electrical signal. The electrical connection may be a connection via a passive element, an active element, or the like.
[0014] The memory circuit 160 stores the duty adjustment value AJ. The memory circuit 160 is a non-volatile memory, a volatile memory, a register, or the like. The non-volatile memory is, for example, an OTP memory or an EEPROM. The volatile memory is, for example, an SRAM or a DRAM.
[0015] The duty adjustment circuit 150 adjusts the duty of the clock signal CK based on the duty adjustment value AJ. The duty is the ratio of the high level period to one cycle of the clock signal. The duty adjustment value AJ is data for controlling the voltage value of the bias voltage VBS. The duty adjustment circuit 150 sets the bias voltage of the oscillation signal OSC by setting the bias voltage VBS to the input node of the waveform shaping circuit 130 via a resistor RA. The oscillation circuit 120 outputs the AC component of the oscillation signal by AC coupling such as a capacitor. A signal in which the bias voltage VBS is set for the AC component is input to the waveform shaping circuit 130 as the oscillation signal OSC. When the bias voltage VBS changes, the duty of the clock signal CK changes, so the duty of the clock signal CK is set by the duty adjustment value AJ.
[0016] The output circuit 140 buffers the clock signal CK and outputs the buffered signal as an output clock signal CKQ to the clock terminal TCK. Various external circuits using the output clock signal CKQ may be connected to the clock terminal TCK. The circuit device 100 is set to a test mode during testing such as an inspection process. At this time, the output circuit 140 outputs a DC voltage VTEST based on the clock signal CK to the test terminal TVT. The output circuit 140 has a first state in which a first DC voltage based on a normal signal of the clock signal CK is output as the DC voltage VTEST, and a second state in which a second DC voltage based on an inverted signal of the clock signal CK is output as the DC voltage VTEST. The first DC voltage is a signal obtained by smoothing the normal signal of the clock signal CK, and the second DC voltage is a signal obtained by smoothing the inverted signal of the clock signal CK. The smoothing circuit may be included in the output circuit 140, or a part of it may be provided outside the circuit device 100.
[0017] An external device such as an inspection device determines the duty adjustment value AJ so that the difference between the first DC voltage and the second DC voltage is minimized, thereby determining the duty adjustment value AJ that provides an output clock signal CKQ with a duty of 50%. The circuit device 100 is set to a normal operation mode during normal operation, such as when the circuit device 100 is incorporated into a product for use. At this time, the duty adjustment circuit 150 uses the duty adjustment value AJ determined by the test. As a result, an output clock signal CKQ with a duty of 50% is output.
[0018] 2 shows a second configuration example of the circuit device and a connection configuration example during testing. Hereinafter, components similar to those in FIG. 1 are given the same reference numerals as in FIG. 1, and descriptions of those components will be omitted as appropriate. The circuit device 100 includes an interface circuit 170. The memory circuit 160 includes a register 161 and a non-volatile memory 162.
[0019] The inspection device 300 is connected to the test terminal TVT in a test process of the circuit device 100 or an oscillator including the circuit device 100. The interface circuit 170 communicates between the inspection device 300 and the circuit device 100. During duty adjustment, the interface circuit 170 receives a state setting signal CTL for switching between a first state and a second state, and a duty adjustment value AJ from the inspection device 300, and writes the state setting signal CTL and the duty adjustment value AJ to the register 161. After the final duty adjustment value AJ is determined, the interface circuit 170 receives the determined duty adjustment value AJ from the inspection device 300, and writes the duty adjustment value AJ to the non-volatile memory 162. The interface circuit 170 may be any of various digital communication interface circuits, and an example is a serial communication interface circuit such as an SPI or I2C system.
[0020] The duty adjustment circuit 150 uses a duty adjustment value AJ stored in a register 161. During duty adjustment, the duty adjustment value AJ written to the register 161 by the inspection device 300 is used. During normal operation, the duty adjustment value AJ is loaded from the non-volatile memory 162 to the register 161 during initialization of the circuit device 100, and the duty adjustment value AJ is used.
[0021] 3 is an example of a flowchart of duty adjustment. In step S1, the inspection device 300 writes the duty adjustment value AJ into the register 161. In the first step S1, an initial value of the duty adjustment value AJ is written.
[0022] In step S2, the testing device 300 writes the state setting signal CTL to the register 161 so that the output clock signal CKQ becomes a normal signal of the clock signal CK. The output circuit 140 is set to the first state and outputs a first DC voltage based on the normal signal of the clock signal CK to the test terminal TVT. The first DC voltage is set to VDC1.
[0023] In step S3, the testing device 300 measures the voltage value of the first DC voltage VDC1 output from the test terminal TVT.
[0024] In step S4, the testing device 300 writes the state setting signal CTL to the register 161 so that the output clock signal CKQ becomes the inverted signal of the clock signal CK. The output circuit 140 is set to the second state and outputs a second DC voltage based on the inverted signal of the clock signal CK to the test terminal TVT. The second DC voltage is set to VDC2.
[0025] In step S5, the testing device 300 measures the voltage value of the second DC voltage VDC2 output from the test terminal TVT.
[0026] The inspection device 300 determines whether the absolute value of the difference between the first DC voltage VDC1 and the second DC voltage VDC2 is zero. If the absolute value of the difference is not zero, the inspection device 300 returns to step S1 and writes a duty adjustment value different from the previous duty adjustment value to the register 161. If the absolute value of the difference is zero, the inspection device 300 writes the current duty adjustment value to the non-volatile memory 162 in step S7. As a result, the duty adjustment value when the absolute value of the difference between the first DC voltage VDC1 and the second DC voltage VDC2 is zero is written to the non-volatile memory 162, and the duty adjustment value is used in the normal operation of the circuit device 100.
[0027] The method of duty adjustment will be described with reference to Figures 4 and 5. Figure 4 shows an example of a signal waveform of the circuit device 100.
[0028] As shown in the upper and middle parts of Fig. 4, the waveform shaping circuit 130 shapes the oscillation signal OSC, which is a sine wave signal, into the clock signal CK, which is a square wave signal. The clock signal CK is at a high level while the oscillation signal OSC exceeds a predetermined voltage. Therefore, when the bias voltage VBS of the oscillation signal OSC changes, the duty of the clock signal CK changes.
[0029] 4, in the first state, the output circuit 140 outputs a first DC voltage VDC1 obtained by smoothing a normal signal PCK of the clock signal CK. For example, the first state is a state in which an output clock signal CKQ of normal logic is output with respect to the clock signal CK, and the output circuit 140 outputs the first DC voltage VDC1 using the output clock signal CKQ as the normal signal PCK. However, the method of generating the first DC voltage is not limited to the above, and the normal signal PCK may be any clock signal of normal logic with respect to the clock signal CK.
[0030] In the second state, the output circuit 140 outputs a second DC voltage VDC2 obtained by smoothing an inversion signal NCK of the clock signal CK. For example, the second state is a state in which an output clock signal CKQ having an inverted logic with respect to the clock signal CK is output, and the output circuit 140 outputs the second DC voltage VDC2 using the output clock signal CKQ as the inverted signal NCK. However, the method of generating the second DC voltage is not limited to the above, and the inverted signal NCK may be any clock signal having an inverted logic with respect to the clock signal CK.
[0031] FIG. 5 is a diagram illustrating the relationship between the duty adjustment value and the duty of the output clock signal.
[0032] As shown in the upper part of FIG. 5, the inspection device 300 determines the duty adjustment value that satisfies ΔVDC=|VDC1−VDC2|=0 as the final duty adjustment value FAJ, and writes it into the non-volatile memory 162 of the circuit device 100.
[0033] The lower part of FIG. 5 shows the relationship between the duty adjustment value and the duty of the output clock signal CKQ. When the duty adjustment value changes, the bias voltage VBS of the oscillation signal OSC changes, so the duty of the clock signal CK, i.e., the duty of the output clock signal CKQ, changes. When the duty of the normal signal PCK of the clock signal CK in FIG. 4 and the duty of the inverted signal NCK of the clock signal CK are equal, that is, when both of these duties are 50%, VDC1=VDC2. As a result, the inspection device 300 determines the duty adjustment value FAJ so that ΔVDC=|VDC1-VDC2|=0, and can determine the duty adjustment value FAJ that makes the duty of the output clock signal CKQ 50%. As described below, by adjusting the duty using the difference value ΔVDC, the duty can be adjusted with higher accuracy than when the duty is adjusted using the DC voltage itself.
[0034] FIG. 6 is a diagram for explaining a duty error when the duty is adjusted using the smoothed DC voltage of the clock signal itself.
[0035] The inspection equipment measures the DC voltage value and compares the measured value with the expected value to determine the duty adjustment value that results in a duty of 50%. At this time, there is a measurement error ERRb of the DC voltage, so an error Δb occurs with respect to the ideal duty of 50%. For example, when the inspection equipment A / D converts the DC voltage and compares the A / D output data with the expected value data, an error Δb in the duty occurs due to the A / D conversion error. The expected value is also assumed to be a voltage that is 1 / 2 the clock amplitude. At this time, if the clock amplitude is not ideal due to an error in the power supply voltage, etc., the DC voltage at a duty of 50% will not match the expected value, which will result in an error Δb in the duty.
[0036] FIG. 7 is a diagram for explaining the duty error in this embodiment. According to this embodiment, the inspection device determines a duty adjustment value that makes the difference between the first DC voltage and the second DC voltage zero, thereby determining a duty adjustment value that makes the duty 50%. By using the difference value, it is possible to cancel the measurement error that occurs for each of the first DC voltage and the second DC voltage. For example, the above-mentioned A / D conversion error or expected value error is canceled by the difference. This reduces the error ΔERRa of the difference value between the first DC voltage and the second DC voltage, and it is possible to reduce the error Δa with respect to the ideal duty of 50%. The error Δa is smaller than the error Δb in FIG. 6.
[0037] According to this embodiment, the circuit device 100 includes a clock signal generation circuit 110 that generates a clock signal CK, an output circuit 140 that outputs an output clock signal CKQ based on the clock signal CK, and a clock terminal TCK that outputs the output clock signal CKQ. The circuit device 100 also includes a test terminal TVT, a storage circuit 160 that stores a duty adjustment value AJ, and a duty adjustment circuit 150 that adjusts the duty of the clock signal CK based on the duty adjustment value AJ. In the first state, the output circuit 140 outputs a first DC voltage VDC1 based on a normal signal of the clock signal CK to the test terminal TVT. In the second state, the output circuit 140 outputs a second DC voltage VDC2 based on an inverted signal of the clock signal CK to the test terminal TVT.
[0038] In this way, the circuit device 100 can output from the test terminal TVT a first DC voltage VDC1 based on the normal signal of the clock signal CK, and a second DC voltage VDC2 based on the inverted signal of the clock signal CK. This allows an external device such as the inspection device 300 to determine a duty adjustment value AJ that sets the duty ratio of the output clock signal CKQ to 50% using the difference between the first DC voltage VDC1 and the second DC voltage VDC2 output from the test terminal TVT. As the duty increases, the first DC voltage VDC1 rises and the second DC voltage VDC2 falls, so the external device can set the duty ratio of the output clock signal CKQ to 50% by determining the duty adjustment value AJ so that the difference value is minimized.
[0039] In the above-mentioned Patent Document 1, the duty is adjusted by feedback, so there is a risk that noise in the feedback may deteriorate the noise characteristics of the clock signal. According to this embodiment, the duty of the output clock signal CKQ is adjusted without using feedback, so that the noise characteristics can be improved.
[0040] Furthermore, by using the difference value between the first DC voltage VDC1 and the second DC voltage VDC2, the measurement errors of the first DC voltage VDC1 and the second DC voltage VDC2 are canceled. Therefore, the measurement error is smaller when the difference value is used than when the DC voltages themselves are used, and the duty ratio can be set to 50% with high accuracy.
[0041] Moreover, the circuit device 100 of this embodiment includes a register 161 and an interface circuit 170. The register 161 stores a state setting signal CTL that switches between a first state and a second state. The interface circuit 170 receives the state setting signal CTL from an external device and writes the received state setting signal CTL to the register 161.
[0042] In this manner, the state setting signal CTL can be written to the register 161 from an external device such as the inspection device 300 via the interface circuit 170. This allows the external device such as the inspection device 300 to set the output circuit 140 to the first state to obtain the first DC voltage VDC1, set the output circuit 140 to the second state to obtain the second DC voltage VDC2, and determine the duty adjustment value from the difference between them.
[0043] This embodiment may be implemented as a manufacturing method of an oscillator including the circuit device 100. The manufacturing method includes setting the circuit device 100 to a first state in which the output circuit 140 outputs a first DC voltage VDC1 based on a normal signal of the clock signal CK to the test terminal TVT, and measuring the first DC voltage VDC1. The manufacturing method includes setting the circuit device 100 to a second state in which the output circuit 140 outputs a second DC voltage VDC2 based on an inverted signal of the clock signal CK to the test terminal TVT, and measuring the second DC voltage VDC2. The manufacturing method includes setting a duty adjustment value AJ based on a difference value between the first DC voltage VDC1 and the second DC voltage VDC2, and writing the set duty adjustment value AJ to the storage circuit 160.
[0044] 2. Detailed configuration example 8 shows a detailed configuration example of the oscillator circuit, the waveform shaping circuit, and the duty adjustment circuit. Here, an example will be described in which the oscillator circuit 120 is a Pierce type oscillator circuit using a resonator. However, the oscillator circuit 120 is not limited to the configuration shown in FIG. 8, and may be, for example, a Colpitts type or a Hartley type oscillator circuit.
[0045] The oscillator circuit 120 includes a current source circuit IS, a bipolar transistor TR, a resistor RX, and capacitors CX, C1, and C2.
[0046] The terminals TX1 and TX2 are terminals of the circuit device 100, and are, for example, pads of an integrated circuit device. One end of the vibrator 10 is connected to the terminal TX1, and the other end is connected to the terminal TX2. 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 vibrating piece. For example, the vibrator 10 is a quartz vibrating piece that vibrates in a thickness-shear manner, such as an AT-cut or SC-cut cut angle. Alternatively, the vibrator 10 may be a tuning-fork type quartz vibrating piece. Alternatively, the vibrator 10 may be a vibrating piece other than a thickness-shear type or tuning-fork type, or various other vibrating pieces such as a piezoelectric vibrating piece formed of a material other than quartz. For example, the vibrator 10 may be a SAW resonator, or a MEMS vibrator as a silicon vibrator formed using a silicon substrate. SAW stands for Surface Acoustic Wave, and MEMS stands for Micro Electro Mechanical Systems.
[0047] A node connected to the terminal TX1 is a first node N1, and a node connected to the terminal TX2 is a second node N2. A current source circuit IS is provided between a node of a power supply voltage VREG and the second node N2, and outputs a current for driving the oscillation circuit 120 to the second node N2. A collector of a bipolar transistor TR is connected to the second node N2, and an emitter is connected to a node of a ground voltage GND. One end of a resistor RX is connected to the second node N2, and the other end is connected to a base of the bipolar transistor TR. One end of a capacitor CX is connected to the first node N1, and the other end is connected to a node of a ground voltage GND. One end of a capacitor C1 is connected to the first node N1, and the other end is connected to a node of a ground voltage GND. One end of a capacitor C2 is connected to the second node N2, and the other end is connected to a node of a ground voltage GND.
[0048] The duty adjustment circuit 150 generates a plurality of voltages by dividing the voltage between the power supply voltage VREG and the ground voltage GND, and outputs a voltage selected from the plurality of voltages according to a duty adjustment value AJ as a bias voltage VBS. The duty adjustment circuit 150 includes, for example, a ladder resistor circuit and a selector. The ladder resistor circuit generates a plurality of voltages by dividing the voltage between the power supply voltage VREG and the ground voltage GND. The selector selects a voltage indicated by the duty adjustment value AJ from the plurality of voltages from the ladder resistor circuit, and outputs the selected voltage as the bias voltage VBS.
[0049] One end of the resistor RB is connected to the output node of the duty adjustment circuit 150, and the other end is connected to a first node N1 of the oscillation circuit 120. The first node N1 is a node in the oscillation loop of the oscillation circuit 120 where DC is cut by the capacitor CX and the vibrator 10. The duty adjustment circuit 150 sets a bias voltage VBS at the first node N1 via the resistor RB. In this manner, the bias voltage VBS of the oscillation signal OSC is set by the duty adjustment value AJ.
[0050] The waveform shaping circuit 130 includes an inverter IVA1 and an inverter IVA2. Each inverter is configured by a P-type MOS transistor and an N-type MOS transistor connected in series between a node of a power supply voltage VREG and a node of a ground voltage GND. An oscillation signal OSC is input to the inverter IVA1, and an output signal of the inverter IVA1 is input to the inverter IVA2, which outputs a clock signal CK. The oscillation signal OSC is shaped into a clock signal CK by the gains of the inverters IVA1 and IVA2. Note that, although an example in which the waveform shaping circuit 130 is configured by two inverter stages has been described here, the present invention is not limited thereto, and the waveform shaping circuit 130 may be configured by one inverter stage or three or more inverter stages, for example.
[0051] According to this embodiment, the clock signal generation circuit 110 includes an oscillation circuit 120 that generates an oscillation signal OSC, and a waveform shaping circuit 130 that outputs a clock signal CK by shaping the waveform of the oscillation signal OSC. The duty adjustment circuit 150 sets a bias voltage VBS of the oscillation signal OSC input to the waveform shaping circuit 130 based on a duty adjustment value AJ.
[0052] In this way, the bias voltage VBS of the oscillation signal OSC input to the waveform shaping circuit 130 is set by the duty adjustment value AJ. The duty of the clock signal CK output by the waveform shaping circuit 130 changes depending on the bias voltage VBS of the oscillation signal OSC, and the clock signal CK is buffered by the output circuit 140 and output as the output clock signal CKQ. In this way, the duty of the output clock signal CKQ can be adjusted by the duty adjustment value AJ.
[0053] 9 shows a first detailed configuration example of the output circuit 140. The output circuit 140 includes a switching circuit 141, a buffer circuit 142, a resistor RT, and a switch SWT.
[0054] During testing, a capacitor CL is connected between the clock terminal TCK and a node of the ground voltage GND, and a testing device 300 is connected to a test terminal TVT.
[0055] The switching circuit 141 outputs a non-inverted clock signal, which is a non-inverted signal of the clock signal CK, in the first state, and outputs an inverted clock signal, which is an inverted signal of the clock signal CK, in the second state. The switching circuit 141 includes a NAND circuit NAA, a transfer gate TGA, a clocked inverter CKINA, and inverters INA1 and INA2.
[0056] The NAND circuit NAA outputs a signal that is the NAND of the clock signal CK and the enable signal EN. The enable signal EN is a signal that controls whether the output of the output clock signal CKQ is enabled or disabled, and is input from the register 161 to the output circuit 140. For example, an external processing device writes the enable signal EN to the register 161 via the interface circuit 170.
[0057] The inverter INA2 outputs an inverted signal XCTL of the state setting signal CTL, where a low level of the state setting signal CTL indicates a first state, and a high level of the state setting signal CTL indicates a second state.
[0058] The transfer gate TGA and the clocked inverter CKINA are provided in parallel in the signal path of the switching circuit. Specifically, the transfer gate TGA and the clocked inverter CKINA are connected in parallel between the output node of the NAND circuit NAA and the input node of the inverter INA1.
[0059] The transfer gate TGA is a circuit in which a P-type MOS transistor and an N-type MOS transistor are connected in parallel. A state setting signal CTL is input to the gate of the P-type MOS transistor, and an inverted signal XCTL of the state setting signal CTL is input to the gate of the N-type MOS transistor.
[0060] The clocked inverter CKINA is a circuit that is switched by a control signal between an output state in which an inverted signal of an input signal is output and a non-output state in which the output node is in high impedance. The clocked inverter CKINA receives an inverted signal XCTL of the state setting signal CTL at a first control node and receives the state setting signal CTL at a second control node. The clocked inverter CKINA is in an output state when a low level is input to the first control node and a high level is input to the second control node, and is in a non-output state when a high level is input to the first control node and a low level is input to the second control node.
[0061] The inverter INA1 outputs an inverted signal of the signal from the transfer gate TGA or the clocked inverter CKINA.
[0062] The buffer circuit 142 buffers the output signal of the switching circuit 141 and outputs the result to a clock terminal TCK. The buffer circuit 142 includes inverters INA3 and INA4.
[0063] The inverter INA3 buffers the output signal of the switching circuit 141. The inverter INA4 buffers the output signal of the inverter INA3, and outputs an output clock signal CKQ, which is a non-inverted signal of the output signal of the switching circuit 141, to the clock terminal TCK.
[0064] The resistor RT and the switch SWT are connected in series between the output node of the buffer circuit 142 and the test terminal TVT. Specifically, one end of the resistor RT is connected to the output node of the inverter INA4, and the other end is connected to one end of the switch SWT. The other end of the switch SWT is connected to the test terminal TVT.
[0065] When the switch SWT is on, a resistor RT is provided in series with the path from the output node of the buffer circuit 142 to the testing equipment 300. A capacitor CT is also provided on the input side of the testing equipment 300, and functions as a low-pass filter on the path from the output node of the buffer circuit 142 to the testing equipment 300. This low-pass filter smoothes the output clock signal CKQ, thereby outputting a DC voltage VTEST from the test terminal TVT to the testing equipment 300.
[0066] Fig. 10 is an explanatory diagram of the operation of a first detailed configuration example of the output circuit. Fig. 10 illustrates the operation when the enable signal EN is at a high level, i.e., when the output is enabled. When the enable signal EN is at a low level, the output of the NAND circuit NAA is fixed at a high level, and at this time, by keeping the state setting signal CTL at a low level, the output clock signal CKQ is fixed at a low level.
[0067] In the following, "0" means low level and "1" means high level. Furthermore, "on" of a clocked inverter means an output state and "off" means a non-output state.
[0068] In the first state during testing, CTL = 0 and XCTL = 1. At this time, the transfer gate TGA is on and the clocked inverter CKINA is off, so the output clock signal CKQ is the non-inverted signal of the clock signal CK. During testing, the switch SWT is on, and the DC voltage VTEST output from the test terminal TVT is the first DC voltage VDC1.
[0069] In the second state during testing, CTL = 1 and XCTL = 0. At this time, the transfer gate TGA is off and the clocked inverter CKINA is on, so the output clock signal CKQ is an inverted signal of the clock signal CK. During testing, the switch SWT is on, and the DC voltage VTEST output from the test terminal TVT is the second DC voltage VDC2.
[0070] During normal operation, when the clock is output, CTL=0 and XCTL=1. At this time, the output clock signal CKQ, which is a non-inverted signal of the clock signal CK, is output from the clock terminal TCK. The switch SWT is off. During normal operation, the capacitor CL does not need to be connected to the clock terminal TCK, and a circuit that uses the output clock signal CKQ is connected. Also, during normal operation, the inspection device 300 does not need to be connected to the test terminal TVT.
[0071] According to this embodiment, the output circuit 140 includes a switching circuit 141, a buffer circuit 142, a resistor RT, and a switch SWT. The switching circuit 141 outputs a non-inverted signal of the clock signal CK in a first state, and outputs an inverted signal of the clock signal CK in a second state. The buffer circuit 142 buffers the output signal of the switching circuit 141 and outputs it to a clock terminal TCK. The resistor RT and the switch SWT are provided in series between the output node of the buffer circuit 142 and a test terminal TVT. A capacitor CT may be provided between the input side of the testing device and GND.
[0072] In this way, in the first state, the switching circuit 141 outputs a normal signal of the clock signal CK, and the buffer circuit 142 buffers the normal signal. The resistor RT is provided between the output node of the buffer circuit 142 and the test terminal TVT, so that the normal signal can be smoothed. For example, the resistor RT is provided between the output node of the buffer circuit 142 and the test terminal TVT, and the capacitor CT is provided between the input side of the test device and GND, so that a low-pass filter is configured for the path to the test device, and the normal signal can be smoothed. In this way, the first DC voltage VDC1 is output from the test terminal TVT in the first state. In the second state, the switching circuit 141 outputs an inverted signal of the clock signal CK, and the buffer circuit 142 buffers the inverted signal. As a result, the second DC voltage VDC2 is output from the test terminal TVT in the second state.
[0073] In this embodiment, the switching circuit 141 includes a transfer gate TGA and a clocked inverter CKINA that are provided in parallel in a signal path. In the first state, the transfer gate TGA is on, and in the second state, the clocked inverter CKINA is in an output state.
[0074] In this way, in the first state, the transfer gate TGA is on, and the switching circuit 141 can output the non-inverted signal of the clock signal CK. In the second state, the clocked inverter CKINA is in the output state, and the switching circuit 141 can output the inverted signal of the clock signal CK. Note that the signal path of the switching circuit 141 is the path along which the clock signal CK is processed and transmitted in the switching circuit 141.
[0075] Fig. 11 shows a second detailed configuration example of the output circuit. The output circuit 140 includes a switching circuit 141, a buffer circuit 142, a resistor RT, and a switch SWT. Hereinafter, components similar to those in Fig. 9 are given the same reference numerals as those in Fig. 9, and descriptions of those components will be omitted as appropriate.
[0076] The switching circuit 141 includes a NAND circuit NAB, a first clocked inverter CKINB1, a second clocked inverter CKINB2, inverters INB1 and INB2, a NOR circuit NRB, and a logical AND circuit ANB.
[0077] The inverter INB2 outputs an inverted signal XEN of the enable signal EN. The NOR circuit NRB outputs a NOR signal ENCT of the inverted signal XEN of the enable signal EN and the status setting signal CTL. The AND circuit ANB outputs a logical AND signal INV of the enable signal EN and the status setting signal CTL. The inverter INB1 outputs an inverted signal XINV of the signal INV.
[0078] The NAND circuit NAB and the first clocked inverter CKINB1 are provided in series, in this order, between the input node and output node of the switching circuit 141. This will be referred to as a non-inverting circuit. The NAND circuit NAB outputs a signal that is the NAND of the clock signal CK and the signal ENCT to the input node of the first clocked inverter CKINB1. The output node of the first clocked inverter CKINB1 is connected to the output node of the switching circuit 141. The signal INV is input to a first control node of the first clocked inverter CKINB1, and an inverted signal XINV of the signal INV is input to a second control node.
[0079] The second clocked inverter CKINB2 is provided in parallel with the non-inverting circuit. The clock signal CK is input to an input node of the second clocked inverter CKINB2. The output node of the second clocked inverter CKINB2 is connected to an output node of the switching circuit 141. The inverted signal XINV of the signal INV is input to a first control node of the second clocked inverter CKINB2, and the signal INV is input to a second control node.
[0080] Fig. 12 is an explanatory diagram of the operation of a second detailed configuration example of the output circuit. Fig. 12 illustrates the operation when the enable signal EN is at a high level, i.e., when the output is enabled. When the enable signal EN is at a low level, the output of the NAND circuit NAB is fixed at a high level. Also, the output of the signal INV is at a low level, and the second clocked inverter CKINB2 is in a non-output state. As a result, the output clock signal CKQ is fixed at a low level.
[0081] In the first state during testing, CTL=0, ENCT=1, INV=0, and XINV=1. At this time, the NAND circuit NAB outputs an inverted signal of the clock signal CK, the first clocked inverter CKINB1 is in an output state, and the second clocked inverter CKINB2 is in a non-output state. As a result, the output clock signal CKQ becomes the non-inverted signal of the clock signal CK. During testing, the switch SWT is on, and the DC voltage VTEST output from the test terminal TVT is the first DC voltage VDC1.
[0082] In the second state during testing, CTL=1, ENCT=0, INV=1, and XINV=0. At this time, the first clocked inverter CKINB1 is in a non-output state, and the second clocked inverter CKINB2 is in an output state. As a result, the output clock signal CKQ becomes an inverted signal of the clock signal CK. During testing, the switch SWT is on, and the DC voltage VTEST output from the test terminal TVT is the second DC voltage VDC2.
[0083] According to this embodiment, the switching circuit 141 includes a non-inverting circuit and a second clocked inverter CKINB2. The non-inverting circuit has a first clocked inverter CKINB1 and is provided between the input node and the output node of the switching circuit 141, and outputs a non-inverted signal of the clock signal CK when the first clocked inverter CKINB1 is in an output state. The second clocked inverter CKINB2 is provided in parallel with the non-inverting circuit. In the first state, the first clocked inverter CKINB1 is in an output state, and in the second state, the second clocked inverter CKINB2 is in an output state.
[0084] In this way, in the first state, the first clocked inverter CKINB1 is in the output state, so that the non-inverting circuit outputs the non-inverted signal of the clock signal CK, and therefore the switching circuit 141 can output the non-inverted signal of the clock signal CK. In the second state, the second clocked inverter CKINB2 is in the output state, so that the switching circuit 141 can output the inverted signal of the clock signal CK.
[0085] Fig. 13 shows a third detailed configuration example of the output circuit. The output circuit 140 includes an output buffer circuit 143 and a DC voltage generating circuit 144. Hereinafter, components similar to those in Fig. 9 are given the same reference numerals as in Fig. 9, and descriptions of those components will be omitted as appropriate.
[0086] The buffer circuit 142 buffers the clock signal CK and outputs an output clock signal CKQ to a clock terminal TCK. The output buffer circuit 143 includes a NAND circuit NAC and inverters INC1 to INC3.
[0087] The NAND circuit NAC outputs a signal resulting from the NAND of the clock signal CK and the enable signal EN. The inverter INC1 buffers the output signal of the NAND circuit NAC. The inverter INC2 buffers the output signal of the inverter INC1. The inverter INC3 buffers the output signal of the inverter INC2, thereby outputting an output clock signal CKQ, which is a non-inverted version of the clock signal CK.
[0088] The DC voltage generating circuit 144 generates a first DC voltage VDC1 and a second DC voltage VDC2 from a clock signal CK. The DC voltage generating circuit 144 includes a first operational amplifier OP1, a second operational amplifier OP2, a first resistor RC1, a second resistor RC2, a first low-pass filter LPF1, a second low-pass filter LPF2, a first switch SWC1, a second switch SWC2, and inverters INC4 to INC7.
[0089] The inverters INC4 and INC5 buffer the state setting signal CTL and output a signal INV which is a non-inverted signal of the state setting signal CTL. The inverter INC6 outputs an inverted signal XINV of the signal INV. The inverter INC7 outputs an inverted signal XEN of the enable signal EN. The first operational amplifier OP1 and the second operational amplifier OP2 are in an operating state when the inverted signal XEN of the enable signal EN is at a high level.
[0090] A clock signal CK is input to the non-inverting input terminal of the first operational amplifier OP1. The inverting input terminal and output terminal of the first operational amplifier OP1 are connected. The voltage follower circuit formed by the first operational amplifier OP1 is called the first amplifier circuit. The first amplifier circuit outputs an output signal VP by buffering the clock signal CK. The output signal VP is the non-inverted version of the clock signal CK.
[0091] One end of the first resistor RC1 is connected to the output terminal of the first operational amplifier OP1, and the other end is connected to the inverting input terminal of the second operational amplifier OP2 and one end of the second resistor RC2. The other end of the second resistor RC2 is connected to the output terminal of the second operational amplifier OP2. A reference voltage VREF is input to the non-inverting input terminal of the second operational amplifier OP2. The inverting amplifier circuit formed by the first resistor RC1, the second resistor RC2, and the second operational amplifier OP2 is called the second amplifier circuit. The gain of the second amplifier circuit is, for example, -1, and the reference voltage VREF is the center of the amplitude of the output signal VP of the first amplifier circuit. The second amplifier circuit outputs an inverted signal of the output signal VP of the first amplifier circuit, that is, an inverted signal of the clock signal CK, as an output signal VN.
[0092] The first low-pass filter LPF1 and the first switch SWC1 are provided in series between the output node of the first amplifier circuit and the test terminal TVT. The first low-pass filter LPF1 smoothes the output signal VP of the first amplifier circuit and outputs the result as a first DC voltage VDC1. The first low-pass filter LPF1 is, for example, but not limited to, a passive low-pass filter made up of a resistor and a capacitor. One end of the first switch SWC1 is connected to the output node of the first low-pass filter LPF1, and the other end is connected to the test terminal TVT. The first switch SWC1 is controlled to be on or off by an inverted signal XINV of the signal INV.
[0093] The second low-pass filter LPF2 and the second switch SWC2 are provided in series between the output node of the second amplifier circuit and the test terminal TVT. The second low-pass filter LPF2 smoothes the output signal VN of the second amplifier circuit and outputs the result as a second DC voltage VDC2. The second low-pass filter LPF2 is, for example, but not limited to, a passive low-pass filter made up of a resistor and a capacitor. One end of the second switch SWC2 is connected to the output node of the second low-pass filter LPF2, and the other end is connected to the test terminal TVT. The second switch SWC2 is controlled to be on or off by a signal INV.
[0094] 14 is a diagram illustrating the operation of the third detailed configuration example of the output circuit. Hereinafter, "on" of an operational amplifier means an operating state, and "off" means a non-operating state.
[0095] In the first state during testing, CTL=0, EN=0, INV=0, XINV=1, and XEN=1. At this time, the first operational amplifier OP1 and the second operational amplifier OP2 are on, the first switch SWC1 is on, and the second switch SWC2 is off. As a result, the DC voltage VTEST output from the test terminal TVT is the first DC voltage VDC1 output by the first low-pass filter LPF1.
[0096] In the second state during testing, CTL=1, EN=0, INV=1, XINV=0, and XEN=1. At this time, the first operational amplifier OP1 and the second operational amplifier OP2 are on, the first switch SWC1 is off, and the second switch SWC2 is on. As a result, the DC voltage VTEST output from the test terminal TVT is the second DC voltage VDC2 output by the second low-pass filter LPF2.
[0097] During clock output in normal operation, CTL is arbitrary, EN=1, and XEN=0. At this time, the output buffer circuit 143 outputs the output clock signal CKQ by buffering the clock signal CK. Since the first operational amplifier OP1 and the second operational amplifier OP2 are off, the DC voltage VTEST is not generated.
[0098] According to the third detailed configuration example, the DC voltage VTEST is generated from the clock signal CK before its waveform is dulled by the output buffer circuit 143, so that the duty can be brought closer to 50% with higher accuracy. This point will be described with reference to Figs. 15 and 16.
[0099] An ideal square wave signal with a duty of 50% does not have even harmonics, but a square wave signal with a duty other than 50% has even harmonics. Ideally, by determining the duty so that the DC voltage difference value ΔVDC is zero, the total harmonic distortion of the even harmonics is minimized and the duty can be determined to 50%. However, even harmonics can also occur due to signal waveform distortion. And regardless of what causes the even harmonics, they affect the DC voltage obtained from the clock signal. For this reason, even if the duty is determined to be 50% from the DC voltage difference value ΔVDC and the total harmonic distortion of the even harmonics is minimized, the total harmonic distortion of the even harmonics caused by the duty may not be minimum, that is, the duty may have an error with respect to 50%.
[0100] Fig. 15 is a diagram showing the relationship between the duty and harmonic distortion of a clock signal with a dull waveform. Fig. 16 is a diagram showing the relationship between the duty and harmonic distortion of a clock signal in this embodiment. THDeven is the total harmonic distortion of even-order harmonics. As an example of an even-order harmonic, the 10th-order harmonic distortion 10th_HD is shown.
[0101] Comparing these, when the clock signal is in a dull state, the even-order harmonic distortion at a duty of 50% is large. Since it is not possible to distinguish whether this even-order harmonic distortion is caused by the duty or by the dullness of the signal waveform, it becomes a cause of error in the duty. On the other hand, in this embodiment, a DC voltage is generated from a clock signal CK in a state where the clock signal edge is sharp, and the even-order harmonic distortion at a duty of 50% of the clock signal CK is small. Therefore, it is less susceptible to the even-order harmonic distortion caused by the dullness of the signal waveform, and the even-order harmonic distortion caused by the duty can be minimized, that is, the duty can be accurately determined to 50%.
[0102] According to this embodiment, the output circuit 140 includes a first amplifier circuit in a voltage follower connection to which a clock signal CK is input, and a second amplifier circuit that inverts an output signal VP of the first amplifier circuit. The output circuit 140 includes a first low-pass filter LPF and a first switch SWC1 provided between an output node of the first amplifier circuit and a test terminal TVT, and a second low-pass filter LPF2 and a second switch SWT2 provided between an output node of the second amplifier circuit and the test terminal TVT. In the first state, the first switch SWT1 is on, and in the second state, the second switch SWT2 is on.
[0103] In this way, in the first state, the first amplifier circuit in voltage follower connection outputs a non-inverted signal of the clock signal CK, the first low-pass filter LPF1 smoothes the non-inverted signal into a first DC voltage VDC1, and the first DC voltage VDC1 is output from the test terminal TVT via the first switch SWT1. In the second state, the second amplifier circuit that inverts the output signal VP of the first amplifier circuit outputs an inverted signal of the clock signal CK, the second low-pass filter LPF2 smoothes the inverted signal into a second DC voltage VDC2, and the second DC voltage VDC2 is output from the test terminal TVT via the second switch SWT2.
[0104] In this embodiment, the first amplifier circuit includes a first operational amplifier OP1. A clock signal CK is input to the non-inverting input terminal of the first operational amplifier OP1, and the inverting input terminal and output terminal of the first operational amplifier OP1 are connected. The second amplifier circuit includes a second operational amplifier OP2, a first resistor RC1, and a second resistor RC2. A reference voltage VREF is input to the non-inverting input terminal of the second operational amplifier OP2. The first resistor RC1 is provided between the output terminal of the first operational amplifier OP1 and the inverting input terminal of the second operational amplifier OP2. The second resistor RC2 is provided between the inverting input terminal and output terminal of the second operational amplifier OP2.
[0105] In this way, the inverting input terminal and output terminal of the first operational amplifier OP1 are connected to configure a first amplifier circuit with a voltage follower connection. Then, a clock signal CK is input to the non-inverting input terminal of the first operational amplifier OP1, so that the first amplifier circuit can output a non-inverted signal of the clock signal CK. The first resistor RC1 is provided between the output terminal of the first operational amplifier OP1 and the inverting input terminal of the second operational amplifier OP2, and the second resistor RC2 is provided between the inverting input terminal and output terminal of the second operational amplifier OP2, so that a second amplifier circuit that inverts the output signal VP of the first amplifier circuit is configured. This allows the second amplifier circuit to output an inverted signal of the clock signal CK.
[0106] 3. Oscillator Fig. 17 is a configuration example of an oscillator including the circuit device of this embodiment. The oscillator 200 includes a circuit device 100 and a resonator 10. Note that, in Fig. 17, only the oscillation circuit 120 and the output circuit 140 of the components of the circuit device 100 are shown, and the other components are omitted.
[0107] The oscillator 200 may include a package that houses the circuit device 100 and the resonator 10. For example, the circuit device 100 and the resonator 10 may be housed in a base, and a lid may be joined to the base to seal the package. Alternatively, the oscillator 200 may be configured as a wafer-level package in which the semiconductor substrate of the circuit device 100 is part of the package. For example, the resonator 10 may be mounted on the semiconductor substrate of the circuit device 100, and a lid may be joined to the semiconductor substrate so as to cover the resonator 10.
[0108] The circuit device 100 includes terminals TX1 and TX2 connected to the oscillation circuit 120. The resonator 10 is connected between the terminals TX1 and TX2. The oscillator 200 includes a terminal TCKP. The terminal TCKP is connected to a clock terminal TCK connected to the output circuit 140. The oscillator 200 may also include a terminal TVTP. The terminal TVTP is connected to a test terminal TVT connected to the output circuit 140. Note that the terminal TVTP may not be provided, and the test terminal TVT may be an internal terminal of the oscillator 200.
[0109] 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 synonymy can be replaced with that different term anywhere in the specification or drawings. All combinations of the present embodiment and modifications are also included in the scope of the present disclosure. Furthermore, the configurations and operations of the oscillation circuit, clock signal generation circuit, output circuit, duty adjustment circuit, memory circuit, interface circuit, circuit device, resonator, oscillator, and inspection device are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]
[0110] 10... resonator, 100... circuit device, 110... clock signal generating circuit, 120... oscillation circuit, 130... waveform shaping circuit, 140... output circuit, 141... switching circuit, 142... buffer circuit, 143... output buffer circuit, 144... DC voltage generating circuit, 150... duty adjustment circuit, 160... memory circuit, 161... register, 162... non-volatile memory, 170... interface circuit, 200... oscillator, 300... inspection device, AJ... duty adjustment Integer value, CK...clock signal, CKINA...clocked inverter, CKINB1...first clocked inverter, CKINB2...second clocked inverter, CKQ...output clock signal, CTL...state setting signal, OP1...first operational amplifier, OP2...second operational amplifier, OSC...oscillation signal, TCK...clock terminal, TGA...transfer gate, TVT...test terminal, VBS...bias voltage, VDC1...first DC voltage, VDC2...second DC voltage
Claims
1. a clock signal generating circuit for generating a clock signal; an output circuit that outputs an output clock signal based on the clock signal; a clock terminal for outputting the output clock signal; A test terminal; A memory circuit that stores a duty adjustment value; a duty adjustment circuit that adjusts the duty of the clock signal based on the duty adjustment value; Including, The output circuit includes: In a first state, a first DC voltage based on a normal signal of the clock signal is output to the test terminal; When in a second state, a second DC voltage based on an inverted signal of the clock signal is output to the test terminal.
2. 2. The circuit device according to claim 1, The output circuit includes: a switching circuit that outputs a normal signal of the clock signal in the first state and outputs an inverted signal of the clock signal in the second state; a buffer circuit that buffers an output signal of the switching circuit and outputs the resultant signal to the clock terminal; a resistor and a switch connected in series between the output node of the buffer circuit and the test terminal; A circuit device comprising:
3. 3. The circuit device according to claim 2, the switching circuit includes a transfer gate and a clocked inverter provided in parallel in a signal path; A circuit device, characterized in that, in the first state, the transfer gate is on, and in the second state, the clocked inverter is in an output state.
4. 3. The circuit device according to claim 2, The switching circuit includes: a non-inverting circuit having a first clocked inverter, the non-inverting circuit being provided between an input node and an output node of the switching circuit, the non-inverting circuit outputting a non-inverting signal of the clock signal when the first clocked inverter is in an output state; a second clocked inverter provided in parallel with the non-inverting circuit; Including, A circuit device, characterized in that in the first state, the first clocked inverter is in an output state, and in the second state, the second clocked inverter is in an output state.
5. 2. The circuit device according to claim 1, The output circuit includes: a first amplifier circuit connected as a voltage follower to which the clock signal is input; a second amplifier circuit that inverts an output signal of the first amplifier circuit; a first low-pass filter and a first switch provided between an output node of the first amplifier circuit and the test terminal; a second low-pass filter and a second switch provided between an output node of the second amplifier circuit and the test terminal; Including, A circuit device, characterized in that, in the first state, the first switch is on, and, in the second state, the second switch is on.
6. 6. The circuit device according to claim 5, the first amplifier circuit includes a first operational amplifier having a non-inverting input terminal to which the clock signal is input and an inverting input terminal and an output terminal connected to each other; The second amplifier circuit is a second operational amplifier having a non-inverting input terminal to which a reference voltage is input; a first resistor provided between an output terminal of the first operational amplifier and an inverting input terminal of the second operational amplifier; a second resistor provided between the inverting input terminal of the second operational amplifier and the output terminal of the second operational amplifier; A circuit device comprising:
7. 2. The circuit device according to claim 1, a register that stores a state setting signal that switches between the first state and the second state; an interface circuit that receives the status setting signal from an external device and writes the received status setting signal into the register; A circuit device comprising:
8. A circuit arrangement according to any one of claims 1 to 7, The clock signal generating circuit includes: an oscillator circuit for generating an oscillation signal; a waveform shaping circuit that outputs the clock signal by shaping the waveform of the oscillation signal; Including, The circuit device according to claim 1, wherein the duty adjustment circuit sets a bias voltage of the oscillation signal input to the waveform shaping circuit based on the duty adjustment value.
9. A circuit arrangement according to any one of claims 1 to 7; an oscillator for generating the clock signal; 13. An oscillator comprising:
10. A method for manufacturing an oscillator including a circuit device, comprising the steps of: The circuit device comprises: a clock signal generating circuit for generating a clock signal; an output circuit that outputs an output clock signal based on the clock signal; a clock terminal for outputting the output clock signal; A test terminal; A memory circuit that stores a duty adjustment value; a duty adjustment circuit that adjusts the duty of the clock signal based on the duty adjustment value; Including, setting the circuit device to a first state in which the output circuit outputs a first DC voltage based on a non-inverted signal of the clock signal to the test terminal; measuring the first DC voltage; setting the circuit device to a second state in which the output circuit outputs a second DC voltage based on an inverted signal of the clock signal to the test terminal; measuring the second DC voltage; A method for manufacturing an oscillator, comprising: setting the duty adjustment value based on a difference value between the first DC voltage and the second DC voltage; and writing the set duty adjustment value to the memory circuit.
Citation Information
Patent Citations
Clock duty compensation circuit
JP1993252007A
