[go: up one dir, main page]

CN103684354B - Ring oscillator circuit, ring oscillator and implementation method thereof - Google Patents

Ring oscillator circuit, ring oscillator and implementation method thereof Download PDF

Info

Publication number
CN103684354B
CN103684354B CN201310190432.9A CN201310190432A CN103684354B CN 103684354 B CN103684354 B CN 103684354B CN 201310190432 A CN201310190432 A CN 201310190432A CN 103684354 B CN103684354 B CN 103684354B
Authority
CN
China
Prior art keywords
inverter
ring oscillator
current
nmos
pmos
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310190432.9A
Other languages
Chinese (zh)
Other versions
CN103684354A (en
Inventor
王小曼
原义栋
何洋
王于波
唐晓柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd
State Grid Corp of China SGCC
Original Assignee
Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd, State Grid Corp of China SGCC filed Critical Beijing Nanrui Zhixin Micro Electronics Technology Co Ltd
Priority to CN201310190432.9A priority Critical patent/CN103684354B/en
Publication of CN103684354A publication Critical patent/CN103684354A/en
Application granted granted Critical
Publication of CN103684354B publication Critical patent/CN103684354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

The invention discloses a ring-shaped oscillation circuit, a ring-shaped oscillator and a realization method thereof, relating to the technical field of telecommunications. A technical problem that the required precision of a ring-shaped oscillation circuit device is high in the prior art is solved. The circuit comprises a current bias generating circuit and a ring-shaped oscillator level circuit. The ring-shaped oscillator level circuit comprises at least one level of first type of inverter and at least one level of second type of inverter. The current bias generating circuit is coupled with the first type of inverter. The output end of the first type of inverter is connected with the input end of the second type of inverter. The output end of the second type of inverter is connected with the input end of the first type of inverter.

Description

一种环形振荡电路、环形振荡器及其实现方法Ring oscillator circuit, ring oscillator and implementation method thereof

技术领域technical field

本发明涉及电信技术领域,特别涉及一种环形振荡电路、环形振荡器及其实现方法。The invention relates to the technical field of telecommunication, in particular to a ring oscillator circuit, a ring oscillator and a realization method thereof.

背景技术Background technique

对于大多数SOC(System on a Chip,系统级芯片)设计来说,振荡器是必不可少的组成部分,它能为芯片提供时钟。在各种类型的振荡器中,环形振荡器不需要外挂晶体,不需要使用电感-电容调谐电路,而只需要使用奇数个反相器串联、最后一级的输出连接到第一级的输入即可工作。考虑到其结构简单和低功耗的特性,环形振荡器在频率精度要求不高的场合得到了广泛的应用。然而,电源电压及环境温度对环形振荡器的输出频率影响较大,因此,环形振荡器无法满足在对时钟频率有更高精度要求的系统。For most SOC (System on a Chip, system-on-a-chip) designs, the oscillator is an essential component, which can provide the clock for the chip. Among various types of oscillators, the ring oscillator does not require an external crystal or an inductor-capacitor tuning circuit, but only needs to use an odd number of inverters in series, and the output of the last stage is connected to the input of the first stage. can work. Considering its simple structure and low power consumption, ring oscillators are widely used in occasions where frequency accuracy is not required. However, the power supply voltage and ambient temperature have great influence on the output frequency of the ring oscillator. Therefore, the ring oscillator cannot meet the requirements of higher accuracy of the clock frequency system.

为了达到更高频率精度,很多技术方案对环形振荡器进行了结构上的优化设计,其中,一种较为常见的结构为通过电流受限的反相器组成环形振荡器,因此振荡器的振荡频率与电流相关,通过对参考电流生成单元进行改进,从而提高了输出频率的电源电压及环境温度特性。然而这类方案最后输出频率的精度主要取决于参考电流生成单元设计是否能正好抵消相应的电压及温度系数。由于器件的温度特性与工艺的相关性很大,补偿不足或补偿过大均不能得到理想的结果,因此,对于实际设计而言,要达到较好的温度和电压特性具有较大的设计难度,当系数设计不合理,例如补偿不合理时,存在恶化温度或电压特性的可能性。因此普通的环形振荡器的输出频率随电源电压及环境温度的变化太大,无法满足对频率精度有很高要求的系统需求。In order to achieve higher frequency accuracy, many technical solutions have optimized the structure of the ring oscillator. Among them, one of the more common structures is to form a ring oscillator through a current-limited inverter. Therefore, the oscillation frequency of the oscillator Related to the current, the power supply voltage and ambient temperature characteristics of the output frequency are improved by improving the reference current generation unit. However, the accuracy of the final output frequency of this type of solution mainly depends on whether the design of the reference current generating unit can just offset the corresponding voltage and temperature coefficient. Due to the great correlation between the temperature characteristics of the device and the process, the ideal result cannot be obtained if the compensation is insufficient or the compensation is too large. Therefore, for actual design, it is difficult to achieve better temperature and voltage characteristics. When the coefficient design is unreasonable, such as unreasonable compensation, there is a possibility of deteriorating temperature or voltage characteristics. Therefore, the output frequency of a common ring oscillator varies too much with the power supply voltage and ambient temperature, and cannot meet the system requirements for high frequency accuracy.

并且,对于通过电流受限的反相器组成的环形振荡器方案来说,需要合理设计电流生成电路,配置合适的温度系数与后面的振荡器的温度特性进行补偿,因此最终的温度特性对电路中器件的取值较为敏感。由于设计得结果过于依赖电路设计中的器件尺寸以及其他设计技巧,在实际设计中,版图的不匹配以及工艺的偏差等等一些较难控制的因素会造成无法达到预期的补偿效果。Moreover, for the ring oscillator solution composed of current-limited inverters, it is necessary to reasonably design the current generation circuit, configure a suitable temperature coefficient and compensate for the temperature characteristics of the subsequent oscillator, so the final temperature characteristics will affect the circuit The value of the middle device is more sensitive. Because the design results are too dependent on the device size and other design techniques in circuit design, in actual design, some factors that are difficult to control, such as layout mismatch and process deviation, will cause the expected compensation effect to be unable to be achieved.

发明内容Contents of the invention

为了解决现有技术环形振荡电路中为了达到温度补偿和电源电压补偿的目的,从而导致的对器件要求精度高、设计难度较大的技术问题,本发明提供了一种环形振荡电路、环形振荡器及其实现方法。In order to solve the technical problems of the prior art ring oscillating circuit in order to achieve the purpose of temperature compensation and power supply voltage compensation, resulting in high precision requirements for devices and relatively difficult design, the present invention provides a ring oscillating circuit, a ring oscillator and its implementation method.

一种环形振荡电路,包括:电流偏置产生电路和环形振荡器级电路;A ring oscillator circuit comprising: a current bias generation circuit and a ring oscillator stage circuit;

环形振荡器级电路包括至少一级的第一种反相器和至少一级的第二种反相器;The ring oscillator stage circuit includes at least one stage of a first type of inverter and at least one stage of a second type of inverter;

电流偏置产生电路与第一种反相器耦合;第一种反相器的输出端与第二种反相器的输入端连接,并且,第二种反相器的输出端与第一种反相器的输入端连接;The current bias generating circuit is coupled to the first type of inverter; the output end of the first type of inverter is connected to the input end of the second type of inverter, and the output end of the second type of inverter is connected to the first type of inverter The input terminal connection of the inverter;

其中,第一种反相器主要是一种电流受限反相器类型;第二种反相器由CMOS反相器构成。Among them, the first type of inverter is mainly a type of current-limited inverter; the second type of inverter is composed of a CMOS inverter.

其中,电流偏置产生电路包括第一PMOS、第二PMOS、第一NMOS、第二NMOS和电阻R;其中,Wherein, the current bias generation circuit includes a first PMOS, a second PMOS, a first NMOS, a second NMOS and a resistor R; wherein,

第一PMOS和第二PMOS的栅极连接在一起构成电流镜;第二PMOS的栅极连接其漏极,第一NMOS的栅极和漏极连接在一起并与第一PMOS的漏极相连接,第二NMOS的栅极与第一NMOS的栅极连接一起,第二NMOS的漏极与第二PMOS的漏极相连接,第一NMOS的源级接地,第二NMOS的源级连接电阻R的一端,电阻R的另外一端连接到地。The gates of the first PMOS and the second PMOS are connected together to form a current mirror; the gate of the second PMOS is connected to its drain, and the gate and drain of the first NMOS are connected together and connected to the drain of the first PMOS , the gate of the second NMOS is connected to the gate of the first NMOS, the drain of the second NMOS is connected to the drain of the second PMOS, the source of the first NMOS is grounded, and the source of the second NMOS is connected to the resistor R One end of the resistor R is connected to ground.

其中,第一种反相器中包括第三PMOS、第三NMOS和至少一个CMOS反相器;电流偏置产生电路与第一种反相器耦合,具体包括:Wherein, the first type of inverter includes a third PMOS, a third NMOS and at least one CMOS inverter; the current bias generating circuit is coupled with the first type of inverter, specifically including:

第三PMOS的栅极与第二PMOS的栅极相连,第三NMOS的栅极与第一NMOS的栅极相连;至少一个CMOS反相器中的第一个CMOS反相器的电源和地分别连接第三PMOS的漏极和第三NMOS的漏极。The gate of the third PMOS is connected to the gate of the second PMOS, and the gate of the third NMOS is connected to the gate of the first NMOS; the power supply and ground of the first CMOS inverter in the at least one CMOS inverter are respectively The drain of the third PMOS and the drain of the third NMOS are connected.

第一种反相器的输出端与第二种反相器的输入端连接,并且,第二种反相器的输出端与第一种反相器的输入端连接,具体包括:The output end of the first type inverter is connected to the input end of the second type inverter, and the output end of the second type inverter is connected to the input end of the first type inverter, specifically including:

第一种和第二种反相器的各CMOS反相器串联;The CMOS inverters of the first type and the second type of inverter are connected in series;

第一种反相器中串联后最后一个CMOS反相器的输出端与第二种反相器串联后的第一个CMOS反相器的输入端相连,第二种反相器串联后的最后一个CMOS反相器的输出端连接回第一种反相器的第一个CMOS反相器的输入端。The output terminal of the last CMOS inverter after the series connection of the first type of inverter is connected to the input terminal of the first CMOS inverter after the series connection of the second type of inverter, and the last CMOS inverter after the series connection of the second type of inverter The output of one CMOS inverter is connected back to the input of the first CMOS inverter of the first type of inverter.

一种环形振荡器,包括权利要上述的环形振荡电路。A ring oscillator comprising the ring oscillator circuit as claimed in the claims.

一种环形振荡器的实现方法,包括:A method for implementing a ring oscillator, comprising:

通过电流偏置产生电路将电源的电流偏置为与电源电压无关的正温度系数的电流;The current of the power supply is biased to a current with a positive temperature coefficient independent of the power supply voltage through the current bias generation circuit;

用该正温度系数的电流控制环形振荡器级电路中的第一种反相器;controlling a first inverter in a ring oscillator stage circuit with the positive temperature coefficient current;

第一种反相器受该正温度系数的电流控制产生正电源电压、负温度系数且延时的反相器特性;并且第二种反相器通过各CMOS反相器的串联产生负电源电压、正温度系数且延时的反相器特性;The first type of inverter is controlled by the positive temperature coefficient of the current to produce a positive power supply voltage, negative temperature coefficient and delayed inverter characteristics; and the second type of inverter generates a negative power supply voltage through the series connection of CMOS inverters , Inverter characteristics with positive temperature coefficient and time delay;

通过第一种反相器的反相器特性与第二种反相器的反相器特性的相互作用,形成了输出频率得到温度补偿和电源电压补偿的环形振荡器。Through the interaction of the inverter characteristics of the first type of inverter and the inverter characteristics of the second type of inverter, a ring oscillator whose output frequency is temperature compensated and supply voltage compensated is formed.

本发明提供的方案设计的简便性,由于采用了两种反相器构成振荡器,因此,不需要刻意设置温度系数即可以达到温度补偿的效果。不需要晶体管匹配等器件设计就可以达到电源电压补偿的目的。并且低功耗,电流偏置电路由于工作在亚阈值区,因此工作电流较小,镜像的电流给反相器提供电源,功耗也较小,由于电流受限的反相器通常无法直接驱动外部的模块,在现有的技术中通常在环形振荡级的后面再接反相器增大驱动,而在本设计中,后面提高驱动的反相器成为了环形振荡级的一部分,因此节省了反相器链中反相器的个数,能够达到更低的功耗。The design of the scheme provided by the present invention is simple, because two kinds of inverters are used to form the oscillator, so the effect of temperature compensation can be achieved without intentionally setting the temperature coefficient. The purpose of power supply voltage compensation can be achieved without device design such as transistor matching. And low power consumption, the current bias circuit works in the sub-threshold region, so the working current is small, the mirrored current provides power to the inverter, and the power consumption is also small, because the current-limited inverter usually cannot be directly driven In the existing technology, an external module is usually connected with an inverter behind the ring oscillation stage to increase the drive, but in this design, the inverter that increases the drive behind becomes a part of the ring oscillation stage, thus saving The number of inverters in the inverter chain can achieve lower power consumption.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例1提供的环形振荡电路的电路图;Fig. 1 is the circuit diagram of the ring oscillator circuit that the embodiment 1 of the present invention provides;

图2为本发明实施例3提供的方法的流程图。FIG. 2 is a flow chart of the method provided by Embodiment 3 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。并且,以下各实施例均为本发明的可选方案,实施例的排列顺序及实施例的编号与其优选执行的顺序无关。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. In addition, each of the following embodiments is an optional solution of the present invention, and the arrangement sequence and number of the embodiments have nothing to do with their preferred execution order.

实施例1Example 1

本实施例提供一种环形振荡电路,该电路包括:电流偏置产生电路100和环形振荡器级电路200;This embodiment provides a ring oscillator circuit, which includes: a current bias generation circuit 100 and a ring oscillator stage circuit 200;

环形振荡器级电路200包括至少一级的第一种反相器210和至少一级的第二种反相器211;其中,第一种反相器210从功能上来说用于限制电流,属于是一种电流受限反相器;第二种反相器211包括CMOS反相器。The ring oscillator stage circuit 200 includes at least one stage of a first-type inverter 210 and at least one stage of a second-type inverter 211; wherein, the first-type inverter 210 is functionally used to limit current and belongs to is a current-limited inverter; the second inverter 211 includes a CMOS inverter.

电流偏置产生电路100与第一种反相器210耦合;第一种反相器210的输出端与第二种反相器211的输入端连接,并且,第二种反相器211的输出端与第一种反相器210的输入端连接。The current bias generating circuit 100 is coupled to the first type inverter 210; the output end of the first type inverter 210 is connected to the input end of the second type inverter 211, and the output of the second type inverter 211 The terminal is connected to the input terminal of the first inverter 210 .

其中,为了给第一种反相器210提供大小与电源电压无关,且带正温度系数的电流,本实施例中提供的电流偏置产生电路100包括第一PMOS103、第二PMOS104、第一NMOS102、第二NMOS101和电阻R105;如图1所示,Wherein, in order to provide the first type of inverter 210 with a current that has no relation to the power supply voltage and has a positive temperature coefficient, the current bias generation circuit 100 provided in this embodiment includes a first PMOS103, a second PMOS104, a first NMOS102 , the second NMOS101 and the resistor R105; as shown in Figure 1,

第一PMOS103和第二PMOS104的栅极连接在一起构成电流镜;第二PMOS104的栅极连接第二PMOS104的漏极,第一NMOS102的栅极和漏极连接在一起并与第一PMOS103的漏极相连接,第二NMOS101的栅极与第一NMOS102的栅极连接一起,第二NMOS101的漏极与第二PMOS104的漏极相连接,第一NMOS102的源级接地,第二NMOS101的源级连接电阻R105的一端,电阻R105的另外一端接地。The gates of the first PMOS103 and the second PMOS104 are connected together to form a current mirror; the gate of the second PMOS104 is connected to the drain of the second PMOS104, and the gate and drain of the first NMOS102 are connected together and connected to the drain of the first PMOS103 The gate of the second NMOS101 is connected to the gate of the first NMOS102, the drain of the second NMOS101 is connected to the drain of the second PMOS104, the source of the first NMOS102 is grounded, and the source of the second NMOS101 One end of the resistor R105 is connected, and the other end of the resistor R105 is grounded.

具体而言,第一种反相器中210包括第三PMOS204、第三NMOS205和至少一个CMOS201反相器;电流偏置产生电路100与第一种反相器210耦合,具体包括:Specifically, the first type of inverter 210 includes a third PMOS204, a third NMOS205, and at least one CMOS201 inverter; the current bias generation circuit 100 is coupled to the first type of inverter 210, specifically including:

第三PMOS204的栅极与第二PMOS104的栅极相连,第三NMOS205的栅极与第一NMOS102的栅极相连;The gate of the third PMOS204 is connected to the gate of the second PMOS104, and the gate of the third NMOS205 is connected to the gate of the first NMOS102;

至少一个CMOS反相器201中的第一个CMOS反相器201的电源和地分别连接第三PMOS204的漏极和第三NMOS205的漏极。The power supply and the ground of the first CMOS inverter 201 among the at least one CMOS inverter 201 are respectively connected to the drain of the third PMOS 204 and the drain of the third NMOS 205 .

优选方案中,第一种反相器210的输出端与第二种反相器211的输入端连接,并且,第二种反相器211的输出端与第一种反相器210的输入端连接,具体包括:In a preferred solution, the output end of the first type inverter 210 is connected to the input end of the second type inverter 211, and the output end of the second type inverter 211 is connected to the input end of the first type inverter 210 connections, including:

第一种反相器210和第二种反相器211的各CMOS反相器串联;The CMOS inverters of the first type inverter 210 and the second type inverter 211 are connected in series;

第一种反相器210中串联后的最后一个CMOS反相器的输出端与第二种反相器211串联后的第一个CMOS反相器的输入端相连,第二种反相器211串联后的最后一个CMOS反相器的输出端连接回第一种反相器210的第一个CMOS反相器的输入端。The output terminal of the last CMOS inverter connected in series in the first type inverter 210 is connected to the input end of the first CMOS inverter after the series connection of the second type inverter 211, and the second type inverter 211 The output terminal of the last CMOS inverter in series is connected back to the input terminal of the first CMOS inverter of the first type inverter 210 .

其中,第一种反相器中包括CMOS反相器;第一种反相器和第二种反相器组成的CMOS反相器链的级数为奇数级。Wherein, the first type of inverter includes a CMOS inverter; the number of stages of the CMOS inverter chain formed by the first type of inverter and the second type of inverter is an odd number of stages.

下面以图1为例,具体描述一下本实施例提供的环形振荡电路器。包括一个电流偏置产生电路100和一个环形振荡器级200,其中,环形振荡器级200包括至少一级电流受限反相器(如图1所示第一种反相器210)及至少一级CMOS反相器(如图1所示第二种反相器211)。图1中给出了一个由一级电流受限反相器以及两级CMOS反相器组成的三级环形振荡电路的电路图。实际上由这两种反相器组成的反相器链的级数还可以是五级或七级或是其他的奇数级,即奇数级是指第一种反相器和第二种反相器的总数是奇数。Taking FIG. 1 as an example, the ring oscillator circuit provided by this embodiment will be described in detail below. It includes a current bias generation circuit 100 and a ring oscillator stage 200, wherein the ring oscillator stage 200 includes at least one stage of current-limited inverter (the first inverter 210 shown in FIG. 1 ) and at least one stage CMOS inverter (the second inverter 211 shown in FIG. 1 ). Figure 1 shows a circuit diagram of a three-stage ring oscillator circuit composed of a current-limited inverter and a two-stage CMOS inverter. In fact, the number of stages of the inverter chain composed of these two inverters can also be five or seven or other odd-numbered stages, that is, the odd-numbered stages refer to the first type of inverter and the second type of inverter The total number of devices is an odd number.

电流偏置产生电路100由第一PMOS103、第二PMOS104、第一NMOS102、第二NMOS101和R105构成,其中第一PMOS103和第二PMOS104的栅极连接在一起构成电流镜,同时第二PMOS104的栅极连接其漏极,第一NMOS102的栅极和漏极连接在一起并与第一PMOS103的漏极相连接,第二NMOS101的栅极与第一NMOS102的栅极连接一起,第二NMOS101的漏极与第二PMOS104的漏极相连接,第一NMOS102的源级接地,第二NMOS101的源级连接电阻R105的一端,电阻R105的另外一端连接到地。The current bias generating circuit 100 is composed of a first PMOS103, a second PMOS104, a first NMOS102, a second NMOS101 and R105, wherein the gates of the first PMOS103 and the second PMOS104 are connected together to form a current mirror, while the gates of the second PMOS104 The gate and drain of the first NMOS102 are connected together and connected with the drain of the first PMOS103, the gate of the second NMOS101 is connected with the gate of the first NMOS102, and the drain of the second NMOS101 The source of the first NMOS 102 is connected to the ground, the source of the second NMOS 101 is connected to one end of the resistor R105, and the other end of the resistor R105 is connected to the ground.

环形振荡器级电路200由第三PMOS204、第三NMOS205以及三组反相器201、202、203构成,第三PMOS204的栅极与第二PMOS104的栅极相连,第三NMOS205与第一NMOS102的栅极相连,第一个CMOS反相器201的电源和地分别连接第三PMOS204和第三NMOS205的漏极,该反相器204的输出与第二个CMOS反相器202(即第二种反相器中的第一个反相器)的输入端相连,第二个CMOS反相器202的输出与第三个CMOS反相器203(即第二种反相器中各反相器串联后的最后一个CMOS反相器)的输入相连,第三个CMOS反相器的输出连接回第一个CMOS反相器201(图1中的反相器201即是第一种反相器中各反相器串联后的第一个反相器,也是最后一个反相器)的输入端。The ring oscillator stage circuit 200 is composed of a third PMOS204, a third NMOS205, and three sets of inverters 201, 202, and 203. The gate of the third PMOS204 is connected to the gate of the second PMOS104, and the third NMOS205 is connected to the gate of the first NMOS102. The gate is connected, and the power supply and ground of the first CMOS inverter 201 are respectively connected to the drains of the third PMOS204 and the third NMOS205, and the output of the inverter 204 is connected to the second CMOS inverter 202 (ie, the second The first inverter in the inverter) is connected to the input terminal, and the output of the second CMOS inverter 202 is connected to the third CMOS inverter 203 (that is, each inverter in the second inverter is connected in series. The input of the last CMOS inverter) is connected, and the output of the third CMOS inverter is connected back to the first CMOS inverter 201 (inverter 201 in FIG. 1 is the first inverter The first inverter after each inverter is connected in series is also the input terminal of the last inverter).

参照图1,本实施例提供的环形振荡电路的原理如下:首先电流偏置电路100通过第一NMOS102和第二NMOS101的VGS差值在R105上产生一个电流,该电流大小与电源电压无关,带有正温度系数,流过第二PMOS104/第二NMOS101支路,由于第一PMOS103和第二PMOS104的1:1的镜像关系,第一PMOS103/第一NMOS102支路上因此流过相同的电流。通过第二PMOS104管与第三PMOS204管组成的电流镜,将第二PMOS104的电流镜像到第三PMOS204的支路上。通过第一NMOS102管与第三NMOS205管组成的电流镜,将第一NMOS102的电流镜像到第三NMOS205的支路上,因此第一级反相器201的充电电流为流过第二PMOS104的电流,第一级反相器201的放电电流为流过第三NMOS204的电流,充放电电流值特性决定了这一级反相器的延时特性,第一级反相器201输出连接后面的普通CMOS反相器202和203组成了一个环形振荡器链,最终的振荡频率由反相器链的总延时决定。Referring to FIG. 1 , the principle of the ring oscillator circuit provided by this embodiment is as follows: first, the current bias circuit 100 generates a current on R105 through the VGS difference between the first NMOS102 and the second NMOS101, and the magnitude of the current has nothing to do with the power supply voltage, with It has a positive temperature coefficient and flows through the second PMOS104/second NMOS101 branch. Due to the 1:1 mirror relationship between the first PMOS103 and the second PMOS104, the same current flows on the first PMOS103/first NMOS102 branch. Through the current mirror composed of the second PMOS104 transistor and the third PMOS204 transistor, the current of the second PMOS104 is mirrored to the branch of the third PMOS204. Through the current mirror composed of the first NMOS102 tube and the third NMOS205 tube, the current of the first NMOS102 is mirrored to the branch of the third NMOS205, so the charging current of the first-stage inverter 201 is the current flowing through the second PMOS104, The discharge current of the first-stage inverter 201 is the current flowing through the third NMOS 204. The characteristics of the charge and discharge current value determine the delay characteristics of this stage of inverter. The output of the first-stage inverter 201 is connected to the ordinary CMOS behind The inverters 202 and 203 form a ring oscillator chain, and the final oscillation frequency is determined by the total delay of the inverter chain.

其中,电流偏置电路100在PMOS103/NMOS102和PMOS104/NMOS101支路上产生的电流I的值大小为NMOS102管的VGS与NMOS104管的VGS的差值比上电阻R105的阻值,如下公式(1)Wherein, the value of the current I generated by the current bias circuit 100 on the PMOS103/NMOS102 and PMOS104/NMOS101 branches is the difference between the VGS of the NMOS102 tube and the VGS of the NMOS104 tube compared to the resistance value of the resistor R105, as shown in the following formula (1)

II == VV GSMNGSMN 11 -- NN GSMNGSMN 22 RR -- -- -- (( 11 ))

由于NMOS102和NMOS101工作在亚阈值区,公式(1)可以进一步写为Since NMOS102 and NMOS101 work in the subthreshold region, formula (1) can be further written as

II == nno VV TT lnln Mm RR -- -- -- (( 22 ))

其中,M为MN2与MN1的宽长比的比值,VT为热电压,其具有正温度系数,n为亚阈值斜率因子。当电阻采用poly电阻时,电阻为负温度系数,因此,该电流具有正温度系数。通过PMOS电流镜,第一级电流受限的反相器电流与温度成正比,该级反相器延时随温度升高而减小;该级反相器的阈值电压随电源电压升高而升高,从而使得反相器延时随电源电压升高而增大。where M is the ratio of the width-to-length ratio of MN2 to MN1, VT is the thermal voltage, which has a positive temperature coefficient, and n is the subthreshold slope factor. When the resistor is a poly resistor, the resistance has a negative temperature coefficient, so the current has a positive temperature coefficient. Through the PMOS current mirror, the current of the first-stage current-limited inverter is proportional to the temperature, and the delay of this stage of inverter decreases with the increase of temperature; the threshold voltage of this stage of inverter increases with the increase of power supply voltage. increase, so that the inverter delay increases as the supply voltage increases.

反相器链中的第二种反相器即为普通CMOS反相器,这种反相器的延时随温度的升高而增大,随电源电压的升高而减小。The second type of inverter in the inverter chain is an ordinary CMOS inverter. The delay of this inverter increases with the increase of temperature and decreases with the increase of power supply voltage.

这两种反相器的温度和电压特性正好是反相的,在振荡器环路中采用这两种反相器,可以实现温度补偿和电压补偿的作用。通过调节电流产生电路的温度系数,可以对振荡器的温度和电压特性进行有目标的补偿。因此该环形振荡电路的温度电压补偿作用对电路内部具体器件的取值并不敏感,故而在使用时可以达到温度和电压补偿的目的。The temperature and voltage characteristics of these two kinds of inverters are just opposite, and the use of these two kinds of inverters in the oscillator loop can realize the functions of temperature compensation and voltage compensation. By adjusting the temperature coefficient of the current generating circuit, the temperature and voltage characteristics of the oscillator can be compensated in a targeted manner. Therefore, the temperature and voltage compensation function of the ring oscillating circuit is not sensitive to the value of specific components inside the circuit, so the purpose of temperature and voltage compensation can be achieved when used.

本实施例提供的环形振荡电路由于第一种反相器延时与第二种反相器延时的温度特性和电源电压特性刚好相反,因此反相器链的总延时在温度和电源电压特性上达到了补偿的目的,从而使得振荡器的输出频率达到了温度补偿和电源电压补偿目的。In the ring oscillating circuit provided by this embodiment, since the temperature characteristics and power supply voltage characteristics of the first type of inverter delay and the second type of inverter delay are just opposite, the total delay of the inverter chain varies between temperature and power supply voltage The purpose of compensation is achieved in terms of characteristics, so that the output frequency of the oscillator achieves the purpose of temperature compensation and power supply voltage compensation.

实施例2Example 2

本实施例提供一种环形振荡器,该环形振荡器包括实施例1中所描述的环形振荡电路,具体环形振荡器的内容在此不赘述。This embodiment provides a ring oscillator. The ring oscillator includes the ring oscillator circuit described in Embodiment 1, and the specific content of the ring oscillator is not repeated here.

实施例3Example 3

本实施例提供一种环形振荡器的实现方法,如图2所示,包括:This embodiment provides a method for implementing a ring oscillator, as shown in FIG. 2 , including:

步骤101,通过电流偏置产生电路将电源的电流偏置为与电源电压无关的正温度系数的电流;Step 101, using the current bias generation circuit to bias the current of the power supply to a current with a positive temperature coefficient independent of the power supply voltage;

步骤102,用该正温度系数的电流控制环形振荡器级电路中的第一种反相器;Step 102, using the positive temperature coefficient current to control the first inverter in the ring oscillator stage circuit;

步骤103,第一种反相器受该正温度系数的电流控制产生正电源电压、负温度系数且延时的反相器特性;Step 103, the first type of inverter is controlled by the positive temperature coefficient current to generate a positive power supply voltage, a negative temperature coefficient and a time-delayed inverter characteristic;

步骤104,在步骤103反相器特性产生的同时,第二种反相器通过各CMOS反相器的串联产生负电源电压、正温度系数且延时的反相器特性;Step 104, at the same time that the inverter characteristics are generated in step 103, the second type of inverter generates negative power supply voltage, positive temperature coefficient and time-delayed inverter characteristics through the series connection of each CMOS inverter;

步骤105,通过第一种反相器的反相器特性与第二种反相器的反相器特性的相互作用,形成了输出频率得到温度补偿和电源电压补偿的环形振荡器。Step 105, through the interaction of the inverter characteristics of the first type of inverter and the inverter characteristics of the second type of inverter, a ring oscillator whose output frequency is temperature compensated and power supply voltage compensated is formed.

例如:参照图1,首先电流偏置电路100通过第一NMOS102和第二NMOS101的VGS差值在R105上产生一个电流,该电流大小与电源电压无关,带有正温度系数,流过第二PMOS104/第二NMOS101支路,由于第一PMOS103和第二PMOS104的1:1的镜像关系,第一PMOS103/第一NMOS102支路上因此流过相同的电流。通过第二PMOS104管与第三For example: Referring to FIG. 1, firstly, the current bias circuit 100 generates a current on R105 through the VGS difference between the first NMOS102 and the second NMOS101. /second NMOS 101 branch, due to the 1:1 mirror relationship between the first PMOS 103 and the second PMOS 104 , the same current flows on the first PMOS 103 /first NMOS 102 branch. Through the second PMOS104 tube and the third

PMOS204管组成的电流镜,将第二PMOS104的电流镜像到第三PMOS204的支路上。通过第一NMOS102管与第三NMOS205管组成的电流镜,将第一NMOS102的电流镜像到第三NMOS205的支路上,因此第一级反相器201的充电电流为流过第二PMOS104的电流,第一级反相器201的放电电流为流过第三NMOS204的电流,充放电电流值特性决定了这一级反相器的延时特性,第一级反相器201输出连接后面的普通CMOS反相器202和203组成了一个环形振荡器链,最终的振荡频率由反相器链的总延时决定。The current mirror composed of PMOS204 tubes mirrors the current of the second PMOS104 to the branch of the third PMOS204. Through the current mirror composed of the first NMOS102 tube and the third NMOS205 tube, the current of the first NMOS102 is mirrored to the branch of the third NMOS205, so the charging current of the first-stage inverter 201 is the current flowing through the second PMOS104, The discharge current of the first-stage inverter 201 is the current flowing through the third NMOS 204. The characteristics of the charge and discharge current value determine the delay characteristics of this stage of inverter. The output of the first-stage inverter 201 is connected to the ordinary CMOS behind The inverters 202 and 203 form a ring oscillator chain, and the final oscillation frequency is determined by the total delay of the inverter chain.

具体该各步骤的实现方式请参考实施1中的环形振荡电路,在此不赘述。Please refer to the ring oscillating circuit in Embodiment 1 for the specific implementation of each step, which will not be repeated here.

本发明提供的实现方法由于采用了两种可产生相反温度和电源电压特性的反相器,因此,不需要刻意设置温度系数即可以达到温度补偿的效果。不需要晶体管匹配等器件设计就可以达到电源电压补偿、低功耗的技术效果。The implementation method provided by the present invention uses two kinds of inverters that can produce opposite temperature and power supply voltage characteristics, so the effect of temperature compensation can be achieved without deliberately setting the temperature coefficient. The technical effects of power supply voltage compensation and low power consumption can be achieved without device design such as transistor matching.

本发明实施例提供的上述方法中,虽然给出了执行各步骤的先后顺序,但是该顺序仅为本发明的一个优选的实施方式。显然,本领域技术人员根据上述方法可以对该方法步骤的执行顺序进行多种多样的等效变换,也就是说本发明实施例方法中的上述各步骤或部分步骤完全可以按照其他顺序执行,或者同时执行。例如:先执行步骤104,再执行步骤103;或者同时执行步骤103和步骤104。因此上述方法描述的各步骤的执行顺序并仅限于实施例中所提供的一种方式。In the above methods provided in the embodiments of the present invention, although the order of performing the steps is given, this order is only a preferred implementation manner of the present invention. Obviously, those skilled in the art can perform various equivalent transformations on the order of execution of the steps of the method according to the above method, that is to say, the above steps or some of the steps in the method of the embodiment of the present invention can be executed in other orders, or Execute at the same time. For example: step 104 is executed first, and then step 103 is executed; or step 103 and step 104 are executed simultaneously. Therefore, the execution sequence of the steps described in the above method is not limited to one mode provided in the embodiment.

以上所述,仅为本发明的具体实施方式,但本发明能有多种不同形式的具体实施方式,上文结合附图对本发明做举例说明,这并不意味着本发明所应用的具体实施方式只能局限在这些特定的具体实施方式中,本领域的技术人员应当了解,上文所提供的具体实施方式只是多种优选实施方式中的一些示例,任何体现本发明权利要求的具体实施方式均应在本发明权利要求所要求保护的范围之内;本领域的技术人员能够对上文各具体实施方式中所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换或者改进等,均应包含在本发明权利要求的保护范围之内。The above description is only a specific embodiment of the present invention, but the present invention can have a variety of different forms of specific embodiments, and the above is an example of the present invention in conjunction with the accompanying drawings, which does not mean that the specific implementation of the application of the present invention The method can only be limited to these specific implementations, and those skilled in the art should understand that the specific implementations provided above are only some examples of various preferred implementations, and any specific implementation that embodies the claims of the present invention All should be within the scope of protection required by the claims of the present invention; those skilled in the art can modify the technical solutions described in the above specific embodiments, or perform equivalent replacements for some of the technical features. Any modification, equivalent replacement or improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (6)

1. A ring oscillator circuit, comprising: a current bias generating circuit and a ring oscillator stage circuit; the ring oscillator stage circuit comprises at least one stage of first inverter and at least one stage of second inverter; the current bias generating circuit is coupled with the first inverter; the output end of the first inverter is connected with the input end of the second inverter, the output end of the second inverter is connected with the input end of the first inverter, and the current bias generating circuit comprises a first PMOS, a second PMOS, a first NMOS, a second NMOS and a resistor R; the grid electrodes of the first PMOS and the second PMOS are connected together to form a current mirror; the grid electrode of the second PMOS is connected with the drain electrode of the second PMOS, the grid electrode of the first NMOS is connected with the drain electrode of the first PMOS, the grid electrode of the second NMOS is connected with the grid electrode of the first NMOS, the drain electrode of the second NMOS is connected with the drain electrode of the second PMOS, the source electrode of the first NMOS is grounded, the source electrode of the second NMOS is connected with one end of a resistor R, the other end of the resistor R is connected with the ground, and the first inverter comprises a third PMOS, a third NMOS and at least one CMOS inverter; the current bias generating circuit is coupled with the first inverter, and specifically comprises: the grid electrode of the third PMOS is connected with the grid electrode of the second PMOS, and the grid electrode of the third NMOS is connected with the grid electrode of the first NMOS; and the power supply and the ground of the first CMOS inverter of the at least one CMOS inverter are respectively connected with the drain electrode of the third PMOS and the drain electrode of the third NMOS.
2. The ring oscillator circuit of claim 1 wherein the first inverter comprises a current limited inverter; the second inverter comprises a CMOS inverter.
3. The ring oscillator circuit according to claim 1, wherein the output of the first inverter is connected to the input of the second inverter, and the output of the second inverter is connected to the input of the first inverter, specifically comprising: each CMOS inverter of the first and second inverters is connected in series; the output end of the last CMOS phase inverter after the first phase inverter is connected in series is connected with the input end of the first CMOS phase inverter after the second phase inverter is connected in series, and the output end of the last CMOS phase inverter after the second phase inverter is connected in series is connected back to the input end of the first CMOS phase inverter of the first phase inverter.
4. A ring oscillator circuit according to claim 3 wherein the chain of CMOS inverters formed by the first and second inverters is an odd number of stages.
5. A ring oscillator comprising the ring oscillator circuit of any one of claims 3 to 4.
6. A method for implementing the ring oscillator of claim 5, comprising: the current of the power supply is biased to be the current of the positive temperature coefficient irrelevant to the power supply voltage through a current bias generating circuit; controlling a first inverter in a ring oscillator stage circuit by using the current with the positive temperature coefficient; the first inverter is controlled by the current of the positive temperature coefficient to generate the inverter characteristics of positive power supply voltage, negative temperature coefficient and time delay; the second inverter generates the inverter characteristics of negative power supply voltage, positive temperature coefficient and time delay through the series connection of all the CMOS inverters; by the interaction of the inverter characteristic of the first inverter with the inverter characteristic of the second inverter, a ring oscillator whose output frequency is temperature compensated and whose supply voltage is compensated is formed.
CN201310190432.9A 2013-05-21 2013-05-21 Ring oscillator circuit, ring oscillator and implementation method thereof Active CN103684354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310190432.9A CN103684354B (en) 2013-05-21 2013-05-21 Ring oscillator circuit, ring oscillator and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310190432.9A CN103684354B (en) 2013-05-21 2013-05-21 Ring oscillator circuit, ring oscillator and implementation method thereof

Publications (2)

Publication Number Publication Date
CN103684354A CN103684354A (en) 2014-03-26
CN103684354B true CN103684354B (en) 2015-01-07

Family

ID=50320847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310190432.9A Active CN103684354B (en) 2013-05-21 2013-05-21 Ring oscillator circuit, ring oscillator and implementation method thereof

Country Status (1)

Country Link
CN (1) CN103684354B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099445B (en) * 2014-05-12 2018-02-23 国家电网公司 The control method for frequency and circuit of a kind of ring oscillator
US9325323B2 (en) * 2014-08-30 2016-04-26 Stmicroelectronics International N.V. CMOS oscillator having stable frequency with process, temperature, and voltage variation
CN106527571A (en) * 2016-07-05 2017-03-22 络达科技股份有限公司 Bias circuit
CN106023890B (en) 2016-07-25 2018-06-01 京东方科技集团股份有限公司 Temperature sensing circuit and method, temperature compensation means and method and display device
CN106840432A (en) 2017-02-16 2017-06-13 京东方科技集团股份有限公司 Temperature sensor, array base palte, display and voltage control method
CN107945834A (en) * 2017-12-14 2018-04-20 睿力集成电路有限公司 Memorizer test device and test method
CN109120258B (en) * 2018-08-03 2022-03-15 北京大学深圳研究生院 A temperature self-compensating ring oscillator and a clock generating circuit
CN111106829B (en) * 2019-12-20 2023-06-27 睿兴科技(南京)有限公司 High-precision ring oscillation circuit and micro-control system
CN111953343B (en) * 2020-09-07 2023-05-30 北京中科芯蕊科技有限公司 Digital control subthreshold ring oscillator
CN117767923A (en) 2022-09-16 2024-03-26 长鑫存储技术有限公司 Delay circuit and semiconductor device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6549081B1 (en) * 2000-07-27 2003-04-15 Agilent Technologies, Inc. Integrator/ comparator control of ring oscillator frequency and duty cycle
CN101091145A (en) * 2005-08-17 2007-12-19 罗姆股份有限公司 Constant current circuit, inverter and oscillation circuit using it
CN101127506A (en) * 2007-09-29 2008-02-20 北京时代民芯科技有限公司 A novel CMOS oscillator circuit
CN101741354A (en) * 2009-11-25 2010-06-16 天津南大强芯半导体芯片设计有限公司 Oscillator circuit with low frequency and low power consumption and working method thereof
CN102377412A (en) * 2010-08-11 2012-03-14 义隆电子股份有限公司 Low Power Relaxation Oscillator

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333484A (en) * 2004-05-20 2005-12-02 Nec Electronics Corp Ring oscillation circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6549081B1 (en) * 2000-07-27 2003-04-15 Agilent Technologies, Inc. Integrator/ comparator control of ring oscillator frequency and duty cycle
CN101091145A (en) * 2005-08-17 2007-12-19 罗姆股份有限公司 Constant current circuit, inverter and oscillation circuit using it
CN101127506A (en) * 2007-09-29 2008-02-20 北京时代民芯科技有限公司 A novel CMOS oscillator circuit
CN101741354A (en) * 2009-11-25 2010-06-16 天津南大强芯半导体芯片设计有限公司 Oscillator circuit with low frequency and low power consumption and working method thereof
CN102377412A (en) * 2010-08-11 2012-03-14 义隆电子股份有限公司 Low Power Relaxation Oscillator

Also Published As

Publication number Publication date
CN103684354A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103684354B (en) Ring oscillator circuit, ring oscillator and implementation method thereof
CN105099445B (en) The control method for frequency and circuit of a kind of ring oscillator
US20140327486A1 (en) RC Oscillator
CN104575424B (en) Scan drive circuit and its nor gate logical operation circuit
KR101894199B1 (en) Scanning driving circuit and its NAND logic operation circuit
KR100998452B1 (en) Ring Oscillator for Determining Select-to-Output Delays of Multiplexers
TWI708134B (en) Body bias voltage generating circuit
CN101753115A (en) Circuit and method with temperature compensation
CN110719102A (en) Oscillation circuit and clock circuit
US20170324402A1 (en) Power efficient high speed latch circuits and systems
CN103036558A (en) Voltage-controlled oscillator
CN106209086A (en) Voltage-controlled oscillator
CN114388017B (en) Oscillator circuit and memory
CN105391419A (en) Crystal oscillation circuit and electronic timepiece
CN105811925B (en) Ring oscillator
US12206360B2 (en) Oscillator acceleration circuit, chip and electronic device
CN111831043A (en) A high-precision oscillator circuit
CN106026983A (en) Ring oscillator
JP2011090364A (en) Constant voltage generation circuit, and semiconductor integrated circuit with the built-in circuit
CN105577139A (en) An RC oscillator
TWI591459B (en) Analog electronic clock
CN108365836B (en) Novel relaxation oscillator circuit
CN204517769U (en) A kind of extremely low power dissipation quartz crystal oscillator circuit
CN104065354B (en) Operational Amplifier Circuit
CN101741313B (en) Automatic Enhancement Fast Start-up Quartz Oscillator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant