A relaxation oscillator and chip

By introducing adjustable circuitry into the relaxation oscillator, the current supply module's current can be adjusted, solving the problem of fixed output frequency and enabling flexible frequency adjustment, thus expanding application scenarios.

CN115567040BActive Publication Date: 2026-07-31BEIJING ESWIN COMPUTING TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ESWIN COMPUTING TECH CO LTD
Filing Date
2022-10-10
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

The fixed output frequency of existing relaxation oscillators limits the application scenarios of integrated circuits, making them unsuitable for flexible application in scenarios with different frequency requirements.

Method used

By introducing parameter-adjustable circuit devices, such as transformers and adjustable resistors, into the relaxation oscillator, the current supplied by the current module is adjusted, thereby regulating the output frequency of the oscillation module.

Benefits of technology

It enables flexible adjustment of the output frequency of the relaxation oscillator, expands its application scenarios in integrated circuits, and improves its business applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567040B_ABST
    Figure CN115567040B_ABST
Patent Text Reader

Abstract

This application discloses a relaxation oscillator and chip, relating to the field of oscillator technology, with the main objective of achieving adjustable output frequency of the relaxation oscillator. The relaxation oscillator includes: a current supply module and an oscillation module, wherein the current supply module is equipped with adjustable circuit devices; the current supply module is used to provide a first current; wherein the magnitude of the first current corresponds to the parameter currently adjusted to the circuit devices; and the oscillation module is used to emit an oscillation signal with a frequency corresponding to the first current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of oscillator technology, and in particular to a relaxation oscillator and chip. Background Technology

[0002] Relaxation oscillators have advantages such as simple structure, high frequency stability, high temperature stability, and low power consumption, and are widely used in integrated circuits.

[0003] Currently, the output frequency of relaxation oscillators is usually fixed, and its frequency cannot be changed after it is deployed in an integrated circuit. This fixed output frequency limits the application scenarios of integrated circuits. Summary of the Invention

[0004] In view of this, this application proposes a relaxation oscillator and chip, the main purpose of which is to realize that the output frequency of the relaxation oscillator is adjustable.

[0005] To achieve the above objectives, this application mainly provides the following technical solutions:

[0006] In a first aspect, this application provides a relaxation oscillator, which includes: a current supply module and an oscillation module, wherein the current supply module is provided with circuit devices with adjustable parameters;

[0007] A current supply module is used to provide a first current; wherein the magnitude of the first current corresponds to the parameter currently adjusted to the circuit device;

[0008] The oscillation module is used to generate an oscillation signal with a frequency corresponding to the first current.

[0009] In some embodiments, the current providing module includes: a current generating submodule for generating a second current based on parameters currently adjusted to the circuit device; and a current mirroring submodule for mirroring the second current to obtain a first current.

[0010] The relaxation oscillator and chip provided in this application include an oscillation module and circuit devices with adjustable parameters. When it is necessary to change the output frequency of the relaxation oscillator, the parameters of the circuit devices can be adjusted to meet the required output frequency. Then, the current supply module provides a first current with a magnitude corresponding to the currently adjusted parameters of the circuit devices, and the oscillation module emits an oscillation signal with a frequency corresponding to the first current, thereby completing the adjustment of the output frequency of the relaxation oscillator. It can be seen that this application achieves adjustable output frequency of the relaxation oscillator by adjusting the parameters of the circuit devices, thus making the relaxation oscillator suitable for different application scenarios and improving its business applicability.

[0011] In some embodiments, the current generation submodule includes a first circuit, a second circuit, a third circuit, and a circuit device; wherein the circuit device is a transformer, and both the transformer and the first circuit are connected to a first node; the transformer is used to provide a voltage to the first node based on the currently regulated output voltage; the first circuit is used to provide a clamping voltage to the second circuit based on the voltage of the first node; the second circuit is used to generate a second current under the action of the clamping voltage; and the third circuit is used to provide the second current to the mirror current submodule.

[0012] In some embodiments, the current generation submodule includes a first circuit, a third circuit, a fourth circuit, and a circuit device; wherein the circuit device is an adjustable resistor and is disposed in the fourth circuit; the first circuit is connected to a first node; the first circuit is used to provide a clamping voltage to the fourth circuit based on the voltage of the first node; the fourth circuit is used to generate a second current based on the clamping voltage and the resistance value currently adjusted to the adjustable resistor; and the third circuit is used to provide the second current to the mirror current submodule.

