Circuit arrangement and oscillator

The circuit device addresses the issue of thermal noise in duty ratio adjustment by using a differential amplifier with a controlled gain frequency, ensuring stable duty ratio adjustment without increasing noise, suitable for various electronic devices and vehicle components.

JP2024129361APending Publication Date: 2024-09-27SEIKO EPSON CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023038512
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Conventional methods for adjusting the duty ratio of a clock signal using a low-pass filter increase thermal noise, which is undesirable.

Method used

A circuit device comprising an oscillation circuit, waveform shaping circuit, low-pass filter, and differential amplifier is used to generate and adjust the duty of a clock signal without increasing thermal noise, by ensuring the unity gain frequency of the differential amplifier is less than the cutoff frequency of the low-pass filter.

Benefits of technology

The solution effectively adjusts the duty ratio of the clock signal while minimizing thermal noise and preventing abnormal oscillations, maintaining a stable duty ratio over a wide temperature range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129361000001
    Figure 2024129361000001
Patent Text Reader

Abstract

To adjust duty while suppressing thermal noise.SOLUTION: A circuit device includes an oscillation circuit that generates an oscillation signal, a waveform shaping circuit that shapes the oscillation signal into a square wave clock signal, a low-pass filter that smooths the clock signal to generate a detection voltage corresponding to the duty of the clock signal, and a differential amplifier that outputs a bias voltage based on the difference between the detection voltage and a reference voltage to an input node of the waveform shaping circuit, and the unity gain frequency of the differential amplifier is lower than the cutoff frequency of the low-pass filter.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 and an oscillator. [Background technology]

[0002] Conventionally, techniques for adjusting the duty ratio of a clock signal are known. For example, in Patent Document 1, the rising and falling edges of an input clock are smoothed by a low-pass filter, and this clock signal is inverted by an inverter to produce an inverted clock. The DC level of the inverted clock is supplied to the + input of an operational amplifier. The inverted clock is further inverted by an inverter, and the integrated DC level is supplied to the - input of the operational amplifier. The operational amplifier adds these difference values ​​to the clock signal, performs bias correction, and supplies the result to the inverter. As a result, the logic value judgment timing is corrected and the duty ratio is adjusted. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 5-252007 Summary of the Invention [Problem to be solved by the invention]

[0004] In the prior art, a low-pass filter is used to smooth the rising and falling edges of the input clock, but the low-pass filter increases the thermal noise (noise floor). [Means for solving the problem]

[0005] A circuit device for solving the above problem includes an oscillation circuit that generates an oscillation signal, a waveform shaping circuit that shapes the oscillation signal into a square wave clock signal, a low-pass filter that smoothes the clock signal to generate a detection voltage corresponding to the duty of the clock signal, and a differential amplifier that outputs a bias voltage based on the difference between the detection voltage and a reference voltage to an input node of the waveform shaping circuit, wherein the unity gain frequency of the differential amplifier is lower than the cutoff frequency of the low-pass filter. [Brief description of the drawings]

[0006] [Figure 1] FIG. 2 is a functional block diagram of an oscillator according to the first embodiment. [Diagram 2] FIG. 1 is a circuit diagram of a waveform conversion circuit. [Diagram 3] FIG. 4 is a diagram showing the relationship between an oscillation signal, a threshold value, a bias voltage, and a clock signal. [Figure 4] FIG. 4 is a graph showing the gain-frequency characteristics of a low-pass filter. [Diagram 5] FIG. 4 is a diagram showing the phase frequency characteristics of a low-pass filter. [Figure 6] FIG. 4 is a graph showing frequency characteristics of the gain of a differential amplifier. [Figure 7] FIG. 4 is a diagram showing the phase frequency characteristics of a differential amplifier. [Figure 8] FIG. 11 is a circuit diagram of a waveform conversion circuit according to a second embodiment. [Figure 9] FIG. 11 is a circuit diagram of a waveform conversion circuit according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Preferred embodiments of the present invention will be described in detail below with reference to the drawings. Note that the embodiment described below is an example of the present invention described in the claims, and the embodiment of the invention is not limited to the embodiment shown below. Furthermore, not all of the configurations described below are necessarily essential components of the present invention.

[0008] 1. First embodiment 1-1. Oscillator configuration FIG. 1 is a functional block diagram of an oscillator 1 according to the first embodiment. The oscillator 1 according to this embodiment includes a circuit device 2, a vibrator 3, and a package and a lid (not shown). The circuit device 2 and the vibrator 3 are housed in a space formed by the package and the lid. The vibrator 3 in this embodiment is a quartz crystal vibrator using quartz crystal as a substrate material, such as an AT-cut quartz crystal vibrator or a tuning fork-type quartz crystal vibrator. The vibrator 3 may be a SAW (Surface Acoustic Wave) resonator or a MEMS (Micro Electro Mechanical Systems) vibrator. In addition to quartz crystal, the substrate material of the vibrator 3 may be a piezoelectric material such as a piezoelectric single crystal such as lithium tantalate or lithium niobate, a piezoelectric ceramic such as lead zirconate titanate, or a silicon semiconductor material. The vibrator 3 may be excited by a piezoelectric effect or by electrostatic driving using Coulomb force. In this embodiment, the circuit device 2 is realized by a one-chip integrated circuit (IC: Integrated Circuit). However, at least a part of the circuit device 2 may be composed of discrete components.

[0009] The circuit device 2 has a VDD terminal, a VSS terminal, an OUT terminal, a VC terminal, an XI terminal, and an XO terminal as external connection terminals. The VDD terminal, the VSS terminal, the OUT terminal, and the VC terminal are electrically connected to the T1 terminal, the T2 terminal, the T3 terminal, and the T4 terminal, which are the multiple external terminals of the oscillator 1 shown in Fig. 2. The XI terminal is electrically connected to one end of the vibrator 3, and the XO terminal is electrically connected to the other end of the vibrator 3.

[0010] In this embodiment, the circuit device 2 includes an oscillator circuit 10, an output circuit 20, a temperature sensor 30, a temperature compensation circuit 32, a frequency control circuit 34, a logic circuit 36, a power supply circuit 40, and a memory circuit 50. Note that the circuit device 2 may be configured such that some of these elements are omitted or modified, or other elements are added.

[0011] The power supply circuit 40 includes a regulator that generates various constant voltages based on a power supply voltage supplied from the outside via a T1 terminal and a VDD terminal. The various constant voltages are supplied to each circuit.

[0012] The oscillator circuit 10 is electrically connected to the XI terminal and the XO terminal, and generates an oscillation signal OSCO by oscillating the oscillator 3. Specifically, the oscillator circuit 10 is a circuit that oscillates the oscillator 3 by amplifying the output signal of the oscillator 3 and feeding it back to the oscillator 3.

[0013] The temperature sensor 30 is a sensor that detects the temperature of the circuit device 2 and outputs a temperature signal having a voltage according to the temperature, and is realized by, for example, a circuit that utilizes the temperature characteristics of a bandgap reference circuit.

[0014] The temperature compensation circuit 32 generates a temperature compensation voltage Vcomp for correcting the frequency-temperature characteristics of the oscillation signal OSCO output from the oscillation circuit 10 based on the temperature signal output from the temperature sensor 30 and temperature compensation data corresponding to the frequency-temperature characteristics of the resonator 3, and supplies the temperature compensation voltage Vcomp to the oscillation circuit 10. The temperature compensation data is supplied to the temperature compensation circuit 32 from the logic circuit 36.

[0015] A frequency control signal input from a T4 terminal is supplied via a VC terminal to the frequency control circuit 34. Then, the frequency control circuit 34 generates a frequency control voltage Vafc for controlling the oscillation frequency of the oscillation circuit 10 in accordance with the voltage level of the frequency control signal, and supplies the frequency control voltage Vafc to the oscillation circuit 10.

[0016] The oscillation signal OSCO output from the oscillation circuit 10 has a substantially constant frequency according to the frequency control voltage Vafc at any temperature within a predetermined temperature range due to the temperature compensation voltage Vcomp.

[0017] In this embodiment, the output circuit 20 includes a waveform conversion circuit 21, a frequency division circuit 22, a pre-buffer 23, an output buffer 24, a pre-buffer 25, and an output buffer 26. The waveform conversion circuit 21 generates a square wave clock signal CK1 based on the oscillation signal OSCO output from the oscillation circuit 10, and outputs the clock signal CK1.

[0018] The frequency divider circuit 22 outputs a clock signal CK2 obtained by dividing the clock signal CK1 output from the waveform conversion circuit 21 by a division ratio corresponding to the division ratio data. The division ratio data is supplied to the frequency divider circuit 22 from the logic circuit 36. When the division ratio is 1, the frequency divider circuit 22 outputs a clock signal CK2 obtained by buffering the clock signal CK1 output from the waveform conversion circuit 21. The clock signal CK2 output from the frequency divider circuit 22 is input in common to the pre-buffer 23 and the pre-buffer 25.

[0019] The pre-buffer 23 outputs a clock signal CK3 obtained by buffering the clock signal CK2 output from the frequency divider circuit 22. The pre-buffer 23 also functions as a level shifter that outputs a clock signal CK3 with a voltage level that matches the input voltage level of the output buffer 24. The output buffer 24 buffers the clock signal CK3 output from the pre-buffer 23 and outputs a clock signal with a CMOS (Complementary Metal Oxide Semiconductor) output waveform.

[0020] The pre-buffer 25 outputs a clock signal CK4 obtained by buffering the clock signal CK2 output from the frequency divider circuit 22. The output buffer 26 converts the clock signal CK4 output from the pre-buffer 25 into a clock signal with a clipped sine waveform and outputs it.

[0021] In this embodiment, the output node of the output buffer 24 and the output node of the output buffer 26 are each electrically connected to an OUT terminal via a switch circuit (not shown). The logic circuit 36 ​​controls these switches to electrically connect either the output node of the output buffer 24 or the output node of the output buffer 26 to the OUT terminal.

