Oscillator

By introducing a temperature coefficient adjustment circuit into the oscillator to adjust the current temperature of the comparator, the problem of unstable oscillator frequency is solved and the working accuracy of the clock is improved.

CN117728766BActive Publication Date: 2024-10-25XINBAI MICROELECTRONICS BEIJING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410002988.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2024-10-25
Estimated Expiration
2044-01-02

AI Technical Summary

Technical Problem

The frequency instability of the oscillator causes the clock operating frequency to be unstable and affects the working accuracy of the clock. This is mainly caused by the change of the comparator delay with temperature.

Method used

Introduce a temperature coefficient adjustment circuit into the oscillator, and adjust the current temperature by increasing the temperature-affected current in the first and second comparators, thereby making the output delay of the comparator independent of temperature and improving the stability of the oscillator output frequency. sex.

Benefits of technology

It effectively improves the stability of the oscillator output frequency, reduces the impact of temperature changes on the frequency, and improves the working accuracy of the clock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117728766B_ABST
    Figure CN117728766B_ABST
Patent Text Reader

Abstract

An oscillator provided by the present application relates to the field of integrated circuits. The oscillator includes: a temperature coefficient adjustment circuit, the temperature coefficient adjustment circuit includes a low temperature coefficient adjustment circuit, a high temperature coefficient adjustment circuit and a summing circuit; a first comparator, the first comparator includes a power supply terminal and a ground terminal, and the temperature coefficient adjustment circuit is arranged between the power supply terminal and the ground terminal of the first comparator to adjust the current temperature of the first comparator; a second comparator, the second comparator includes a power supply terminal and a ground terminal, and the temperature coefficient adjustment circuit is arranged between the power supply terminal and the ground terminal of the second comparator to adjust the current temperature of the second comparator; a latch, the output terminal of the first comparator is connected to the first input terminal of the latch, and the output terminal of the second comparator is connected to the second input terminal of the latch. Implementing the technical solution provided by the present application can reduce the change of the oscillator output frequency with temperature and improve the stability of the oscillator output frequency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technology, and in particular to an oscillator. Background Art

[0002] With the development of electronic science and technology, the performance requirements for integrated circuits are getting higher and higher. Various components such as analog-to-digital converters require higher and higher clock accuracy, which requires that each component in the clock circuit has higher accuracy and lower delay.

[0003] The oscillator used to form the clock circuit usually includes a comparator. However, the delay of the comparator varies with temperature. The higher the temperature, the greater the delay of the comparator. Since the delay of the comparator is different at different temperatures, and the frequency of the oscillator is related to the delay of the comparator, this causes the frequency of the oscillator to change with the delay of the comparator, which in turn causes the frequency of the oscillator to be unstable, thereby causing the clock operating frequency to be unstable, which reduces the working accuracy of the clock. Therefore, how to improve the stability of the oscillator output frequency becomes a problem that needs to be solved. Summary of the invention

[0004] The oscillator provided in the embodiment of the present application can improve the stability of the oscillator output frequency.

[0005] In a first aspect, an embodiment of the present application provides an oscillator, comprising: a temperature coefficient adjustment circuit, the temperature coefficient adjustment circuit comprising a low temperature coefficient adjustment circuit, a high temperature coefficient adjustment circuit and a summing circuit; a first comparator, the first comparator comprising a power supply terminal and a ground terminal, the temperature coefficient adjustment circuit being arranged between the power supply terminal and the ground terminal of the first comparator to adjust the current temperature of the first comparator; a second comparator, the second comparator comprising a power supply terminal and a ground terminal, the temperature coefficient adjustment circuit being arranged between the power supply terminal and the ground terminal of the second comparator to adjust the current temperature of the second comparator; a latch, the output terminal of the first comparator being connected to the first input terminal of the latch, and the output terminal of the second comparator being connected to the second input terminal of the latch.

