oscillating circuit

文档序号:1696576 发布日期:2019-12-10 浏览:18次 中文

阅读说明:本技术 一种振荡电路 (oscillating circuit ) 是由 易海平 余俊 于 2018-06-04 设计创作,主要内容包括:本申请适用于集成电路技术领域,提供了一种振荡电路,包括:电流源、频率配置模块、环形振荡器;频率配置模块的输入端连接电流源的输出端,频率配置模块的第一输出端连接环形振荡器的第一输入端,频率配置模块的第二输出端连接环形振荡器的第二输入端。通过电流源向频率配置模块输入初始电流,频率配置模块对初始电流进行配置得到偏置电流,并将偏置电流输入环形振荡器,使得环形振荡器可以根据不同的偏置电流输出相应的振荡电流,产生不同的时钟频率,有效解决了现有技术中环形振荡器产生的时钟频率单一的问题。(the application is suitable for integrated circuit technical field, provides an oscillating circuit, includes: the device comprises a current source, a frequency configuration module and a ring oscillator; the input end of the frequency configuration module is connected with the output end of the current source, the first output end of the frequency configuration module is connected with the first input end of the ring oscillator, and the second output end of the frequency configuration module is connected with the second input end of the ring oscillator. The initial current is input to the frequency configuration module through the current source, the frequency configuration module configures the initial current to obtain the bias current, and inputs the bias current into the ring oscillator, so that the ring oscillator can output corresponding oscillation current according to different bias currents to generate different clock frequencies, and the problem that the clock frequency generated by the ring oscillator in the prior art is single is effectively solved.)

1. an oscillating circuit, comprising:

The device comprises a current source, a frequency configuration module and a ring oscillator;

The input end of the frequency configuration module is connected with the output end of the current source, the first output end of the frequency configuration module is connected with the first input end of the ring oscillator, and the second output end of the frequency configuration module is connected with the second input end of the ring oscillator;

the current source inputs an initial current to the frequency configuration module, the frequency configuration module configures the initial current to obtain a bias current, and inputs the bias current to the ring oscillator, and the ring oscillator receives the bias current and outputs an oscillation current.

2. the oscillating circuit of claim 1, wherein the frequency configuration module comprises:

the transistor comprises a switch unit, a first transistor, a second transistor, a third transistor, a fourth transistor, a fifth transistor, a sixth transistor, a seventh transistor, an eighth transistor and a ninth transistor;

The drain of the first transistor is the input end of the frequency configuration module, the source of the first transistor is grounded, and the gate of the first transistor is respectively connected with the drain of the first transistor and the gate of the second transistor;

The source electrode of the second transistor is grounded, and the drain electrode of the second transistor is respectively connected with the drain electrode of the third transistor and the grid electrode of the third transistor;

The source electrode of the third transistor is connected with an external power supply, and the grid electrode of the third transistor is connected with the first input end of the switch unit;

the source electrode of the fourth transistor is connected with the second input end of the switch unit, the grid electrode of the fourth transistor is connected with the drain electrode of the fourth transistor, and the drain electrode of the fourth transistor is connected with the drain electrode of the fifth transistor;

A gate of the fifth transistor is connected to a drain of the fifth transistor, a gate of the sixth transistor, and a gate of the seventh transistor, respectively, the gate of the fifth transistor is used as a first output end of the frequency configuration module, and a source of the fifth transistor is grounded;

the source electrode and the drain electrode of the sixth transistor are respectively grounded;

The source electrode of the seventh transistor is grounded, and the source electrode of the seventh transistor is connected with the drain electrode of the eighth transistor;

A source of the eighth transistor is connected to an external power supply, a gate of the eighth transistor is respectively connected to a drain of the eighth transistor and a gate of the ninth transistor, and the gate of the eighth transistor is used as a second output end of the frequency configuration module;

And the source electrode and the drain electrode of the ninth transistor are respectively connected with an external power supply.

3. the oscillation circuit according to claim 2, wherein the switching unit includes:

at least two transistors, a switching element corresponding to each transistor;

The source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are mutually connected and then serve as the first input end of the switch unit, and the drain electrode of each transistor is connected with the first end of the switch element corresponding to the transistor;

The second end of each switch element is connected with each other to be used as the second input end of the switch unit.

4. The oscillator circuit of claim 1, wherein the ring oscillator comprises:

the circuit comprises a first differential unit, a second differential unit, a third differential unit and a comparator;

The first input end of the first differential unit, the first input end of the second differential unit, and the first input end of the third differential unit are all the first input ends of the ring oscillator, and the second input end of the first differential unit, the second input end of the second differential unit, and the second input end of the third differential unit are all the second input ends of the ring oscillator;

the third input end of the first differential unit is connected with the first output end of the third differential unit, the fourth input end of the first differential unit is connected with the second output end of the third differential unit, the first output end of the first differential unit is connected with the third input end of the second differential unit, and the second output end of the first differential unit is connected with the fourth input end of the second differential unit;

the first output end of the second differential unit is connected with the third input end of the third differential unit, and the second output end of the second differential unit is connected with the fourth input end of the third differential unit;

the first output end of the third differential unit is connected with the first input end of the comparator, and the second output end of the third differential unit is connected with the second input end of the comparator;

the output end of the comparator is the output end of the ring oscillator and is the output end of the oscillating circuit.

5. the oscillation circuit according to claim 4, wherein the differential unit includes:

a tenth transistor, an eleventh transistor, a twelfth transistor, a thirteenth transistor, a fourteenth transistor, a fifteenth transistor, and a sixteenth transistor;

A source of the tenth transistor, a source of the eleventh transistor, a source of the twelfth transistor, and a source of the thirteenth transistor are connected to an external power supply, respectively;

a gate of the tenth transistor is connected to a drain of the tenth transistor, and a drain of the tenth transistor is connected to a drain of the eleventh transistor and then serves as a first output end of the differential unit;

the grid electrode of the eleventh transistor is connected with the grid electrode of the twelfth transistor and then serves as a second input end of the differential unit;

the drain electrode of the twelfth transistor is connected with the drain electrode of the thirteenth transistor and then serves as a second output end of the differential unit;

the grid electrode of the thirteenth transistor is connected with the drain electrode of the thirteenth transistor;

a drain of the fourteenth transistor is connected to the first output terminal of the differential unit, a gate of the fourteenth transistor is used as a third input terminal of the differential unit, and a source of the fourteenth transistor is connected to a source of the fifteenth transistor and a drain of the sixteenth transistor, respectively;

the drain electrode of the fifteenth transistor is connected with the second output end of the differential unit, and the gate electrode of the fifteenth transistor is used as the fourth input end of the differential unit;

the gate of the sixteenth transistor is used as the first input end of the differential unit, and the source of the sixteenth transistor is grounded.

6. The oscillating circuit of claim 1, wherein the current source comprises:

a reference current module and a temperature compensation module;

the first output end of the reference current module is connected with the first input end of the temperature compensation module, the second output end of the reference current module is connected with the fourth input end of the temperature compensation module, the third output end of the reference current module is connected with the second input end of the temperature compensation module, and the fourth output end of the reference current module is connected with the third input end of the temperature compensation module;

the output end of the temperature compensation module is the output end of the current source;

the reference current module inputs first positive temperature coefficient current to a first input end and a fourth input end of the temperature compensation module respectively, the reference current module inputs first negative temperature coefficient current to a second input end and a third input end of the temperature compensation module respectively, the temperature compensation module carries out temperature compensation on the received first positive temperature coefficient current and the received first negative temperature coefficient current to obtain initial current, and the initial current is input into the frequency configuration module.

7. the oscillator circuit of claim 6, wherein the reference current module comprises:

A first current generating unit and a second current generating unit;

A first output end of the first current generation unit is a first output end of the reference current module, a second output end of the first current generation unit is a second output end of the reference current module, and a third output end of the first current generation unit is connected with an input end of the second current generation unit;

The first output end of the second current generation unit is a third output end of the reference current module, and the second output end of the second current generation unit is a fourth output end of the reference current module;

The first current generation unit inputs the generated first positive temperature coefficient current into the temperature compensation module, and the second current generation unit inputs the generated first negative temperature coefficient current into the temperature compensation module.

8. the oscillation circuit according to claim 7, wherein the first current generation unit includes:

a seventeenth transistor, an eighteenth transistor, a nineteenth transistor, a twentieth transistor, a twenty-first transistor, a twentieth transistor, a twenty-third transistor, a twenty-fourth transistor, a twenty-fifth transistor, a twenty-sixth transistor, a first resistor, a second resistor, a first amplifier tube, a second amplifier tube, and a third amplifier tube;

A source electrode of the seventeenth transistor, a source electrode of the eighteenth transistor, a source electrode of the nineteenth transistor, a source electrode of the twentieth transistor, and a source electrode of the twenty-first transistor are respectively connected with an external power supply;

the grid electrode of the seventeenth transistor is respectively connected with the grid electrode of the eighteenth transistor, the grid electrode of the nineteenth transistor, the grid electrode of the twentieth transistor and the grid electrode of the twenty-first transistor, and the drain electrode of the seventeenth transistor is connected with the drain electrode of the twenty-second transistor;

the drain of the eighteenth transistor is connected with the drain of the twenty-third transistor;

The drain electrode of the nineteen transistor is connected with the first end of the second resistor;

the drain electrode of the twentieth transistor is a first output end of the reference current module;

The drain electrode of the twenty-first transistor is a second output end of the reference current module;

the grid electrode of the twenty-second transistor is respectively connected with the drain electrode of the twenty-second transistor and the grid electrode of the twenty-third transistor, and the source electrode of the twenty-second transistor is connected with the emitter electrode of the first amplifying tube;

the source electrode of the twenty-third transistor is connected with the first end of the first resistor;

the collector of the first amplifying tube, the base of the first amplifying tube, the collector of the second amplifying tube, the base of the second amplifying tube, the collector of the third amplifying tube and the base of the third amplifying tube are all grounded;

The emitter of the second amplifying tube is connected with the second end of the first resistor;

The emitter of the third amplifying tube is connected with the second end of the second resistor;

The second end of the second resistor is a third output end of the first current generation unit.

9. the oscillation circuit according to claim 7, wherein the second current generation unit includes:

the amplifier, a twenty-fourth transistor, a twenty-fifth transistor, a twenty-sixth transistor and a third resistor;

a positive input end of the amplifier is an input end of the second current generating unit, a negative input end of the amplifier is connected with a first end of the third resistor, and an output end of the amplifier is connected with a gate of the twenty-fourth transistor;

A gate of the twenty-fourth transistor is connected to a gate of the twenty-fifth transistor and a gate of the twenty-sixth transistor respectively, a source of the twenty-fourth transistor is connected to a source of the twenty-fifth transistor and a source of the twenty-sixth transistor respectively, and a drain of the twenty-fourth transistor is connected to the first end of the third resistor;

A drain of the twenty-fifth transistor is a first output end of the second current generation unit;

a drain of the twenty-sixth transistor is a second output of the second current generating unit.

10. The oscillator circuit of claim 6, wherein the temperature compensation module comprises:

The temperature control circuit comprises a first temperature compensation unit, a second temperature compensation unit, a first current configuration unit and a second current configuration unit;

The first input end of the first temperature compensation unit is the first input end of the temperature compensation module, the second input end of the first temperature compensation unit is the second input end of the temperature compensation module, and the output end of the first temperature compensation unit is connected with the input end of the first current configuration unit;

the first input end of the second temperature compensation unit is the third input end of the temperature compensation module, the second input end of the second temperature compensation unit is the fourth input end of the temperature compensation module, and the output end of the second temperature compensation unit is connected with the input end of the second current configuration unit;

the output end of the first current configuration unit is connected with the output end of the second current configuration unit and then serves as the output end of the temperature compensation module;

The first temperature compensation unit subtracts the received first positive temperature coefficient current from the received first negative temperature coefficient current to obtain a second negative temperature coefficient current, and inputs the second negative temperature coefficient current into the first current configuration unit, and the first current configuration unit configures the second negative temperature coefficient current to obtain a configured third negative temperature coefficient current;

The second temperature compensation unit subtracts the received first negative temperature coefficient current from the received first positive temperature coefficient current to obtain a second positive temperature coefficient current, and inputs the second positive temperature coefficient current into the second current configuration unit, and the second current configuration unit configures the second positive temperature coefficient current to obtain a configured third positive temperature coefficient current;

And adding the configured third negative temperature coefficient current and the configured third positive temperature coefficient current to obtain an initial current.

11. the oscillation circuit according to claim 10, wherein the first temperature compensation unit comprises:

a twenty-seventh transistor, a twenty-eighth transistor, a twenty-ninth transistor, a thirtieth transistor, and a thirty-first transistor;