[0022] In a state where only the output node of the output buffer 24 is electrically connected to the OUT terminal, the clock signal of the CMOS output waveform output from the output buffer 24 is output as the clock signal CKO via the OUT terminal and the T3 terminal to the outside of the oscillator 1. In addition, in a state where only the output node of the output buffer 26 is electrically connected to the OUT terminal, the clock signal of the clipped sine waveform output from the output buffer 26 is output as the clock signal CKO to the outside of the oscillator 1 via the OUT terminal and the T3 terminal.

[0023] The logic circuit 36 ​​controls the operation of each circuit. The logic circuit 36 ​​can set the mode of the oscillator 1 or the circuit device 2 to various operation modes based on a control signal input to a terminal of the circuit device 2. The operation modes include a normal operation mode and an external communication mode. In the external communication mode, the logic circuit 36 ​​can communicate with an external device via the terminal T4 and write various data acquired through the communication to the memory circuit 50. The communication may be performed according to various standards, such as I2C (Inter-Integrated Circuit) and SPI (Serial Peripheral Interface).

[0024] In the normal operation mode, the logic circuit 36 ​​controls a switch (not shown) to output one of the outputs of the output buffers 24, 26 as the clock signal CKO from the OUT terminal. As a result, the clock signal CKO is output from the T3 terminal of the oscillator 1.

[0025] The memory circuit 50 is a circuit that stores various types of information, and can be configured to include, for example, a register and a nonvolatile memory. The nonvolatile memory can be configured, for example, with a MONOS (Metal Oxide Nitride Oxide Silicon) type memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory). In the manufacturing process of the oscillator 1, various types of information such as temperature compensation data, frequency division ratio data, and control data for a switch that selects an output are stored in the nonvolatile memory. When the oscillator 1 is powered on, the various types of information stored in the nonvolatile memory are transferred to the register, and the various types of information stored in the register are supplied to each circuit via the logic circuit 36.

[0026] 1-2. Waveform conversion circuit configuration The oscillator 1 as described above shapes the sine wave oscillation signal output from the oscillation circuit 10 into a square wave by the waveform shaping circuit 21a included in the waveform conversion circuit 21. The oscillator 1 generates and outputs a clock signal CKO based on the shaped square wave. FIG. 2 is a circuit diagram of the waveform conversion circuit 21 according to this embodiment. The waveform conversion circuit 21 shown in FIG. 2 includes resistor elements R1 to R6, P-type transistors Tp1 and Tp2, N-type transistors Tn1 and Tn2, capacitance elements C1 and C2, a differential amplifier A1, and a waveform shaping circuit 21a. The waveform shaping circuit 21a includes a first inverter In1 and a second inverter In2.

[0027] The waveform conversion circuit 21 includes a power supply node VREG to which a regulator voltage generated by a power supply circuit 40 is supplied. Between the power supply node VREG and a low potential node GND, resistance elements R1 and R2 are connected in series so as to be aligned from the power supply node VREG toward the low potential node GND. A node N1 between the resistance elements R1 and R2 is electrically connected to the output of the oscillation circuit 10. In this embodiment, the resistance values ​​of the resistance elements R1 and R2 are the same, and the low potential node is the ground. Therefore, the resistance elements R1 and R2 function as a resistive voltage divider circuit that biases the voltage of the node N1 to 1 / 2 the voltage at the power supply node VREG.

[0028] Furthermore, between the power supply node VREG and the low potential node GND, a P-type transistor Tp1 and an N-type transistor Tn1 are connected in series from the power supply node VREG toward the low potential node GND, forming a first inverter In1. That is, the source of the P-type transistor Tp1 is connected to the power supply node VREG, and the drain is connected to the drain of the N-type transistor Tn1. A node to which the drain of the P-type transistor Tp1 and the drain of the N-type transistor Tn1 are connected is called a node N2. The source of the N-type transistor Tn1 is connected to the low potential node GND. In addition, the gate of the P-type transistor Tp1 and the gate of the N-type transistor Tn1 are electrically connected. The node N1 connected to the output of the oscillation circuit 10 is electrically connected to the gate of the P-type transistor Tp1 and the gate of the N-type transistor Tn1, and is also electrically connected to the node N1.

[0029] Furthermore, between the power supply node VREG and the low potential node GND, a P-type transistor Tp2 and an N-type transistor Tn2 are connected in series from the power supply node VREG toward the low potential node GND to form a second inverter In2. That is, the source of the P-type transistor Tp2 is connected to the power supply node VREG, and the drain is connected to the drain of the N-type transistor Tn2. The node to which the drain of the P-type transistor Tp2 and the drain of the N-type transistor Tn2 are connected is called a node N3. The node N3 is the output node of the waveform conversion circuit 21. The source of the N-type transistor Tn2 is connected to the low potential node GND. In addition, the gate of the P-type transistor Tp2 and the gate of the N-type transistor Tn2 are electrically connected, and are also electrically connected to the node N2.

[0030] Between the node N3 and the low potential node GND, a resistive element R3 and a capacitive element C1 are connected in series from the node N3 toward the low potential node GND to configure a low pass filter LPF1. A node N4 between the resistive element R3 and the capacitive element C1 is electrically connected to the inverting input terminal of the differential amplifier A1.

