Temperature Compensated Oscillator Circuit

By eliminating the first-order term of the temperature change function of the resistance value in the temperature compensation oscillation circuit and matching the change of the reference voltage, the problem of the clock frequency of the resistor capacitance oscillator drift due to temperature changes is solved, and the clock frequency within the temperature change range is realized stability.

CN111769820BActive Publication Date: 2024-11-26ITE TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910410636.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-02
Filing Date
2019-05-17
Publication Date
2024-11-26
Estimated Expiration
2040-06-30

AI Technical Summary

Technical Problem

The clock frequency of existing resistor capacitance oscillators drifts due to temperature changes, especially the frequency changes caused by the second order term of the temperature change function cannot be eliminated in series by the polysilicon resistor, resulting in a relative change of 2% within the temperature change range. .

Method used

Design a temperature compensation oscillation circuit, through the first delay voltage generator, the second delay voltage generator, the reference voltage generator and the clock generation circuit, the first order term of the temperature change function of the resistance value is eliminated, and by adjusting the reference resistance value , the change of the reference voltage matches the second order term of the temperature change function of the resistance value, thereby maintaining the stability of the clock frequency.

Benefits of technology

The clock frequency is almost unchanged within the temperature range of -40°C to 100°C, eliminating the clock frequency drift caused by temperature changes, ensuring frequency stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111769820B_ABST
    Figure CN111769820B_ABST
Patent Text Reader

Abstract

The present invention provides a temperature compensated oscillator circuit. The temperature compensated oscillator circuit generates a first delay voltage and a second delay voltage according to a first resistance value. The first-order term of the temperature variation function of the first resistance value is eliminated. The temperature compensated oscillator circuit generates a reference voltage according to a first reference resistance value and a second reference resistance value. The first-order term of the temperature variation function of the first reference resistance value is set to be equal to the first-order term of the temperature variation function of the second reference resistance value. The second reference resistance value is adjusted so that the change of the reference voltage matches the second-order term of the temperature variation function of the first resistance value, thereby providing a clock that does not change due to temperature changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an oscillating circuit, and in particular to a temperature compensated oscillating circuit. Background Art

[0002] The clock frequency generated by a general RC oscillator will change with temperature drift. The capacitance value is not easy to change with temperature, while the resistance value is more sensitive to temperature changes. The document "An On-Chip CMOS Relaxation Oscillator With Voltage Averaging Feedback" mentions that the resistance of the RC oscillator is a polysilicon resistor with a negative temperature change function connected in series with a diffusion resistor with a positive temperature change function, so that the clock frequency generated by the RC oscillator is less sensitive to temperature.

[0003] However, the temperature variation function can be regarded as a Taylor expansion function with at least a first order term and a second order term. The above method only eliminates the first order term of the temperature variation function. The temperature variation function also has a second order term. Therefore, the clock frequency will still change with the temperature change. The second order term of the temperature variation function cannot be eliminated by connecting the polysilicon resistor in series with the diffusion resistor. Figure 1 As shown, Figure 1 The relative change of clock frequency and temperature when the second-order term of the temperature change function is retained. The horizontal axis in the relationship graph F1 represents the temperature. The vertical axis in the relationship graph F1 represents the relative change of clock frequency. The relative change of clock frequency is expressed in percentage. Figure 1 In the figure, the relationship curve CV1 is an arc-shaped second-order function. Eliminating the first-order term of the temperature change function, the temperature change function still has a second-order term. Figure 1 It can be seen that within the temperature range of -40°C to 100°C, the clock frequency still has a relative change of 2%. Therefore, the temperature change function still has a second-order term, which will cause the clock frequency of a general resistor-capacitor oscillator to change with temperature. Summary of the invention

[0004] The invention provides a temperature compensated oscillation circuit for generating a clock with a clock frequency that does not vary with temperature.

[0005] The temperature compensated oscillation circuit of the present invention comprises a first delay voltage generator, a second delay voltage generator, a reference voltage generator and a clock generating circuit. The first delay voltage generator is configured to generate a first delay voltage according to a first clock, a first resistance value and a first capacitance value, and the first order term of the temperature variation function of the first resistance value is eliminated. The second delay voltage generator is configured to generate a second delay voltage according to a second clock, a first resistance value and a second capacitance value. The reference voltage generator is configured to receive an external power supply. The reference voltage generator divides the external power supply according to the first reference resistance value and the second reference resistance value to generate a reference voltage. The first order term of the temperature variation function of the first reference resistance value is set to be equal to the first order term of the temperature variation function of the second reference resistance value. The second reference resistance value is adjusted so that the change of the reference voltage matches the second order term of the temperature variation function of the first resistance value. The clock generating circuit is configured to generate a first clock according to the first delay voltage and the reference voltage, and to generate a second clock according to the second delay voltage and the reference voltage.