a drain of the twenty-seventh transistor is a first input end of the first temperature compensation unit, a source of the twenty-seventh transistor is respectively connected with a source of the twenty-eighth transistor, a source of the twentieth transistor, and a source of the thirtieth transistor, and then grounded, and a gate of the twenty-seventh transistor is respectively connected with a drain of the twenty-seventh transistor and a gate of the twenty-eighth transistor;

The drain electrode of the twenty-eighth transistor is connected with the drain electrode of the twenty-ninth transistor and then serves as a second input end of the first temperature compensation unit;

The grid electrode of the twenty-ninth transistor is respectively connected with the drain electrode of the twenty-ninth transistor and the grid electrode of the thirtieth transistor;

a drain of the thirtieth transistor is connected to a drain of the thirty-first transistor;

and the source electrode of the thirty-first transistor is connected with an external power supply, and the grid electrode of the thirty-first transistor is connected with the drain electrode of the thirty-first transistor and then is used as the output end of the first temperature compensation unit.

12. the oscillation circuit according to claim 10, wherein the second temperature compensation unit comprises:

a thirty-second transistor, a thirty-third transistor, a thirty-fourth transistor, a thirty-fifth transistor, a thirty-sixth transistor;

The drain of the thirty-second transistor is a first input end of the second temperature compensation unit, the source of the thirty-second transistor is respectively connected to the source of the thirty-third transistor, the source of the thirty-fourth transistor, and the source of the thirty-fifth transistor and then grounded, and the gate of the thirty-second transistor is respectively connected to the drain of the thirty-second transistor and the gate of the thirty-third transistor;

The drain of the thirty-third transistor is connected with the drain of the thirty-fourth transistor and then serves as the second input end of the second temperature compensation unit;

the grid electrode of the thirty-fourth transistor is respectively connected with the drain electrode of the thirty-fourth transistor and the grid electrode of the thirty-fifth transistor;

the drain electrode of the thirty-fifth transistor is connected with the drain electrode of the thirty-sixth transistor;

And the source electrode of the thirty-sixth transistor is connected with an external power supply, and the grid electrode of the thirty-sixth transistor is connected with the drain electrode of the thirty-sixth transistor and then is used as the output end of the second temperature compensation unit.

13. The oscillation circuit according to claim 10, wherein the first current configuration unit includes:

at least two transistors, a switching element corresponding to each transistor;

the source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are connected with each other and then serve as the input end of the first current configuration unit, and the drain electrode of each transistor is connected with the first end of the switching element corresponding to the transistor;

Second ends of the switching elements are connected with each other to serve as output ends of the first current configuration unit.

14. The oscillation circuit according to claim 10, wherein the second current configuration unit includes:

at least two transistors, a switching element corresponding to each transistor;

The source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are connected with each other and then serve as the input end of the second current configuration unit, and the drain electrode of each transistor is connected with the first end of the switching element corresponding to the transistor;

Second ends of the switching elements are connected with each other to serve as output ends of the second current configuration unit.

Technical Field

The present application relates to the field of integrated circuit technology, and more particularly, to an oscillating circuit.

background

an oscillator is a circuit capable of changing its output signal at a fixed period by a self-excitation manner, and is an important component of most electronic systems as a frequency generation source. The ring oscillator has the advantages of wide adjusting range, low power consumption, high integration level, high phase noise and the like.

the clock frequency generated by the existing ring oscillator is single, and different clock frequencies can be obtained only by installing different ring oscillators. Once the ring oscillator is installed, the clock frequency it generates cannot be changed. This greatly reduces the adaptability of the circuit and virtually increases the manufacturing cost of the circuit.

Disclosure of Invention

In view of this, embodiments of the present disclosure provide an oscillation circuit to solve the problem that a clock frequency generated by a ring oscillator is single and different clock frequencies cannot be obtained in the prior art.

a first aspect of an embodiment of the present application provides an oscillation circuit, including:

the device comprises a current source, a frequency configuration module and a ring oscillator;

the input end of the frequency configuration module is connected with the output end of the current source, the first output end of the frequency configuration module is connected with the first input end of the ring oscillator, and the second output end of the frequency configuration module is connected with the second input end of the ring oscillator;

the current source inputs an initial current to the frequency configuration module, the frequency configuration module configures the initial current to obtain a bias current, and inputs the bias current to the ring oscillator, and the ring oscillator receives the bias current and outputs an oscillation current.

Optionally, the frequency configuration module includes:

the transistor comprises a switch unit, a first transistor, a second transistor, a third transistor, a fourth transistor, a fifth transistor, a sixth transistor, a seventh transistor, an eighth transistor and a ninth transistor;

the drain of the first transistor is the input end of the frequency configuration module, the source of the first transistor is grounded, and the gate of the first transistor is respectively connected with the drain of the first transistor and the gate of the second transistor;

the source electrode of the second transistor is grounded, and the drain electrode of the second transistor is respectively connected with the drain electrode of the third transistor and the grid electrode of the third transistor;

The source electrode of the third transistor is connected with an external power supply, and the grid electrode of the third transistor is connected with the first input end of the switch unit;

the source electrode of the fourth transistor is connected with the second input end of the switch unit, the grid electrode of the fourth transistor is connected with the drain electrode of the fourth transistor, and the drain electrode of the fourth transistor is connected with the drain electrode of the fifth transistor;

a gate of the fifth transistor is connected to a drain of the fifth transistor, a gate of the sixth transistor, and a gate of the seventh transistor, respectively, the gate of the fifth transistor is used as a first output end of the frequency configuration module, and a source of the fifth transistor is grounded;

the source electrode and the drain electrode of the sixth transistor are respectively grounded;

The source electrode of the seventh transistor is grounded, and the source electrode of the seventh transistor is connected with the drain electrode of the eighth transistor;

A source of the eighth transistor is connected to an external power supply, a gate of the eighth transistor is respectively connected to a drain of the eighth transistor and a gate of the ninth transistor, and the gate of the eighth transistor is used as a second output end of the frequency configuration module;

And the source electrode and the drain electrode of the ninth transistor are respectively connected with an external power supply.

optionally, the switch unit includes:

At least two transistors, a switching element corresponding to each transistor;

The source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are mutually connected and then serve as the first input end of the switch unit, and the drain electrode of each transistor is connected with the first end of the switch element corresponding to the transistor;

the second end of each switch element is connected with each other to be used as the second input end of the switch unit.

optionally, the ring oscillator includes:

The circuit comprises a first differential unit, a second differential unit, a third differential unit and a comparator;

