Synthesis of a current source using a formal design methodology Anand M. Pappu, Alyssa B. Apsel School of Electrical an...

0 downloads 78 Views 393KB Size
Synthesis of a current source using a formal design methodology Anand M. Pappu, Alyssa B. Apsel

School of Electrical and Computer Engineering Cornell University Ithaca, New York 14853 Email: [email protected] Abstract- In this paper we present our work on variationtolerant current source design. The three-transistor-plus-resistor circuit we present, offers more than 2X reduction in standard deviation of the output current at reduced circuit complexity (in a 0.18/im technology). Moreover, our circuit can be used to mirror a reference current at various locations on the die without incuring mismatches due to process variations while requiring minimum voltage headroom and layout area. The circuit topology itself is derived from a formal methodology presented here. I. INTRODUCTION


In analog circuit design, process variations both on-die and between wafer runs can have many deleterious effects.

Problems resulting from these variations include unpredictable bias conditions, variations in target bandwidth and skew, functionality issues and reduction in yield. Unfortunately, these variations are expected to worsen in deep sub-micron technologies due to difficulties in printing and uniformly doping nanometer-scale geometries [1]. Robust circuit design with performance tolerant to these variations is a tremendous challenge. A variety of techniques have been used in the past in designing variation-robust circuits. These techniques include feedback techniques and feed-forward techniques like correlating process parameters and using fundamental constants. Feedback analysis gives us a powerful method of designing variation-robust circuits. In a feedback circuit with a large loop-gain, metrics of importance (like gain) depend on the feedback elements and are robust to the variations in the feedforward block. Hence, employing off-chip precision elements in the feedback block improves the robustness of the circuit. This solution however, is not attractive for low-cost or dense circuits. Another interesting technique is making the output characteristics proportional to fundamental constants like bandgap voltage, temperature etc. Bandgap referenced circuits and PTAT circuits fall under this category. Bandgap referenced and PTAT voltage sources can in-turn be used to generate robust current sources. A current source is one of the basic building blocks in any analog system Current through a transistor affects its transconductance and thus gain and bandwidth of a circuit become susceptible to variations in the current source output. In this context, designing compact and variation-robust current sources assumes 0-7803-9390-2/06/$20.00 ©2006 IEEE

significance. In order to meet the compactness and area constraints, a constant current source is usually laid-out at one part of the chip and its output is mirrored to locations where a constant current is required. With technology scaling deep sub-micron regimes, threshologe and into deep sub-micron and nano regimes, threshold voltage and kappa (, = uC0, W) mismatches across the chip tend to introduce large variations in current mirroring too. Prior work in designing constant current sources has largely ignored this great

Sengupta et al [2] have designed a variation compensated current source with a PTAT voltage input by utilizing process parameter correlations to their advantage. In a CMOS process, threshold voltage and kappa have an inverse variation relationship. Thus, designing a circuit with output current variation proportional to AVTh + CA, where C is a constant, reduces the variation in the output current. With such a variety of techniques available, finding a starting point for designing a novel variation-robust circuit becomes challenging. We have therefore, tried to obtain a formalism for designing such circuits. Our formalism is presented in the next section. While our formalism gives a starting point for designing circuits it does not obviate the need for ingenious design but rather helps to guide the direction of circuit design. In section III, we demonstrate a circuit produced by our methodology that reduces the standard deviation of current variation by half. Moreover, our circuit can be used to mirror a reference current at various locations on the die without incuring mismatches due to process variations. II. FORMALISM Current through a circuit is a function of the circuit topology, bias points and process parameters. Mathematically, this can be abstracted as



where C is the topology, b is the set of bias points, P is

the set of process parameters and .F is the function that

relates the output current to these "variables". When a circuit is fabricated, variations in the output current result from variations in the bias points and process parameters.


AI fJ(b, P)

(2) ISCAS 2006

where the function f depends on the partial derivatives of F III. ADDITION-BASED CURRENT SOURCE with respect to b and P and is unique for a given topology Let's choose our output current I to be the sum of two C. Depending on the circuit topology employed, the function currents f could be strong or weak. For example, in I = (Vgs I= II + 12 (5) VTh)2, current variation is a linear function of the process parameters C, VTh. Variations in these process parameters lead where II = tc1(VgSi - VTh)2 and 12 = i2(VgS2 - VTh)2. to a standard deviation over mean (A) greater than 10% in Using our formalism, we now need to calculate Al. If we IBM's BiCMOS7WL (0.18,um technology). assume for the moment that Vgsl does not vary, we obtain One design procedure could be outlined thus: 1. Write any equation for the output current through a circuit. 2. Make AI1=-2i(Vgsl - VThl)AVThl + Aii(Vgsl - VThl)2 (6) sure the equation is dimensionally correct. 3. Mathematically AI2=-2i2(V9s2 - VTh2)AVTh2 + Ai2(Vgs2 - VTh2)2 (7) ensure that the variations in the current are not a strong +2/2(Vgs2 - VTh2)AVVgs2 function of process and bias (i.e., equate Al to zero). 4. Come A. Simplify using MI size = M2 size up with a circuit topology that implements the equation. All the current sources that are already known in literature In order to simplify the expression for Al, we assume that are particular cases of this design methodology. This can be (Vgs, Vgs) is the average/nominal value of Vgs2 and that the shown easily using an example: Let us assume that we chose 1i = K2=K. Since the transistors MI, M2 are of the same the equation size and have the same gate voltage, their threshold voltages I = Ine6UT (3) track each other if they are close to each other on the chip. Hence, AVThl = AVTh2. Using these assumptions, we obtain where Iin is a process dependent current, UT =hAg and R All + 2/(Vgs2 - VTh)AVgs2 A12 (8) is a (relatively process independent) resistor. Variation in the Al output current is equal to 2\AI1 + 2K(Vgs2 - VTh)AVgs2 (9) Al 0 4) AVgs2 =-2AI1/gm = linR (10) -inR e UT (1 Al (4) - VTh). Eq.10 gives us information as UT where = 0 as well as a clue to implementation. We Thus by choosing R such that (1 =0 for nominal to when Al iR) UT need to make the gate voltage of the second transistor equal values of lin, we minimize variations in the current I. the voltage produced by running the current I1 through a ' . a .process independent . current source ~~~~~~~~to = only task left in obtaining resistor R -linR 2/g,. We can thus implement the "additionis implementing the equation I = Iine UT which is done based current source" via the following circuit. using the BJT-based bipolar peaking current source topology shown below. Vdd =






