Professional Documents
Culture Documents
stage.
In order to clearly introduce the fundamentals, originality and potential of our analog design
methodology, as well as its requirements, this first chapter will focus on an elementary case of
study, i.e. the synthesis of the intrinsic MOS common-source gain stage. This nevertheless
practical example will enable a complete illustration of the four main aspects combined in our
approach:
- the opamp synthesis technique based on the transconductance-to-drain current ratio of the
MOS transistor;
- the need for the continuous functional modelling of the analog transistor characteristics used in
our methodology;
- the derivation of a small-signal analytical model of the amplifier performance from a so-called
symbolic analysis;
- the MATLAB implementation of the MOSFET and amplifier functional models, whose
adequacy and potential regarding our purpose will be discussed.
The first part will present the study case and the classical methodology usually followed to
solve the problem. In the second part, we will introduce our systematical approach based on
behavioral analysis, gm/ID concept and continuous modelling. Extended design analyses which
can hardly be implemented in SPICE-based approaches will stress the interest of our
methodology. Practical MATLAB implementations will support our discussion [MATLAB].
-1-
ID0
Vout
Vin
CL
Fig. 1.1: MOS common-source intrinsic gain stage.
The standard methodology which is used to link the specifications to the unknowns lies on
an approximated intuitive physical approach of the problem [Laker '94]. The first step is to
derive the equations which characterize the circuit behaviour and performance by circuit
inspection. An expert designer will directly link the low-frequency amplifier gain to the ratio of
the circuit equivalent input transconductance to output conductance and relate the poles of the
transfer function to the circuit capacitive nodes. In our study case, we may then straightforwardly
write:
g
A v0 = m
gd
(1.1)
fT =
and
gm
2..C L
(1.2),
where gm and gd are the transconductance and output conductance of the active MOS transistor,
respectively.
In order to determine the problem unknowns, simplified expressions of the small-signal
MOS electrical parameters are commonly used. In the saturation strong inversion regime, we
have:
gm =
2..C ox . W. I D
n. L
(1.3)
gd =
and
ID
V eal .L
(1.4),
where ID is the MOSFET drain current and n, , Cox and Veal are technological parameters
fixed by the MOS fabrication process, named the linearised body effect, the inversion-layer
minority carrier mobility, the gate oxide capacitance per unit area and the equivalent Early voltage
per m of width of the MOS transistor, respectively. From (1.2) and (1.3), we derive a direct
relation between the device sizing and the drain current equalled to ID0, for given transition
frequency and technology specifications:
W = n. ( 2. . f T .C L )
L
2..C ox . I D0
-2-
(1.5).
A numerical and graphical illustration of this first design approach can be implemented on
MATLAB by the two following files given here for the sake of illustration only; 'ex1.m' executes
equation (1.5), including the physical and technological parameters defined in 'param.m'.
% 'ex1.m' EXAMPLE 1
% Common-source intrinsic MOS gain stage synthesis
% by approximated strong inversion intuitive approach
clear
load parameters
% temperature [K]
% thermal voltage (300K) [V]
% permittivity of oxide [F/m]
%
%
%
%
%
%
%
-3-
200
100
0 -5
10
10-4
Bias current ID0 [A]
40
20
0 -5
10
10-3
10-4
Bias current ID0 [A]
10-3
One can note that this first MATLAB example already takes advantage of direct matrix
formulation. For example, the implementation of equation (1.5) only requires a single line for a
large set of bias currents uniformly spread on a log scale. Figure 1.2 depicts the locus of (W/L,
ID0) pairs achieving the target specification, here 10 MHz. The selection of a particular solution
within this large acceptable set must be based on further criteria, for example, the dc open-loop
gain. This can be straightforwardly derived from equations (1.1) and (1.4) if the device length is
fixed. The optimal length determination lying beyond the scope of the present preliminary study,
our example will use a length equal to the minimum channel length of the technology (Fig. 1.3):
% EXAMPLE 1 - cont.
Av0 = 20*log10((2*pi*fT*Cout)./(ID0/(Veal*Lmin)));
semilogx(ID0,Av0,'-')
axis('square'); axis([1e-5 1e-3 0 60]);
title ('Fig. 1.3: Strong inversion synthesis')
xlabel ('Bias current ID0 [A]')
ylabel ('DC open-loop gain [dB]')
The exact numerical result corresponding to a given gain is obtained by interpolation of the
solution tables using a predefined MATLAB spline function:
% EXEMPLE 1 - cont
[spline(Av0,ID0,50),spline(Av0,WsLsi,50)]
For example, for Av0 = 50 dB with L = 2 m, we find ID0 = 32 A and W/L = 132.
-4-
The computation can be easily restarted for other specifications, for example, fT = 100 kHz
(Fig. 1.4). This clearly shows that allowable solutions spread over orders of magnitude which
can make the initial guess quite uneasy, as announced in the introduction. In the present
elementary case, this difficulty is examplified by the a priori choice of the ID0 range which
depends on the fT specification.
200
100
0 -9
10
10-8
Bias current ID0 [A]
50
0 -9
10
10-7
10-8
Bias current ID0 [A]
10-7
It is not easy, nor efficient, to try to perform even such a basic analog synthesis using
conventional SPICE-like softwares. The latters are indeed analysis tools, not synthesis. Any
SPICE simulation starts by specifying the device terminal voltages, width and length which are
in fact the unknowns of our problem. Moreover these unknowns may not be independently
chosen. For example, when describing in SPICE the circuit of figure 1.1, the value of the ideal
bias current source must exactly match the DC current flowing through the transistor as
computed using the SPICE MOS model, terminal voltages and sizes, otherwise the DC
operating point can not even be established and any further AC or transient simulation run. An
AC simulation is yet required to compute the complete frequency response of the amplifier from
which the low-frequency open-loop gain and transition frequency are eventually extracted. It is
obvious that all the SPICE analysis flow, i.e. firstly establishing a DC operating point, then
running an AC simulation, must be iterated, varying both device biases and sizes, until the
computed Av0 and fT converge towards the specification. Such a synthesis procedure is
cumbersome, even using an automatic optimizer software since the initial point still has to be
guessed adequatly.
-5-
vin
vout
Cgd
Cgs+Cgb
gm .vin
gd
CL
Fig. 1.5 : Small signal equivalent circuit of the common-source MOS stage.
-6-
The input-output transfer function Av(s) = vout / vin can obtained running ISAAC or, in
such a simple case, by direct derivation of the Kirchoff equations:
A v (s) =
s.C gd g m
s. C L + C gd + g d
(1.6).
We verify that at low frequency, Av tends to the dc open-loop gain previously given by
(1.1) and that neglecting Cgd, the denominator of Av yields a single pole p1 in agreement with
the unity-gain transition frequency fT given by (1.2):
p1 =
g d
2..(C L + C gd )
(1.7).
Furthermore, the Av numerator features a zero, z1, associated with direct input-output transfer
through Cgd capacitor,
z1 =
gm
2..C gd
(1.8).
In a first step, we will neglect both Cgd and z1, so that to be able to compare the results of
the previous approach with the results we will compute now introducing the EKV model.
(1.9)
and
g
I
f T = m . D0
I D 2..C L
(1.10).
b) the EKV model provides a simple expression for the gm/ID ratio of the MOS transistor in the
saturation regime. This formula is precise and continuous throughout the weak, moderate and
strong inversion regimes:
gm / ID =
1
n. U T
(1 e
( IC )
(1.11),
IC
where UT is the thermal potential equal to 26 mV at room temperature and IC, named the
inversion coefficient, is an adimensional number, lower than 1 in weak inversion and higher than
1 in strong inversion. IC is linked to the drain current by:
-7-
IC =
ID
(1.12).
2
2. n. .C ox . W . U T
L
The quality of this empirical gm/ID modelling is demonstrated on figure 1.6 by the
excellent agreement with an experimental characteristic measured on a typical MOS transistor.
30
gm/ID [1/V]
25
20
15
10
5
0-10
measurement
EKV model
-8
-6
-4
log of Drain Current / (W/L) [A]
c) relations (1.11-1.12) clearly show that the gm/ID characteristics as a function of the
normalized current I' = ID/(W/L) only depends on the technological parameters, not on the exact
transistor dimensions. It thus constitutes a universal characteristic common to all transistors of
similar type, i.e. nMOS or pMOS, realized in a given fabrication process.
In all the following MATLAB examples, this characteristic will be implemented as a matrix
table of gm/ID values associated to I' values, i.e. [[gm/ID],[I']], calculated using the EKV model.
From figure 1.6, we may also deduce that, in a given technology, the model can be substituted by
a table derived from experimental characteristics without any loss of generality. Such an
experimental look-up table modelling may prove extremely efficient in practical cases of special
operating conditions or devices for which reliable models are not available.
d) consequently, the gm/ID analog parameter turns out to be the key parameter for the synthesis
of MOS operational amplifiers.
The gm/ID formulation of the behavioural symbolic opamp equations allows to eliminate,
from these expressions, an unknown of the problem which is difficult to a priori estimate, i.e.
W/L, whereas gm/ID values always fall within a limited range of well-known values. The MOS
transistor physics constraints gm/ID between 0 and 38 V-1 at room temperature. Practically, the
maximum value hardly excess 25 V-1 for conventional bulk Si MOSFETs.
Furthermore, a clear link exists between the gm/ID ratio and the major analog device
performance. This ratio intuitively conditions the efficiency of the transistor, on one hand, to
amplify a signal and on the other hand, to transform static current into dynamic
transconductance and hence gain-bandwidth product for a given power consumption. In practical
cases, acceptable gm/ID values will often be constrained by the specifications. It proves to be an
unknown for which initial guess values may be conveniently chosen, thereby reducing the
-8-
number of degrees of freedom in a complex system and allowing its iterative optimization if
necessary.
Finally, since gm/ID does not depend on the a priori unknown dimensions of the transistor,
but is unambiguously linked to the adimensional current I' = ID/(W/L), the evaluation of the bias
current and of the gm/ID univoquely imposes the W/L aspect size.
e) a top-down synthesis methodology eventually emerges, starting from the specifications to
deduce the problem unknowns in a logical way.
The formulation of a design flow plan or synthesis algorithm for our simple commonsource example clarifies these different concepts (Fig. 1.7):
Av0
fT
gm
gm
ID
I D0
I D /(W/L)
(W/L)
Fig. 1.7: Design flow plan for the common-source MOS gain stage.
1 equation (1.2) directly yields gm from the given transition frequency and capacitive load,
while gm/ID is derived from the specified dc open-loop gain and the chosen technology using
equation (1.9);
2 gm and gm/ID yield the bias current ID0 and furthermore gm/ID gives I' by equation (1.111.12);
3 W/L is finally given by ID0/I'.
This approach proves to be deductive or top-down. The MATLAB implementation is given
hereafter for sake of illustration. The technological [[gm/ID],[I']] table is obtained from an
external EKV routine given in Annex. For each of these pairs, the gain is computed considering
minimal channel length and a related [[W/L],[ID0]] locus is obtained.
Numerically we obtain a W/L aspect ratio which in this case significantly differs for the
result of the approximated strong inversion synthesis, for the same gain and transition frequency
specifications, i.e. for 50 dB and 10 MHz respectively, we get W/L = 444.
To explain this result, we compare in figure 1.7, the locus of acceptable (W/L,ID0) pairs for
a given transition frequency as well as the gm/ID vs I' characteristics used in both approaches.
-9-
% 'ex2.m' EXAMPLE 2
% Common-source intrinsic MOS gain stage synthesis
% for a given dc open-loop gain using the top-down approach
% based on gm/ID and EKV model
clear
load parameters
% common source specifications
fT = 10e6;
% transition frequency [Hz]
CL = 10e-12;
% load capacitance [F]
Av0 = 50;
% dc open-loop gain [dB]
% gm/ID vs I' table in saturation from EKV model
VS = 0; VD = 2.5; VG = 0.2 : .05 : 2.5;
m = ekv([n VTo UT0],VS,VD,VG);
Iprim = m(:,2)*Kn;
GmoverId = m(:,3);
% design flow
gm = 2*pi*fT*CL;
gmonID = (10^(Av0/20))/(Veal*Lmin);
ID0 = gm/gmonID;
Ip = spline(GmoverId,Iprim,gmonID);
WovrL = ID0/Ip
% EXAMPLE 2 - cont.
% ekv vs s.i.
ID0si = logspace(-5,-3,50);
WsLsi = gm^2/2/Kn./ID0si*n;
WsLekv = (GmoverId.*Iprim).^(-1)*gm;
ID0ekv = Iprim.*WsLekv;
% plot
subplot(121);
semilogx(ID0si,WsLsi,'--',ID0ekv,WsLekv,'-')
axis('square'); axis([1e-5 1e-3 0 300]);
xlabel ('Bias current ID0 [A]')
ylabel ('Width/length ratio W/L [-]')
title ('Fig. 1.7: Strong inversion (--) vs EKV (__) syntheses')
subplot(122);
semilogx(ID0si./WsLsi,gm./ID0si,'--',Iprim,GmoverId,'-')
axis('square'); axis([1e-10 1e-5 0 30]);
xlabel ('Normalized current I`=ID0/(W/L) [A]')
ylabel ('gm/ID [V-1]')
subplot(111);
- 10 -
200
gm/ID [V-1]
100
0 -5
10
10-4
Bias current ID0 [A]
20
10
0
10-10
10-5
Normalized current I`=ID0/(W/L) [A]
10-3
The MATLAB implementation clearly illustrated the top-down property of the systematical
approach when compared to the strong inversion one. The latter requires the a priori knowledge
of the adequate bias current range which depends on fT, whereas the gm/ID approach is general
to any specification. The two graphs highlight the discrepancy between the results of the two
synthesis approaches (Fig. 1.7). The strong inversion model dramatically overestimates the
gm/ID values for low normalized current, i.e. when the strong inversion regime obviously gives
way to moderate or even weak inversion for which the model does not apply. Subsequently, in
our study case, the common-source amplifier is synthesized for a specified gain, and hence
gm/ID, with a much higher normalized current when using the strong inversion approach, which
results for a given fT, and hence gm and ID0, in a much lower W/L aspect ratio.
In our numerical example, a 50 dB gain was achieved with gm/ID and L equal to 20 V-1
and 2 m respectively. We easily verify that this gm/ID value lies in moderate inversion yielding
an identical difference factor of 3 between the two model results for both the normalized current
and W/L. Solutions from the strong inversion approach do not correspond to any physical
reality for gm/ID values larger than 10, which drastically limits the validity of this approach.
Furthermore, we observe that the strong inversion gm/ID model tends to infinite values for low
currents, whereas physically, in weak inversion, gm/ID reaches a plateau maximum value. This
significates that, for a given fT, and hence gm, there exists a minimal current value under which
the frequency specification can not be achieved. The EKV-based design approach clearly shows
that limit, annihilating the illusion for achieving indefinitely low power consumption through
device size increase.
- 11 -
Next chapters will discuss into further details the potential and limitations of different MOS
models and their implications on analog circuit design, as well as the application of our synthesis
methodology to more practical amplifier design cases.
(1.13)
where Cjbx denotes the drain-to-substrate junction capacitance per unit of device width.
The total load charge is then given by Cout = CL+Cdb which changes the amplifier
transition frequency achieved for a given gm. The influence of the transistor size on Cout should
therefore be taken into account during the synthesis, either directly when determining W, or a
posteriori, recomputing fT, verifying the specification and adapting the sizing if required. In both
cases, a coupled equation system should be solved by iterations or by another numerical method.
Several predefined MATLAB functions could serve this purpose. By simplicity, we will only
consider here the a posteriori recomputation of the gain-bandwidth product we will note GBW
and compare to the initial fT specification for reasons to be discussed later:
GBW =
gm
2..Cout
(1.14).
Secondly, the zero of the extended transfer function given by eq. (1.6) depends on the gateto-drain MOSFET capacitance Cgd (Fig. 1.5). This has two components, a physical one
resulting from the technological overlap of the gate and diffused drain region and another linked
to the variations of the internal MOSFET charges with the terminal voltages. The latter is one of
the so-called intrinsic MOSFET capacitances which model small-signal dynamic effects taking
place within the MOSFET structure. Their modelling is rather complex and thus beyond the
scope of this introductive chapter. It is however a very important topic which will be more
extensively covered in section 3 of this course. As a first approximation, but without any loss of
generality, we will only model here the overlap capacitance component as follows:
C gd C rec .W
(1.15)
- 12 -
In this first extended analysis of the common-source stage, we will further investigate its
poles and zeros, transfer function, phase margin and settling time performance as a function of
gm/ID, incorporating the previously neglected output and overlap capacitances.
The 'ex3.m' MATLAB file given in Annex illustrates and compares the computation of the
pole-zero locus either numerically from the implementation of the complete transfer function,
here given by eq. (1.6), or analytically from the derivation of the symbolic pole and zero
expressions, here given in eq. (1.7-1.8). Such an analysis is an important preliminary step
towards a systematic synthesis approach as demonstrated in chapter 5.
Figure 1.8 clearly illustrates the here obvious agreement between the numerical (lines) and
analytical (symbols) pole-zero loci, as well as for practical gm/ID values, the negligible impact of
Cdb on the transition frequency specification (i.e. fT = 10 MHz) and the very high-frequency
position of the zero, which validates our previous approximated synthesis. For gm/ID values
larger than 20, Cdb and, hence, Cout significantly rise with the increase of W, thereby reducing
GBW for fixed gm.
25
gm/ID [V-1]
20
15
10
0
10
10
10
p1 (+,--), GBW (-), z1 (o,-.) [Hz]
- 13 -
10
10
We will now verify, using the bode diagram plot of the Av(s) transfer function that the
variation of the pole position with gm/ID for fixed fT obviously correlates with an increase of
the dc open-loop gain. Two gm/ID values are chosen for sake of comparison, with gm/ID = 20
V-1 corresponding to our gain specification of 50 dB and gm/ID = 5 corresponding to a strong
inversion case. The transfer function calculations may conveniently be implemented in
MATLAB, as given in Annex.
Magnitude [dB]
10
Frequency [Hz]
10
10
10
Phase []
200
100
0
10
10
Frequency [Hz]
10
10
10
- 14 -
output values refered to input, more conveniently shows the direct influence of the dc open-loop
gain on the final error in closed loop as expected from linear circuit theory (Fig. 1.10). The
settling time of the output signal to a few % of the input step can easily be extracted.
20.log10((Vin-Vout)/Vin) [dB]
-10
-15
-20
-25
-30
-35
-40
-45
-50
0
0.5
1
Time [s]
1.5
2
x 10-7
- 15 -
10
gm/ID=5
108
gm/ID=20
107
106 -5
10
10
The results are clearly illustrated in Figure 1.11: a larger gm/ID yields a lower current
consumption for a targeted fT, provided the latter is not too high, whereas lower gm/ID achieves
higher fT, but reducing the gain. This is a very important general conclusion: any amplifier
architecture has its own fundamental performance limitations whose exact values depend on
technology. Although it is clear that such limitations can not be exceeded, this is not so obvious
when blindly using automated optimisation softwares based on SPICE. These ignore basic
physical limitations and will just not reach convergence for unpractical specifications, leaving the
designer without any valuable information.
Figure 1.11 also shows that our basic amplifier can, in theory, achieve fairly high frequency
performance. For simple it is, the basic common-source stage has therefore numerous practical
applications, in particular in the range of very high frequencies for which the intrinsic stability
provided by its first-order behaviour is a must. However the transition frequency can not be
indefinetely increased by lowering gm/ID because another physical limit will be reached, i.e. the
transit time of the carriers in the channel which depend on the device length and other
technological parameters. Nevertheless, this time constant can also be expressed as a function of
gm/ID [Enz '95] and therefrom easily incorporated in our approach. This once more justifies the
need for accurate and reliable device modelling as well as systematic amplifier performance
evaluation.
- 16 -
1.3. Conclusion.
At this point, our systematical design methodology may be summarized as follows.
We have demonstrated that a basic opamp synthesis can be based on functional models of
both opamp and transistor behaviours, thereby reducing a large number of technological and
architectural parameters to a limited set of key electrical performances.
Analytical expressions relating circuit specifications to electrical device parameters are first
derived using symbolic analysis techniques. The original re-formulation of these relations using
the universal gm/ID vs I' characteristics eases the identification of the degrees of freedom of the
problem. Some of them can be conveniently fixed by the limited range of gm/ID values in order
to reduce the problem complexity. A design plan or synthesis algorithm may therefrom be
established, incorporating the technological data. The problem unknowns are thus finally
obtained from a top-down synthesis.
The implementation of our methodology requires the use of models or experimental data
describing the major analog MOS parameters continuously from weak to strong inversion, in
order to guarantee the reliability of the synthesis results. These parameters are, to the first order,
as presented here, the gm/ID vs I' characteristics, as well as the Early voltage and the intrinsic
device capacitances. In chapter 3, their extended formalization will be detailed.
- 17 -
References
[Enz '95]
C. Enz, F. Krummenacher and E.A. Vittoz, "An analytical MOS transistor model valid in all
regions of operation and dedicated to low-woltage and low-current applications", Analog
Integrated Circuit and Signal Processing, vol. 8, n1, pp. 83-114, 1995.
[Gielen '89]
G.G.E. Gielen, H.C.C. Walscharts and W.M.C. Sansen, "ISAAC: A symbolic simulator for
analog integrated circuits, IEEE Journal of Solid-State Circuits, vol. 24, pp. 1587-1597, Dec.
1989.
[Laker'94]
K. Laker, W. Sansen, Design of analog integrated circuits and systems, Mc Graw-Hill, 1994.
[MATLAB]
- 18 -