the first input end of the first differential unit, the first input end of the second differential unit, and the first input end of the third differential unit are all the first input ends of the ring oscillator, and the second input end of the first differential unit, the second input end of the second differential unit, and the second input end of the third differential unit are all the second input ends of the ring oscillator;

the third input end of the first differential unit is connected with the first output end of the third differential unit, the fourth input end of the first differential unit is connected with the second output end of the third differential unit, the first output end of the first differential unit is connected with the third input end of the second differential unit, and the second output end of the first differential unit is connected with the fourth input end of the second differential unit;

the first output end of the second differential unit is connected with the third input end of the third differential unit, and the second output end of the second differential unit is connected with the fourth input end of the third differential unit;

the first output end of the third differential unit is connected with the first input end of the comparator, and the second output end of the third differential unit is connected with the second input end of the comparator;

the output end of the comparator is the output end of the ring oscillator and is the output end of the oscillating circuit.

optionally, the difference unit includes:

A tenth transistor, an eleventh transistor, a twelfth transistor, a thirteenth transistor, a fourteenth transistor, a fifteenth transistor, and a sixteenth transistor;

A source of the tenth transistor, a source of the eleventh transistor, a source of the twelfth transistor, and a source of the thirteenth transistor are connected to an external power supply, respectively;

A gate of the tenth transistor is connected to a drain of the tenth transistor, and a drain of the tenth transistor is connected to a drain of the eleventh transistor and then serves as a first output end of the differential unit;

The grid electrode of the eleventh transistor is connected with the grid electrode of the twelfth transistor and then serves as a second input end of the differential unit;

the drain electrode of the twelfth transistor is connected with the drain electrode of the thirteenth transistor and then serves as a second output end of the differential unit;

the grid electrode of the thirteenth transistor is connected with the drain electrode of the thirteenth transistor;

a drain of the fourteenth transistor is connected to the first output terminal of the differential unit, a gate of the fourteenth transistor is used as a third input terminal of the differential unit, and a source of the fourteenth transistor is connected to a source of the fifteenth transistor and a drain of the sixteenth transistor, respectively;

the drain electrode of the fifteenth transistor is connected with the second output end of the differential unit, and the gate electrode of the fifteenth transistor is used as the fourth input end of the differential unit;

the gate of the sixteenth transistor is used as the first input end of the differential unit, and the source of the sixteenth transistor is grounded.

Optionally, the current source includes:

A reference current module and a temperature compensation module;

The first output end of the reference current module is connected with the first input end of the temperature compensation module, the second output end of the reference current module is connected with the fourth input end of the temperature compensation module, the third output end of the reference current module is connected with the second input end of the temperature compensation module, and the fourth output end of the reference current module is connected with the third input end of the temperature compensation module;

The output end of the temperature compensation module is the output end of the current source;

the reference current module inputs first positive temperature coefficient current to a first input end and a fourth input end of the temperature compensation module respectively, the reference current module inputs first negative temperature coefficient current to a second input end and a third input end of the temperature compensation module respectively, the temperature compensation module carries out temperature compensation on the received first positive temperature coefficient current and the received first negative temperature coefficient current to obtain initial current, and the initial current is input into the frequency configuration module.

Optionally, the reference current module includes:

A first current generating unit and a second current generating unit;

A first output end of the first current generation unit is a first output end of the reference current module, a second output end of the first current generation unit is a second output end of the reference current module, and a third output end of the first current generation unit is connected with an input end of the second current generation unit;

The first output end of the second current generation unit is a third output end of the reference current module, and the second output end of the second current generation unit is a fourth output end of the reference current module;

the first current generation unit inputs the generated first positive temperature coefficient current into the temperature compensation module, and the second current generation unit inputs the generated first negative temperature coefficient current into the temperature compensation module.

optionally, the first current generating unit includes:

a seventeenth transistor, an eighteenth transistor, a nineteenth transistor, a twentieth transistor, a twenty-first transistor, a twentieth transistor, a twenty-third transistor, a twenty-fourth transistor, a twenty-fifth transistor, a twenty-sixth transistor, a first resistor, a second resistor, a first amplifier tube, a second amplifier tube, and a third amplifier tube;

A source electrode of the seventeenth transistor, a source electrode of the eighteenth transistor, a source electrode of the nineteenth transistor, a source electrode of the twentieth transistor, and a source electrode of the twenty-first transistor are respectively connected with an external power supply;

the grid electrode of the seventeenth transistor is respectively connected with the grid electrode of the eighteenth transistor, the grid electrode of the nineteenth transistor, the grid electrode of the twentieth transistor and the grid electrode of the twenty-first transistor, and the drain electrode of the seventeenth transistor is connected with the drain electrode of the twenty-second transistor;

The drain of the eighteenth transistor is connected with the drain of the twenty-third transistor;

the drain electrode of the nineteen transistor is connected with the first end of the second resistor;

The drain electrode of the twentieth transistor is a first output end of the reference current module;

The drain electrode of the twenty-first transistor is a second output end of the reference current module;

The grid electrode of the twenty-second transistor is respectively connected with the drain electrode of the twenty-second transistor and the grid electrode of the twenty-third transistor, and the source electrode of the twenty-second transistor is connected with the emitter electrode of the first amplifying tube;

the source electrode of the twenty-third transistor is connected with the first end of the first resistor;

The collector of the first amplifying tube, the base of the first amplifying tube, the collector of the second amplifying tube, the base of the second amplifying tube, the collector of the third amplifying tube and the base of the third amplifying tube are all grounded;

the emitter of the second amplifying tube is connected with the second end of the first resistor;

the emitter of the third amplifying tube is connected with the second end of the second resistor;

the second end of the second resistor is a third output end of the first current generation unit.

optionally, the second current generating unit includes:

the amplifier, a twenty-fourth transistor, a twenty-fifth transistor, a twenty-sixth transistor and a third resistor;

a positive input end of the amplifier is an input end of the second current generating unit, a negative input end of the amplifier is connected with a first end of the third resistor, and an output end of the amplifier is connected with a gate of the twenty-fourth transistor;

a gate of the twenty-fourth transistor is connected to a gate of the twenty-fifth transistor and a gate of the twenty-sixth transistor respectively, a source of the twenty-fourth transistor is connected to a source of the twenty-fifth transistor and a source of the twenty-sixth transistor respectively, and a drain of the twenty-fourth transistor is connected to the first end of the third resistor;

A drain of the twenty-fifth transistor is a first output end of the second current generation unit;

A drain of the twenty-sixth transistor is a second output of the second current generating unit.

optionally, the temperature compensation module includes:

the temperature control circuit comprises a first temperature compensation unit, a second temperature compensation unit, a first current configuration unit and a second current configuration unit;

The first input end of the first temperature compensation unit is the first input end of the temperature compensation module, the second input end of the first temperature compensation unit is the second input end of the temperature compensation module, and the output end of the first temperature compensation unit is connected with the input end of the first current configuration unit;

The first input end of the second temperature compensation unit is the third input end of the temperature compensation module, the second input end of the second temperature compensation unit is the fourth input end of the temperature compensation module, and the output end of the second temperature compensation unit is connected with the input end of the second current configuration unit;

the output end of the first current configuration unit is connected with the output end of the second current configuration unit and then serves as the output end of the temperature compensation module;

The first temperature compensation unit subtracts the received first positive temperature coefficient current from the received first negative temperature coefficient current to obtain a second negative temperature coefficient current, and inputs the second negative temperature coefficient current into the first current configuration unit, and the first current configuration unit configures the second negative temperature coefficient current to obtain a configured third negative temperature coefficient current;

the second temperature compensation unit subtracts the received first negative temperature coefficient current from the received first positive temperature coefficient current to obtain a second positive temperature coefficient current, and inputs the second positive temperature coefficient current into the second current configuration unit, and the second current configuration unit configures the second positive temperature coefficient current to obtain a configured third positive temperature coefficient current;

And adding the configured third negative temperature coefficient current and the configured third positive temperature coefficient current to obtain an initial current.

Optionally, the first temperature compensation unit includes:

a twenty-seventh transistor, a twenty-eighth transistor, a twenty-ninth transistor, a thirtieth transistor, and a thirty-first transistor;

a drain of the twenty-seventh transistor is a first input end of the first temperature compensation unit, a source of the twenty-seventh transistor is respectively connected with a source of the twenty-eighth transistor, a source of the twentieth transistor, and a source of the thirtieth transistor, and then grounded, and a gate of the twenty-seventh transistor is respectively connected with a drain of the twenty-seventh transistor and a gate of the twenty-eighth transistor;

the drain electrode of the twenty-eighth transistor is connected with the drain electrode of the twenty-ninth transistor and then serves as a second input end of the first temperature compensation unit;

the grid electrode of the twenty-ninth transistor is respectively connected with the drain electrode of the twenty-ninth transistor and the grid electrode of the thirtieth transistor;

a drain of the thirtieth transistor is connected to a drain of the thirty-first transistor;

And the source electrode of the thirty-first transistor is connected with an external power supply, and the grid electrode of the thirty-first transistor is connected with the drain electrode of the thirty-first transistor and then is used as the output end of the first temperature compensation unit.

optionally, the second temperature compensation unit includes:

a thirty-second transistor, a thirty-third transistor, a thirty-fourth transistor, a thirty-fifth transistor, a thirty-sixth transistor;

the drain of the thirty-second transistor is a first input end of the second temperature compensation unit, the source of the thirty-second transistor is respectively connected to the source of the thirty-third transistor, the source of the thirty-fourth transistor, and the source of the thirty-fifth transistor and then grounded, and the gate of the thirty-second transistor is respectively connected to the drain of the thirty-second transistor and the gate of the thirty-third transistor;

the drain of the thirty-third transistor is connected with the drain of the thirty-fourth transistor and then serves as the second input end of the second temperature compensation unit;

The grid electrode of the thirty-fourth transistor is respectively connected with the drain electrode of the thirty-fourth transistor and the grid electrode of the thirty-fifth transistor;

the drain electrode of the thirty-fifth transistor is connected with the drain electrode of the thirty-sixth transistor;

and the source electrode of the thirty-sixth transistor is connected with an external power supply, and the grid electrode of the thirty-sixth transistor is connected with the drain electrode of the thirty-sixth transistor and then is used as the output end of the second temperature compensation unit.

optionally, the first current configuration unit includes:

at least two transistors, a switching element corresponding to each transistor;

the source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are connected with each other and then serve as the input end of the first current configuration unit, and the drain electrode of each transistor is connected with the first end of the switching element corresponding to the transistor;

second ends of the switching elements are connected with each other to serve as output ends of the first current configuration unit.

optionally, the second current configuration unit includes:

at least two transistors, a switching element corresponding to each transistor;

The source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are connected with each other and then serve as the input end of the second current configuration unit, and the drain electrode of each transistor is connected with the first end of the switching element corresponding to the transistor;

Second ends of the switching elements are connected with each other to serve as output ends of the second current configuration unit.

compared with the prior art, the embodiment of the application has the advantages that:

According to the embodiment of the application, the initial current is input to the frequency configuration module through the current source, the frequency configuration module configures the initial current to obtain the bias current, and inputs the bias current into the ring oscillator, so that the ring oscillator can output corresponding oscillation currents according to different bias currents to generate different clock frequencies, and the problem that the clock frequency generated by the ring oscillator in the prior art is single is effectively solved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a schematic structural diagram of an oscillation circuit provided in an embodiment of the present application;

fig. 2 is a schematic structural diagram of an oscillation circuit according to another embodiment of the present application;

fig. 3 is a circuit diagram of a frequency configuration module according to an embodiment of the present disclosure;

FIG. 4 is a circuit diagram of an example of a ring oscillator provided by an embodiment of the present application;

FIG. 5 is a circuit diagram of a differential cell provided in an embodiment of the present application;

FIG. 6 is a circuit schematic diagram of a reference current module provided by an embodiment of the present application;

fig. 7 is a schematic circuit diagram of a temperature compensation module according to an embodiment of the present disclosure.

Detailed Description

in the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

it will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

it should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

as used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".

In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.

fig. 1 is a schematic structural diagram of an oscillation circuit provided in an embodiment of the present application, and fig. 2 is a schematic structural diagram of an oscillation circuit provided in another embodiment of the present application, as shown in fig. 1 and fig. 2, the oscillation circuit includes:

current source 100, frequency configuration module 200, ring oscillator 300.

an input terminal of the frequency configuration module 200 is connected to an output terminal of the current source 100, a first output terminal of the frequency configuration module 200 is connected to a first input terminal of the ring oscillator 300, and a second output terminal of the frequency configuration module 200 is connected to a second input terminal of the ring oscillator 300.

the current source 100 inputs an initial current to the frequency configuration module 200, the frequency configuration module 200 configures the initial current to obtain a bias current, and inputs the bias current to the ring oscillator 300, and the ring oscillator 300 receives the bias current and outputs an oscillation current.

in this embodiment of the present application, referring to fig. 3, fig. 3 is a schematic circuit diagram of a frequency configuration module provided in this embodiment of the present application, and as shown in fig. 3, the frequency configuration module 200 includes:

The switch unit 210, a first transistor Q1, a second transistor Q2, a third transistor Q3, a fourth transistor Q4, a fifth transistor Q5, a sixth transistor Q6, a seventh transistor Q7, an eighth transistor Q8, and a ninth transistor Q9.

the drain of the first transistor Q1 is the input terminal of the frequency configuration module 200, the source of the first transistor Q1 is grounded, and the gate of the first transistor Q1 is connected to the drain of the first transistor Q1 and the gate of the second transistor Q2, respectively.

The source of the second transistor Q2 is grounded, and the drain of the second transistor Q2 is connected to the drain of the third transistor Q3 and the gate of the third transistor Q3, respectively.

the source of the third transistor Q3 is connected to an external power source, and the gate of the third transistor Q3 is connected to the first input terminal of the switching unit 210.

the source of the fourth transistor Q4 is connected to the second input terminal of the switching unit 210, the gate of the fourth transistor Q4 is connected to the drain of the fourth transistor Q4, and the drain of the fourth transistor Q4 is connected to the drain of the fifth transistor Q5.

A gate of the fifth transistor Q5 is connected to a drain of the fifth transistor Q5, a gate of the sixth transistor Q6, and a gate of the seventh transistor Q7, respectively, a gate of the fifth transistor Q5 is used as a first output terminal of the frequency configuration module 200, and a source of the fifth transistor Q5 is grounded.

the source and the drain of the sixth transistor Q6 are grounded, respectively.

the source of the seventh transistor Q7 is connected to ground, and the source of the seventh transistor Q7 is connected to the drain of the eighth transistor Q8.

The source of the eighth transistor Q8 is connected to an external power source, the gate of the eighth transistor Q8 is connected to the drain of the eighth transistor Q8 and the gate of the ninth transistor Q9, respectively, and the gate of the eighth transistor Q8 is used as the second output terminal of the frequency configuration module 200.

and the source and the drain of the ninth transistor Q9 are respectively connected with an external power supply.

optionally, the switch unit 210 includes:

At least two transistors, a switching element corresponding to each transistor;

The source electrode of each transistor is respectively connected with an external power supply, the grid electrodes of the transistors are connected with each other to serve as the first input end of the switch unit, and the drain electrode of each transistor is connected with the first end of the switch element corresponding to the transistor.

the second terminal of each switching element is connected to each other to serve as the second input terminal of the switching unit 210.

illustratively, as shown in fig. 3, the switch unit 210 includes 10 transistors, and 10 switches s0 to s9 corresponding to the 10 transistors. Here, the number of the switching elements is not particularly limited, and is only an example of the switching unit.

in the embodiment of the present application, referring to fig. 2 and fig. 4, fig. 4 is a circuit diagram of a ring oscillator provided in the embodiment of the present application, where the ring oscillator 300 includes:

a first difference unit 310, a second difference unit 320, a third difference unit 330, and a comparator 340.

the first input end of the first differential unit 310, the first input end of the second differential unit 320, and the first input end of the third differential unit 330 are all the first input ends of the ring oscillator 300, and the second input end of the first differential unit 310, the second input end of the second differential unit 320, and the second input end of the third differential unit 330 are all the second input ends of the ring oscillator 300.

The third input terminal of the first differential unit 310 is connected to the first output terminal of the third differential unit 330, the fourth input terminal of the first differential unit 310 is connected to the second output terminal of the third differential unit 330, the first output terminal of the first differential unit 310 is connected to the third input terminal of the second differential unit 320, and the second output terminal of the first differential unit 310 is connected to the fourth input terminal of the second differential unit 320.

A first output terminal of the second differential unit 320 is connected to a third input terminal of the third differential unit 330, and a second output terminal of the second differential unit 320 is connected to a fourth input terminal of the third differential unit 330;

A first output terminal of the third differential unit 330 is connected to a first input terminal of the comparator 340, and a second output terminal of the third differential unit 330 is connected to a second input terminal of the comparator 340.

the output of the comparator 340 is the output of the ring oscillator 300 and is the output of the oscillator circuit 300.

optionally, referring to fig. 5, fig. 5 is a circuit schematic diagram of a differential unit provided in the embodiment of the present application, and as shown in the figure, the differential unit includes:

a tenth transistor Q10, an eleventh transistor Q11, a twelfth transistor Q12, a thirteenth transistor Q13, a fourteenth transistor Q14, a fifteenth transistor Q15, a sixteenth transistor Q16.

A source of the tenth transistor Q10, a source of the eleventh transistor Q11, a source of the twelfth transistor Q12, and a source of the thirteenth transistor Q13 are connected to an external power source, respectively.

the gate of the tenth transistor Q10 is connected to the drain of the tenth transistor Q10, and the drain of the tenth transistor Q10 is connected to the drain of the eleventh transistor Q11 as the first output terminal of the differential unit.

The gate of the eleventh transistor Q11 is connected to the gate of the twelfth transistor Q12 to serve as the second input terminal of the differential unit.

The drain of the twelfth transistor Q12 is connected to the drain of the thirteenth transistor Q13 to serve as the second output terminal of the differential unit.

A gate of the thirteenth transistor Q13 is connected to a drain of the thirteenth transistor Q13.

the drain of the fourteenth transistor Q14 is connected to the first output terminal of the differential unit, the gate of the fourteenth transistor Q14 is used as the third input terminal of the differential unit, and the source of the fourteenth transistor Q14 is connected to the source of the fifteenth transistor Q15 and the drain of the sixteenth transistor Q16, respectively.

the drain of the fifteenth transistor Q15 is connected to the second output terminal of the differential unit, and the gate of the fifteenth transistor Q15 serves as the fourth input terminal of the differential unit.

the gate of the sixteenth transistor Q16 is used as the first input terminal of the differential unit, and the source of the sixteenth transistor Q16 is grounded.

In practical application, the circuits of the first differential unit, the second differential unit and the third differential unit are all the circuits of the differential unit.

in the embodiment of the present application, referring to fig. 2, the current source 100 includes:

A reference current module 110, a temperature compensation module 120;

the first output end of the reference current module 110 is connected to the first input end of the temperature compensation module 120, the second output end of the reference current module 110 is connected to the fourth input end of the temperature compensation module 120, the third output end of the reference current module 110 is connected to the second input end of the temperature compensation module 120, and the fourth output end of the reference current module 110 is connected to the third input end of the temperature compensation module 120.