[0031] Furthermore, between the power supply node VREG and the low potential node GND, the resistance elements R4 and R5 are connected in series so as to be aligned from the power supply node VREG toward the low potential node GND. A node N5 between the resistance elements R4 and R5 is electrically connected to the non-inverting input terminal of the differential amplifier A1. Thus, the resistance elements R4 and R5 constitute a resistance voltage divider circuit RD1 that divides the regulator voltage applied to the power supply node VREG to generate a reference voltage. In this embodiment, the resistance values ​​of the resistance elements R4 and R5 are the same. Thus, the voltage of the node N5 is biased to 1 / 2 of the voltage at the power supply node VREG.

[0032] The differential amplifier A1 is a circuit that receives power from a power supply node VREG and performs differential amplification with a predetermined gain. One end of a resistive element R6 and one end of a capacitive element C2 are electrically connected to a node N6, which is an output node of the differential amplifier A1. The other end of the resistive element R6 is electrically connected to a node N1, and the other end of the capacitive element C2 is electrically connected to a low potential node GND.

[0033] In the waveform conversion circuit 21 configured as above, a predetermined bias is applied to node N1, to which the oscillation signal OSCO output from the oscillation circuit 10 is input, by resistor elements R1 and R2. Between node N1 and node N3, there is a waveform shaping circuit 21a configured by a first inverter In1 and a second inverter In2. These inverters are CMOS inverters, which output a low level when the input signal is equal to or greater than a threshold, and output a high level when the input signal is less than the threshold. Therefore, the first inverter In1 and the second inverter In2 function as a circuit that inverts the input signal and outputs it, and shapes the waveform into a square wave.

[0034] The waveform shaping circuit 21a performs two-stage shaping on the oscillation signal OSCO using a first inverter In1 and a second inverter In2. Therefore, the oscillation signal OSCO is inverted twice, and is converted into a square wave clock signal CKO.

[0035] As described above, the waveform shaping circuit 21a according to this embodiment shapes the waveform into a rectangular wave by using an inverter. The inverter is a circuit whose output level changes by comparing an input signal with a threshold value. Therefore, when the bias voltage of the node N1 changes, the period during which the signal output from the inverter is at a high level changes, and the ratio of the high level period to the period of the oscillation signal (the sum of the high level period and the low level period), i.e., the duty, changes.

[0036] In this embodiment, a predetermined bias is applied to the node N1 by the resistor elements R1 and R2, and the bias is designed to have a desired duty. In this embodiment, the desired duty is 50% (high level period=low level period), and the duty is designed to be 50% when the oscillation signal OSCO is applied to a voltage half that of the power supply node VREG. However, if there is manufacturing variation in the threshold values ​​of the transistors included in the first inverter In1 and the second inverter In2, or if they vary due to temperature, the bias of the node N1 obtained by the resistor elements R1 and R2 may be an inappropriate bias for obtaining the desired duty.

[0037] Therefore, in this embodiment, a configuration is provided for adjusting the bias voltage by feeding back the output of the node N3 to the node N1. Specifically, a low-pass filter LPF1 is connected to the node N3. The low-pass filter LPF1 functions as a circuit for smoothing the clock signal CK1. In this embodiment, the frequency of the clock signal CK1 is, for example, several tens to several hundreds of MHz, and the cutoff frequency fc of the low-pass filter LPF1 is, for example, several MHz. Therefore, the low-pass filter LPF1 functions as a filter for outputting a voltage obtained by converting the clock signal CK1 into a substantially DC voltage to the node N4. In addition, the voltage of the node N4, which is the output of the low-pass filter LPF1, has a voltage value that depends on the period during which the clock signal CK1 is at a high level. Therefore, the voltage output from the low-pass filter LPF1 to the node N4 is a voltage corresponding to the duty of the clock signal CK1. Here, the voltage output to the node N4 is called a detection voltage.

[0038] The differential amplifier A1 is a circuit that amplifies and outputs the difference between the voltage of the inverting input terminal and the voltage of the non-inverting input terminal. In this embodiment, a node N5 electrically connected to the non-inverting input terminal is a constant voltage obtained by dividing the regulator voltage applied to the power supply node VREG by a resistive voltage divider circuit RD1. Therefore, if the constant voltage at the node N5 is called a reference voltage, the differential amplifier A1 functions as a circuit that outputs a bias voltage based on the difference between the detection voltage and the reference voltage to the input node N1 of the waveform shaping circuit 21a via a resistive element R6.

[0039] With the above configuration, in this embodiment, the bias voltage applied to node N1 is adjusted according to the duty of the clock signal CK1 at node N3. For example, as shown in the example of FIG. 3, when the threshold Th of the first inverter In1 and the second inverter In2 is smaller than the bias voltage Vbs of node N1, the period Ton during which the voltage of the oscillation signal OSCO is greater than the threshold is longer than the period Toff during which the voltage is less than the threshold. As a result, the period during which the clock signal CK1 is at a high level is longer than 50%.