[0006] In the embodiment of the present application, by setting a temperature coefficient adjustment circuit in the oscillator, a current affected by temperature can be added to the first comparator, so that the temperature of the current transmitted in the first comparator can be adjusted, so that the output delay of the first comparator is independent of temperature; similarly, a current affected by temperature is added to the second comparator, so that the temperature of the current transmitted in the second comparator can be adjusted, so that the output delay of the second comparator is independent of temperature. In this way, the stability of the frequency output by the oscillator can be improved.

[0007] In a possible implementation, the oscillator also includes a first current source, a second current source, a first switch and a second switch: the first current source is arranged between a power supply terminal and a first end of the first switch; the second end of the first switch is connected to the first end of the second switch; and the second current source is arranged between the second end of the second switch and a common ground.

[0008] In one possible implementation, a node is formed at the connection between the second end of the first switch and the first end of the second switch; the first voltage input end of the first comparator and the second voltage input end of the second comparator are both connected to the node; the first output end of the latch is connected to the control end of the first switch; and the second output end of the latch is connected to the control end of the second switch.

[0009] In a possible implementation, the oscillator further includes a capacitor, and the capacitor is arranged between the node and the common ground.

[0010] In a possible implementation, the low temperature coefficient adjustment circuit includes a first transistor, a second transistor, a third transistor, a fourth transistor and a first resistor, the first transistor and the second transistor are bipolar transistors, and the third transistor and the fourth transistor are field effect transistors; the first electrode of the first transistor, the base of the first transistor and the base of the second transistor are all connected to the second electrode of the third transistor, the second electrode of the first transistor is connected to a common ground, the first electrode of the second transistor is connected to the second electrode of the fourth transistor, and the second electrode of the second transistor is connected to a common ground through the first resistor; the first electrode of the third transistor and the first electrode of the fourth transistor are both connected to a power supply terminal, and the gate of the third transistor and the gate of the fourth transistor are both connected to the second electrode of the fourth transistor.

[0011] In one possible implementation, the summing circuit includes a fifth transistor, a sixth transistor and a seventh transistor, wherein the fifth transistor, the sixth transistor and the seventh transistor are all field effect transistors; the first electrode of the fifth transistor is connected to the power supply terminal, and the gate of the fifth transistor is connected to the second electrode of the fourth transistor; the first electrode of the sixth transistor, the gate of the sixth transistor and the second electrode of the seventh transistor are all connected to the second electrode of the fifth transistor, and the second electrode of the sixth transistor is connected to a common ground; the first electrode of the seventh transistor is connected to the power supply terminal, and the gate of the seventh transistor is connected to the first electrode of the tenth transistor.

[0012] In a possible implementation, the high temperature coefficient adjustment circuit includes an eighth transistor, a ninth transistor, a tenth transistor, an eleventh transistor and a second resistor, the eighth transistor, the ninth transistor and the tenth transistor are field effect transistors, and the eleventh transistor is a bipolar transistor; the first electrode of the eighth transistor and the first electrode of the ninth transistor are both connected to the power supply terminal, the gate of the eighth transistor and the second electrode of the eighth transistor are both connected to the first electrode of the tenth transistor; the gate of the ninth transistor is connected to the gate of the fifth transistor, the second electrode of the ninth transistor and the gate of the tenth transistor are both connected to the first electrode of the eleventh transistor; the second electrode of the tenth transistor is connected to the common ground through the second resistor; the base of the eleventh transistor is connected to the second electrode of the tenth transistor, and the second electrode of the eleventh transistor is connected to the common ground.

[0013] In a possible implementation, the oscillator further includes a twelfth transistor; a gate of the twelfth transistor is connected to a gate of the sixth transistor, a first electrode of the twelfth transistor is connected to the first comparator, and a second electrode of the twelfth transistor is connected to a common ground.

[0014] In a possible implementation, the oscillator further includes a thirteenth transistor; a gate of the thirteenth transistor is connected to a gate of the sixth transistor, a first electrode of the thirteenth transistor is connected to the second comparator, and a second electrode of the thirteenth transistor is connected to a common ground.