The output terminal of the temperature compensation module 120 is the output terminal of the current source 100.

The reference current module 110 inputs first positive temperature coefficient currents to a first input end and a fourth input end of the temperature compensation module 120, the reference current module 110 inputs first negative temperature coefficient currents to a second input end and a third input end of the temperature compensation module, and the temperature compensation module 120 performs temperature compensation on the received first positive temperature coefficient currents and the received first negative temperature coefficient currents to obtain initial currents and inputs the initial currents into the frequency configuration module 200.

optionally, referring to fig. 6, fig. 6 is a circuit schematic diagram of a reference current module provided in an embodiment of the present application, and as shown in the figure, the reference current module 110 includes:

A first current generation unit 1101 and a second current generation unit 1102.

A first output terminal of the first current generating unit 1101 is a first output terminal of the reference current module 110, a second output terminal of the first current generating unit 1101 is a second output terminal of the reference current module 110, and a third output terminal of the first current generating unit 1101 is connected to an input terminal of the second current generating unit 1102.

a first output terminal of the second current generating unit 1102 is a third output terminal of the reference current module 110, and a second output terminal of the second current generating unit 1102 is a fourth output terminal of the reference current module 110.

the first current generation unit 1101 inputs the generated first positive temperature coefficient current to the temperature compensation module 120, and the second current generation unit 1102 inputs the generated first negative temperature coefficient current to the temperature compensation module 120.

optionally, the first current generating unit 1101 includes:

a seventeenth transistor Q17, an eighteenth transistor Q18, a nineteenth transistor Q19, a twentieth transistor Q20, a twenty-first transistor Q21, a twentieth transistor Q22, a twenty-third transistor Q23, a twenty-fourth transistor Q24, a twenty-fifth transistor Q25, a twenty-sixth transistor Q26, a first resistor R1, a second resistor R2, a first amplification tube Z1, a second amplification tube Z2, and a third amplification tube Z3.

the source of the seventeenth transistor Q17, the source of the eighteenth transistor Q18, the source of the nineteenth transistor Q19, the source of the twentieth transistor Q20, and the source of the twenty-first transistor Q21 are connected to an external power source, respectively.

the gate of the seventeenth transistor Q17 is connected to the gate of the eighteenth transistor Q18, the gate of the nineteenth transistor Q19, the gate of the twentieth transistor Q20 and the gate of the twenty-first transistor Q21, respectively, and the drain of the seventeenth transistor Q17 is connected to the drain of the twenty-second transistor Q22.

The drain of the eighteenth transistor Q18 is connected to the drain of the twenty-third transistor Q23.

the drain of the nineteen transistor Q19 is connected to a first terminal of the second resistor.

The drain of the twentieth transistor Q20 is the first output terminal of the reference current module 110.

the drain of the twenty-first transistor Q21 is a second output terminal of the reference current module 110.

the gate of the twentieth transistor Q22 is connected to the drain of the twentieth transistor Q22 and the gate of the twenty-third transistor Q23, respectively, and the source of the twentieth transistor Q22 is connected to the emitter of the first amplification transistor Z1.

a source of the twenty-third transistor Q23 is connected to the first end of the first resistor R1.

the collector of the first amplifying tube Z1, the base of the first amplifying tube Z1, the collector of the second amplifying tube Z2, the base of the second amplifying tube Z2, the collector of the third amplifying tube Z3 and the base of the third amplifying tube Z3 are all grounded.

The emitter of the second amplifying tube Z2 is connected with the second end of the first resistor R1.

The emitter of the third amplifying tube Z3 is connected to the second end of the second resistor R2.

A second terminal of the second resistor R2 is a third output terminal of the first current generating unit 1101.

optionally, the second current generating unit 1102 includes:

an amplifier OP, a twenty-fourth transistor Q24, a twenty-fifth transistor 25, a twenty-sixth transistor 26, a third resistor R3;

a positive input terminal of the amplifier OP is an input terminal of the second current generating unit 1102, a negative input terminal of the amplifier OP is connected to the first terminal of the third resistor R3, and an output terminal of the amplifier OP is connected to the gate of the twenty-fourth transistor Q24.

the gate of the twenty-fourth transistor Q24 is connected to the gate of the twenty-fifth transistor Q25 and the gate of the twenty-sixth transistor Q26, respectively, the source of the twenty-fourth transistor Q24 is connected to the source of the twenty-fifth transistor Q25 and the source of the twenty-sixth transistor Q26, respectively, and the drain of the twenty-fourth transistor Q24 is connected to the first end of the third resistor R3.

A drain of the twenty-fifth transistor Q25 is a first output terminal of the second current generating unit 1102.

the drain of the twenty-sixth transistor Q26 is the second output of the second current generating unit 1102.

optionally, referring to fig. 7, fig. 7 is a schematic circuit diagram of a temperature compensation module provided in an embodiment of the present application, and as shown in the figure, the temperature compensation module 120 includes:

A first temperature compensation unit 1201, a second temperature compensation unit 1202, a first current configuration unit 1203, and a second current configuration unit 1204.

a first input end of the first temperature compensation unit 1201 is a first input end of the temperature compensation module 120, a second input end of the first temperature compensation unit 1201 is a second input end of the temperature compensation module 120, and an output end of the first temperature compensation unit 1201 is connected to an input end of the first current configuration unit 1203.

A first input end of the second temperature compensation unit 1202 is a third input end of the temperature compensation module 120, a second input end of the second temperature compensation unit 1202 is a fourth input end of the temperature compensation module 120, and an output end of the second temperature compensation unit 1202 is connected to an input end of the second current configuration unit 1204.

The output end of the first current configuration unit 1203 is connected to the output end of the second current configuration unit 1204 and then serves as the output end of the temperature compensation module 120.

The first temperature compensation unit 1201 subtracts the received first positive temperature coefficient current from the received first negative temperature coefficient current to obtain a second negative temperature coefficient current, and inputs the second negative temperature coefficient current to the first current configuration unit 1203, and the first current configuration unit 1203 configures the second negative temperature coefficient current to obtain a configured third negative temperature coefficient current.

the second temperature compensation unit 1202 subtracts the received first negative temperature coefficient current from the received first positive temperature coefficient current to obtain a second positive temperature coefficient current, and inputs the second positive temperature coefficient current to the second current configuration unit 1204, and the second current configuration unit 1204 configures the second positive temperature coefficient current to obtain a configured third positive temperature coefficient current.

