Documente Academic
Documente Profesional
Documente Cultură
EDGAR SANCHEZ-SINENCIO
Department of Electrical Engineering, Texas A&M University, College Station, TX 77843-3]28
JAIME RAMIREZ-ANGULO
Department EE&CE, New Mexico State University, Las Cruces, NM 88003-0001
Abstract. An integrated software system that facilitates the design, and integrated-circuit layout of continuous-time
OTA-C filter biaquad-based structures with typical cutoff frequenceis for a 3 gm technology in the 500 kHz-8 MHz
range is described. The proposed integrated software system consists of three separate software modules written
in the C language for the Apollo workstation (DN3000). The first module is a general filter approximation package.
This program can approximate conventional magnitude, arbitrary magnitude, arbitrary group delay equalizer, arbitrary magnitude with group delay specifications. The second module aides in the synthesis of the biquad-based
OTA-C filter structures. This module is unique in that the C code has the rule-based language CLIPS embedded
within the code, and takes into account OTA-C filter nonidealities. An expert system using CLIPS was developed
to select an appropriate OTA-C filter structure based on the nonidealities of the structures. After the filter structure
has been chosen, the program will guide the user in the calculation of the capacitor values. These calculations
are based on the nonidealities of the OTAs included in the standard cell library for layout, in addition the design
of special purpose OTA as another alternative is also considered. Furthermore, the program will develop the necessary
inpul: files for the layout generator. The final module is a modified version of AIDE2, a standard cell layout generator
for switched-capacitor circuits. The input files to the modified AIDE2 is a C language program that describes
the circuit (i.e., standard cells and their netlist). The output file is a CALTECH Intermediate Format (CIF) file
that is required for fabrication.
1. Introduction
Recenty there has been a push for the creation of analog silicon compilers. The first work in this area concentrated on switched-capacitor filters [1-6]. It was
realized that a standard cell approach could be applied
to the filter design process since the filter structure and
the operational amplifiers within the structure were
usuai[ly fixed, and only the capacitor ratios needed to
be parameterized. For demanding applications highperformance op amps can be tailored to satisfy specifications as in [6]. Nonidealities of operational amplifiers and switches limit conventional switched-capacitor
(SC) filters to lower frequencies than continuous-time
filters. There are currently several groups [7, 8, 9] investigating OTA-C filters operating at frequencies
higher than 15 MHz. Monolithic filter structures, OTAC, is well suited for frequencies in the range of 500
kHz-18 MHz. This technique [10, 11, 12] often uses
CMOS operational transconductance amplifiers (OTA)
and capacitors. Besides the advantage of the superior
83
244
2. Approximation Techniques
The approximation problem is an old and mature one.
There are many excellent software approximation packages available. We decided to incorporate these approximation techniques for convenience and to have a selfcontained design tool. One additional advantage of
having access to modify the source code is to add recent
approximation developments periodically appearing in
the literature.
84
I~
i~N!NI&EXPE~
SYS E
see:~sNNN~N
!:!
FIESTA:
~............................:,i:~i~i~i~
iiiiiiiii!i
iiiiiii!!iiii
i!i!i!iiil
Analog IC filters are key components in telecommunication applications as well as in video, radio, and in
hard-disk drives. In these applications for a frequency
range between 1 MHz to nearly 100 MHz continuoustime filters are very suitable. In particular, OTA-C filters
have been proved to operate satisfactorily in the MHz
range: for commercial applications and several hundreds
of MHz frequency ranges [12, 26, 7, 8] in experimental
results. The basic components of OTA-C filters are the
OTA, which is a voltage to current transconductor, and
the capacitor usually fabricated with polysilicon. OTAC filters signal to noise ratios in the range of 60 and
90 dB are feasible with very linear and efficient transcon&rotors [16]. This S/N range is comparable with SC
filters but with at least an order higher in frequency
of operation.
The performance of OTA-C filters [27] depends on
(i) the OTA architecture which is the main noise con-
245
Vo
tributor of the filter, and (ii) and the OTA-C filter structure. Even though several filter structures ideally can
provide the same transfer function, when real OTAs are
considered, the resulting transfer functions yield quite
different frequency deviations and bandwidth or Q
enhancement.
Next, we discuss some of the sources of the OTA-C
filter nonidealities, and a design methodology that
allows trade-offs to yield optimal OTA-C filter performance. Let us consider the basic cell, an integrator as
shown in figure 2. the ideal transfer function is
Vo(s)/(Vi+(s)
IZ~n(S)) = gm/SC.
~ w--O-~Oj
1 -~ (la)
(lb)
7r
cb =- -oooTo + - - - Av
2
(2)
85
246
Q
Qa ~ 1 + 2(1/Avo - o~oTo)Q
(3)
Vo(s)
V+(s)
gm
gm + sC
(4a)
where
(4b)
ni(j,~)l~-~= = 0
Now, if we consider the OTA differential input capacitance, Cd, between nodes x and y, the transfer function
becomes
Vo(s) =
gm + sCa
H(s) = Vi+(s)
gm + S(Cd + C)
(5a)
and
Hfj~o)l~_~
Cd
Cd + C - 1 + C/Cd < 1
(5b)
Notice from (4b) and (5b) that the ideal low-pass filter,
at high frequency, becomes a voltage divider, i.e., Cd
= 0.1C then the minimum output voltage at high frequency becomes 0.091zm or only -21 dB of attenuation
86
247
"C2
m
(a)
~
V2
n2
"C e
(b)
1V3_
in~
C2
v1
_L
(c)
Fig. 3. Basic filter structures: (a) loop of one lossless and one lossy integrator; (b) loop of two lossless integrators with two feedback summing
nodes; (c) two-integrator loop with a single feedback summing node.
3. If only deviations due to excess phase are considered, OTA-C filter structures with only two OTAs
have the minimum effect on Qp but larger on fp.
The filter of figure 3c has the largest ( fp, Qp) deviations, and the filter of figure 3b has an inherently
87
248
Input
V1
V2
Figure 3a
/in,
lin~
BPR
L_~P
LP
BP
Figure 3b
/in,
/in~
lin3
BPR
LP
LP
L._.PP
__BP
BP
LP
/3P
NOTCH
Figure 3c
/in,
BPR
LP
LP
LP
BP
B_P_P
BP
BPR
UP
lin2
Iin3
113
88
N QC2
High frequencies are reached with the OTAs with large
gin'S and capacitors with small values. For stringent
--
gmi
B2 '
249
i = 1, 2, "3, 4
Cell Name
Cell Description
impota2
impota2 - g
impota2 + g
impota2 - 5
impota2 - 5 - g
impota2 - 5 + g
i m p o t a 2 - 10
impota2 - 10 - g
impota2 - 10 + g
ashok
ashok - g
ashok + g
abuffer
met poly_cap
met polycap_g
logo
pad
No. Terminals
89
250
sophisticated software [31]. AIDE2 is the second generation of the Analog Integrated Circuit Design program
(AIDE) that performs standard cell layout with automated routing of the circuit. The aspect ratio (height
with respect to width) of the chip can be selected by
the user. The input file to AIDE2 is a C language program that defines the standard cells to be used and the
netlist of the designed circuits. The output of AIDE2
is a CALTECH Intermediate Format (CIF) file necessary for fabrication. We used AIDE2 for availability
of the software at that time, more elaborate software
has been developed elsewhere [31, 9] that could be incorporated in a new version of FIESTA.
microns
500
485
48O
470
465
455
_!
_1
450 435 - I
90
Phi 1
"]
Phi 2
Vdd
'i
Circuit
10--5--
Gnd
Layout
Vss
microns
330 315 310 -
I
I
G.d
Vdd
1
!
295 -
Circuit
2715I0--5
--
Layout
vc
5. Example
This example will illustrate the design, synthesis, and
integrated circuit layout of a Chebyshev bandpass filter.
For this example, experimental CMOS test-chip results
are presented.
=:
and
Am~ = 0.125 dB
The order constraints option with the conventional
magnitude approximations was used with the optimum
gain distribution [23]. The transfer function that resuits is
2.2051 106s
Q Factor
1
2
3
0.7400
1.0
0.5477
2.108
4.410
4.410
251
6% = .~mlgm2 and Q =
~m3
l
Cl
gml =
gm2
gm~ =
gm,=
=
Experimental Results. A photograph of the chip, fabricated using 3#m CMOS technology, is shown in figure
6. A map of the chip is shown in figure 7. From figure
6, it can be seen that most of the available chip area
is used (possibly two more OTAs could be placed). The
monolithic filter was fabricated through and thanks to
MOSIS. The practical transconductance tuning range
was about a factor of 2.
The circuit in figure 6 was tested in the laboratory.
Figure 8 shows the three experimental frequency responses (in broken lines) of each second-order bandpass. The solid line represents the overall frequency
response of the sixth-order Chebyshev which meets line
represents the overall sixth-order filter response. A
summary of the experimental results of fo and Q for
91
252
gm2
gin1
gm 5
gm3
a Buffer
gm4
met_poly_cap_g
met_poly_cap_g
6. Conclusion
met_poly_cap_g
92
10.0
253
0.0'
'~ - - 1 0 . 0 '
,--.,
-20.0'
-30.0'
z~ -40.0'
-50.0'
-60.0
10 6
Frequency
[ Hertz
Parameter
Ideal
Parameter
% Error
)Co
Q
0.740 MHz
2.108
0.74 MHz
2.05
0.10
-2.80
f0
Q
1.00 MHz
4.41
1.006
4.393
0.6
--0.4
fo
Q
0.5477
4.41
0.5479
4.43
o.05
0.45
TM(S)
+ 6o2zt
$2 + (6opl/apl)S + (.021
2
$2 q- (6ozn/2/ Qzn/2) S "}- 6ozn/2
S 2 + (Wpn/2/Qpn/2)s --}- 6o2n/2
(A.3)
(A.2)
(A. 1)
2
s -k- 6ozl , s 2 + (6ozz/Qzz)S + 6OZ2
2 """
S "+" 6opl $2 q- (6op2/Qp2) S + 6op2
TM(s) = - - -
(A.4)
for n odd.
The filter magnitude response ] T(jw)J is determined
only the poles and zeros of the magnitude transfer function which can be expressed explicitly as
93
254
I TM~j~)I = I TM~j~,/SM)I
(m.5)
The group delay response r(w) of the filter is obtained by adding the delay responses of TM(S) and
T6D(S) so that it depends on the poles and zeros of
both TM(S) and of T6o(s) according to
T(O), /SM,
(A.7)
I TM,(/SM)[
_ gimaxM ,
<
i ~ {1, 2, . . . , IM}
(A.8a)
_ gjmaxGD ,
gjminGD _< TGDj(/SM,/SGD) <
j E {1, 2 . . . . .
l~o}
(h.8b)
94
24]. These approximations are the well know Butterworth, Chebychev and elliptic approximations which
lead to poles and zeros which are optimal in the sense
of requiring the minimum order n for given specifications and type of response.
There are also very efficient techniques for the approximation of all-pass transfer functions with a delay
response that matches an arbitrary nominal delay response at a small number m of frequency points, where
m is the order of the delay equalizer [25]. These techniques are based on interpolation and in general the
delay response obtained will still violate the window
specifications, but the design provided by these techniques constitutes in general a good starting point (initial guess) which can then be refined to make it meet
the window specifications for group delay.
The approximation of filters with arbitrary delay and
magnitude response is iterative in nature. In FIESTA
the techniques discussed above are used to obtain initial
guesses for the magnitude and group delay vectors:/~t
and /5~D which are then refined using the window
specification design algorithm (WISE) described in the
next section until it meets the desired specifications.
The approximation procedure used in FIESTA is described in the flow chart of figure A.2.
for k E {1, 2, . . . , l}
(A.9)
are satisfied.
It can be seen that the task expressed by (A.9) is
identical in form to that of (A.8a) and (A.8b) which
define the problem of nonconventional magnitude and
group delay approximation, and the same algorithm can
be used for both approximations. In the first case the
magnitude vector/sm corresponds to/5 and the value
of the magnitude response TmifPM) at the magnitude
response verification frequencies corresponds to fi ~ ) ,
in the case of the group delay approximation/SM is
kept constant and the delay v e c t o r P G D correspond to
255
IT(t01
.'.'.v.v..'.
")))")i'i('i
v..:..?)i')i'i('i'i'~-i').
??))?)))))i'i'??)i('.
)..v.,-..~
i'))i'i':)i.
)i'i.'i'~(')
:v.v:.v.
v...v:::
i.i.i.))ii.ii
:.?)i.i.?)
')))(7
..'.'.'...v~
'.'.v.v.'.v
v??.
:'i-7')))i'.
.%)1"1"1"1"i'
?i'?)i(')i'.
%1-)?71"71
15".', 'i . . . . . . . .
"i-lvi'ii-:)i'i'.-(v):""i
.......
.
.
i'i).(iii
:........- .
:.. ........
.
................
H..v..'.v:..
- -.
: ........
.
tO
m,,..._
(a)
~
i
!i ~i~...............
iiiiiii
i)i
il !ill iil l
iiiiilfilfiill
~)~.).(~..)~.~(.~.~)~.~)~.))))))~(.)~)~.~.))?))~.~.)~.~.))))~.~.))~.~(.)))~(~)~(.))~(~.))~.~.~.~.:..~())~
i~
i I~I~
i I iii I
: iI
~ii
ii
(9
(b)
Fig. A l. (a) N o n c o n v e n t i o n a l
w i n d o w s p e c i f i c a t i o n s for m a g n i t u d e
response;
denoted Ra, whose boundaries are not known in advance. The approximation task can be visualized as that
of shifting an initial nonfeasible design (a point outside RA) to the interior of R~. WISE is an iterative
algorithm and during each iteration of following steps
are performed.
95
256
No
No
yYu
ENTER CONVENTIONAL
WINDOW SPECIFICATIONS
FOR MAGNITUDE
A,. Aj. f., f~.....
t
USE STANDARD
APPROX]MATION
TECHNIQUES (BU'I'rERWORTH.
CI-IEBYCHEV, ...) TO APPROXIMATE
ANALYTICALLY CONVENTIONAL
FILTER :p~,
REFINErrz~vELY m m ~
MAGNr~
V ~ T O R u s . ~ WINDOW
SPECIFICATION APPROX~IIATION ALGORITHM (WISE) UNTIL ALL
NONCONVENTIONAL MAGNITUDE SPECIFICATIONSARE SATISFIED
P;--~P.
for iE 11,2,..~1.]
F_" ~
for j E, It,2...,l.]
Fig. A. 2. Signal-flow graph of approximation procedure used in FIESTA for filters with nonconventional magnitude and group delay response.
96
257
Pa
)
p,.
Fig. A.3. Illustration of iterative design improvement using WISE (window specification approximation algorithm) leading to a gradual contraction of relaxed acceptability region.
Notes
1. The first version of FIESTA [22] was written in basic for personal
computers and it is a primitive (and reduced) version of the second
version here discussed.
2. Not yet implemented in current version of FIESTA.
3. In figure 3 the input currents/in,, lin2, Iin3 can be implemented
using OTAs.
4. The OTA-C filter can be tuned using the tail currents of the OTAs.
Therefore, the capacitors do not need to be any exact value.
References
1. P.E. Allen et al., "AIDE 2: an automated analog IC design
sys.tem," in Proc. IEEE Custom Integrated Circuits Conf., pp.
498-501, 1985.
2. E S~inchez-Sinencio and J. Rami'rez-Angulo, "AROMA: an area
optimized CAD program for cascade SC filter design" IEEE
Trans. Computer-Aided Design, Vol. CAD-14, pp. 296-303, 1985.
3. J. Assael, P. Senn, and M.S. Tawfik, 'A switched-capacitor filter
silicon compiler," IEEEJ. Solid-State Circuits, Vol. SC-23, pp.
166-174, 1988.
4. DG. Nairn and A.S. Sedra, "Auto-SC, an automated switchedcapacitor design program," IEEE Circuits Dev. Mag., Vol. 4,
pp. 5-8, 1988.
5. C.L. Winder and R.E. Massara, ' A design assistant approach to
the implementation of analogue integrated circuits with particular
reference to switched-capacitor filters," in Proc. 30th Midwest
S3~np. Circuits and Systems, Syracuse, NY, pp. 1312-1315, 1988.
6. A. Barlow, K. Takasuka, Y. Nambu, T. Adachi, and J. Konno,
'~m integrated switched capacitor filter design system," in Proc.
IEEE Custom Integrated Circuits Conf., pp. 4.5.1-4.5-5, 1989.
7. B. Nauta, "CMOS VHF transconductance-C lowpass filter" IEE
Electron. Lea., Vol. 26, pp. 421-422, 1990.
97
258
98
Jaime ~ A n g u l o
received a degree in communications and electronic engineering from the National Polytechnic Institute (ESIMEIPN) of Mexico, the M.S.E.E. degree from the CINVESTAV-IPN
in Mexico and the Ph.D. degree from the University of Stuttgart,
Germany, in 1974, 1976and 1982 respectively. He is currently associate
professor in the Depaitment of Electrical and Computer Engineering
at New Mexico State University. From 1982 to 1984 he was a researcher
at the National Institute for Astroyphysics, Optics and Electronics
(INAOE) in Puebla, Mexico; from 1984-1990 he was assistant professor at Texas A&M Unviersity. His research interests are in the
area of analog and digital VLSI microelectronic circuit design.