lin R


11 12 )i



Fig. 1. Bipolar peaking current source implements I





Fig. 2. Addition-based current source


The above mentioned method could be used to prove that any existing current source could have been obtained using our formalism. More importantly, using this formalism, we can obtain new current sources not seen before. Replacing current, I, with other circuit metrics like Yin, V, BW we can extend our methodology to obtain novel variation robust circuits. In the following section, we demonstrate the "addition-based" current source obtained through our formalism,

In this circuit, MI and M3 are assumed to match each other due to their proximity. The gate voltage of transistor M2 then changes by AVgs2 =-AIIR satisfying our design criterion. The power supply Vdd depends on the gate voltage Vgs, R and I1. We simulated the circuit in IBMs BiCMOS7WL technology and ran a full monte-carlo simulation on the process variation. When matching between M1 and M3 is enabled in the simulation and an ideal resistor with no variation is used, we


NsIMOS Current

observe a near zero standard deviation of (u= .7,uA for a mean current of u = 32011A, verifying our calculations. The value of the resistor for which we obtain the minimum standard deviation matches well with the equation 2/gm = R 1/ llgds. (Note that gds plays a significant role due to the short gate length of all the transistors, 0.18,um). The output when matching between Ml and M3 is disabled is shown in Fig. 3. The plot shows the histograph of the output current of our circuit and the output current of an NMOS transistor. We observe an improvement of over 2X in the standard deviation. The net variation in the output current is due to mismatch between transistors MI and M3. In the previous analysis Current Source Output

NMOS Current



sd mu


Current Source Output

3 25.34u 32.8976u




-8.6865u 1

3-', Current (A)

Zf3 Current(A 2' I A) 2''l Crn(A) Fig. 4. Current variation when resistor variations are included

B. Size

:t size M2


The addition-based current source has multiple degrees of freedom including the supply voltage for the resistor, M2 size and the value of the resistor. So far, we fixed the size of M2 to be the size of MI and kept Vgsl Vgs2 while scaling the power supply. In applications where the power supply is predetermined, we could alternatively scale the size of M2 and obtain a minimum standard deviation in the output current. ].. I l V] Fig. 5 shows that we once again obtain an improvement (A) 2/(1L Current (A) 3 XdCurrent (A) - ¢0 0lXL Curn of 2X in the standard deviation of current variation with the addition-based current source. This result is better than the Fig. 3. Comparison of Monte Carlo simulations previously published results while considerably reducing the we assumed an ideal resistor. We now calculate the standard circuit complexity [2], [3]. deviation of the output current after relaxing this constraint. Current Source Output NMOS Current With resistor variations, output current variation as the sum of current variations in the two transistors becomes m = 177,697u mu mu 183,833u sd = 8.63447u sd 17.8541u AI1+ (AI1 + (-AI1R I,iAR)gm2) (11) Al (12) | Ail (2 Rgm2>Iigm2AR mu =32.8976u , 1 sd 34u


sd =14.6334u sd

We now choose the value of the resistor R such that the standard deviation over mean of the output current is minimized. Given a random variable Z aX + bY, where a and b are constants and X and Y are random variables, we can write 2 +(13) (22 + b 7 3 a +



where p is the correlation coefficient of the two random variables X and Y. Using this, we can write

(2 -Rgm2)2fJl + (X2=



-2(2 - Rgm2)I19m2PJI1(JR Differentiating oj 2/12 with respect to the value of the resistor and equating it to zero, we obtain the value of the resistor R 2 + pIprp +/Pm2+ 2= 9p (15) Pi + P~. + where p is the cross-correlation coefficient between R and I1, PI = (71i/I and Pr = JR//R. Values of p, Pr and Uii//ii are statistical constants. Using a value of the resistor predicted by the equation 15 gave us the minimum standard deviation. This is shown in Fig. 4, with an improvement of almost 2X in the standard deviation. (All the results presented henceforth, include Ml1-M3 mismatches and resistor variations.)



Current (A)


Current (A)

Fig. 5. Current variation when M2 size scaled and power supply kept constant to minimize standard deviation.

C. Operation in deep submicron regimes In designing the addition-based current source, we assumed square-law MOS devices and obtained the required conditions for minimum output current standard deviation. For devices in deep short channel regime, we need to modify the square-law

to the a-model, I Xc (Vgs - VTh)e [4]. Using this equation and following our formalism, we obtain sizing for transistor M2 for minimum variance.


1 R- 1



We pushed the devices into deep short channel regime by increasing the gate-source voltage. Fig. 6 shows the improvement in standard deviation with our current source. Once again, we observe an improvement of over 2X.



mu = 989184u -


Current Source Output

NMOS Current


=: Compensated temp. response


Uncompensated temp. response

I 180.0u <

m~u =1.06118m snd - 27.8552u sd 56.8337u

~~~~~~~~~~~176.Ou 172 .Ou

168.Ou -20.0






Fig. 8. Variation of output current with temperature with and without compensation

Current (A) -I

Current (A)