[0013] In some embodiments, the current generation submodule includes a first circuit, a third circuit, a fourth circuit, and circuit devices; wherein, the circuit devices include a transformer and an adjustable resistor; both the transformer and the first circuit are connected to a first node; the adjustable resistor is disposed in the fourth circuit; the transformer is used to provide a voltage to the first node based on the currently adjusted output voltage; the first circuit is used to provide a clamping voltage to the fourth circuit based on the voltage of the first node; the fourth circuit is used to generate a second current based on the clamping voltage and the currently adjusted resistance value of the adjustable resistor; and the third circuit is used to provide the second current to the mirror current submodule.

[0014] In some embodiments, the first circuit includes a current supply sub-circuit and an operational amplifier sub-circuit; the current supply sub-circuit is used to provide a third current to the operational amplifier sub-circuit; the operational amplifier sub-circuit is used to provide a clamping voltage based on the third current and the voltage of the first node.

[0015] In some embodiments, the current supply circuit includes a first transistor: the control terminal of the first transistor is connected to a first power supply terminal, the input terminal is connected to a second power supply terminal, and the output terminal is connected to a second node, and the first transistor is used to generate a zero temperature coefficient current, wherein the second node is used to connect to an operational amplifier sub-circuit.

[0016] In some embodiments, the operational amplifier sub-circuit includes a second transistor, a third transistor, a fourth transistor, and a fifth transistor; the control terminal of the second transistor is connected to a first node, its input terminal is connected to a second node, and its output terminal is connected to a third node, the second node being used to connect to a current supply sub-circuit; the control terminal of the third transistor is connected to a fourth node, its input terminal is connected to a third node, and its output terminal is connected to a fifth node; the fourth node is connected to the third node; the input terminal of the fourth transistor is connected to a second node, its output terminal is connected to a sixth node, and its control terminal is connected to a seventh node; the control terminal of the fifth transistor is connected to a fourth node, its input terminal is connected to a sixth node, and its output terminal is connected to a fifth node.

[0017] In some embodiments, the third circuit includes a sixth transistor; the control terminal of the sixth transistor is connected to the sixth node, the input terminal is connected to the mirror current submodule, and the output terminal is connected to the seventh node.

[0018] In some embodiments, the second circuit includes a target resistor; a first end of the target resistor is connected to a fifth node, and a second end is connected to a seventh node.

[0019] In some embodiments, the fourth circuit is provided with an adjustable resistor; the first end of the adjustable resistor is connected to the fifth node, and the second end is connected to the seventh node.

[0020] In some embodiments, the mirror current submodule includes a seventh transistor and an eighth transistor: the input terminal of the seventh transistor is connected to the third power supply terminal, the output terminal is connected to the eighth node, and the control terminal is connected to the ninth node; wherein, the eighth node is connected to the current generation submodule and the eighth node is connected to the ninth node; the input terminal of the eighth transistor is connected to the fourth power supply terminal, the output terminal is connected to the oscillation module, and the control terminal is connected to the ninth node.

[0021] In some embodiments, the current supply module is provided with an external port for connecting circuit devices.

[0022] Secondly, this application provides a chip that includes the relaxation oscillator of the first aspect.

[0023] The beneficial effects of the chip provided in this application are basically the same as those of the relaxation oscillator provided in the first aspect, so they will not be described again here.

[0024] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This paper shows one of the structural schematic diagrams of the relaxation oscillator provided in an embodiment of this application;

[0027] Figure 2 A second schematic diagram of the structure of the relaxation oscillator provided in this application embodiment is shown;

[0028] Figure 3 One of the structural schematic diagrams of the current generation submodule provided in the embodiments of this application is shown;

[0029] Figure 4 This is a second schematic diagram of the structure of the current generation submodule provided in an embodiment of this application;

[0030] Figure 5 The third schematic diagram of the current generation submodule provided in this application embodiment is shown;

[0031] Figure 6 This paper shows one of the structural schematic diagrams of the current supply module provided in an embodiment of this application;

[0032] Figure 7 This is a second schematic diagram of the current supply module provided in an embodiment of this application;

[0033] Figure 8 The third schematic diagram of the current supply module provided in this application embodiment is shown;

[0034] Figure 9 A schematic diagram of the structure of the oscillation module provided in an embodiment of this application is shown. Detailed Implementation

