12 Chapter4 PDF
12 Chapter4 PDF
12 Chapter4 PDF
4.1 Introduction
Analog circuit dc:>ign has a number of usual chullenges such as linearity, noise
performance and bundwidth specifications. Apart from these inherent challenges, the
FPAAs huvc two additional obstacles, which arc the configurable interconnection and the
:ihould be dcsigncu wi ll1uut affecting the accuracy of the instantiated circuit, while the
analog function blocks should provide a good vark:ty of useful programmable functions.
OTA is basically an Op-Amp without an output butler, which can only drive
capacitive loads [3 1]. An OTA can be define<l as an amplifier where all nodes are low
impedance except the input and output nodes. OT A is the voltage controlled current
source device whereas the Op-Amp is the voltage controlled voltage source device. Like
Op-Amp, OTA is used as a building block for many analog applications including
33
4.2.l Principle of OTA Operation
An OTA is a voltage controlle<l current source; more specifi cally the term
'·opcmtional" com es from the fact that it takes the difference of two voltages as the inpul
for the current conversion f37l.
(4. 1)
between the ' Vi<!' and '1 0 u 1'. In reality the trnn~condui-rHDce is also B function ufthc input
<liffi.'rential voltage. The symbvl lilr a single-ended OTA is shown in Fig. 4.1
+ +
An ideal OTA has two voltage input.<; ~ ith infinite impedance {i.e. there is no
input cum :nt). The common mode input range rs also infinite. while the differential signul
between these two inputs is used to control an ideal voltage-controlled current source (i.e.
the output current does not depend on the output vollage) that functions as an output. The
proportionality factor between output current and input differential voltage is called
tranc:conductance. Any ruul OTA will have circuitry to process the input voltages with
low input current over a wide common mode input range and provide a current to the
output that is a representation of the input differential voltage and relatively independent
of th1.: output voltage. Since an OTA can be used without feedback, the maximum output
current and with it the transconductance can often be adjusted [23]. OTAs in generally
operate at higher frequencies than Op-Amps because they have low impedance internal
OTA Op-Amp
35
4.2.3 Performance Parameters of OTAs
OTA structures reported in the literature have been proposed to fit specific
ii) Linearity
iii) Noise
v) Tuning range
I) OaodwldCb ( DW)
One of the most important aspects of OTA-C active tilter design is the bandwidth
of the OTA, defined as the frequency range hetwccn DC ond the -JdH point of the OTA
frequency rc~ponse. For filter operation in the video-frequency range up to IOMHz, this
ii) Linearity
where the coefficient a1 represents the desired linear gain of the network and coefficients
a2. a, ..... represent the distortion. In practice, the output signal y(t) of a transistor-l~vel
OTA will be distorted and its maximum signal level will be dictated by the non-linear
nonlineority. For example if a sine wave is applied to the input of rm OTA, then the root-
36
mean-square (rms) value of the ratio of all harmonics 'a;' (1 <i) to the I si harmonic •a 1•
usually expressed in dB '. While at low frequencies the coefficients 'a,· can be assumed
constant, at video freq uencies the reactive components in the circuit introduce frcquency-
depcndence into the coefficients 'a1' of equation (4.3). Hence. the calculation of hannonic
distortion involves solving a set of non-linear equations separately for every harmonic
'a;'. Of course in software simulation, it is not possible to include all hurmonics into this
iii) Noise
The noise in electronic circuits may be either nn unwanted signnl, tending to
current originating from random motion of charge carriers (intrinsic noise). In the first
case, the noise source is external to the circuit under consideration, while in the second
case; the noise is generated within the circuit elements. In IC design, external interference
can be sufficiently suppressed by shielding either on the circuil board or on the die
packaging level. Intrinsic noise is a sib'llal with random amplitude versus time and is
generated by all active and passive circuit devices. Its average value over a certain period
of time is zero and lherefore the noise vollage VN squared to v 2n and averaged over that
time period measurt!s its power. In the frequency domain, it is commonly accepted to take
an elementary small frequency band df and denote the noise power in this band by dv 2 N
wruch allows more accurntc calc ula tion of noise figures [39).
37
iv) Power Dissiplltion (PD)
One of the motivarions for integrating analogue filters is their prospective use in
In almost every OTA reported in the literature, tht: transconductance gain •Gm• is
proponional to an external DC bias voltage or current. The ability to tune the 'Gm' of the
OTA is one of the main advantages of 0 rA-C filter design, since it enables external
control of filter parameter<; including (l)o nnd Q. A wide tuning range is advantageous in
uctive integrated filter design, especially for tuning the cut-off frequency of the OTA-C
filter. The tuning range wi ll be expressed in tenns of the minimum mid maximum ·om·
value, which can be achieved within the possible bias voltage or current range. 111e
typical range of 'Gm' values for filters operating ttt vidco-frtlqucncies is I O_S to I mS.
Design of Lhe CAB, the basic cell used in FPAAs, is usually influenced by a
prototyped, the area-efficiency of routing resources dictated by the CAB design itself and
programmable analog circuits are no exceptions. To date, many of the published FPAA
38
designs have limited their operating bandwidth under IMHz. However. lhis bandwidlh is
design. Also inherent programming and tuning capability of OTAs make them a proper
choice for programmable analog design. From recent researches, OTA is proposed to
A key issue in FPAA design is the level of granularity. l"'inc grain FPAA
ai·c11iLc(;LL1res (con!Igurable al Lhe transistor level) will require more routing resources and
switches in the signal path than a coarser grain FPAA architecture (configurable at a
macro-block level, e.g. integrators and S/H). However. the coarser architecture will he
less versatile, i.e. it will be able to implement a nnrrower range of circuits than the fine
architecture. Another issue is whether to make the CABs distinct for different circuit
will influence the area of the CABs and routing of circuits within the FPAA. CAB design
can thus he seen to strongly influence the fPAA ureu, the routing rt:4uirements, and the
variety of circuits that can be prototyped and the performance of circuits implemented on
the PPM. These issues were explored in A detailed study of CAB do:iign, bMcd on Cl set
ol' upplicn1iv11 circuilS !or analog i:igrrnl processing. ln chapter 1, Tuble 1. I :shows the
summary ofFPAA grllllularity: 1he granularity ofthc computational logic used in FPAA
impacts the size, performance, flexibility, and functionality of the device ( 15].
The analog functions will be grouped into CAO's and the interconnection network
will cv1mt:1.:l chem wgether. Une important observation is that different functions can be
39
conveniently obtained by configurins the circuit primitives with !l few trnnsi:ito1:1 lhdt dl:I
controlling the level of granularity of the CAB is critical to minimizing the number of 1/0
The CAB:i on 11.n FPAA may be homogeneous oi- hetcrogc::neous. For example, an
FPAA could contain specialized CABs which realize only a few different functions, or
the FPAA could contain CABs which are homogeneous but cun be configured as many
different functions. Also, CABs may be reali2et1 s:11 diffoNnt fun1,,tiumillcY 1evPIC!,
including transi):tor, sub-circuit, builuing blocf.... macro block and sub-system levels.
In the presented research it was aimed to huvc a versntile CAR with ns:1ocialcd
switches us a building block of FPAA. Accordingly we chose the CAO design und its
intcrco1utcctions, shown in fig. 4.2 as a starting architecture f 14). A loc:il shift register
determines the configurntion of the CAB. Each bit of the shift register controls vorious
OT A, one programmable capacitor and a set of switches. The switches are placed in such
a way that OTA can be connected with or without the capacitor. It is also pos:;ible !O pass
lhc signals of other CABs through the switches situntc<l at the top and the bollom of the
('AB. Switches are able to connect the input to the OTA directly or connect tJ1e OT A
40
;
. ~
- · ...
-·-- -::-
s.. . . ,,. l .' : 0
I;
I
.,
,·..:..s,
OT·I
c·---
. -- .
.., --·
Figure 4.2 S tructure of CAB
The proposed design of the whole FPAA has been done in 0.35um CMOS process
in this thesis. Reference works have used 2um CMOS process but one of our goals in this
research has been to first scale that design (not as per digital scaling rules) und second
The aim of presented work in this thesis is to design and op1imi1e an OT A-based
FPAA for implementing a set of commonly uc:ed analog signul processing fu nctions
multiplication. While des igning an FPAA using OTA design specifications including
tuning range, progrumming versatility and efficiency in the sense or power, area and a set
41
4.5 Basic Principle a11d Architecture of the OTA as a CAB
From the survey it was found that widely tunable OTA with cross-coupled
architecture offers more l· nearity than other architectures. On the other hand since wide
tuning range was a coricem for us the cross-coupled architecture was chosen.
Transconductance is moslly affected by linearity at the input stage and hence a linear
input stage is desired. In <:ddition to tuning the input stage the transconductance can be
programmed using prograr unable output current mirrors to achieve a wide tuning range.
differential MOS pairs and programmable current mirrors is shown in Fig. 4.3 [1 4).
~----------~--<>VDD
l Iw~ Ii,;~
l :A ! :A
Current Current.
MinorOl MinorG2
shown in Fig.4.4. Two crms-coupled differential pairs with MOS devices Ml- M4 are
42
rnlrage source Vb, with low output resistance, b1a.<:es both pairs. Vb is connected between
the common-source nodes C and 0. Thus. thi~ topology of the transconductors circuit
performance.
Relations (4.4) and (4.5) c xprei;s c urrent lout11 and Iout12 using the Standard
:;quare-law model for MOS devices.
2 2
l 1n1 - K (Vp - Y Tp) + K(Vo - V b - V rp) (4.4)
In relations (4.4) and (4.5) 'K= 0.5µ C0 xWIL' is the tramconductance parrunctcr
of transistors Ml M4, having the same W/L ratios. V-rP is the thrc<;hold voltage of PMO:S
transistors, Vb is the voltcgc of Lhe noaring UC source, and Vrand v 0 iu-e the gate-source
relation (4.6). To increase programmability of the OTA current mirror s ta5c5 can be
added to the outp ut of ll1c OTA as shOwn in .Fig. d.1 Thercforo u ver.sutilc control range
can be obtained by adjusting using two methods: one method is co nme the flo:iting bins
voltage by an analog voltage and the other is to make the gain of the output current
mirrors prosrrunmuble in a digital way. The l:ittcr m ethod lends to relation (4.0) for Ille
43
Vln1 ~
C VOD•3.3 t
------.--4-~~ M3 M4 g,_I-..,..__,__v_in2 •
_/ M2
A preliminary dosign wu:s done tor the simple Cross-Coupled architecture in Fig.
4.4 using 0.35µm CMOS technology available from TSMC. The design considered from
reference paper is of 2µM technology. The design was convened into 0.35µM technology
using following equation::> (4.7). For i;:c11Jing the tc1,;hnulugy from 2µM to 0.35µM, the
Gm (µp cox w)
L OJSµm •v. 0 0 lll""
0351un _ _
(4.7)
(1-iocn• Lw ) 2,..m
·~v.52..,.
44
4.S.3.2 Simula tion R~ ul ts of the Preliminary Core Architecture
The simple Cross-Coupled architecture in Fig 4.4 was simulated using Cadence's
1-lnCox - I S8uNV
2
and µ pCox = 66.89uA/V2 . The power supply is Yoo = 3.3V, Vss = OV.
The Vb varies from 29mV to 460mV with lss = 19uA.
~ llt•5pvn~~
I!
• V8•"«9m"j
11 11
• : VB•.. ttli.lm": ~ : VB•"364.~m0: "' ' V9•"J18.Jm", +: V8•"?tU' 4m" :
e.eu • : V9• 221J.6rn ; ... : V9-" 172 7m"; a. ; VO•" l2' .8tn"; - · V8 - '?6.60m''; • : V8• .. 29m";
< 1.eu
"
J.eu
2.Gu
.·-
0.11
10Q ~-::;~--~~
1K =-~..._...""'\'111
...... 0W7'0K ~ ...-~~_....,1
0-M
IC
treq ( H1 )
o.eu
7.Gu
O.llu
6 llu
<
4 llu
J .o_,
2.~. r----------------------------~
1\lv
45
Table 4.2 shows model paramerers for T8MC 0.35 MIXED-MODE CMOS
process and Fig. 4.5 shows the transconductance of the simulated cross-coupled
nrchirecturc for variation of the frequency from I OOHz to I GHz and Vb is taken as a
parameter. The si mulation result shows that this cross-coupled architecture hus the
bandwidth of 20MJ Iz. The transconducrancc:: varies from 0.45uS co 7. 7uS for change of
Vb from 29mV to 460rnV. Fig. 4.6 s hows thut rhc cross-coupled architecture works
linearly for the range ofV,d from -0.2V to +0.2V.
Table 4.2 Typical modeJ parameters ofTSMC 0.35 MIXED-MODE CMOS process
Parameter raramcter Typical Parameter Vnluc
Symbol Descri£tlon n-channel p - cbn nn c l Units
VTO Threshold 0.4547523 0.6701014 v
uo Mobility 348 3086407 147.3371727 cm·N•.,.
DELTA Narrow- width threshold 0.0 1 0.0 1 -
adjustment factor
TOX Oxide thickness 7.6F.-9 7.6E-9 A
XJ Metallundcal junction depth I r~-7 1r:-1
,..-.~
-
CG SO Overlap capacitance for the 2.7913-10 2.43E-10 F/m
gate-source
CCDO Overlap capacitance for the 2.791-,-10 2.43E- 10 F/m
gate-drain
CGBO Overlap capacitance for the IE-12 IE-12 F/m
-
go.Le-bulk
CJ Zero-bias j unction capacilallCC 9.06398713-4 1.419861 E-3 Pim'
CJSW Zero-bins, bulk-source/drain 3.41 8862E- IO 2.839933E-10 Flrn'
sidewall caQacitance
MJ Bulk-junction gradient 0.350588 0.559054 1 .
cocflicient
MJSW Bulk-source/drain sidewall 0.123 7491 0.40 14951 -
Qrndient co~ffi c i ent
~
Vno Voltage Suooly (+) 3.3 3.3 v
Vss Voltage Suooly (-) 0 0 v
V..In Threshold Voltage 0.45 - v
VTD Threshold Voltage - 0.65 v
J!nCox 158 - uNV·
UD C OX - 66.89 uAN'
46
4.5 .4 C ross-Coupled OTA With Source Degeneration
This i~ ;111111hPr method ado pted for fu1tltc1 imµ1uvlng tl1e llneanty. Here the
linearit.Ution cw1 be increased by using c:ource degeneration concept with the cross-
coupled OTA [40-41). T o explore the effcctivcne:.:; o f the method the OTA with source
degeneration was implemented as shown in Fig. 4.7. Transistor M l-M4 comprises the
cross-coupled differential input pair, biased by the current coming from tl u.: current
The voltage drop across the resistor. added at the source of each transistor, is to be
added to the voltage source Vb to hav~ the accurate result. Large degeneration factors
transistors Ml-M4. The values of resistance are varied and their effects on THD (Total
M5 M6
10u
~ ~
47
A~ Fig. 4.R shows that the source degeneration method improved the linearity of
- - -22mV
70 2 , - - •]lJmV
/ :109mV
7U ••./ • -l!OOmV
.:'
:'
. . . .. . . . •1
... ..... _.,/
r _ _ ___ ..,,..,,. ,-,,.. ,/
/
/
'
,/ /
With unaloa ci rcui ts. effocl:l of :1lrny rcsistarn.:cs 011<.l cupoci1m1ccs cannot be cumul nted us
in digital systems. bu1 needs lo be.: cons idered on u nc:t-by-net basis. Analog routing
Th1: early nnnlos ruuters weai.: bused on a net clussilicmion scheme. Weight-driven
48
parusitics, wire length, and number of bends and vi as. l n constraint-driven routers,
parasitics nrc eliminated from the cost function. lnstcud. parusitics in the candidate path
are then checked ugainst their bounds. and if the bound is violotcd. furtht:r expunsion
which can have ll significant impuct on the electrical behavior of the circuit. For u given
nt:t. i111crconncc1 pBrHsitics l11clude struy resistances, strny capacitnnccq o f wires lo the
substrate, and the cross-coupling cnpocitanccs hetw.,en nets (p1trallcl nets nnd crossing
nc::ts). In addition. switcht!s in the progrnmmuble urchitccrurc imroduc.:c significunt sc::rics
n:sist11ncc und pacasillc cupacitancc. T hese factors constrain the routing to reduce wire
lengths, the number of parallel und crossing wires between different 11e:ts, und also tJ)e
number or switche:i used. It is thw, evident tht11 a good F l'AA router must keep the
perfornmnce dcgnodotion mininwl (4Jl
When u connection between the output of block t\. and the input of block B is
made via the interconnection network, the corresponding wire segments and routing
switches are activated by loading the configuration bits from the on-chip shift register.
'ntese routing switches are usually made use of NMOS pass transistors or CMOS
transmission gates, and they will have parasitic non-linear resistance and cupacitance,
which will consequently affect the linearity and the frequency response or the desired
49
As a counterpart of the SC discrete-time approach, the transconductor approach i:,
because the transistors are operated in triode mode. Th1; transconductance in the ON
Where the V gl & V g2 are the control voltages and v 1, v2 ~ min (V g I - VT, v g2 - VTJ
From above equation, the Gon is direct ly proportional to (Vg l - Vg2), and the polarity of
the differential current (ii - i2) is detennined by the sign of (Vgl - Vg2). Also, the
transconductor acts as a linear multiplier as the Gon varies linearly with the control
voltage difference (Vg l - Vg2). With all the properties depicted from above equation, the
transconductor not only acts as a switch for routing the interconnection network, but also
Vg1
-I:::-- 11
V1 c--.
"-i ~------!
~
.
V2 ,---1'
12 -
Vg'l
50
This allows the transconductor to be used as an element in the programmed
Vgl Vg2
V1 V2 I
I 1
-12
11
The transconductor switch can be used as a circuit component in the f'PAA. Wilh
this technique, sub-circuit level CABs may~ used because linear resistances are always
necessary for implementing analog circuits. Sub-circuit level CABs include simple
transistor level circuits that perform only one specific function such us current mirror,
output stage, and differential stage. The disadvantage of th1.: transconductor technique is
the allowable voltage range being limited b) the transconductor linearity, since the
progrdl11mable analog circuits are no exceptions. To date, many of the published FPAA
designs have limited their operotmg bandwidth under l MHz. Ho\\>ever, this bandwidth is
insuflicient for video applications. which normally require up to IOMHz or more. In
51
order to increas~ bandwidths of FPAA. new architectures need to be developed lo avoid
four identical MOS transistors operating in the linear (triode) region. MOS nonlinearities
are cancelled when one subtracts the two-transconductor output currents. The re:>ulting
lrnnsconductunec is independent of the thrc:>hold voltage and can he \'aried over a wide
range without affecting the input signal handling capability. It also minimizes the cffcctS
simulated using Cadence's Custom IC Design rools in 0.35um CMOS technology. The
gate widths are WI -- W2 - W3 "" W4 = IOOum and the gate lengths are Ll "" L2 =L3 =
L4 =0.4um. The designed switch offers a resistance of 8. 7 ohms to 65.8 olu11s for Vgs I
& vgs2 = o to 2v respectively. The Typical Resistance is 18.94 ohms at Vgsl = Vgs2 =
52
Vgs1 Vgs 2
ot o2
Various methods have been used to implement programmable resistors (Fig.4 .12).
These include the use of poly-silicon resistors switched into circuits with pass transistors,
complementary MOS transistor pairs with controlled gate voltages and more complex
transconductors.
Programmable capacitor arrays (PCA) (Fig. 4.13) havc been widely used,
programmable resistors. The literature contains several publications and products in the
areas of programmable amplifiers and filters. On-chip tuning circuits may he required to
produce bias voltages or current:; that seL the value of programmable components. These
circuits often involve the use of digital registers to store component values, and digital to
analog conversion to produce the bias voltage or current. A major constraint of analog
53
VLSI design in a digital process is the requirement for linear capacitors. Field-
programmability adds the constraint that fabricated capacitors must have a large
capacitance per unit area, so that a sufficient number of programmable capacitor arrays
(PCAs) will fit on a single chip of area comparable to standard FPGAs. Capacitors add in
parallel, so a PCA, each of which must have a capacitance significantly larger than the
parasitic capacitances associated with the substrate and interconnect. This accounts for
the fact that PCAs occupy the largest amo unt of area on an FPAA [ 45].
2><
54
In
M2
l-400.0n----1 l-4011!.0n
w=25u w=25u
r-~ l <-•~N•
c - 45,t;l. 001 c-4!5c»'.0'1f r. - <t50.'90f
I I l
tt
Figure 4.14 Programmable capacitor array (CMOS)
Programmable Capacitor Array, shown in Pig.4.14, was simulated and the results
Parameter Value
No. of bits 5
integrated circuit. Shift registers are widely used to store the states of connection switches
as well as the values of components such as programmable capacitor arrays [26). The
55
Storing a voltage on a capacitor is the most common implementation of anaJog memory,
and requires a means for refreshing the stored voltage [46-47] as well as consideration of
cnor:s due to charge injection from access transistors [48]. Multivalued memory is used
as analog memory, which allowed the storage of discrete voltages on capacitor. Error
con-ection of the analog memory contents has been demonstrated by E. Lee and
P.G.Gulak l49,50], Organization of the digital memory has been done in diffcn:nt ways
/
like seriaJly, in which all memory ct:lls are connected together as a single shift register ,
serial-parallel whert: a serial bit-stream is loaded into a horizontal shift register, the
contents of which are then strobed into a row of configuration memory indexed by the
bits in a vertical shifl register, und finally random access. where address lines determine
where the input configuration data goes. The latter two approaches can be used to
reconfigure parts of the IC while other parts continue to operate. It should be noted that
configuration memory could occupy a significant proportion of the total die area of an
56