Current references Introduction Simple current reference Current references based on a built-in voltage Current references based on a reference voltage
The bias circuit is devoted to supply currents and/or voltages to the processing one in order to allow it to properly operate Static requirement (Low-frequency, immunity to VDD noise, temperature, and technology spread)
Voltage references Introduction Supply dividers Voltage references based on a built-in voltage Voltage references based on the band-gap voltage Voltage references based on MOS VTH difference
II 2
II Bias circuit
II Bias circuit
Bias
Circuit no. 1 Circuit no. 2
Ire f
Current Mirror
M1 M2
Read section
Ibias
VDD RL Iout
Read section
Iout
Current Mirror
VCM rout
Isignal Vi+ Q1 Q2
Ibias
II 3
II 4
II Bias circuit
II Bias circuit
VDD
Iref
M2 Iout PMOS Insert Evaluate Calculate Vtest Itest
Iout M2
Iref M1
Iout M2
M1 Iref
M1
VDS1 = VGS1 = VGS2 If M2 operates in saturation k' W Iout = I2 = 2 L (VGS2 - VTH)2 (1 + VDS2)
2
G S vgs gmvgs
D rds
G S vgs gmvgs
D Vtest rds
M1
M2
rout = rds2 =
W L
1 I2
Iout = IRef
W L
(1 + V DS2 ) (1 + V D S 1 )
Use of long device (large L) to increase rout Use of large (VGS VTH) for good matching (small importance of VTH mismatch)
II 5
II 6
II Bias circuit
II Bias circuit
Iref M1
Iout M2
Iref M1
Iout VDSsat2 M2
D S
gm2vgs2 rds2
Vout,min = VDSsat,2
M1
M2
i out gm2/gm1 iin = 1+s(Cgs1+Cgs2)/gm1 k = gm2/gm1 = Cgs2/Cgs1 i out k iin = 1+s(1+k)Cgs1/gm1 fT = gm1/Cgs1 pole = (gm1/Cgs1)/(1+k) = fT/(1+k)
II 7
II 8
II Bias circuit
II Bias circuit
Threshold offset Parasitic resistances Imperfect geometrical matching and current mobility variation
Id
1 + VD S 2 Iout 1 IRef = W 1 + V D S 1 L
2
W L
VGS1=VGS2
VDS
It can be improved by increasing the output resistance. - use of large L (typically current mirrors are not realized with th eminimum technological L. This can results in a large capacitance at the output node)
II 9
II 10
II Bias circuit
II Bias circuit
Iref M1
Iout M2
Threshold offset Threshold of MOS transistors in close proximity can differ by 4 mV. For transistors hundred of m apart, the threshold difference VTh can be 40 mV
VTH ' Iout = Iout 1 + 2 V G S - V T H
k' Cox k' and C are minimized with closed and centroid ox common structures
W 2 W + L 2 L
Use large (VGS VTH) to improve matching Parasitic resistances A parasitic resistance in series with the source determines a voltage drop The metal resistance is of the order of 20-50 /q, with 10 squares it results 0.2-0.5 . If the current is 10 mA it results an equivalent offset of 2-5 mV.
For large W a good strategy is to have W not much larger than L and to put equal transistors in parallel
Iout Iref M1
1 2 3 4 n
W=W/n
M2
I 2 I
II 11
II 12
II Bias circuit
II Bias circuit
Imperfect geometrical matching and current mobility variation Example: Circuit scheme
Iref
Iout
M1
Layout solution
I Ref
M2
M1
M1
M1
M2
M2
M1
M2
GND I Out
M2
II 13
II 14
II Bias circuit
II Bias circuit
Iref
Iout M3
Iref
M1
M2
M1
M2
VGS1 = VGS2 I1 I2
The output swing in the Wilson current mirror is limited to Vout,min = VGS2 + VDSsat,3 > VTh + 2VDSsat
W Iout L 1 1 + V D S 2 IRef = W 1 + V D S 1 L
1 + VD S 2 Iout 1 IRef = W 1 + (V D S 2 + V G S 3 ) L
2
W L
II 15
II 16
II Bias circuit
II Bias circuit
Iref
Iout M3
M1
Small signal equivalent circuit
M2
Iref M4
g
m 3 gs3
Iout M3 M2
M1
ix vx
G3 g R
L
m 1 g2
G2 S3 1/g r ds3
m2
ds1
if
VGS3 = VGS4
Iout 1 IRef = W L
2
W 1 + V D S 2 L 1 = 1 + V D S 1 W L
gm3 rout rds3 g gm1rT m2 Higher voltage for the sensing branch (M1-M4) RL (i.e. Iref current generator impedance) must be large No sistematic error in the current gain
II 17
II 18
II Bias circuit
II Bias circuit
Iout M3 M2
Iref M4 M1
Iout M3 M2
VDS1 = VDS2
W L
if
VGS3 = VGS4
W L
g R
L
m 1 g2
ds1
1/g
r ds3
m2
Same equations with: R L gm 4 vg3 = - gm1 vg2 r'T 1 + R g L m4 ' rT = rds1 //(RL + 1/gm4) gm3 R g 4 gm1 r'T 1 + L mg rout rds3 g RL m 4 m2 The output swing in the Wilson and improved Wilson schemes is limited to Vout,min = VGS2 + VDSsat,3 > VTh + 2VDSsat
1 + VD S 2 Iout 1 1 IRef = W 1 + V D S 1 = W L L
2 2
The current gain is accurate For large current ( i.e. with (W/L)M2 large) it allows to decrease the output capacitance using (W/L)M3 small.
II 19
II 20
II Bias circuit
II Bias circuit
The output resistance is increased without feedback. Small signal equivalent circuit
Iref M4
VGS4 VGS1
Iout M3
VGS3 VDS3
R
L
G3 1/g
m4
g S3 r ds2
m 3 gs3
ix r ds3 v
1/g
M1
M2
m1
The output swing is limited to: Vout,min = VGS1 + VGS4 VGS3 + VDSsat,3 Vout,min = VGS2 + VDSsat,3 > VTH + 2VDSsat
II 21
II 22
II Bias circuit
II Bias circuit
M5
M6
I Ref
I Out M3
M4
M3
V M1
M1
M2
M2
More cascode stage can be stacked to increase output impedance. For n stages + Output impedance rout (rds gm )n-1rds BUT: - The saturation voltage increses to: Vout,min = (n-1)VTH +nVDSsat + The current gain is accurate (VDS1= VDS2)
M4 shifts the voltage VDS1 of the amount enough to bias the gate of M3 without operating M2 out of saturation.
II 23
II 24
II Bias circuit
II Bias circuit
M4
M1
M6
M2
VTH+2V
M1
VTH+V
M2
M4 is matched with M3 to get VDS1 = VDS2 (at the cost of the output swing limitation). The output swing is improved by the use of a level shift VSat < V < VTH V = VGS4 - VGS5 =
All transistors operate in saturation I = I1 = I2 = I3 = I4 (current scaling is possible) 1=2=3= I4 = 4(Vov)2; Vov=V => Vov1 = Vov2 =Vov3 =Vov I3 = (Vov)2
2 L k'W IRef
4
L L W W
2 L k'W I5 =
5
1
I2 = (Vov)2; =>
2 L IRef 1k'W 4
L L W W
V is fixed by he geometrical dimensions of M1, M6, M4, M5 and by Vov,4. The output swing is: Vout,min = VDS2 + VDS3 = 2VDSsat Sistematic error in the current gain (VDS1 VDS2)
I ; 4 =>
Vov =
= 44
W L M1 W L M2 W = L M3
I = 2 4
W = 4 L
M4
II 25
II 26
II Bias circuit
II Bias circuit
M4
VTH+2V
I Out M3
M1
VTH+V
M2
M1 Current gain Sistematic error due to VDS1VDS2 Sistematic error due to body effect on M3 Output swing Vout,min = 2VDSsat Output impedance rout = rds4 gm2 rds2 The scheme can be stacked for multiple cascode M1=M2; M3=M4 => Iout=IRef
M2
II 27
II 28
II Bias circuit
II Bias circuit
M2
Vbias
M1
M2
It is also possible to enter at the drain of M1 IBias I Bias2 M4 M5 I Ref M2 Output impedance
M3
IOut
Ibias
I Out M3
M1
IRef
M2
MA
M1
II 29
II 30
II Bias circuit
II Bias circuit
For low-voltage application the dc voltage drops must be minimized in order to: - give the maximum room for the signal swing - not to limit the supply minimization with bias circuits This valid both for the input stage (reading the current) and for the output stage (sinking the current)
Id
3 Triple Cascode
VDS
Vout,min = VDSsat This is minimum, thus staked-device topologies are avoided Output impedance is increased with large L The input stage (M1) requires Vout,min = VTH + Vov + V(IRef)
II 31
II 32
II Bias circuit
II Bias circuit
Operational amplifier
VDD Mb M4
Iref M3 Ibias M2 M1
Iout
Vi-
Vi+ Vo
M2
The drain of M1 is fixed to be VDD - VGS3 This is fixed to be equal to VDSsat The current mirror requires one VDSsat to operate.
M1
II 33
II 34
II Bias circuit
II Bias circuit
Exercise
DC analysis of Simple CM AC analysis of Simple CM - Transfer function - Output impedance (for different L, with same W/L) 3Check the sistematic error in Wilson CM (different VDS) - Improve by using large L (with same W/L) - Check the signal swing (DC sim.) 4Cascode CM - Evaluate the output impedance (AC) - Evaluate the signal swing (DC) 5Multiple Cascode CM - Evaluate the output impedance (AC) - Evaluate the signal swing (DC) 6Large dynamic Cascode CM - Evaluate the output impedance (AC) - Evaluate the signal swing (DC) 7Low-voltage CM operation
Configuration Simple
Current gain 1 + VD S 2 1 + VD S 1 1 + VD S 2 1 + VD S 1 1 1 1 1 1 + VD S 2 1 + VD S 1 1 1 + VD S 2 1 + VD S 1
Wilson
gmrds gmrds
2
High-compliance II Regulated-cascode
gmrds
2 3 gmrds
II 35
II 36
II Bias circuit
II Bias circuit
Current references
Introduction It allows to generte on-chip (no external components) a current reference Necessary for biasing analog subcircuits. The generated current reference is mirrored where required, with a suitable scaling factor. Typically the reference current in the reference current generator is much smaller than the current level in the main circuit (i.e. the scale factor is larger than one) in order to reduce power consumption in the current reference generator
PMOS
VDD M1 VB RL
Voltage VB is used to bias a current mirror For the NMOS case: IREF = |Vov1| = V DD V DS1 RL 2 I REF k' (W/L)1
Possible current reference generators Simple current reference (supply depedent) Current references based on a built-in voltage (supply indepedent) Current references based on a reference voltage (supply indepedent) Features for a reference current Supply dependence Temperature dependence Technology dependence
RL
IREF =
V DD |VTH1| |Vov1| RL
V DD |VTH1| IREF =
Supply dependence IREF depends on supply voltage VDD Temperature dependence positive temperature coefficient (TC) R 1: |VTH|: negative temperature coefficient |Vov|: positive temperature coefficient
II 37 A. Baschirotto - Bias circuit II 38
II Bias circuit
II Bias circuit
Vbi IREF = R1 The dependence of the built-in voltage on temperature and other parameters will affect the generated reference current. The generated current is substantially independent from supply voltage. Micropower current reference based on this principle are also available.
II 39
II 40
II Bias circuit
II Bias circuit
Built-in voltage:
VDD M3 M4 M2 M1 R IREF
VGS1
RI1
VTH
VB
B I1
W L
W =L
Typically Vov is designed to be much smaller than VTH in order to have: VTH I1 R1 Low currents can be generated using large resistor (VTH+Vov in the range of 1 V) Temperature dependence R 1: positive TC VTH: negative TC Vov: positive TC (|(VTH) + |Vov|: negative TC) Complementary structure is always possible
A. Baschirotto - Bias circuit II 41
Two operating points are possible (A, B) : only one (A) is the desired one It is necessary to use a startup circuitry to set the desired operating point (i.e. to ensure I 0 at the start-up) Possible start-up circuit solution
VDD M 3 I M 1 M 4 I M 2 VR1 R 1
START-UP Signal
VBIAS
At start-up, MS is turned on, thus forcing M4 in the saturation region. Then it is definitively turned off.
II 42
II Bias circuit
II Bias circuit
; m>1
2
I1=I3
slope k
I3=I4 I1=f(I2)
2IREF L k' W =
1
I2=I4
Complementary structure also available: M3, M4 n-channel transistors (source connected to VSS); M1, M2 p-channel transistors (source of M1 connected to VDD); R1 connected between source of M2 and VDD; in n-well processes, M1 and M2 in the same well.
IREF = R1
2 1 k' (W/L)
1 m
Vov generally ranges from tens to hundreds mV Small currents can be obtained with not very large R For m=10, VR 60 mV if it is required I = 1 A => R = 60k
A. Baschirotto - Bias circuit II 43
II 44
II Bias circuit
II Bias circuit
M 4 Vbias M 2 VREF R 1
VDD M 4 M 2 R 1 Q 2
I Q1
Q1, Q2: substrate BJT with different emitter areas: Vbias AQ2 = nAQ1 n > 1
L W L L L = W ; W = W
Q1 is a substrate BJT M1 to M4 operate in saturation region (improved Wilson current mirror) (W/L)3 = (W/L)4, (W/L)1 = (W/L)2 I1 = I2 = IREF = I VGS1 = VGS2 => VS1 = VS2 => VEB I = R1 To generate low currents, a large R1 is needed (VEB in the range of 0.6 V) Start-up circuitry is needed Use the complementary structure for p-well processes Temperature dependence: R 1: positive TC VEB: negative TC
A. Baschirotto - Bias circuit II 45
Q1
VREF = VEB
R1IREF = VEB1 VEB2 = VTR1 ln(n) VT IREF = R1 ln(n) Small currents can be obtained with small R1 Temperature dependence: R 1: positive TC V T: positive TC Start-up circuitry is needed Complementary structure available only in a p-well processes
A. Baschirotto - Bias circuit II 46
II Bias circuit
II Bias circuit
Voltage references
Introduction
Voltage references are required in a number of analog applications (e.g. signal processing, A/D converters, D/A converters, ...). Different voltage references Supply voltage dividers Voltage references based on a built-in voltage Voltage references based on the band-gap voltage Voltage references based on MOS threshold voltage difference
Useful when a reference voltage is available. This circuit has to operate at low-frequency (dc). The opamp gain can be extremely large. VREF IREF = R1 M1 in saturation region, for current mirror Temperature dependence: R 1: positive TC VREF: depends on the kind of voltage reference used It is difficult to obtain a stable VREF with a small value. => Low reference currents need large R1
A. Baschirotto - Bias circuit II 47 A. Baschirotto - Bias circuit II 48
(the last two types are actually special kinds of voltage references based on a built-in voltage).
In the following, all voltages will be referred to GND Features for a reference current Supply dependence Temperature dependence Technology dependence
II Bias circuit
II Bias circuit
Analog circuits normally have only two dc voltage supplies (VDD and ground) In order to obtain dc-bias voltages, voltage dividers can be used
Resistive or capacitive dividers are complex or silicon area consuming MOS in the diode configuration (i.e. operwting in saturation region) can be used VDD
VDD R1 VREF R2
VDS1 + VDS2 = VDD R2 VREF = R + R VDD = VDD 1 2 with < 1 Large power dissipation (small resistors) or large silicon area occupation (large resistors). VREF depends on supply voltage. To obtain good matching, R1 and/or R2 area realized by means of a suitable number of unity resistors V1 = VDS1 = 1V TH1 2V TH2 2 VDD + 1 + 2 1 + 2
1 =
W L
;
1
2 =
W L
It results a voltage division of VDD plus an offset. Body effect on M2 can affect the operation (VTH1VTH2)
II 49
II 50
II Bias circuit
II Bias circuit
If a signal vdd (usually undesired and so a disturb) is superposed to VDD , the small signal equivalent circuit must be considered.
vdd gmbvbs2 1/gm2 1/gds2 C2 v1 1/gm1 1/gds1 C1
C2 = Cgs2
1 gm1+gm2 fp = 2 C1+C2
At low frequency (assuming gm2 >> gds2 and gm1 >> gds1) there is a resistive partition (no capacitance effect): Body of M2 connected to source of M2 to avoid threshold voltage mismatches due to body effect Assuming VTH1 = VTH2 VTH VREF = VDS2 = 1 VDD + |VTH| 1 + 1 + gmb 1/g m1 + gm1gm2 v1lf = vdd 1/g m1 + 1/g m2 + g mb /(g m1 g m2 ) At high frequency there is a capacitive partition (no resistance effect) C2 v1hf = vdd C 1 + C 2
Vo/VDDnoise
fp fp
II
Several diode-connected transistors can be connected in series, if allowed by the supply voltage ("diode chain") to reduce current level for a given VTH
One of the two lines is valid depending if v1lf > v1hf (line I) or v1lf < v1hf (line II)
fz
fz
Frequency
II Bias circuit
II Bias circuit
M 1
Built-in voltage: Vth + Vov M1 to M5 in saturation region (W/L)3 = (W/L)4 I3 = I4 = I1 = I2 = IR1 (W/L)5 = k (W/L)4 IR2 = k IR1 R2 R2 VREF = k R1 VR1 = k R1 (VTH + Vov) Generally Vov is made much smaller than VTH Temperature dependence: VTH: negative TC Vov: positive TC (|(VTH) + |Vov|: negative TC)
VREF IR2 R2
Extraction of the bult-in voltage as in current references based on a built-in voltage Temperature dependence of VREF : it is a function of the temperature dependence of Vbi
A. Baschirotto - Bias circuit II 53
II 54
II Bias circuit
II Bias circuit
VT Generation VT x m mVT
Basic principle VREF =VBE + mVT where VT = kT/q is the thermal voltage. Suitable choice of m to have zero TC at the desired operating temperature. At room temperature (T = 300 K): VBE: temperature dependence = ~2.2 mV/C VT: temperature dependence = ~+0.086 mV/C. If m = ~25.6 we have zero TC for VREF
Built-in voltage: VBE M1 to M5 in saturation region (W/L)3 = (W/L)4 => I3 = I4 = IR1 (W/L)1 = (W/L)2 => VR1 = VEB (W/L)5 = k (W/L)4 => IR2 = k IR1 R R VREF = k R2 VR1 = k R2 VEB 1 1
II 56
II Bias circuit
II Bias circuit
R 2 VDD
A
Compensation of temperature dependence Q1, Q2: substrate BJT with different emitter areas AQ2=nAQ1 n>1
-1.24 -1.25 -1.26
A VREF R 1
n
I
1
VR1 Q 2
Q1
Ref
[V]
VA = VB R2 = R3 => IR2 = IR3 = I = IQ1 = IQ2 VR1 = VEB1 VEB2 = VT ln(n) VR1 ln(n) I = R = VT R 1 1 R2 VREF = VEB1 + R VT ln(n) 1 VREF = VEB1 + mVT where R R A m = R2 ln(n) = R2 lnAQ2
1 1
20 40
For better compensation, more complex schemes are used. Scheme sensitive to offset voff of the operational amplifier: R 2 R2 voff VREF = VEB1 + 1 + R1 voff + R1 VT lnn1 + I2R2 Different (but matched) resistors R2 and R3 can also be used: R AQ R m = R2 lnR3 A 2 1 Q1 2 Generally, start-up circuitry is required. Similar configuration for p-well processes
Q1
For ambient temperature: m = ~25.6. Example: n = 8 => AQ2 = 8AQ1 (easy to obtain in layout) R2 = R3 = ~12.3 R1
II 57
II 58
II Bias circuit
II Bias circuit
RA RB
D3
M1 and M2: transistors with equal k' and different threshold voltages, e. g.: both enhancement transistors with different VTH one enhancement and the other depletion transistor
I M1 VREF M2
To be used when VREF > 1.26 V is required R A VREF = VBG 1 + RB where VBG is the band-gap voltage. The multiplier can be included in the feedback loop.
VDD
VSS
M1 to M4 in saturation region VD3 = VD4 It follows that: (W/L)3 = (W/L)4 I3 = I4 = I1 = I2 I (W/L)1 = (W/L)2 Vov1 = Vov2 k'3 = k'4
VDD
Q1 VDD
Q2
R3
B
RA V RB VBG
REF
R2 VREF
A
R1 + A R2 R3
A R 1
n
VREF = VGS2 + VGS1 = VTH2 Vov2 + VTH1 + Vov1 VREF = VTH1 VTH2 VTH VTH is generally small. A voltage multiplier is required. Spread in threshold voltages, hence in VTH Offset of the operational amplifier affects VREF
II 59 A. Baschirotto - Bias circuit II 60
I
1
VR1
RA VBG RB
Q1
VSS
Q 2