[0035] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0036] Currently, the output frequency of relaxation oscillators is typically fixed, and once deployed in an integrated circuit (IC), its output frequency cannot be changed. This fixed output frequency limits the application scenarios of the IC; that is, the IC can only function within the fixed frequency range of the relaxation oscillator's output. When the IC needs to function at a non-fixed frequency, it can only be achieved in two ways: First, the relaxation oscillator in the IC can be removed and replaced with one that outputs the required frequency. This method is time-consuming and labor-intensive. Second, the existing IC can be discarded and a new IC with a relaxation oscillator whose output frequency meets the requirements can be used. This method is suitable for non-removable IC products like chips. However, this method is costly because it requires replacing the entire IC.

[0037] As can be seen, existing relaxation oscillators can only output a fixed frequency, which limits the application scenarios of integrated circuits that deploy relaxation oscillators. In order to achieve an adjustable output frequency for relaxation oscillators, so that integrated circuits deploying relaxation oscillators can be applied to different scenarios, this application provides a relaxation oscillator and chip.

[0038] The relaxation oscillator and chip provided in this application embodiment can flexibly adjust the output frequency of the relaxation oscillator based on business needs, thereby enabling integrated circuit products that deploy relaxation oscillators to be applicable to a variety of application scenarios.

[0039] The relaxation oscillator and chip provided in the embodiments of this application will be described in detail below.

[0040] like Figure 1 As shown, this application embodiment provides a relaxation oscillator, which mainly includes a current supply module 11 and an oscillation module 12. The current supply module 11 is provided with a circuit device 13 with adjustable parameters;

[0041] The current supply module 11 is used to provide a first current; wherein the magnitude of the first current corresponds to the parameter currently adjusted to the circuit device.

[0042] The oscillation module 12 is used to emit an oscillation signal with a frequency corresponding to the first current.

[0043] The following is a detailed explanation of the specific structure and interaction relationships of the components involved in the relaxation oscillator:

[0044] Current supply module 11:

[0045] The main working principle of a relaxation oscillator is to charge a capacitor with a bias current. The voltage across the capacitor changes over time. A comparator compares this voltage with a reference voltage and outputs a signal based on the comparison result. The comparator's output signal controls a feedback loop, which ultimately causes the relaxation oscillator to output an oscillation signal of a specific frequency. This oscillation signal is a square wave. The output frequency of the relaxation oscillator is determined by the magnitude of the bias current. Traditional relaxation oscillators charge the capacitor with a constant bias current, therefore they can only output an oscillation signal of a fixed frequency.

[0046] To achieve adjustable output frequency of the relaxation oscillator, the relaxation oscillator provided in this embodiment includes a current supply module 11, which is equipped with a circuit device 13 with adjustable parameters. The current supply module 11 is mainly used to provide a first current. The magnitude of this first current corresponds to the parameter currently adjusted to the circuit device 13.

[0047] The parameters of circuit device 13 directly determine the magnitude of the first current generated by the current supply module 11, and the magnitude of the first current determines the frequency of the oscillation signal output by the relaxation oscillator. Therefore, the output frequency of the relaxation oscillator can be adjusted by regulating the parameters of circuit device 13. Circuit device 13 includes the following two types:

[0048] Type 1: Circuit device 13 is transformer 131. The output voltage of transformer 131 is adjustable. Therefore, by adjusting the output voltage of transformer 131, the first current required to adjust the output frequency of the relaxation oscillator can be obtained.

[0049] Type 2: Circuit device 13 is an adjustable resistor 132. The resistance value of the adjustable resistor 132 can be adjusted. Therefore, by adjusting the resistance value of the adjustable resistor 132, the first current required to adjust the output frequency of the relaxation oscillator can be obtained.

[0050] The two types of circuit devices 13 described above can be used individually or in combination. When used individually, only one type of circuit device 13 is deployed in the relaxation oscillator, and the output frequency of the relaxation oscillator is adjusted by regulating the parameters of this single type of circuit device 13. When used in combination, both types of circuit devices 13 are deployed in the relaxation oscillator, and the output frequency of the relaxation oscillator is adjusted by regulating the parameters of these two types of circuit devices 13.

[0051] The specific structure of module 11 provided by the circuit is described below. For example... Figure 2 As shown, the current supply module 11 includes: a current generation submodule 111, used to generate a second current based on the parameters currently adjusted to the circuit device 13; and a mirror current submodule 112, used to mirror the second current to obtain a first current.

[0052] The current generation submodule 111 mainly generates a second current based on the parameters currently adjusted by the circuit devices. The specific structure of the current generation submodule 111 is related to the selected circuit devices 13, therefore, the specific structure of the current generation submodule 111 includes the following four types:

[0053] The first type, such as Figure 3 As shown, the current generation submodule 111 includes a first circuit 1111, a second circuit 1112, a third circuit 1113, and a circuit device 13; wherein, the circuit device 13 is a transformer 131, and both the transformer 131 and the first circuit 1111 are connected to the first node A. The transformer 131 is used to provide voltage to the first node A based on the currently adjusted output voltage. The first circuit 1111 is used to provide a clamping voltage to the second circuit 1112 based on the voltage of the first node A. The second circuit 1112 is used to generate a second current under the action of the clamping voltage. The third circuit 1113 is used to provide the second current to the mirror current submodule 112.

[0054] Transformer 131 can output multiple different voltages, and its output voltage can be adjusted based on external settings. For example, the transformer can output three different voltages: Voltage 1, Voltage 2, and Voltage 3. If the business requirement necessitates adjusting the output frequency of the relaxation oscillator from the frequency corresponding to Voltage 1 to the frequency corresponding to Voltage 2, then the transformer's output voltage is adjusted to Voltage 2. There are two ways to adjust the transformer's output voltage: First, the transformer is equipped with a matching controller. When the controller receives an adjustment command transmitted wirelessly or via wired means, it controls the transformer to output the required voltage. Second, after the relaxation oscillator is deployed in an integrated circuit product such as a chip, a voltage regulating switch is reserved for the transformer. This switch controls the transformer to output different output voltages. When the regulating switch is turned on and an output voltage is specified, the transformer outputs the specified voltage. Both of these adjustment methods for transformer 131 ensure that the transformer's output voltage can be flexibly adjusted according to business needs.

[0055] One end of transformer 131 is connected to a preset power supply terminal, and the other end is connected to the first node A. Transformer 131 transforms the voltage provided by the preset power supply terminal and outputs its currently regulated output voltage to the first node A for use by the first circuit 1111.

[0056] The first circuit 111 acquires the voltage of the first node A and provides a clamping voltage to the second circuit based on the voltage of the first node A. The second circuit 1112 generates a second current based on the clamping voltage and its own resistance. The third circuit 1113 provides the second current to the mirror current submodule 112, so that the mirror current submodule 112 mirrors the second current into a first current for use by the oscillation module 12.

[0057] The second type, such as Figure 4 As shown, the current generation submodule 111 includes a first circuit 1111, a third circuit 1113, a fourth circuit 1114, and a circuit device 13; wherein, the circuit device 13 is an adjustable resistor 132 and is disposed in the fourth circuit 1114. The first circuit 1111 is connected to the first node A. The first circuit 1111 is used to provide a clamping voltage to the fourth circuit 1114 based on the voltage A of the first node. The fourth circuit 1114 is used to generate a second current based on the clamping voltage and the resistance value currently adjusted to the adjustable resistor 132. The third circuit 1113 is used to provide the second current to the mirror current submodule 112.

[0058] The adjustable resistor 132 can be adjusted to various resistance values, which can be adjusted based on external settings. For example, the adjustable resistor 132 can have three different resistance values: resistance value 1, resistance value 2, and resistance value 3. If the business requirement dictates that the relaxation oscillator needs to adjust its output frequency from the value corresponding to resistance value 1 to the value corresponding to resistance value 2, then the resistance value of the adjustable resistor 132 will be adjusted to resistance value 2. There are two ways to adjust the resistance value of the adjustable resistor 132: First, the adjustable resistor 132 is equipped with a matching controller. When the controller receives an adjustment command transmitted wirelessly or via wired means, it controls the adjustable resistor 132 to adjust to the resistance value required by the adjustment command. Second, after the relaxation oscillator is deployed in an integrated circuit product such as a chip, an adjustment switch is reserved for the adjustable resistor 132. The adjustment switch controls the adjustable resistor 132 to adjust to different resistance values. After the adjustment switch is turned on and a resistance value is specified, the adjustable resistor 132 adjusts to the resistance value specified by the adjustment switch. Both of the above-mentioned adjustment methods of the adjustable resistor 132 can ensure that the resistance value of the adjustable resistor 132 can be flexibly adjusted according to business needs.

[0059] An adjustable resistor 132 is configured in the fourth circuit 1114. The first circuit 111 acquires the voltage of the first node A and provides a clamping voltage to the fourth circuit 1114 based on this voltage. The fourth circuit 1114 generates a second current based on the clamping voltage and the currently adjusted resistance value of the adjustable resistor 132. The third circuit 1113 provides the second current to the current mirroring submodule 112, which mirrors the second current into a first current for use by the oscillation module 12.