[0006] Based on the above, in the first delay voltage generator and the second delay voltage generator, the first order term of the temperature change function of the first resistance value is eliminated. In the reference voltage generator, the first order term of the temperature change function of the first reference resistance value is set to be equal to the first order term of the temperature change function of the second reference resistance value. In addition, the second reference resistance value is adjusted so that the change of the reference voltage can match the second order term of the temperature change function of the first resistance value. The change of the first delay voltage and the second delay voltage follows the second order term of the temperature change function of the first resistance value, so the change of the reference voltage will be equal to the change of the first delay voltage and the second delay voltage. In this way, the frequency of the first clock and the second clock will not change due to the change of temperature.

[0007] In order to make the above features and advantages of the present invention more clearly understood, embodiments are given below with reference to the accompanying drawings for detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a graph of the relative change in clock frequency versus temperature when the second order term of the temperature change function is retained.

[0009] Figure 2 is a schematic diagram of a temperature compensated oscillation circuit according to a first embodiment of the present invention.

[0010] Figure 3 is a schematic diagram of a temperature compensated oscillation circuit according to a second embodiment of the present invention.

[0011] Figure 4A is a schematic diagram of a second reference circuit according to an embodiment of the present invention.

[0012] Figure 4B is a schematic diagram of a second reference circuit according to another embodiment of the present invention.

[0013] Figure 5 This is an improved result shown according to an embodiment of the present invention. DETAILED DESCRIPTION

[0014] Please refer to Figure 2 , Figure 2 1 is a schematic diagram of a temperature compensated oscillation circuit according to a first embodiment of the present invention. In this embodiment, the temperature compensated oscillation circuit 100 includes a first delay voltage generator 110, a second delay voltage generator 120, a reference voltage generator 130 and a clock generating circuit 140. The first delay voltage generator 110 generates a first delay voltage VD1 according to a first clock CLK1, a first resistance value rd1 and a first capacitance value cd1. The first resistance value rd1 has a temperature variation function. The temperature variation function is represented as a Taylor expansion function having at least a first order term and a second order term. The first delay voltage generator 110 also eliminates the first order term of the temperature variation function. The second delay voltage generator 120 is configured to generate a second delay voltage VD2 according to a second clock CLK2, a first resistance value rd1 and a second capacitance value cd2. Similarly, in the second delay voltage generator 120, the first order term of the temperature variation function is also eliminated. After the first order term of the temperature variation function is eliminated, the second order term of the temperature variation function is retained.

[0015] In the present embodiment, the reference voltage generator 130 receives an external power source VEXT. The reference voltage generator 130 converts the external power source VEXT into a reference voltage VREF according to a first reference resistance value rf1 and a second reference resistance value rf2. The first reference resistance value rf1 has a temperature variation function. The second reference resistance value rf2 has a temperature variation function. Similar to the temperature variation function of the first resistance value rd1, the temperature variation function of the first reference resistance value rf1 and the temperature variation function of the second reference resistance value rf2 are expressed as Taylor expansion functions having at least a first-order term and a second-order term. In the reference voltage generator 130, the first-order term of the temperature variation function of the first reference resistance value rf1 is set to be equal to the first-order term of the temperature variation function of the second reference resistance value rf2. In addition, the second reference resistance value rf2 is adjusted so that the variation of the reference voltage VREF can match the second-order term of the temperature variation function of the first resistance value rd1. The clock generating circuit 140 generates a first clock CLK1 according to a first delay voltage VD1 and a reference voltage VREF, and generates a second clock CLK2 according to a second delay voltage VD2 and a reference voltage VREF.