[0040] The longer the high-level period, the larger the voltage output by the low-pass filter LPF1 becomes, so that the detection voltage output to node N4 becomes larger than the reference voltage at node N5. Therefore, in the differential amplifier A1, the detection voltage input to the inverting input terminal becomes larger than the reference voltage input to the non-inverting input terminal. As a result, in the differential amplifier A1, amplification is performed so as to lower the voltage at node N6, and the bias voltage Vbs at node N1 becomes smaller and approaches the threshold value Th at the first inverter In1 and the second inverter In2.

[0041] In this embodiment, the duty is adjusted to a desired value by the above-mentioned feedback. In this configuration, as shown in FIG. 2, there is no low-pass filter as in Patent Document 1 between the oscillation circuit 10 and the waveform shaping circuit 21a. If a low-pass filter as in Patent Document 1 exists between the output of the oscillation circuit 10 and the first inverter In1, the thermal noise (noise floor) of the signal input to the waveform shaping circuit 21a would increase. However, in this embodiment, since such a low-pass filter is not used, the thermal noise (noise floor) of the signal input to the waveform shaping circuit 21a is not increased.

[0042] On the other hand, in a circuit having a feedback loop with a differential amplifier A1 as in this embodiment, measures against abnormal oscillation are required. In the embodiment shown in Fig. 2, a phase delay occurs mainly due to the low-pass filter LPF1 and the differential amplifier A1 in the feedback process. Therefore, if there is a frequency where the phase shifts by about 180° in the feedback process and there is a significant gain, there is a possibility that oscillation will occur.

[0043] Fig. 4 is a graph showing the gain vs. frequency characteristic of the low-pass filter LPF1, Fig. 5 is a graph showing the phase vs. frequency characteristic of the low-pass filter LPF1, Fig. 6 is a graph showing the gain vs. frequency characteristic of the differential amplifier A1, and Fig. 7 is a graph showing the phase vs. frequency characteristic of the differential amplifier A1. Note that these graphs are intended to qualitatively explain the frequency characteristics. Of course, the frequency characteristics change depending on the resistance and capacitance values ​​of the elements, so the characteristics on the graphs may vary depending on the combination of elements.

[0044] In the low-pass filter LPF1, the gain is 0 dB in a low-frequency band as shown in the example of Fig. 4, but the gain decreases as the frequency increases, and the gain decreases significantly when the frequency increases beyond the cutoff frequency fc at which the gain is -3 dB. In addition, in the low-pass filter LPF1, there is no phase delay in a low-frequency band as shown in the example of Fig. 5, but as the frequency increases, a phase delay gradually occurs. Then, at the cutoff frequency fc, the phase typically delays by about 45°, and as the frequency increases further, a phase delay of 90° may ultimately occur.

[0045] On the other hand, in the differential amplifier A1, as shown by the solid line in Fig. 6, the open loop DC gain is typically maximum at a frequency of 1 Hz, and the gain is approximately maximum in a low frequency band, but as the frequency increases, the gain decreases. Also, in the differential amplifier A1, as shown by the solid line in Fig. 7, the phase lag increases with increasing frequency, and ultimately a phase lag of 90° may occur.

[0046] Since the low-pass filter LPF1 and the differential amplifier A1 typically have the frequency characteristics described above, when the low-pass filter LPF1 and the differential amplifier A1 are present in the feedback loop, the phase delay may become approximately 180° in a specific frequency band. Therefore, if the gain of the differential amplifier A1 is greater than 0 dB in the specific frequency band, this may cause abnormal oscillation.

[0047] Therefore, in this embodiment, the unity gain frequency fu of the differential amplifier A1 is configured to be smaller than the cutoff frequency fc of the low-pass filter LPF1. Here, the unity gain frequency fu is a frequency at which the gain is 0 dB, as shown in Fig. 6. Therefore, abnormal oscillation does not occur at frequencies higher than the unity gain frequency fu. In Fig. 6 and Fig. 7, an example of the frequency characteristic of the differential amplifier A1 in which the unity gain frequency fu1 is smaller than the cutoff frequency fc of the low-pass filter LPF1 is shown by a dashed line.

[0048] The delay of the low-pass filter LPF1 at the cutoff frequency fc is typically about 45° as shown in Fig. 5. Therefore, if a differential amplifier A1 having a frequency characteristic shown by a dashed line in Fig. 6 is used, the gain of the differential amplifier A1 reaches 0 dB before the combined phase delay of the low-pass filter LPF1 and the differential amplifier A1 reaches 180°. Therefore, in this embodiment, which is configured so that the unity gain frequency fu of the differential amplifier A1 is smaller than the cutoff frequency fc of the low-pass filter LPF1, abnormal oscillation does not occur.

[0049] The unity gain frequency fu of the differential amplifier A1 needs only to be smaller than the cutoff frequency fc of the low-pass filter LPF1, but the greater the difference between the unity gain frequency fu and the cutoff frequency fc, the more likely it is that abnormal oscillation will occur. Therefore, if the unity gain frequency fu of the differential amplifier A1 is set to half or less of the cutoff frequency fc of the low-pass filter LPF1, the possibility of abnormal oscillation can be more reliably reduced.