[0015] In a possible implementation, the first comparator includes a fourteenth transistor, a fifteenth transistor, a sixteenth transistor, a seventeenth transistor, an eighteenth transistor, a nineteenth transistor, a twentieth transistor and a twenty-first transistor; the first electrode of the fourteenth transistor, the first electrode of the fifteenth transistor and the first electrode of the sixteenth transistor are all connected to the power supply terminal; the second electrode of the fourteenth transistor, the gate of the fourteenth transistor, the gate of the fifteenth transistor and the gate of the sixteenth transistor are all connected to the first electrode of the twelfth transistor; the second electrode of the fifteenth transistor and the second electrode of the seventeenth transistor are all connected to the first electrode of the eighteenth transistor; the second electrode of the sixteenth transistor is connected to the output terminal of the first comparator; the gate of the seventeenth transistor is the first input terminal of the first comparator, and the gate of the eighteenth transistor is the second input terminal of the first comparator; the first electrode of the nineteenth transistor, the gate of the nineteenth transistor and the gate of the twentieth transistor are all connected to the second electrode of the seventeenth transistor, and the second electrode of the nineteenth transistor is connected to the common ground; the first electrode of the twentieth transistor and the gate of the twenty-first transistor are all connected to the second electrode of the eighteenth transistor, and the second electrode of the twentieth transistor is connected to the common ground; the first electrode of the twenty-first transistor is connected to the output terminal of the first comparator, and the second electrode of the twenty-first transistor is connected to the common ground. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a structural schematic diagram of an oscillator provided in an embodiment of the present application;

[0017] Figure 2 is a structural schematic diagram of a temperature coefficient adjustment circuit provided in an embodiment of the present application;

[0018] Figure 3 It is a structural diagram of a comparator provided in an embodiment of the present application.

[0019] Explanation of the accompanying drawings: 10, temperature coefficient adjustment circuit; 20, first comparator; 30, second comparator; 40, latch; 11, low temperature coefficient adjustment circuit; 12, high temperature coefficient adjustment circuit; R1, first resistor; R2, second resistor; Is1, first current source; Is2, second current source; C, capacitor; T1, first transistor; T2, second transistor; T3, third transistor; T4, fourth transistor; T5, fifth transistor; T6, sixth transistor; T7, seventh transistor; T8, eighth transistor; T9, ninth transistor; T10, tenth transistor; T11, eleventh transistor; T12, twelfth transistor; T13, thirteenth transistor; T14, fourteenth transistor; T15, fifteenth transistor; T16, sixteenth transistor; T17, seventeenth transistor; T18, eighteenth transistor; T19, nineteenth transistor; T20, twentieth transistor; T21, twenty-first transistor. DETAILED DESCRIPTION

[0020] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0021] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0022] In the description of the embodiments of the present application, the term "multiple" means two or more. For example, multiple transducers refer to two or more transducers. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0023] Please refer to Figure 1 , Figure 1 1 is a schematic diagram of the structure of the oscillator 100 provided in the embodiment of the present application. Figure 1 As shown, the oscillator 100 includes a first comparator 20, a second comparator 30 and a latch 40. The first comparator 20 includes an output terminal Vop1, a power supply terminal Vs1 and a ground terminal Vg1, and the second comparator 30 includes an output terminal Vop2, a power supply terminal Vs2 and a ground terminal Vg2. The output terminal Vop1 of the first comparator 20 and the output terminal Vop2 of the second comparator 30 are both connected to the input terminal of the latch 40. The power supply terminal Vs1 of the first comparator 20 and the power supply terminal Vs2 of the second comparator 30 are both connected to the power supply terminal Vss of the oscillator 100; the ground terminal Vg1 of the first comparator 20 and the ground terminal Vg2 of the second comparator 30 are both connected to the common ground Gnd of the oscillator 100. The oscillator 100 also includes a temperature coefficient adjustment circuit 10. The temperature coefficient adjustment circuit 10 is disposed between the power supply terminal Vs1 and the ground terminal Vg1 of the first comparator 20 , and the first temperature coefficient adjustment circuit 10 is also disposed between the power supply terminal Vs2 and the ground terminal Vg2 of the second comparator 30 .