[0016] It is worth mentioning that in the first delay voltage generator 110 and the second delay voltage generator 120, the first order term of the temperature change function of the first resistance value rd1 is eliminated. In the reference voltage generator 130, the first order term of the temperature change function of the first reference resistance value rf1 is set to be equal to the first order term of the temperature change function of the second reference resistance value rf2. In addition, the second reference resistance value rf2 is adjusted so that the change of the reference voltage VREF can match the second order term of the temperature change function of the first resistance value rd1. The changes of the first delay voltage VD1 and the second delay voltage VD2 follow the second order term of the temperature change function of the first resistance value rd1 (such as Figure 1 Therefore, the change of the reference voltage VREF is equal to the change of the first delay voltage VD1 and the second delay voltage VD2. In this way, the frequency of the first clock CLK1 and the second clock CLK2 will not change due to the change of temperature.

[0017] For further explanation, please refer to Figure 3 , Figure 3 2 is a schematic diagram of a temperature compensated oscillator circuit according to a second embodiment of the present invention. In this embodiment, the temperature compensated oscillator circuit 200 includes a first delay voltage generator 210, a second delay voltage generator 220, a reference voltage generator 230, and a clock generating circuit 240. The first delay voltage generator 210, the second delay voltage generator 220, the reference voltage generator 230, and the clock generating circuit 240. The coupling relationship between the first delay voltage generator 210, the second delay voltage generator 220, the reference voltage generator 230, and the clock generating circuit 240 can be sufficiently taught in the first embodiment, so it will not be repeated here.

[0018] In the present embodiment, the first delay voltage generator 210 includes a first resistor R1, a second resistor R2, a first capacitor C1 and a first switch SW1. The first end of the first resistor R1 is configured to receive an input voltage VIN. The first end of the second resistor R2 is coupled to the second end of the first resistor R1. In other words, the first resistor R1 and the second resistor R2 are connected in series. The first resistor R1 and the second resistor R2 jointly provide a first resistance value rd1. The temperature coefficient of one of the first resistor R1 and the second resistor R2 is a negative temperature coefficient. The temperature coefficient of the other of the first resistor R1 and the second resistor R2 is a positive temperature coefficient. The above-mentioned negative temperature coefficient indicates that the constant of the first-order term of the temperature change function is a real number less than 0. The positive temperature coefficient indicates that the constant of the first-order term of the temperature change function is a real number greater than 0. For example, the temperature coefficient of the first resistor R1 is a negative temperature coefficient. The temperature coefficient of the second resistor R2 is a positive temperature coefficient. Therefore, after knowing the temperature variation function of the resistance value of the first resistor R1 and the temperature variation function of the resistance value of the second resistor R2 (the temperature variation function can be provided by the supplier), the length of the first resistor R1 and the length of the second resistor R2 are adjusted according to the constant of the first-order term, so as to eliminate the first-order term of the temperature variation function of the first resistance value rd1. For example, the temperature coefficient of the first resistor R1 is a negative temperature coefficient. The temperature variation function of the resistance value of the first resistor R1 is shown in formula (1):

[0019] FR1(T)=-0.8×T+0.01×T 2 Formula (1)

[0020] Where FR1(T) is the temperature variation function of the resistance value of the first resistor R1, and T is the temperature. The temperature coefficient of the second resistor R2 is a positive temperature coefficient. The temperature variation function of the resistance value of the second resistor R2 is shown in formula (2):

[0021] FR2(T)=2.4×T+0.08×T 2 Formula (2)

[0022] Where FR2(T) is a temperature variation function representing the resistance value of the second resistor R2. From formula (1) and formula (2), it can be seen that the length of the first resistor R1 can be set to three times the length of the second resistor R2. In this way, the first-order term of the temperature variation function of the first resistance value rd1 is eliminated, and the second-order term of the temperature variation function of the first resistance value rd1 is retained (i.e., 3×FR1(T)+FR2(T)=0.11×T 2 ).

[0023] The first end of the first capacitor C1 is coupled to the second end of the second resistor R2. The second end of the first capacitor C1 is coupled to a reference low voltage (e.g., ground). The first capacitor C1 provides a first capacitance value cd1. The first delay voltage generator 210 provides a first delay voltage VD1 via a connection node between the second resistor R2 and the first capacitor C1.

[0024] The first end of the first switch SW1 is coupled to the second end of the second resistor R2 and the first end of the first capacitor C1. The second end of the first switch SW1 is coupled to the reference low voltage. The control end of the first switch SW1 receives the first clock CLK1. In the present embodiment, the first switch SW1 can be implemented by, for example, an N-type metal-oxide-semiconductor (MOS) field effect transistor. The first switch SW1 is switched under the control of the first clock CLK1. When the first switch SW1 is disconnected, the input voltage VIN charges the first capacitor C1 through the first resistor R1 and the second resistor R2, thereby forming a first delay voltage VD1 at the connection node between the second resistor R2 and the first capacitor C1. When the first switch SW1 is turned on, the voltage value of the first delay voltage VD1 is pulled down to the level of the reference low voltage (for example, 0 volts).

[0025] In the present embodiment, the second delay voltage generator 220 includes a third resistor R3, a fourth resistor R4, a second capacitor C2 and a second switch SW2. The first end of the third resistor R3 is configured to receive an input voltage VIN. The first end of the fourth resistor R4 is coupled to the second end of the third resistor R3. That is, the third resistor R3 and the fourth resistor R4 are connected in series. The third resistor R3 and the fourth resistor R4 jointly provide a first resistance value rd1. The temperature coefficient of one of the third resistor R3 and the fourth resistor R4 is a negative temperature coefficient. The temperature coefficient of the other of the third resistor R3 and the fourth resistor R4 is a positive temperature coefficient. The second delay voltage generator 220 eliminates the first order term of the temperature change function of the first resistance value rd1 by the third resistor R3 and the fourth resistor R4. Regarding the implementation details of eliminating the first order term of the temperature change function of the first resistance value rd1 by the third resistor R3 and the fourth resistor R4, sufficient teaching can be obtained in the above implementation details of eliminating the first order term of the temperature change function of the first resistance value rd1 by the first resistor R1 and the second resistor R2, so it will not be repeated here. In this embodiment, the material of the third resistor R3 may be the same as that of the first resistor R1 , and the material of the fourth resistor R4 may be the same as that of the second resistor R2 . In this way, the design complexity of the first delay voltage generator 210 and the second delay voltage generator 220 may be reduced.

[0026] The first end of the second capacitor C2 is coupled to the second end of the fourth resistor R4. The second end of the second capacitor C2 is coupled to the reference low voltage, and the second capacitor C2 is configured to provide a second capacitance value cd2. The second delay voltage generator 220 provides a second delay voltage VD2 via a connection node between the fourth resistor R4 and the second capacitor C2. In this embodiment, the first capacitance value cd1 is not equal to the second capacitance value cd2.

[0027] The first end of the second switch SW2 is coupled to the second end of the fourth resistor R4 and the first end of the second capacitor C2. The second end of the second switch SW2 is coupled to the reference low voltage. The control end of the second switch SW2 is configured to receive the second clock CLK2. In the present embodiment, the implementation of the second switch SW2 is the same as that of the first switch SW1. The second switch SW2 can be implemented by NMOS, for example. The second switch SW2 is switched under the control of the second clock CLK2. When the second switch SW2 is disconnected, the input voltage VIN charges the second capacitor C2 via the third resistor R3 and the fourth resistor R4, thereby forming a second delay voltage VD2 at the connection node between the fourth resistor R4 and the second capacitor C2. When the second switch SW2 is turned on, the voltage value of the second delay voltage VD2 is pulled down to the level of the reference low voltage (for example, 0 volts). The first switch and the second switch of the present invention can be implemented by any element of the same form of transistor switch. The implementation of the first switch and the second switch of the present invention is not limited to the present embodiment.

[0028] In the present embodiment, the reference voltage generator 230 includes a first reference circuit 232 for providing a first reference resistance value rf1 and a second reference circuit 234 for providing a second reference resistance value rf2. The first end of the first reference circuit 232 is configured to receive an external power supply VEXT. The second end of the first reference circuit 232 is coupled to the clock generating circuit 240. The first reference circuit 232 includes a first reference resistor R5 and a second reference resistor R6. The first end of the first reference resistor R5 serves as the first end of the first reference circuit 232 and is configured to receive the external power supply VEXT. The first end of the second reference resistor R6 is coupled to the second end of the first reference resistor R5. The second end of the second reference resistor R6 is coupled to the second reference circuit 234. The second end of the second reference resistor R6 serves as the second end of the first reference circuit 232. In the present embodiment, the temperature coefficient of one of the first reference resistor R5 and the second reference resistor R6 is a negative temperature coefficient. The temperature coefficient of the other of the first reference resistor R5 and the second reference resistor R6 is a positive temperature coefficient. For example, the temperature coefficient of the first reference resistor R5 is a negative temperature coefficient. The temperature coefficient of the second reference resistor R6 is a positive temperature coefficient. The first reference resistor R5 and the second reference resistor R6 are connected in series to provide a first reference resistance value rf1. The temperature variation function of the first reference resistance value rf1 includes a first-order term and a second-order term.

[0029] In the present embodiment, the second reference circuit 234 is coupled between the first reference circuit 232 and the reference low voltage. The temperature variation function of the second reference resistance value rf2 includes a first-order term and a second-order term. The first reference resistor R5 and the second reference resistor R6 are designed to make the first-order term of the temperature variation function of the first reference resistance value rf1 equal to the first-order term of the temperature variation function of the second reference resistance value rf2. In this way, the reference voltage VREF generated by the reference voltage generator 230 based on the voltage division of the external power supply VEXT will not change with the first-order term of the temperature variation function of the first reference resistance value rf1 and the first-order term of the temperature variation function of the second reference resistance value rf2. The reference voltage VREF generated by the reference voltage generator 230 will change with the second-order term of the temperature variation function of the first reference resistance value rf1 and the second-order term of the temperature variation function of the second reference resistance value rf2.

[0030] In this embodiment, the second reference resistance rf2 is adjusted so that the variation of the reference voltage VREF can match the second-order term of the temperature variation function of the first resistance rd1 .

[0031] For detailed instructions on how to adjust the second reference resistor value, please refer to Figure 4A , Figure 4A3 is a schematic diagram of a second reference circuit according to an embodiment of the present invention. In this embodiment, the second reference circuit 334 includes third reference resistors R71-R7m and adjustment switches QA1-QA3. The third reference resistors R71-R7m are connected in series and coupled to the first reference circuit (such as Figure 3 The first reference circuit 232 of the first reference resistor 232 is connected to the reference low voltage. The adjustment switches QA1-QA3 are respectively connected in parallel to at least one of the third reference resistors R71-R7m. The second reference circuit 334 can control the adjustment switches QA1-QA3 according to the adjustment signal AS to adjust the second reference resistance value rf2. For example, the first end of the adjustment switch QA1 is coupled to the first end of the third reference resistor R71. The second end of the adjustment switch QA1 is coupled to the reference low voltage. The first end of the adjustment switch QA2 is coupled to the first end of the third reference resistor R72. The second end of the adjustment switch QA2 is coupled to the reference low voltage. The first end of the adjustment switch QA3 is coupled to the first end of the third reference resistor R73. The second end of the adjustment switch QA3 is coupled to the reference low voltage. For example, the second reference circuit 334 can turn on the adjustment switch QA2 and turn off the adjustment switch QA3 according to the adjustment signal AS of three bits to bypass the third reference resistors R71 and R72, thereby adjusting the second reference resistance value rf2. For the sake of convenience, the number of the adjustment switches in this embodiment is 3. The number of the adjustment switches in the present invention can be multiple and is not limited to this embodiment.

[0032] Please refer to Figure 4B , Figure 4B 4 is a schematic diagram of a second reference circuit according to another embodiment of the present invention. In this embodiment, the second reference circuit 434 includes third reference resistors R81-R8m and adjustment switches QC1-QC3. The third reference resistors R81-R8m are connected in series and coupled to the first reference circuit (such as Figure 3The first reference circuit 232 of the present invention is connected to the reference low voltage. The adjustment switches QC1-QC3 are respectively connected in parallel to one of the third reference resistors R81-R8m. The second reference circuit 434 can control the adjustment switches QC1-QC3 according to the adjustment signal AS to adjust the second reference resistance value rf2. For example, the first end of the adjustment switch QC1 is coupled to the first end of the third reference resistor R81. The second end of the adjustment switch QC1 is coupled to the second end of the third reference resistor R81. The first end of the adjustment switch QC2 is coupled to the first end of the third reference resistor R82. The second end of the adjustment switch QC2 is coupled to the second end of the third reference resistor R82. The first end of the adjustment switch QC3 is coupled to the first end of the third reference resistor R83. The second end of the adjustment switch QC3 is coupled to the second end of the third reference resistor R83. For example, the second reference circuit may turn on the adjustment switches QC1 and QC2 and turn off the adjustment switch QC3 according to the three-bit adjustment signal AS to bypass the third reference resistors R81 and R82 to adjust the second reference resistance rf2.

[0033] Please go back Figure 3 ,exist Figure 3 In the embodiment of the present invention, the clock generating circuit 240 can generate the first clock CLK1 according to the comparison between the reference voltage VREF and the first delay voltage VD1, and generate the second clock CLK2 according to the comparison between the reference voltage VREF and the second delay voltage VD2. In detail, the clock generating circuit 240 includes a first comparator 242, a second comparator 244 and a logic circuit 246. The inverting input terminal of the first comparator 242 is coupled to the reference voltage generator 230 to receive the reference voltage VREF. The non-inverting input terminal of the first comparator 242 is coupled to the first delay voltage generator 210 to receive the first delay voltage VD1. In other words, the inverting input terminal of the first comparator 242 is coupled to the second terminal of the first reference circuit 232 to receive the reference voltage VREF. The non-inverting input terminal of the first comparator 242 is coupled to the connection node of the second resistor R2 and the first capacitor C1 to receive the first delay voltage VD1. The first comparator 242 compares the voltage value of the reference voltage VREF and the voltage value of the first delay voltage VD1 to generate a first comparison result. The first comparator 242 provides a first comparison result to the logic circuit 246 via an output terminal.

[0034] The inverting input terminal of the second comparator 244 is coupled to the reference voltage generator 230 to receive the reference voltage VREF. The non-inverting input terminal of the second comparator 244 is coupled to the second delay voltage generator 220 to receive the second delay voltage VD2. In other words, the inverting input terminal of the second comparator 244 is coupled to the second end of the first reference circuit 232 to receive the reference voltage VREF. The non-inverting input terminal of the second comparator 244 is coupled to the connection node of the fourth resistor R4 and the second capacitor C2 to receive the second delay voltage VD2. The second comparator 244 compares the voltage value of the reference voltage VREF and the voltage value of the second delay voltage VD2 to generate a second comparison result.

[0035] The logic circuit 246 is coupled to the first comparator 242, the second comparator 244, the first delay voltage generator 210, and the second delay voltage generator 220, and is configured to generate the first clock CLK1 and the second clock CLK2 according to the first comparison result and the second comparison result. In the present embodiment, the logic circuit 246 is implemented by a set reset latch (SR latch). The set input terminal S of the logic circuit 246 is coupled to the output terminal of the first comparator 242 to receive the first comparison result. The reset input terminal R of the logic circuit 246 is coupled to the output terminal of the second comparator 244 to receive the second comparison result. The logic circuit 246 provides the first clock CLK1 to the first switch SW1 via the output terminal Q. The logic circuit 246 provides the second clock CLK2 to the second switch SW2 via the inverting output terminal QB.

[0036] For example, when the voltage value of the first delay voltage VD1 is greater than the voltage value of the reference voltage VREF and the voltage value of the second delay voltage VD2 is less than the voltage value of the reference voltage VREF, the first comparator 242 provides a first comparison result of a high logic level, and the second comparator 244 provides a second comparison result of a low logic level. The logic circuit 246 provides a first clock CLK1 of a high logic level and a second clock CLK2 of a low logic level according to the first comparison result and the second comparison result. At this time, the first delay voltage generator 210 pulls down the voltage value of the first delay voltage VD1 to the level of the reference low voltage according to the first clock CLK1. The second delay voltage generator 220 continues to provide the second delay voltage VD2 according to the second clock CLK2. Next, when the voltage value of the second delay voltage VD2 is greater than the voltage value of the reference voltage VREF, the logic circuit 246 provides a first clock CLK1 of a low logic level and a second clock CLK2 of a high logic level. In this way, the logic circuit 246 starts to provide a first clock CLK1 and a second clock CLK2 with a clock frequency that does not change with temperature.

[0037] in accordance with Figure 3According to the teachings of the embodiments of the present invention, the temperature compensated oscillation circuit 200 can also be modified. In some embodiments, the non-inverting input terminal of the first comparator 242 is coupled to the reference voltage generator 230 to receive the reference voltage VREF. The inverting input terminal of the first comparator 242 is coupled to the first delay voltage generator 210 to receive the first delay voltage VD1. The non-inverting input terminal of the second comparator 244 is coupled to the reference voltage generator 230 to receive the reference voltage VREF. The inverting input terminal of the second comparator 244 is coupled to the second delay voltage generator 220 to receive the second delay voltage VD2. In some embodiments, the reset input terminal R of the logic circuit 246 is coupled to the output terminal of the first comparator 242 to receive the first comparison result. The set input terminal S of the logic circuit 246 is coupled to the output terminal of the second comparator 244 to receive the second comparison result. The coupling method of the temperature compensated oscillation circuit of the present invention is not limited to this embodiment.

[0038] Please also refer to Figure 1 as well as Figure 5 , Figure 5 This is an improvement result shown according to an embodiment of the present invention. The horizontal axis in the relationship diagram F2 represents temperature. The vertical axis in the relationship diagram F2 represents the relative change of the clock frequency. The relative change of the clock frequency is expressed in percentage. It can be seen from the relationship curve CV2 that the clock frequency is almost unchanged in the temperature range of -40°C to 100°C. This means that when the change of the reference voltage VREF is equal to the change of the first delay voltage VD1 and the second delay voltage VD2. The frequency of the first clock CLK1 and the second clock CLK2 will not change due to changes in temperature.

[0039] In summary, in the temperature compensated oscillation circuit of the present invention, the first order term of the temperature variation function of the first resistance value of the first delay voltage generator and the second delay voltage generator is eliminated. The first order term of the temperature variation function of the first reference resistance value of the reference voltage generator is set to be equal to the first order term of the temperature variation function of the second reference resistance value. In addition, the second reference resistance value is adjusted so that the change of the reference voltage can match the second order term of the temperature variation function of the first resistance value. The change of the first delay voltage and the second delay voltage is a second order term that follows the temperature variation function of the first resistance value. Therefore, the change of the reference voltage will be equal to the change of the first delay voltage and the second delay voltage. In this way, the frequency of the first clock and the second clock will not change due to the change of temperature.

[0040] Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the present invention. Any person having ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the protection scope of the attached claims.

[0041]

Explanation of symbols

[0042] 100, 200: Temperature compensation oscillation circuit

[0043] 110, 210: first delay voltage generator

[0044] 120, 220: second delay voltage generator

[0045] 130, 230: Reference voltage generator

[0046] 140, 240: Clock generation circuit

[0047] 232: First reference circuit

[0048] 234, 334, 434: Second reference circuit

[0049] 242: First comparator

[0050] 244: Second comparator

[0051] 246: Logic Circuits

[0052] AS: Adjustment signal

[0053] C1: First capacitor

[0054] C2: Second capacitor

[0055] cd1: first capacitance value

[0056] cd2: second capacitance value

[0057] CLK1: First clock

[0058] CLK2: Second clock

[0059] CV1, CV2: relationship curve

[0060] F1, F2: Relationship diagram

[0061] R: Reset input

[0062] R1: First resistor

[0063] R2: Second resistor

[0064] R3: The third resistor

[0065] R4: The fourth resistor

[0066] R5: First reference resistor

[0067] R6: Second reference resistor

[0068] R71~R7m, R81~R8m: The third reference resistor

[0069] rd1: first resistance value

[0070] rf1: first reference resistance value

[0071] rf2: second reference resistance value

[0072] S: Setting input terminal

[0073] SW1: First switch

[0074] SW2: Second switch

[0075] Q: Output

[0076] QA1~QA3, QC1~QC3: Adjustment switch

[0077] QB: Inverting output terminal

[0078] VD1: First delay voltage

[0079] VD2: Second delay voltage

[0080] VEXT: External power supply

[0081] VIN: Input voltage

[0082] VREF: reference voltage

Claims

1. A temperature compensated oscillator circuit, characterized in that: include: A first delay voltage generator configured to generate a first delay voltage according to a first clock, a first resistance value, and a first capacitance value, wherein a first-order term of a temperature variation function of the first resistance value is eliminated, wherein the temperature variation function is represented as a Taylor expansion function having the first-order term and a second-order term; A second delay voltage generator is configured to generate a second delay voltage according to a second clock, the first resistance value and a second capacitance value; a reference voltage generator configured to receive an external power source, divide the external power source according to a first reference resistance value and a second reference resistance value to generate a reference voltage, wherein a first-order term of a temperature variation function of the first reference resistance value is set equal to a first-order term of a temperature variation function of the second reference resistance value, and wherein the second reference resistance value is adjusted so that a variation of the reference voltage matches the second-order term of the temperature variation function of the first resistance value; as well as A clock generating circuit is coupled to the first delay voltage generator, the second delay voltage generator and the reference voltage generator, and is configured to generate the first clock according to the first delay voltage and the reference voltage, and to generate the second clock according to the second delay voltage and the reference voltage. The first delay voltage generator includes: a first resistor, a first end of the first resistor being configured to receive an input voltage; A second resistor, a first end of the second resistor is coupled to the second end of the first resistor, wherein the first resistor and the second resistor jointly provide the first resistance value; A first capacitor, a first end of the first capacitor is coupled to the second end of the second resistor, a second end of the first capacitor is coupled to a reference low voltage, and is configured to provide the first capacitance value; and a first switch, wherein a first end of the first switch is coupled to the second end of the second resistor and the first end of the first capacitor, a second end of the first switch is coupled to the reference low voltage, and a control end of the first switch is configured to receive the first clock, and The second delay voltage generator includes: a third resistor, a first end of the third resistor being configured to receive the input voltage; a fourth resistor, a first end of the fourth resistor being coupled to the second end of the third resistor, wherein the third resistor and the fourth resistor jointly provide the first resistance value; A second capacitor, a first end of the second capacitor is coupled to the second end of the fourth resistor, a second end of the second capacitor is coupled to the reference low voltage, and is configured to provide the second capacitance value; and The second switch has a first end coupled to the second end of the fourth resistor and the first end of the second capacitor, a second end coupled to the reference low voltage, and a control end of the second switch configured to receive the second clock.

2. The temperature compensated oscillator circuit according to claim 1, characterized in that: The first delay voltage generator eliminates the first-order term of the temperature variation function of the first resistance value by means of the first resistor and the second resistor, and provides the first delay voltage via a connection node between the second resistor and the first capacitor.

3. The temperature compensated oscillation circuit according to claim 1, wherein: A temperature coefficient of one of the first resistor and the second resistor is a negative temperature coefficient, wherein a temperature coefficient of the other of the first resistor and the second resistor is a positive temperature coefficient.

4. The temperature compensated oscillation circuit according to claim 1, wherein: The second delay voltage generator eliminates the first-order term of the temperature variation function of the first resistance value through the third resistor and the fourth resistor, and provides the second delay voltage through the connection node of the fourth resistor and the second capacitor.

5. The temperature compensated oscillation circuit according to claim 1, wherein: A temperature coefficient of one of the third resistor and the fourth resistor is a negative temperature coefficient, wherein a temperature coefficient of the other of the third resistor and the fourth resistor is a positive temperature coefficient.

6. The temperature compensated oscillation circuit according to claim 1, wherein: The reference voltage generator comprises: A first reference circuit, wherein a first terminal of the first reference circuit is configured to receive the external power supply, a second terminal of the first reference circuit is coupled to the clock generating circuit, and the first reference circuit is configured to provide the first reference resistance value; and The second reference circuit is coupled between the first reference circuit and a reference low voltage, and is configured to provide the second reference resistance value.

7. The temperature compensated oscillation circuit according to claim 6, characterized in that: The first reference circuit comprises: a first reference resistor, a first end of the first reference resistor being configured to receive an external power source; and A second reference resistor, wherein a first end of the second reference resistor is coupled to the second end of the first reference resistor, and a second end of the second reference resistor is coupled to the second reference circuit.

8. The temperature compensated oscillation circuit according to claim 7, characterized in that: The temperature coefficient of one of the first reference resistor and the second reference resistor is a negative temperature coefficient, wherein the temperature coefficient of the other of the first reference resistor and the second reference resistor is a positive temperature coefficient.

9. The temperature compensated oscillation circuit according to claim 6, characterized in that: The second reference circuit comprises: a plurality of third reference resistors, coupled between the first reference circuit and the reference low voltage, the third reference resistors being connected in series; and A plurality of adjustment switches are respectively connected in parallel to at least one of the third reference resistors, The second reference circuit controls the adjustment switch according to the adjustment signal to adjust the second reference resistance value.

10. The temperature compensated oscillation circuit according to claim 1, wherein: The clock generation circuit comprises: a first comparator, wherein an inverting input terminal of the first comparator is coupled to the reference voltage generator to receive the reference voltage, a non-inverting input terminal of the first comparator is coupled to the first delay voltage generator to receive the first delay voltage, and the first comparator is configured to compare a voltage value of the reference voltage with a voltage value of the first delay voltage to generate a first comparison result; a second comparator, wherein an inverting input terminal of the second comparator is coupled to the reference voltage generator to receive the reference voltage, a non-inverting input terminal of the second comparator is coupled to the second delay voltage generator to receive the second delay voltage, and the second comparator is configured to compare a voltage value of the reference voltage and a voltage value of the second delay voltage to generate a second comparison result; and The logic circuit is coupled to the first comparator, the second comparator, the first delay voltage generator and the second delay voltage generator, and is configured to generate the first clock and the second clock according to the first comparison result and the second comparison result.