[0060] The third type, such as Figure 5 As shown, the current generation submodule 111 includes a first circuit 1111, a third circuit 1113, a fourth circuit 1114, and a circuit device 13; wherein, the circuit device 13 includes a transformer 131 and an adjustable resistor 132. The transformer 131 and the first circuit 1111 are both connected to the first node A. The adjustable resistor 132 is located in the fourth circuit 13. The transformer 131 is used to provide voltage to the first node A based on the currently adjusted output voltage. The first circuit 1111 is used to provide a clamping voltage to the fourth circuit 1114 based on the voltage of the first node A. The fourth circuit 1114 is used to generate a second current based on the clamping voltage and the currently adjusted resistance value of the adjustable resistor 132. The third circuit 1113 is used to provide the second current to the mirror current submodule 112.

[0061] The current generation submodule 111 incorporates both a transformer 131 and an adjustable resistor 132. The advantages of simultaneously incorporating these two circuit components are twofold: First, for output frequencies that are difficult to achieve by individually adjusting the output voltage of the transformer 131 or the resistance value of the adjustable resistor 132, they can be achieved by simultaneously adjusting both. Second, when the adjustment function of one of the components, the transformer 131 and the adjustable resistor 132, fails and is fixed in a certain state, the output frequency of the relaxation oscillator can still be adjusted by adjusting the other component. For example, if the transformer 131 fails to adjust and its output voltage is fixed at only voltage 1, while the adjustable resistor 132 can still be adjusted, the output frequency of the relaxation oscillator can still be adjusted by changing the resistance value of the adjustable resistor 132, even when the transformer 131 can only output voltage 1. It should be noted that in actual use, it can be determined based on business needs whether to adjust both types of circuit devices simultaneously or adjust only one type of circuit device.

[0062] Transformer 131 provides voltage to the first node A based on the currently adjusted output voltage. First circuit 111 acquires the voltage of the first node A and provides a clamping voltage to the fourth circuit based on this voltage. Fourth circuit 1114 generates a second current based on the clamping voltage and the currently adjusted resistance value of adjustable resistor 132. Third circuit 1113 provides the second current to the current mirroring submodule 112, which mirrors the second current into a first current for use by oscillation module 12.

[0063] The fourth type is that the current supply module 111 is provided with an external port, which is used to connect the circuit device 13.

[0064] Since circuit device 13 is built into current supply module 111 and cannot be flexibly replaced, current supply module 111 is provided with an external port for connecting circuit device 13. The adjustment parameters of the circuit device can then be achieved by replacing it with a circuit device having different parameters. For example, the external port can be used to connect a resistor; when adjusting the output frequency of the relaxation oscillator, the resistor at the external port can be replaced.

[0065] The following is based on Figure 6 , Figure 7 and Figure 8 The specific structures of the first circuit 1111, the second circuit 1112, the third circuit 1113, and the fourth circuit 1114 involved in the current supply module 111 are described. Figure 6 A schematic diagram of the current supply module 111 for circuit device 13, which uses only transformer 131.

[0066] Figure 7 A schematic diagram of the structure of module 111, which uses only the adjustable resistor 132 to supply current to circuit device 13. Figure 8 A schematic diagram of the structure of module 111, which simultaneously selects transformer 131 and adjustable resistor 132 for circuit device 13.

[0067] First circuit 1111:

[0068] The first circuit 1111 includes a current supply sub-circuit 11A and an operational amplifier sub-circuit 11B. The current supply sub-circuit 11A is used to provide a third current to the operational amplifier sub-circuit 11B. The operational amplifier sub-circuit 11B is used to provide a clamping voltage based on the third current and the voltage at the first node A1.

[0069] The current supply circuit 11A provides a third current to the operational amplifier circuit 11B. This third current is a stable tail current, and it is a zero-temperature system current. The purpose of having a zero-temperature system current is to ensure that the quiescent operating points of the current supply circuit 11A and the operational amplifier circuit 11B do not change with temperature, thereby ensuring the stability of the relaxation oscillator.

