The present invention relates to relaxation oscillator circuitry, usable for generating digital clocks on integrated circuits, and technology to compensate for process variations.
Relaxation oscillators comprise charging circuits that charge a capacitor. A detector is connected to the capacitor, and turns on a circuit to discharge the capacitor when the detector is triggered. The detector output which causes the switching between charge and discharge cycles can be converted to a clock signal having a period that is a function of the time required after each discharge cycle, to charge the capacitor to a trigger point on the detector.
The trigger point is a circuit parameter that can vary with process variations arising in manufacture, and therefore may result in variations in the period of the clock signal.
Trigger points can be evaluated using process corner analysis that relates to variation in, for example, n-type mobility and p-type mobility in the integrated circuit. One explanation of process corners is found in Wikipedia, in which the article reads, “There are therefore five possible corners: typical-typical (TT) (not really a corner of an n vs. p mobility graph, but called a corner, anyway), fast-fast (FF), slow-slow (SS), fast-slow (FS), and slow-fast (SF). The first three corners (TT, FF, SS) are called even corners, because both types of devices are affected evenly, and generally do not adversely affect the logical correctness of the circuit. The resulting devices can function at slower or faster clock frequencies, and are often binned as such. The last two corners (FS, SF) are called “skewed” corners, and are cause for concern. This is because one type of FET will switch much faster than the other, and this form of imbalanced switching can cause one edge of the output to have much less slew than the other edge. Latching devices may then record incorrect values in the logic chain.” Wikipedia contributors. (2019, Apr. 3). Process corners. In Wikipedia, The Free Encyclopedia. Retrieved 19:18, Mar. 13, 2020, from https://en.wikipedia.org/w/index.php?title=Process_corners &oldid=890740894.
It is desirable to provide a circuitry for a relaxation oscillator that is more stable over variations in process.
A detailed description of embodiments of the present invention is provided with reference to the
A control circuit including buffer 120, buffer 121, SR latch 130, inverters 140-142, and inverter 150 is coupled to the outputs of the inverters IV1 and IV2. In this example, the inverter IV1 has an output connected to the buffer 120, the output of which is in turn connected to the S input of the SR latch 130. Also, the inverter IV2 has an output connected to the buffer 121, the output of which is in turn connected to the R input of the SR latch 130. The Q output of the SR latch is the control signal CK fed back to line 100 at the input of the second charging circuit. The/Q output of the SR latch 130 is the control signal CKB fed back to the line 101 at the input of the first charging circuit. The control signal CK is applied through the string of inverters 140-142, which drive output clock signal CLK (which due to the odd number inverter string is inverted CK). Also, the control signal CKB is applied through the inverter 150, and is usable as an inverted output clock.
The inverters IV1 and IV2 in this prior art example have a transfer function like that illustrated in
The effect on clock period which can be mitigated by limiting variations in trigger point is illustrated in the timing chart of
Looking at the SF process corner in the middle of the chart, the trigger point Vtg (SF) is higher (e.g. more than ½ VDD) than the trigger point Vtg (TT). Thus, the time interval starting at time 300 until the node N1 reaches the trigger point Vtg (SF) at time 310 is longer than the time between times 300 and 301. Likewise, the time interval between time 301 and the time 311, at which node N2 reaches the trigger point Vtg (SF), is longer than the time between times 301 and 302. This results in a longer clock period and a slower clock frequency at process corner SF compared to process corner TT.
Looking at the FS process corner in the bottom of the chart, the trigger point Vtg (FS) is lower (e.g. less than ½ VDD) than the trigger point Vtg (TT). Thus, the time interval starting at time 300 until the node N1 reaches the trigger point Vtg (FS) at time 320 is shorter than the time between times 300 and 301. Likewise, the time interval between time 301 and the time 321, at which node N2 reaches the trigger point Vtg (FS), is shorter than the time between times 301 and 302. This results in a shorter clock period and a faster clock frequency at process corner FS compared to process corner TT.
Thus, as illustrated in
The relaxation oscillator of
A control circuit including buffer 420, buffer 421, SR latch 430, inverters 440-442, and inverter 450, is coupled to the outputs of the detectors 460 and 461. In this example, the detector 460 has an output connected to the buffer 420, the output of which is in turn connected to the S input of the SR latch 430. Also, the detector 461 has an output connected to the buffer 421, the output of which is in turn connected to the R input of the SR latch 430. The Q output of the SR latch is the control signal CK fed back to line 400 at the input of the second charging circuit 456. The /Q output of the SR latch 430 is the control signal CKB fed back to the line 401 at the input of the first charging circuit 455. The control signal CK is applied through the string of inverters 440-442, which drive output clock signal CLK (which due to the odd number inverter string is inverted CK). Also, the control signal CKB is applied through the inverter 450, and is usable as an inverted output clock.
The detector 460 is a first buffer in a series of buffers, including detector 460 and buffer 420 in this example, which can reduce switching level variation and provide tolerance to input noise, improving the stability of the oscillator output time periods.
Because the detectors 460 and 461 include process variation compensation circuits, the trigger points of the detectors vary over a smaller range due to process variations. As a result, the clock periods and clock frequencies of a lot of integrated circuits including the relaxation oscillators are more stable across the lot.
The inverter of
The first NMOS transistor (MN0) and the second NMOS transistor (MN1) are connected in series between a reference voltage terminal VSS and an output node 502, and their gates are connected to said input node 501.
The first PMOS transistor (MP0) and the second PMOS transistor (MP1) are connected in series between a supply voltage terminal VDD and the output node 502, and their gates connected to said input node 501.
A first resistive element connected between said output node 502 at with an output VOUT is generated and a node 510 between MP0 and MP1, in this example at the drain of MP0 and the source of MP1. In this example, the first resistive element comprises a diode connected NMOS transistor MN2, having its gate and drain connected to the node 510 between the transistors MP0 and MP1, and its source connected to the output node 502.
A second resistive element is connected between said output node 502 and a node 511 between MN0 and MN1, in this example at the drain of MN0 and the source of MN1. In this example, the first resistive element comprises a diode connected PMOS transistor MP2, having its gate and drain connected to the node 511 between the transistors MN0 and MN1, and its source connected to the output node 502.
As a result of the operation of the first and second resistive elements, the gain of the inverter of
Operation of the inverter of
During the first phase P1, as VIN begins to increase the output voltage VOUT falls rapidly between times 610 and 611. During this time interval, the transistors are biased as follows:
In this phase P1, as VIN begins to turn on MN0 before MN1 turns on, and the diode connected MP2 begins to conduct through MN0 to VSS, discharging the output voltage VOUT, the voltage of which begins to drop rapidly due to the pulldown current. MN2 remains off because VOUT is higher than VIN less the threshold of MP0 operating in the linear region.
In this phase P2, between times 611 and 612, VIN gets high enough to turn on MN1 adding increased pulldown current, MN2 turns on as VOUT falls, which generates current that opposes the pulldown current in this part of the transition causing the slope of the transfer plot to become less steep. However, the pulldown current remains stronger than the pull up current because MP0 is operating relatively weakly in the linear range.
In this phase P3, after time 612 until the transition is over, VIN gets high enough to cut off MP0 and MP1, blocking the opposing current through MN2. Also, as VOUT falls due to pull down current through MN1 and MN0, the diode connected MP2 cuts off.
As the input voltage sweeps in this example, the compensated detector INVC output voltage change is less steep than a conventional inverter. A small signal model for a conventional inverter can be characterized as: Av=(gmp1+gmn1)(romp1//romn1). A small signal model for a compensated inverter INVC as described herein can be characterized in a generalized sense as: Av=(gmp1+gmn1)×(romp1//romn1)//(1/gmmn2//1/gmmp2). Because of resistive elements MN2 and MP2, the gain of the compensated inverter is smaller than a conventional inverter.
The PMOS and NMOS transistors in the circuit of
Also shown in
In the embodiment of
In the embodiment of
In the embodiment of
The inverter of
The first NMOS transistor 912 and the second NMOS transistor 913 are connected in series between a reference voltage terminal VSS and an output node 902 at with the output voltage VOUT is generated, and their gates connected to said input node.
The first PMOS transistor 910 and the second PMOS transistor 911 are connected in series between a supply voltage terminal VDD and the output node 902, and their gates connected to said input node 901.
A first resistive element is connected between said output node 902 and a node 915 between the first and second PMOS transistors 910 and 911, in this example at the drain of transistor 910 and the source of transistor 911. In this example, the first resistive element comprises a resistor 920, having a terminal connected to the node 915 between the first and second PMOS transistors 910 and 911, and a terminal connected to the output node 902.
A second resistive element is connected between said output node 902 and a node 916 between the first and second NMOS transistors 912 and 913, in this example at the drain of transistor 912 and the source of transistor 913. In this example, the first resistive element comprises a resistor 921, having a terminal connected to the node 916 between the first and second NMOS transistors 912 and 913, and a terminal connected to the output node 902.
The circuit of
In the embodiment of
In the embodiment of
An inverter is described herein that includes devices (e.g., MP2, MN2, 920, 921) for providing pull up and pull down current, having the ability to compensate for process variation to maintain a more stable trigger point.
An inverter as described herein, with the ability to compensate for process variation to maintain a stable trigger point, can be used as a detector for all variety of RC delay circuits, in addition to the charging circuits described herein of a relaxation oscillator.
Examples of inverter circuits are described herein that use MOSFET transistors as resistive elements to compensate for input switching level variations that are caused by process variations.
An RC delay-based relaxation oscillator including an inverter trigger point variation compensation circuit is described that can achieve a stable clock period over variations in process and temperature. Use of the inverter trigger point variation compensation circuit in a first stage of a series of buffers can reduce the switching level variation, and provide great tolerance to input noise, resulting in improved stability of the oscillator time periods.
While the present technology is disclosed by reference to the preferred embodiments and examples detailed above, it is to be understood that these examples are intended in an illustrative rather than in a limiting sense. It is contemplated that modifications and combinations will readily occur to those skilled in the art, which modifications and combinations will be within the spirit of the disclosure and the scope of the following claims.
This application claims the benefit of U.S. Provisional Patent Application No. 62/909,183 filed 1 Oct. 2019, which application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62909183 | Oct 2019 | US |