[0024] Usually, the signal output from the first comparator 20 and the second comparator 30 to the latch 40, and the signal output from the latch 40, have a delay, and the delay is related to the temperature of the current transmitted in the oscillator 100. The higher the temperature, the greater the delay of the output signal. This results in the oscillator 100 operating at different temperatures, and the signal output from the first comparator 20 to the latch 40 and the signal output from the latch 40 have different delays. Similarly, the signal output from the second comparator 30 to the latch 40 and the signal output from the latch 40 also have different delays. Therefore, when the frequency of the oscillator 100 input is constant, the signal delays of the comparator outputs are different at different temperatures, resulting in different output frequencies of the oscillator, thereby reducing the accuracy of the oscillator.

[0025] In the embodiment of the present application, a temperature coefficient adjustment circuit 10 is provided in the oscillator to add a current affected by temperature in the first comparator 20, so that the temperature of the current transmitted in the first comparator 20 can be adjusted, so that the output delay of the first comparator 20 and the latch 40 is independent of the temperature; similarly, a current affected by temperature is added in the second comparator 30, so that the temperature of the current transmitted in the second comparator 30 can be adjusted, so that the output delay of the second comparator 30 and the latch 40 is independent of the temperature. In this way, the stability of the frequency output by the oscillator can be improved.

[0026] Please continue to refer to Figure 1 In a possible implementation of the embodiment of the present application, the latch 40 may be an SR trigger. The oscillator 100 may also include a first current source Is1, a second current source Is2, a first switch k1, and a second switch k2. One end of the first current source Is1 is connected to the power supply terminal Vss, and the other end is connected to the first end of the first switch k1; the second end of the first switch k1 is connected to the first end of the second switch k2, and one end of the second current source Is2 is connected to the second end of the second switch k2, and the other end is connected to the common ground Gnd. In a possible implementation of the embodiment of the present application, the first switch k1 and the second switch k2 may be field effect transistors.

[0027] The connection between switch k1 and switch k2 forms a node a, and the second input terminal Vl1 of the first comparator 20 is connected to the first input terminal Vh2 of the second comparator 30, and both are connected to the node a. The output terminal Vop1 of the first comparator 20 is connected to the first input terminal S of the latch 40, and the output terminal Vop2 of the second comparator 30 is connected to the second input terminal R of the latch 40. The first input terminal Vh1 of the first comparator 20 and the first input terminal Vh2 of the second comparator 30 are inverting input terminals; the second input terminal Vl1 of the first comparator 20 and the second input terminal Vl2 of the second comparator 30 are non-inverting input terminals. The first output terminal Q of the latch 40 is connected to the control terminal of the switch k1, and the second output terminal Q' of the latch 40 is connected to the control terminal of the switch k2. It should be noted that the signal input to the first input terminal Vh1 of the first comparator 20 is a high-level signal, and the signal input to the second input terminal Vl2 of the second comparator 30 is a low-level signal.

[0028] In addition, the oscillator 100 further includes a capacitor C, which is arranged between the node a and the common ground Gnd.

[0029] based on Figure 1 The structure of the oscillator 100 is shown in FIG. Figure 2 , Figure 2 It is a structural schematic diagram of the temperature coefficient adjustment circuit 10 provided in an embodiment of the present application.

[0030] like Figure 2 As shown, the temperature coefficient adjustment circuit 10 includes a low temperature coefficient adjustment circuit 11, a high temperature coefficient adjustment circuit 12 and a summing circuit 13. The low temperature coefficient adjustment circuit 11 includes a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4 and a resistor R1. The first transistor T1 and the second transistor T2 are bipolar transistors, and the third transistor T3 and the fourth transistor T4 are field effect transistors. The base of the first transistor T1, the first electrode of the first transistor T1 and the base of the second transistor T2 are all connected to the second electrode of the third transistor T3. The second electrode of the first transistor T1 is connected to the common ground Gnd. The first electrode of the second transistor T2 is connected to the second electrode of the fourth transistor T4, and the second electrode of the second transistor T2 is connected to the common ground Gnd through the first resistor R1. The first electrode of the third transistor T3 and the first electrode of the fourth transistor T4 are both connected to the power supply terminal Vss, and the gate of the third transistor T3 and the gate of the fourth transistor T4 are connected to the second electrode of the fourth transistor T4. It should be noted that the first electrode of the first transistor and the first electrode of the second transistor are both collectors, and the second electrode of the first transistor and the second electrode of the second transistor are both emitters. The third transistor T3 and the fourth transistor T4 are both NMOS transistors, the first electrodes of the third transistor T3 and the fourth transistor T4 are drains, and the second electrodes of the third transistor T3 and the fourth transistor T4 are sources.

[0031] The summing circuit 13 includes a fifth transistor T5, a sixth transistor T6 and a seventh transistor T7. The fifth transistor T5, the sixth transistor T6 and the seventh transistor T7 are field effect transistors. The first electrode of the fifth transistor T5 is connected to the power supply terminal Vss, and the gate of the fifth transistor T5 is connected to the second electrode of the fourth transistor T4. The first electrode of the sixth transistor T6, the gate of the sixth transistor T6 and the second electrode of the seventh transistor T7 are all connected to the second electrode of the fifth transistor T5, and the second electrode of the sixth transistor T6 is connected to the common ground Gnd; the first electrode of the seventh transistor T7 is connected to the power supply terminal Vss, and the gate of the seventh transistor T7 is connected to the first electrode of the tenth transistor T10. The fifth transistor T5 and the seventh transistor T7 are NMOS transistors, the first electrodes of the fifth transistor T5 and the seventh transistor T7 are drains, and the second electrodes of the fifth transistor T5 and the seventh transistor T7 are sources; the sixth transistor is a PMOS tube, the first electrode of the sixth transistor is a drain, and the second electrode of the sixth transistor is a source.

[0032] The high temperature coefficient adjustment circuit 12 includes an eighth transistor T8, a ninth transistor T9, a tenth transistor T10, an eleventh transistor T11 and a second resistor R2. The eighth transistor T8, the ninth transistor T9 and the tenth transistor T10 are field effect transistors, and the eleventh transistor T11 is a bipolar transistor. The first electrode of the eighth transistor T8 and the first electrode of the ninth transistor T9 are both connected to the power supply terminal Vss, and the gate of the eighth transistor T8 and the second electrode of the eighth transistor T8 are both connected to the first electrode of the tenth transistor T10. The gate of the ninth transistor T9 is connected to the gate of the fifth transistor T5, and the second electrode of the ninth transistor T9 and the gate of the tenth transistor T10 are both connected to the first electrode of the eleventh transistor T11. The second electrode of the tenth transistor T10 is connected to the common ground Gnd through the second resistor R2. The base of the eleventh transistor T11 is connected to the second electrode of the tenth transistor T10, and the second electrode of the eleventh transistor T11 is connected to the common ground Gnd. It should be noted that the tenth transistor T10 is a PMOS transistor, the first electrode of the tenth transistor T10 is a drain, and the second electrode of the tenth transistor T10 is a source. The eighth transistor T8 and the ninth transistor T9 are NMOS transistors, the first electrode of the eighth transistor T8 and the first electrode of the ninth transistor T9 are drains, the second electrode of the eighth transistor T8 and the second electrode of the ninth transistor T9 are sources, the first electrode of the eleventh transistor T11 is a collector, and the second electrode of the eleventh transistor T11 is an emitter.

[0033] In addition, the temperature coefficient adjustment circuit 10 further includes a twelfth transistor T12, a gate of the twelfth transistor T12 is connected to the gate of the sixth transistor T6, a first electrode of the twelfth transistor T12 is connected to the first comparator 20, and a second electrode of the twelfth transistor T12 is connected to the common ground Gnd.

[0034] In addition, the temperature coefficient adjustment circuit 10 further includes a thirteenth transistor T13, a gate of the thirteenth transistor T13 is connected to the gate of the sixth transistor T6, a first electrode of the thirteenth transistor T13 is connected to the second comparator 30, and a second electrode of the thirteenth transistor T13 is connected to the common ground Gnd.

[0035] based on Figure 2 The temperature coefficient adjustment circuit 10 shown in FIG. Figure 3 , Figure 3 2 is a schematic diagram of the structure of the first comparator 20 provided in the embodiment of the present application. It should be noted that the structure of the second comparator 30 is the same as that of the first comparator 20, and the embodiment of the present application is described by taking the first comparator 20 as an example.

[0036] like Figure 3As shown, the first comparator 20 includes a fourteenth transistor T14, a fifteenth transistor T15, a sixteenth transistor T16, a seventeenth transistor T17, an eighteenth transistor T18, a nineteenth transistor T19, a twentieth transistor T20 and a twenty-first transistor T21. The first electrode of the fourteenth transistor T14, the first electrode of the fifteenth transistor T15 and the first electrode of the sixteenth transistor T16 are all connected to the power supply terminal Vss. The second electrode of the fourteenth transistor T14, the gate of the fourteenth transistor T14, the gate of the fifteenth transistor T15 and the gate of the sixteenth transistor T16 are all connected to the first electrode of the twelfth transistor T12 in the temperature coefficient adjustment circuit 10. The second electrode of the fifteenth transistor T15 and the first electrode of the seventeenth transistor T17 are all connected to the first electrode of the eighteenth transistor T18. The second electrode of the sixteenth transistor T16 is connected to the output terminal Vo1 of the first comparator 20. The gate of the seventeenth transistor T17 is the first input terminal Vh1 of the first comparator 20, and the gate of the eighteenth transistor T18 is the second input terminal Vl1 of the first comparator 20. The first electrode of the nineteenth transistor T19, the gate of the nineteenth transistor T19, and the gate of the twentieth transistor T20 are all connected to the second electrode of the seventeenth transistor T17, and the second electrode of the nineteenth transistor T19 is connected to the common ground Gnd. The first electrode of the twentieth transistor T20 and the gate of the twenty-first transistor T21 are all connected to the second electrode of the eighteenth transistor T18, and the second electrode of the twentieth transistor T20 is connected to the common ground Gnd. The first electrode of the twenty-first transistor T21 is connected to the output terminal Vo1 of the first comparator 20, and the second electrode of the twenty-first transistor T21 is connected to the common ground Gnd. It should be noted that the fourteenth transistor T14, the fifteenth transistor T15, the sixteenth transistor T16, the seventeenth transistor T17, and the eighteenth transistor T18 are NMOS transistors, the first electrode of the fourteenth transistor T14, the first electrode of the fifteenth transistor T15, the first electrode of the sixteenth transistor T16, the first electrode of the seventeenth transistor T17, and the first electrode of the eighteenth transistor are drains, and the second electrode of the fourteenth transistor T14, the second electrode of the fifteenth transistor T15, the second electrode of the sixteenth transistor T16, the second electrode of the seventeenth transistor T17, and the second electrode of the eighteenth transistor are sources. The nineteenth transistor T19, the twentieth transistor T20, and the twenty-first transistor T21 are PMOS transistors. The first electrode of the nineteenth transistor T19, the first electrode of the twentieth transistor T20, and the first electrode of the twenty-first transistor T21 are drains, and the second electrode of the nineteenth transistor T19, the second electrode of the twentieth transistor T20, and the second electrode of the twenty-first transistor T21 are sources.