[0070] The specific structure of the current supply circuit 11A is as follows: Figure 6-8As shown, the current supply circuit 11A includes a first transistor M1. The control terminal of the first transistor M1 is connected to the first power supply terminal V1, the input terminal is connected to the second power supply terminal V2, and the output terminal is connected to the second node A2. The first transistor M1 is used to generate a zero-temperature coefficient current. The second node A2 is used to connect the operational amplifier sub-circuit 11B. The zero-temperature coefficient current here is the third current. The specific working process of the first transistor M1 is as follows: under the action of the voltage provided by the first power supply terminal and the voltage provided by the second power supply terminal, a third current is generated, and the third current is transmitted to the second node A2 for use by the operational amplifier sub-circuit 11B connected to the second node A2.

[0071] The specific structure of op-amp sub-circuit 11B is as follows: Figure 6-8 As shown, the operational amplifier sub-circuit 11B includes a second transistor M2, a third transistor M3, a fourth transistor M4, and a fifth transistor M5. The control terminal of the second transistor M2 is connected to the first node A1, its input terminal is connected to the second node A2, and its output terminal is connected to the third node A3. The second node A2 is used to connect to the current supply sub-circuit 11A. The control terminal of the third transistor M3 is connected to the fourth node A4, its input terminal is connected to the third node A3, and its output terminal is connected to the fifth node A5. The fourth node A4 is connected to the third node A3. The input terminal of the fourth transistor M4 is connected to the second node A2, its output terminal is connected to the sixth node A6, and its control terminal is connected to the seventh node A7. The control terminal of the fifth transistor M5 is connected to the fourth node A4, its input terminal is connected to the sixth node A6, and its output terminal is connected to the fifth node A5. The fifth node A5 is connected to ground.

[0072] The first circuit 1111, which is composed of the current supply circuit 11A and the operational amplifier circuit 11B, is a negative feedback loop. The first circuit 1111 acts as a clamping mechanism, which makes the voltage at the seventh node A7 equal to the voltage at the first node A1.

[0073] Second circuit 1112:

[0074] The second circuit 1112 is used to generate a second current under the clamping voltage provided by the first circuit 1111. For example... Figure 6 As shown, the second circuit 1112 includes a target resistor R. The first end of the target resistor R is connected to the fifth node A5, and the second end is connected to the seventh node A7. Because... Figure 6 The relaxation oscillator shown uses only one type of circuit device, the transformer, so the target resistor R1 is a resistor with a fixed resistance value that cannot be adjusted.

[0075] The second current generated by the second circuit 1112 is used to mirror the current mirroring submodule 112, so that the current mirroring submodule 112 mirrors the first current used by the oscillation module 12.

[0076] The magnitude of the second current generated by the second circuit 1112 is determined by the clamping voltage at the seventh node A7 and the resistance value of the target resistor R itself. Therefore, the magnitude of the second current can be expressed by the following formula: I = V / R', where I represents the second current, V represents the clamping voltage, and R' represents the resistance value of the target resistor R.

[0077] Fourth circuit 1114:

[0078] The fourth circuit 1114 is equipped with an adjustable resistor 132. The fourth circuit 1114 is mainly used to generate a second current based on the clamping voltage and the resistance value currently adjusted to the adjustable resistor 132.

[0079] like Figure 7 and Figure 8 As shown, the fourth circuit 1114 is equipped with an adjustable resistor 132. The first end of the adjustable resistor 132 is connected to the fifth node A5, and the second end is connected to the seventh node A7.

[0080] The second current generated by the fourth circuit 1114 is used for mirroring the current mirroring submodule 112, so that the current mirroring submodule 112 mirrors the first current used by the oscillation module 12.

[0081] The magnitude of the second current generated by the fourth circuit 1114 is determined by the clamping voltage at the seventh node A7 and the resistance value currently adjusted to the adjustable resistor 132. Therefore, the magnitude of the second current can be expressed by the following formula: I = V / R”, where I represents the second current, V represents the clamping voltage, and R” represents the resistance value currently adjusted to the adjustable resistor 132.

[0082] Third circuit 1113:

[0083] The third circuit 1113 is mainly used to transmit the second current to the mirror current submodule 112. The third circuit includes a sixth transistor M6. The control terminal of the sixth transistor M6 is connected to the sixth node A6, the input terminal is connected to the mirror current submodule 112, and the output terminal is connected to the seventh node A7.

[0084] exist Figure 6 The second current transmitted in it is generated by the second circuit 1112, in Figure 7 and Figure 8 The second current transmitted in it is generated by the fourth circuit 1114.

[0085] The current mirroring submodule 112 is described below. The current mirroring submodule 112 is mainly used to mirror the second current to obtain the first current, which is then used by the oscillation module 12 to output the oscillation signal.