And adding the configured third negative temperature coefficient current and the configured third positive temperature coefficient current to obtain an initial current.

optionally, the first temperature compensation unit 1201 includes:

A twenty-seventh transistor Q27, a twenty-eighth transistor Q28, a twenty-ninth transistor Q29, a thirtieth transistor Q30, and a thirty-first transistor Q31.

a drain of the twenty-seventh transistor Q27 is a first input terminal of the first temperature compensation unit 1201, a source of the twenty-seventh transistor Q27 is connected to a source of the twenty-eighth transistor Q28, a source of the twenty-ninth transistor Q29, and a source of the thirtieth transistor Q30, respectively, and then grounded, and a gate of the twenty-seventh transistor Q27 is connected to a drain of the twenty-seventh transistor Q27 and a gate of the twenty-eighth transistor Q28, respectively.

The drain of the twenty-eighth transistor Q28 is connected to the drain of the twenty-ninth transistor Q29 to serve as the second input terminal of the first temperature compensation unit 1201.

The gate of the twenty-ninth transistor Q29 is connected to the drain of the twenty-ninth transistor Q29 and the gate of the thirtieth transistor Q30, respectively.

the drain of the thirtieth transistor Q30 is connected to the drain of the thirty-first transistor Q31.

the source of the thirty-first transistor Q31 is connected to an external power source, and the gate of the thirty-first transistor Q31 is connected to the drain of the thirty-first transistor Q31 and then serves as the output terminal of the first temperature compensation unit 1201.

Optionally, the second temperature compensation unit 1202 includes:

A thirtieth transistor Q32, a thirtieth transistor Q33, a thirty-fourth transistor Q34, a thirty-fifth transistor Q35, and a thirty-sixth transistor Q36.

The drain of the thirty-second transistor Q32 is the first input terminal of the second temperature compensation unit, the source of the thirty-second transistor Q32 is connected to the source of the thirty-third transistor Q33, the source of the thirty-fourth transistor Q34, and the source of the thirty-fifth transistor Q35, respectively, and then grounded, and the gate of the thirty-second transistor Q32 is connected to the drain of the thirty-second transistor Q32 and the gate of the thirty-third transistor Q33, respectively.

The drain of the thirty-third transistor Q33 is connected to the drain of the thirty-fourth transistor Q34 and then serves as the second input terminal of the second temperature compensation unit 1202.

the gate of the thirty-fourth transistor Q34 is connected to the drain of the thirty-fourth transistor Q34 and the gate of the thirty-fifth transistor Q35, respectively.

a drain of the thirty-fifth transistor Q35 is connected to a drain of the thirty-sixth transistor Q36.

The source of the thirty-sixth transistor Q36 is connected to an external power source, and the gate of the thirty-sixth transistor Q36 is connected to the drain of the thirty-sixth transistor Q36 and then serves as the output terminal of the second temperature compensation unit 1202.

Optionally, the first current configuration unit 1203 includes:

At least two transistors, a switching element corresponding to each transistor.

The source of each transistor is connected to an external power source, the gates of the transistors are connected to each other and then serve as the input terminal of the first current configuration unit 1203, and the drain of each transistor is connected to the first terminal of the switching element corresponding to the transistor.

second ends of the switching elements are connected to each other to serve as output ends of the first current configuration unit 1203.

illustratively, as shown in fig. 7, the first current configuration unit 1203 includes 10 transistors, and 10 switches sn 0-sn 9 corresponding to the 10 transistors. Here, this is merely an example of the first current arrangement unit, and the number of transistors and switching elements is not particularly limited.

Optionally, the second current configuration unit 1204 includes:

at least two transistors, a switching element corresponding to each transistor.

The source of each transistor is connected to an external power supply, the gate of each transistor is connected to each other and then serves as the input terminal of the second current configuration unit 1204, and the drain of each transistor is connected to the first terminal of the switching element corresponding to the transistor.

Second ends of the switching elements are connected to each other to serve as output ends of the second current configuration unit 1204.

illustratively, as shown in fig. 7, the second current configuration unit 1204 includes 10 transistors, and 10 switches sp0 to sp9 corresponding to the 10 transistors. Here, this is merely an example of the first current arrangement unit, and the number of transistors and switching elements is not particularly limited.

In practical applications, the temperature coefficient current depends only on the transistors and the resistors, wherein the positive temperature coefficient current Ipt1 ═ Ipt0 ═ V T lnn/R 1, V T ═ kT/q (n ═ 12/2 ═ 6; lnn ═ ln 6; R1 fixed value; k boltzmann coefficient; q electronic charge; T absolute temperature), the negative temperature coefficient current Int1 ═ Int0 ═ V BE/R2, V BE ═ V T ln (I C/I S), Is ═ bT 4+m exp (-E g/kT), the V BE temperature coefficient Is derived as V BE), and (V BE - (4+ m) V T -E g/q)/T-1.5) the temperature coefficient under each process Is not matched to the same temperature, so that the temperature coefficient under each process Is not matched to the same temperature, i.e. the oscillator Is matched to the same temperature.

in practical application, 10 switches are respectively corresponding to the proportional relations of 1, 2, 4, 8, 16, 32, 64, 128, 256 and 512, the first negative temperature coefficient current is selected to pass through the switches sn 0-sn 9, and the first positive temperature coefficient current is selected to pass through the switches sp 0-sp 9. After the temperature coefficient is determined, the output frequency of the ring oscillator is manually compared with the reference clock frequency, and a proper frequency configuration is selected, namely, a corresponding switch is selected from s 0-s 1 of the switch unit to be switched on and switched off, so that the clock frequency output by the ring oscillator is close to the reference clock frequency, and the clock frequency of the ring oscillator can reach the precision of 1%.

specifically, the number of clocks output by the ring oscillator is counted in a fixed time period, and the frequency of the ring oscillator is configured (i.e., the on-off of s 0-s 9 is determined) by adopting a successive approximation principle. And writing the final values of sp 9-sp 0, sn 9-sn 0 and s 9-s 0 into the storage unit, and directly reading the configuration when the chip is powered on again to adjust to the target clock frequency.

according to the embodiment of the application, the initial current is input to the frequency configuration module through the current source, the frequency configuration module configures the initial current to obtain the bias current, and inputs the bias current into the ring oscillator, so that the ring oscillator can output corresponding oscillation currents according to different bias currents to generate different clock frequencies, and the problem that the clock frequency generated by the ring oscillator in the prior art is single is effectively solved.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

in addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

the above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:脉冲信号输出电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类