[0050] Furthermore, if the unity gain frequency fu of the differential amplifier A1 is set to 1 / 10 or less of the cutoff frequency fc of the low-pass filter LPF1, the possibility of abnormal oscillation can be further reliably reduced. Such a configuration can be realized, for example, by using a differential amplifier A1 with an open-loop DC gain of 60 dB or more, setting the resistance elements R1 to R6 to 50 kΩ, the capacitance element C1 to 1 pF, the capacitance element C2 to 2 pF, the voltage of the power supply node VREG to about 1.5 V, and the clock signal CK1 to several tens to several hundreds of MHz. In this configuration, for example, the cutoff frequency fc of the low-pass filter LPF1 is 3 MHz, and the unity gain frequency fu1 is 300 kHz. Therefore, the circuit can be configured so that abnormal oscillation hardly occurs.

[0051] The open loop DC gain of the differential amplifier A1 may be a value that allows adjustment of the bias voltage according to threshold fluctuations of the first inverter In1 and the second inverter In2, and can be appropriately adjusted within this range. The applicant has confirmed that if a gain that allows adjustment of the bias voltage according to threshold fluctuations is used, the fluctuation in duty is kept within ±1% even when the thresholds of the first inverter In1 and the second inverter In2 fluctuate.

[0052] Moreover, according to this embodiment, the duty can be adjusted to a desired value. When the desired duty is set to 50%, the waveform of the clock signal CK1 approaches a symmetrical square wave, so that even-order harmonic components among those contained in the clock signal CK1 can be reduced very effectively.

[0053] Furthermore, according to this embodiment, it is possible to suppress the variation in the duty of the clock signal CK1 according to the threshold variation of the first inverter In1 and the second inverter In2. Therefore, even if the threshold variation of the first inverter In1 and the second inverter In2 occurs due to a temperature change, the clock signal CK1 can be adjusted to have a desired duty. Therefore, it is possible to output the clock signal CK1 with a desired duty without generating abnormal oscillation or unwanted spurious in a wide temperature range, for example, from -40°C to 125°C.

[0054] 2. Second embodiment In the first embodiment described above, the resistive voltage divider circuit RD1 applies a voltage dividing resistance corresponding to the resistance ratio of the resistive elements R4 and R5 to the node N5, but may have other configurations. For example, the value of the reference voltage applied to the non-inverting input terminal of the differential amplifier A1 may be adjustable.

[0055] Fig. 8 is a circuit diagram of a waveform conversion circuit 210 according to a second embodiment in which the resistive voltage divider circuit RD1 in the first embodiment is replaced with a resistive voltage divider circuit RD2. In Fig. 8, the same components as those in Fig. 2 are denoted by the same reference numerals. In the resistive voltage divider circuit RD2 provided in the waveform conversion circuit 210, resistive elements R4 and R5 are connected between the power supply node VREG and the low potential node GND, similarly to the resistive voltage divider circuit RD1. That is, one end of the resistive element R4 is electrically connected to the power supply node VREG, and one end of the resistive element R5 is electrically connected to the low potential node GND.

[0056] In the resistive voltage divider circuit RD2, a switch circuit SW1 is provided between resistive elements R4 and R5. The switch circuit SW1 is a circuit that selects one of a plurality of resistive elements connected in series and each node between the plurality of resistive elements to output a reference voltage. Specifically, the switch circuit SW1 includes a plurality of resistive elements Rs1, Rs2, Rs3, . . . Rsn (n is a natural number, however, Rsn is not shown in FIG. 8), and these resistive elements Rs1 to Rsn are connected in series. One end of the resistive element Rs1 is electrically connected to the resistive element R4, and one end of the resistive element Rsn is electrically connected to the resistive element R5.

[0057] One end of the switches Ss1 to Ssn is electrically connected to the nodes at the ends of the resistance elements Rs1 to Rsn, and the other end of the switches Ss1 to Ssn is electrically connected to a node N5. For example, a node Ns1 between the resistance element R4 and the resistance element Rs1 is electrically connected to one end of the switch Ss1, and a node Ns2 between the resistance element Rs1 and the resistance element Rs2 is electrically connected to one end of the switch Ss2.

[0058] In the switch circuit SW1, the on / off of each of the switches Ss1 to Ssn is controlled by the logic circuit 36. That is, in the above-mentioned external communication mode, switch control data indicating the switches to be turned on is stored in the memory circuit 50 from an external device. When operation in the normal operation mode is started with the switch control data stored in the memory circuit 50, the logic circuit 36 ​​turns on the switch indicated by the switch control data and turns off the other switches. With this configuration, the user can adjust the voltage division ratio in the resistive voltage divider circuit RD2 using an external device.

[0059] FIG. 8 shows a state where the switch Ss3 is turned on. In this state, the voltage of the node N5 is a value obtained by dividing the regulator voltage according to the ratio between the sum of the resistance values ​​of the resistive elements R4, Rs1, and Rs2 and the sum of the resistance values ​​of the resistive elements Rs3, . . . Rsn+R5. Note that the resistance values ​​of the resistive elements R4 and R5 are the same in the example shown in FIG. 8. The resistance values ​​of the resistive elements Rs1 to Rsn are smaller than the resistance values ​​of the resistive elements R4 and R5, for example, by one or more orders of magnitude. For this reason, the user can fine-tune the voltage division ratio by selecting the switches Ss1 to Ssn to be turned on by the switch control data.