[0037] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0038] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. An oscillator, characterized in that: include: A temperature coefficient adjustment circuit (10), the temperature coefficient adjustment circuit (10) comprising a low temperature coefficient adjustment circuit (11), a high temperature coefficient adjustment circuit (12) and a summing circuit (13); A first comparator (20), the first comparator (20) comprising a power supply terminal and a ground terminal, the temperature coefficient adjustment circuit (10) being arranged between the power supply terminal and the ground terminal of the first comparator (20) to adjust the current temperature of the first comparator (20); a second comparator (30), the second comparator (30) comprising a power supply terminal and a ground terminal, the temperature coefficient adjustment circuit (10) being arranged between the power supply terminal and the ground terminal of the second comparator (30) to adjust the current temperature of the second comparator (30); A latch (40), wherein the output end of the first comparator (20) is connected to the first input end of the latch (40), and the output end of the second comparator (30) is connected to the second input end of the latch (40); The low temperature coefficient adjustment circuit (11) comprises a first transistor (T1), a second transistor (T2), a third transistor (T3), a fourth transistor (T4) and a first resistor (R1); the first transistor (T1) and the second transistor (T2) are bipolar transistors; the third transistor (T3) and the fourth transistor (T4) are field effect transistors; the first electrode of the first transistor (T1), the base of the first transistor (T1) and the base of the second transistor (T2) are all connected to the second electrode of the third transistor (T3); , the second electrode of the first transistor (T1) is connected to a common ground (Gnd), the first electrode of the second transistor (T2) is connected to a second electrode of the fourth transistor (T4), and the second electrode of the second transistor (T2) is connected to a common ground (Gnd) through the first resistor (R1); the first electrode of the third transistor (T3) and the first electrode of the fourth transistor (T4) are both connected to a power supply terminal (Vss), and the gate of the third transistor (T3) and the gate of the fourth transistor (T4) are both connected to the second electrode of the fourth transistor (T4); The summing circuit comprises a fifth transistor (T5), a sixth transistor (T6) and a seventh transistor (T7), wherein the fifth transistor (T5), the sixth transistor (T6) and the seventh transistor (T7) are all field effect transistors; the first electrode of the fifth transistor (T5) is connected to a power supply terminal (Vss), and the gate of the fifth transistor (T5) is connected to the second electrode of the fourth transistor (T4); the first electrode of the sixth transistor (T6), the gate of the sixth transistor (T6) and the second electrode of the seventh transistor (T7) are all connected to the second electrode of the fifth transistor (T5), and the second electrode of the sixth transistor (T6) is connected to a common ground (Gnd); the first electrode of the seventh transistor (T7) is connected to the power supply terminal (Vss), and the gate of the seventh transistor (T7) is connected to the first electrode of the tenth transistor (T10); The high temperature coefficient adjustment circuit (12) comprises an eighth transistor (T8), a ninth transistor (T9), a tenth transistor (T10), an eleventh transistor (T11) and a second resistor (R2), wherein the eighth transistor (T8), the ninth transistor (T9) and the tenth transistor (T10) are field effect transistors, and the eleventh transistor (T11) is a bipolar transistor; the first electrode of the eighth transistor (T8) and the first electrode of the ninth transistor (T9) are both connected to a power supply terminal (Vss), the gate of the eighth transistor (T8) and the second electrode of the eighth transistor (T8) are connected to a power supply terminal (Vss), The gate electrode of the ninth transistor (T9) is connected to the gate electrode of the fifth transistor (T5), and the second electrode of the ninth transistor (T9) and the gate electrode of the tenth transistor (T10) are both connected to the first electrode of the eleventh transistor (T11); the second electrode of the tenth transistor (T10) is connected to the common ground (Gnd) through the second resistor (R2); the base electrode of the eleventh transistor (T11) is connected to the second electrode of the tenth transistor (T10), and the second electrode of the eleventh transistor (T11) is connected to the common ground (Gnd); The oscillator further comprises a twelfth transistor (T12); a gate of the twelfth transistor (T12) is connected to a gate of the sixth transistor (T6), a first electrode of the twelfth transistor (T12) is connected to the first comparator (20), and a second electrode of the twelfth transistor (T12) is connected to a common ground (Gnd); The oscillator further comprises a thirteenth transistor (T13); a gate of the thirteenth transistor (T13) is connected to a gate of the sixth transistor (T6), a first electrode of the thirteenth transistor (T13) is connected to the second comparator (30), and a second electrode of the thirteenth transistor (T13) is connected to a common ground (Gnd); The first comparator (20) comprises a fourteenth transistor (T14), a fifteenth transistor (T15), a sixteenth transistor (T16), a seventeenth transistor (T17), an eighteenth transistor (T18), a nineteenth transistor (T19), a twentieth transistor (T20) and a twenty-first transistor (T21); a first electrode of the fourteenth transistor (T14), a first electrode of the fifteenth transistor (T15) and a first electrode of the sixteenth transistor (T16) are all connected to a power supply terminal (Vss); a second electrode of the fourteenth transistor (T14), a gate of the fourteenth transistor (T14), a gate of the fifteenth transistor (T15) and a gate of the sixteenth transistor (T16) are all connected to a first electrode of the twelfth transistor (T12); a second electrode of the fifteenth transistor (T15) and a first electrode of the seventeenth transistor (T17) are all connected to a first electrode of the eighteenth transistor (T18); a first electrode of the sixteenth transistor (T16) and a second electrode of the twelfth transistor (T12 ... first electrode of the fifteenth transistor (T15) and a first electrode of the seventeenth transistor (T17) are all connected to a first electrode of the eighteenth transistor (T18); a first electrode of the sixteenth transistor (T16) and a second electrode of the twelfth transistor (T16) are all connected to a first electrode of the twelfth transistor (T12); The second electrode of the transistor (T17) is connected to the output terminal of the first comparator (20); the gate of the seventeenth transistor (T17) is the first input terminal of the first comparator (20), and the gate of the eighteenth transistor (T18) is the second input terminal of the first comparator (20); the first electrode of the nineteenth transistor (T19), the gate of the nineteenth transistor (T19), and the gate of the twentieth transistor (T20) are all connected to the second electrode of the seventeenth transistor (T17), and the second electrode of the nineteenth transistor (T19) is connected to a common ground (Gnd); the first electrode of the twentieth transistor (T20) and the gate of the twenty-first transistor (T21) are all connected to the second electrode of the eighteenth transistor (T18), and the second electrode of the twentieth transistor (T20) is connected to a common ground (Gnd); the first electrode of the twenty-first transistor (T21) is connected to the output terminal of the first comparator (20), and the second electrode of the twenty-first transistor (T21) is connected to the common ground (Gnd).

2. The oscillator according to claim 1, characterized in that The oscillator further includes a first current source (Is1), a second current source (Is2), a first switch (k1) and a second switch (k2): The first current source (Is1) is arranged between a power supply terminal (Vss) and a first terminal of the first switch (k1); The second end of the first switch (k1) is connected to the first end of the second switch (k2); The second current source is arranged between the second end of the second switch (k2) and a common ground (Gnd).

3. The oscillator according to claim 2, characterized in that A connection point between the second end of the first switch (k1) and the first end of the second switch (k2) forms a node (a); The first voltage input terminal of the first comparator (20) and the second voltage input terminal of the second comparator (30) are both connected to the node (a); The first output end of the latch (40) is connected to the control end of the first switch (k1); The second output terminal of the latch (40) is connected to the control terminal of the second switch (k2).

4. The oscillator according to claim 3, characterized in that The oscillator further includes a capacitor (C), and the capacitor (C) is arranged between the node (a) and a common ground (Gnd).