[0086] The mirror current submodule 112 mirrors the second current to obtain the first current. The relationship between the first and second currents includes two possibilities: first, the first and second currents are equal in magnitude; second, the first and second currents are multiples of each other. For example, the mirrored first current is twice the second current. Or, the mirrored first current is 0.5 times the second current.

[0087] like Figure 6-8 As shown, the current mirroring submodule 112 includes a seventh transistor M7 and an eighth transistor M8. The input terminal of the seventh transistor M7 is connected to the third power supply terminal V3, the output terminal is connected to the eighth node A8, and the control terminal is connected to the ninth node A9; wherein, the eighth node A8 is connected to the current generation submodule 111, and the eighth node A8 is connected to the ninth node A9. The input terminal of the eighth transistor M8 is connected to the fourth power supply terminal V4, the output terminal is connected to the oscillation module 12, and the control terminal is connected to the ninth node A9.

[0088] Oscillation Module 12:

[0089] The oscillation module 12 is mainly used to emit an oscillation signal with a frequency corresponding to the first current. When the magnitude of the first current changes, the frequency of the oscillation signal emitted by the oscillation module 12 will change with the magnitude of the first current.

[0090] The following is based on Figure 9 The oscillation module 12 shown illustrates its specific operation: The oscillation module 12 contains a capacitor C. A first current provided by the current supply module 12 charges capacitor C, causing the voltage across capacitor C to change over time. Comparator COM1 compares the voltage across capacitor C with a reference voltage Vref1, and comparator COM2 compares the voltage across capacitor C with a reference voltage Vref2. When the voltage across capacitor C exceeds the reference voltage Vref1, the SR flip-flop toggles once, controlling switch Q1 to turn on and switch Q2 to turn off, discharging capacitor C. When the voltage across capacitor C does not exceed the reference voltage Vref2, the SR flip-flop toggles again, controlling switch Q1 to turn off and switch Q2 to turn on, charging capacitor C using the first current. The timing of the SR flip-flop's toggles is determined by the magnitude of the first current; therefore, the output frequency of the oscillation signal CLK from the SR flip-flop corresponds to the magnitude of the first current. Figure 9 The oscillation signal CLK is the clock signal.

[0091] Based on the above principle, the charging current and discharging current of capacitor C are the same, both being the first current. Therefore, the period of the oscillation signal can be expressed by the following formula:

[0092]

[0093] Where C represents the capacitance of capacitor C; T CLK The period of the oscillation signal is represented by I, which is a form of expression for the output frequency; I' is the first current.

[0094] The relaxation oscillator provided in this application includes an oscillation module and circuit devices with adjustable parameters. When it is necessary to change the output frequency of the relaxation oscillator, the parameters of the circuit devices can be adjusted to meet the output frequency requirement. Then, the current supply module provides a first current with a magnitude corresponding to the currently adjusted parameters of the circuit devices, and the oscillation module emits an oscillation signal with a frequency corresponding to the first current, thereby completing the adjustment of the output frequency of the relaxation oscillator. It can be seen that this application embodiment achieves adjustable output frequency of the relaxation oscillator by adjusting the parameters of the circuit devices, thus making the relaxation oscillator applicable to different application scenarios and improving its business applicability.

[0095] Furthermore, another embodiment of this application provides a chip that includes the relaxation oscillator described above.

[0096] This application does not limit the specific type of chip. In principle, any chip that requires the use of the relaxation oscillator provided in this application can be used as the chip provided in this application. For example, the chip provided in this application is a display driver chip or a power management chip.

[0097] The beneficial effects of the chip provided in this application embodiment are basically the same as those of the relaxation oscillator described above, so they will not be repeated here.

[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0099] It is understood that the relevant features in the above methods and apparatus can be referenced interchangeably. Furthermore, the terms "first," "second," etc., in the above embodiments are used to distinguish between embodiments and do not represent the superiority or inferiority of any particular embodiment.

[0100] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0101] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this application is not directed to any particular programming language. It should be understood that the content of this application described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of this application.

[0102] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0103] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0104] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the method, apparatus, and framework for operating the deep neural network model according to the embodiments of this application. This application can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0105] It should be noted that the above embodiments are illustrative of this application and not limiting of it, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

Claims

1. A relaxation oscillator characterized by, The relaxation oscillator includes: a current supply module and an oscillation module, wherein the current supply module is equipped with adjustable circuit devices. The current providing module is used to provide a first current; wherein the magnitude of the first current corresponds to the parameter currently adjusted to the circuit device; The oscillation module is used to emit an oscillation signal with a frequency corresponding to the first current; The current providing module includes: a current generation submodule, used to generate a second current based on the parameters currently adjusted to the circuit device; and a current mirroring submodule, used to mirror the second current to obtain the first current. The current generation submodule includes a first circuit, a third circuit, a fourth circuit, and the circuit components. The circuit components include a transformer and an adjustable resistor. The transformer and the adjustable resistor cooperate and serve as backups for each other. Their coordinated adjustment enables the output frequency that cannot be achieved by adjusting either the transformer or the adjustable resistor alone. Even if one of the transformer or the adjustable resistor fails and is fixed in a certain state, adjusting the other can still adjust the output frequency of the relaxation oscillator. The transformer receives adjustment commands transmitted via wired or wireless means through a matching controller and controls the output voltage required by the adjustment command, or a voltage adjustment switch is reserved in the chip integrating the relaxation oscillator to output the voltage specified by the adjustment switch. The adjustable resistor receives adjustment commands transmitted via wired or wireless means through a matching controller and adjusts to the resistance value required by the adjustment command, or a voltage adjustment switch is reserved in the chip integrating the relaxation oscillator to adjust to the resistance value specified by the adjustment switch. The transformer and the first circuit are both connected to the first node. The adjustable resistor is located in the fourth circuit. The transformer is used to provide voltage to the first node based on the currently adjusted output voltage; The first circuit is configured to provide a clamping voltage to the fourth circuit based on the voltage of the first node; The fourth circuit is used to generate the second current based on the clamping voltage and the resistance value currently adjusted to the adjustable resistor; The third circuit is used to provide the second current to the mirror current submodule; The first circuit includes a current supply sub-circuit and an operational amplifier sub-circuit; The current supply sub-circuit is used to provide a third current to the operational amplifier sub-circuit. The third current is a stable tail current with a zero temperature coefficient. The zero temperature coefficient of the third current is used to ensure that the static operating point of the current supply sub-circuit and the operational amplifier sub-circuit does not change with temperature, thus ensuring the stability of the relaxation oscillator. The operational amplifier sub-circuit is used to provide a clamping voltage based on the third current and the voltage of the first node. The current supply sub-circuit includes a first transistor; the control terminal of the first transistor is connected to a first power supply terminal, the input terminal is connected to a second power supply terminal, and the output terminal is connected to a second node, and the first transistor is used to generate a zero temperature coefficient current, wherein the second node is used to connect the operational amplifier sub-circuit. The operational amplifier sub-circuit includes a second transistor, a third transistor, a fourth transistor, and a fifth transistor; the control terminal of the second transistor is connected to the first node, its input terminal is connected to the second node, and its output terminal is connected to the third node, the second node being used to connect to the current supply sub-circuit; the control terminal of the third transistor is connected to the fourth node, its input terminal is connected to the third node, and its output terminal is connected to the fifth node; the fourth node is connected to the third node; the input terminal of the fourth transistor is connected to the second node, its output terminal is connected to the sixth node, and its control terminal is connected to the seventh node; the control terminal of the fifth transistor is connected to the fourth node, its input terminal is connected to the sixth node, and its output terminal is connected to the fifth node. The current supply module is provided with an external port for connecting the circuit device; and the external port is used to connect a resistor, so that the output frequency of the relaxation oscillator can be adjusted by changing the resistor connected to the external port.

2. The relaxation oscillator of claim 1, wherein, The third circuit includes a sixth transistor; The control terminal of the sixth transistor is connected to the sixth node, the input terminal is connected to the mirror current submodule, and the output terminal is connected to the seventh node.

3. The relaxation oscillator of claim 1, wherein, The fourth circuit is equipped with an adjustable resistor; The first end of the adjustable resistor is connected to the fifth node, and the second end is connected to the seventh node.

4. The relaxation oscillator of claim 1, wherein, The mirror current submodule includes a seventh transistor and an eighth transistor; The input terminal of the seventh transistor is connected to the third power supply terminal, the output terminal is connected to the eighth node, and the control terminal is connected to the ninth node; wherein, the eighth node is connected to the current generation submodule, and the eighth node is also connected to the ninth node. The input terminal of the eighth transistor is connected to the fourth power supply terminal, the output terminal is connected to the oscillation module, and the control terminal is connected to the ninth node.

5. A chip, characterized by The chip includes the relaxation oscillator according to any one of claims 1 to 4.