[0060] According to this configuration, the reference voltage, which is the voltage of the node N5, can be finely adjusted to be smaller or larger than 1 / 2 the voltage of the power supply node VREG. The desired duty is generally 50%, but the circuit connected to the T3 terminal, which is the output terminal of the oscillator 1, may have characteristics that change the duty. For example, when a clock signal CKO with a duty of 50% is input to the circuit connected to the T3 terminal, it is assumed that the circuit has characteristics such as the high level period becoming 1% longer and the low level period becoming 1% shorter.

[0061] In this case, even if a clock signal CKO with a duty of 50% is input to the circuit connected to the T3 terminal, the high-level period in the circuit will be 51% and the low-level period will be 49%. In such a case, by fine-tuning the voltage division ratio in the circuit shown in Figure 8 and changing the duty of the clock signal CKO by about 1%, for example, by setting it so that the high-level period is about 49% and the low-level period is about 51%, the duty in the circuit will change due to the characteristics of the circuit connected to the T3 terminal and will approach 50%. As a result, the duty can be adjusted to the desired value in the circuit connected to the T3 terminal of the oscillator 1.

[0062] In the second embodiment shown in FIG. 8, there is no low-pass filter between the oscillation circuit 10 and the waveform shaping circuit 21a as in Patent Document 1. Therefore, the low-pass filter does not induce an increase in thermal noise (noise floor). Also in the second embodiment, the unity gain frequency fu of the differential amplifier A1 is configured to be smaller than the cutoff frequency fc of the low-pass filter LPF1. Therefore, abnormal oscillation caused by feedback between the node N3 and the node N1 does not occur. Furthermore, the unity gain frequency fu of the differential amplifier A1 may be half or less, or may be one-tenth or less, of the cutoff frequency fc of the low-pass filter LPF1. With these configurations, the same effects as in the first embodiment can be obtained.

[0063] 3. Third embodiment Furthermore, the reference voltage is not limited to a voltage obtained by dividing the regulator voltage. Fig. 9 is a circuit diagram of a waveform conversion circuit 211 having a configuration in which a reference voltage is generated based on the output signal of a first inverter In1. In Fig. 9, the same components as those in Fig. 2 are indicated by the same reference symbols. The waveform conversion circuit 211 does not include a resistive voltage divider circuit RD1, but instead includes a low-pass filter LPF2.

[0064] The low-pass filter LPF2 includes a resistive element R7 and a capacitive element C3. The resistive element R7 and the capacitive element C3 are connected in series between the node N2 and the low-potential node GND, arranged from the node N2 toward the low-potential node GND. A node N5 between the resistive element R7 and the capacitive element C3 is electrically connected to the non-inverting input terminal of the differential amplifier A1. In the low-pass filter LPF2, the resistance value of the resistive element R7 can be set to be the same as the resistance value of the resistive element R3, for example. Also, the capacitance value of the capacitive element C3 can be set to be the same as the capacitance value of the capacitive element C1, for example.

[0065] According to the above configuration, the reference voltage applied to node N5, which is the non-inverting input terminal of differential amplifier A1, is a voltage obtained by smoothing the output signal of first inverter In1 by low-pass filter LPF2. Node N2, which is the output node of first inverter In1, is the input node of second inverter In2. The signal of node N2 is input to low-pass filter LPF2, and the signal of node N3, which is the output node of second inverter In2, is input to low-pass filter LPF1.

[0066] Therefore, clock signals of opposite phases are input to the low-pass filters LPF2 and LPF1, respectively. Therefore, if the period during which the clock signal at node N2 input to the low-pass filter LPF2 is at a high level is longer than the period during which it is at a low level, the period during which the clock signal at node N3 input to the low-pass filter LPF1 is at a low level is longer than the period during which it is at a high level. In other words, if the duty of the clock signal at node N2 becomes smaller, the duty of the clock signal at node N3 becomes larger. Also, if the duty of the clock signal at node N2 becomes larger, the duty of the clock signal at node N3 becomes smaller.

[0067] The low-pass filters LPF2 and LPF1 smooth the input clock signal. Therefore, the low-pass filter LPF2 outputs a voltage corresponding to the duty of the clock signal at node N2, and the low-pass filter LPF3 outputs a voltage corresponding to the duty of the clock signal at node N3. Therefore, if the output voltage of the low-pass filter LPF1 is input as a detection voltage and the output voltage of the low-pass filter LPF2 is input as a reference voltage to the differential amplifier A1, it is possible to output a bias voltage from the differential amplifier A1 that eliminates the difference between the two voltages.

[0068] In the second embodiment shown in FIG. 9, there is no low-pass filter between the oscillation circuit 10 and the waveform shaping circuit 211a as in Patent Document 1. Therefore, the low-pass filter does not induce an increase in thermal noise (noise floor). Also in the third embodiment, the unity gain frequency fu of the differential amplifier A1 is configured to be smaller than the cutoff frequency fc of the low-pass filter LPF1. Therefore, abnormal oscillation caused by feedback between the node N3 and the node N1 does not occur. Furthermore, the unity gain frequency fu of the differential amplifier A1 may be half or less, or may be one-tenth or less, of the cutoff frequency fc of the low-pass filter LPF1. With these configurations, the same effects as in the first embodiment can be obtained.

[0069] 4. Other embodiments The above-described embodiment is an example for carrying out the present invention, and various other embodiments can be adopted. For example, the temperature sensor 30, the temperature compensation circuit 32, and the frequency control circuit 34 may be omitted. In addition, the output circuit 20 includes the pre-buffers 23 and 25 and the output buffers 24 and 26, and can select between a CMOS output waveform and a clipped sine waveform, but it may be configured to output only one of them, or to output another waveform. Furthermore, the oscillator 1 is not limited to any particular application, and can be used in various applications, such as various electronic devices and electrical equipment for vehicles.

[0070] The oscillator circuit may be any circuit capable of generating an oscillation signal and amplifying the output signal of the vibrator and feeding it back to the vibrator. The type of the oscillator circuit is not limited, and may be, for example, any of various types of oscillator circuits, such as a Pierce oscillator circuit, an inverter oscillator circuit, a Colpitts oscillator circuit, or a Hartley oscillator circuit. The waveform shaping circuit may be any circuit capable of shaping the oscillation signal into a rectangular wave, and may be, for example, a circuit using a comparator.

[0071] The low-pass filter only needs to be able to smooth the clock signal and generate a detection voltage that corresponds to the duty cycle of the clock signal. Therefore, the elements constituting the low-pass filter are not limited to those described above, and the low-pass filter may be realized by combining various elements.

[0072] The differential amplifier is a circuit that outputs a bias voltage based on the difference between the detection voltage and the reference voltage to the input node of the waveform shaping circuit, and it is sufficient that the unity gain frequency of the differential amplifier is lower than the cutoff frequency of the low-pass filter. The elements that make up the differential amplifier may also be realized by various combinations. [Explanation of symbols]

[0073] 1...oscillator, 2...circuit device, 3...resonator, 10...oscillator circuit, 20...output circuit, 21...waveform conversion circuit, 21a...waveform shaping circuit, 22...frequency divider circuit, 23...pre-buffer, 24...output buffer, 25...pre-buffer, 26...output buffer, 30...temperature sensor, 32...temperature compensation circuit, 34...frequency control circuit, 36...logic circuit, 40...power supply circuit, 50...memory circuit, 210...waveform conversion circuit, 211...waveform conversion circuit, A1...differential amplifier, C1 to C3...capacitive elements, LPF1, LPF2, LPF3...low-pass filters, R1 to R7...resistance elements, RD1, RD2...resistance voltage divider circuit, Rs1 to Rsn...resistance elements, SW1...switch circuit, Ss1 to Ssn...switch, Tn1, Tn2...N-type transistors, Tp1, Tp2...P-type transistors

Claims

1. an oscillator circuit for generating an oscillation signal; a waveform shaping circuit that shapes the oscillation signal into a square wave clock signal; a low pass filter that smoothes the clock signal to generate a detection voltage corresponding to a duty of the clock signal; a differential amplifier that outputs a bias voltage based on a difference between the detection voltage and a reference voltage to an input node of the waveform shaping circuit; The unity gain frequency of the differential amplifier is lower than the cutoff frequency of the low-pass filter. circuit device.

2. The unity gain frequency of the differential amplifier is equal to or lower than half the cutoff frequency of the low-pass filter. The circuit device according to claim 1 .

3. The unity gain frequency of the differential amplifier is equal to or lower than 1 / 10 of the cutoff frequency of the low-pass filter. The circuit device according to claim 1 or 2.

4. Further comprising a resistor voltage divider circuit that divides a regulator voltage to generate the reference voltage. The circuit device according to claim 1 or 2.

5. the resistive voltage divider circuit includes a plurality of resistive elements connected in series, and a switch circuit that selects one of nodes between the plurality of resistive elements and outputs the reference voltage. The circuit arrangement according to claim 4.

6. the waveform shaping circuit includes a first inverter to which the oscillation signal is input, and a second inverter that inverts an output signal of the first inverter to generate the clock signal; The reference voltage is generated by smoothing the output signal of the first inverter. The circuit device according to claim 1 or 2.

7. There is no low-pass filter between the oscillation circuit and the waveform shaping circuit. The circuit device according to claim 1 or 2.

8. A circuit device according to claim 1; a transducer; and The oscillation circuit oscillates the vibrator to generate the oscillation signal. Oscillator.

Citation Information

Patent Citations

  • Clock oscillator

    JP1995297641A

  • Differential amplifier circuit

    JP2001230639A

  • Circuit device and oscillator

    JP2022103739A

  • System and method for adjusting duty cycle in clock signals

    US20170126211A1

  • Clock duty compensation circuit

    JP1993252007A