Professional Documents
Culture Documents
Opamp Cap Load PDF
Opamp Cap Load PDF
100
EQUATION 3:
f 3dBA f GBP G N
RO
Z OUT = --------------------------------------
-
1 + A OL ( s ) G N
MCP6XXX 20
MCP6271 CL = 10 nF
VIN 15 GN = +1 CL = 1 nF
VOUT
CL = 100 pF
CL 10
CL = 10 pF
5
Gain (dB)
RG RF 0
-5
FIGURE 6: Uncompensated Capacitive
-10
Load.
-15
The feedback network (RF and RG) also presents a -20
load to the op amp output. This load (RFL) depends on 10k
1.E+04
100k
1.E+05
1M
1.E+06
10M
1.E+07
100M
1.E+08
whether the gain is non-inverting or inverting: Frequency (Hz)
CL = 100 pF
CL). When CL becomes large enough, ROUT||RFL does
20
a poor job of dampening the LC resonance, which
causes peaking and step response overshoot. This 15
Where:
GN CL fP QP f3dB HPK/K xmax
(V/V) (F) (Hz) () (Hz) (dB) (%) GN = 1 + RF RG
K = GN , non-inverting
1.0 10p 9.3M 0.23 2.3M 0.0 0
K = 1 G N , inverting
100p 2.9M 0.73 3.1M 0.0 5
R ISO
1n 0.93M 2.3 1.4M 7.5 50 P = 2 f P = 1 L OUT C L 1 + ---------------------------
-
R OUT R FL
10n 0.29M 7.3 0.46M 17.3 81
L OUT
10.0 100p 930k 0.22 211k 0.0 0 Q P = 1 P ---------------------------
- + R ISO C L
R OUT R FL
1n 294k 0.69 285k 0.0 4
10n 93k 2.2 139k 7.0 48
We can now find a reasonable RISO value. When
100n 29k 6.9 46k 16.7 80 QP = 1/2, the response has the highest possible
bandwidth without peaking, and the equations are in
Series Resistor Compensation their simplest form:
A series resistor (RISO) is inserted to reduce resonant
peaking. It draws no extra DC current and does not EQUATION 8:
affect DC gain accuracy when there is no load R ISO = 0, CL CX
resistance. This compensation method only costs one
2C X C
resistor. R ISO = ( R OUT R FL ) ---------- ------L- 1 , CL > CX
CL CX
THEORY
Where:
Figure 9 shows the series resistor RISO loading the
Q P = 1 2 0.707
resonant circuit at the op amps output, reducing
frequency response peaking. The inverting gain circuit L OUT
C X = --------------------------------------
is very similar. 2 ( R OUT R FL )
2
MCP6XXX
VIN RISO
VOUT
CL
RG RF
RISO = 187:
10.0 100p 0 930k 0.22 211k 0
0
CL = 10 pF 1n 0 294k 0.69 285k 4
-5 RISO = 0:
10n 226 73k 0.71 73k 4
-10
100n 76.8 27k 0.71 27k 4
-15
Note 1: HPK/K = 0 dB for all of these compensated
-20
10k 100k 1M 10M 100M examples.
1.E+04 1.E+05 1.E+06 1.E+07 1.E+08
Frequency (Hz) Figure 12 shows the estimated RISO values for the
MCP6271 (see Equation 8). The x-axis is normalized
FIGURE 10: Estimate of MCP6271s
load capacitance (CL/GN) for ease of interpretation.
Compensated AC Response with G = +1.
1,000
1k
40 MCP6271
MCP6271
35 GN = +10
Estimated RISO (:)
CL = 10 nF
30 RISO = 76.8: CL = 10 nF
25 RISO = 226:
Gain (dB)
100
100
CL = 1 nF
20
RISO = 0:
GN = +1
15 CL = 100 pF GN t +2
10 RISO = 0:
5 10
10
0 10p 100p 1n 10n 100n
1.E-11 1.E-10 1.E-09 1.E-08 1.E-07
10k 100k 1M 10M 100M Normalized Load Capacitance; C L/GN (F)
1.E+04 1.E+05 1.E+06 1.E+07 1.E+08
Frequency (Hz)
FIGURE 12: Estimated RISO for the
FIGURE 11: Estimate of MCP6271s MCP6271.
Compensated AC Response with G = +10.
Our formulas give the estimated results shown in
Table 2. RISO has limited the gain peaking. These
results are much better than before (see Table 1).
Gain (dB)
RSH = 12.7 k:
RSH CL
0
CL = 10 pF
-5
RG RF CSH RSH = open
-10
-15
FIGURE 13: Compensated Capacitive -20
10k 100k 1M 10M 100M
Load. 1.E+04 1.E+05 1.E+06 1.E+07 1.E+08
Frequency (Hz)
The transfer function with RSH only (CSH is shorted) is:
FIGURE 14: Estimate of MCP6271s
EQUATION 9: Compensated AC Response with G = +1.
V OUT s -
s + ------
2
------------- K 1 + --------------
V IN P QP 2 40
MCP6271
P 35 GN = +10
CL = 10 nF
Where: 30 RSH = 43.2: CL = 10 nF
C SH = short 25
RSH = 182:
Gain (dB)
GN = 1 + RF RG 20
CL = 1 nF
RSH = open
K = GN , non-inverting 15 CL = 100 pF
K = 1 G N , inverting 10 RSH = open
P = 2 f P = 1 L OUT C L 5
Q P = ( R OUT R FL R SH ) C L L OUT 0
10k 100k 1M 10M 100M
1.E+04 1.E+05 1.E+06 1.E+07 1.E+08
Frequency (Hz)
QP = 1/2 gives a reasonable RSH value:
FIGURE 15: Estimate of MCP6271s
Compensated AC Response with G = +10.
EQUATION 10:
2C L 1-
1 --------
G XX = ------------
- -------------
L OUT R OUT R FL
R SH = open , GXX 0
R SH = 1 G XX , G XX > 0
Where:
C SH = short
Q P = 1 2 0.707
100k
100,000
MCP6271
1.E-05
10 EXAMPLE
10k 1.E-06
1 A typical example of an incorrect circuit analysis is
Estimated CSH/GN (F)
10,000
RSH:
Estimated RSH (:)
MCP6031 ZIND
2.25 M MCP3421
VIN
RODC
0.13
MCP6031 MCP606
LOUT LOUT
1.16 H 4.31 mH
K MCP3421 K MCP3421
VIN 1 + s/3dBA VIN 1 + s/3dBA
ROUT ROUT
80.7 k 5.46 k
ZIND = ADCs differential input impedance ZIND = ADCs differential input impedance
28 pF switched at fSMP 16 kSPS 28 pF switched at fSMP 16 kSPS
FIGURE 20: Op Amp and ADC Models for FIGURE 21: Op Amp and ADC Models for
Time Domain Analysis. Time Domain Analysis.
We now estimate the step response settling time using We now estimate the step response settling time using
28 pF as the load capacitance (see Equation 9, 28 pF as the load capacitance (see Equation 9,
Equation A-5, and Equation A-15): Equation A-5, and Equation A-15):
CL 1 / (fSMPZIND) 28 pF CL 1 / (fSMPZIND) 28 pF
fP 27.9 kHz fP 458 kHz
QP 0.396 QP 0.440
f3dB 13.0 kHz f3dB 246 kHz
tset 30 s, xset = 10% tset 3.0 s, xset = 10%
tset 56 s, xset = 1% tset 5.5 s, xset = 1%
tset 83 s, xset = 0.1% tset 8.0 s, xset = 0.1%
tset 110 s, xset = 0.01% tset 10.5 s, xset = 0.01%
Since the fSMP is about 16 kSPS, the sample period From the first example, we know that TSMP is about
(TSMP) is about 62.5 s. Notice that each decade of 38 s. Each decade of xset gives an increase of 1.5 s
increase in xset gives an increase of 27 s in tset, so a in tset, so xset at 38 s should be roughly 18.3 decades
5% error would happen at: below 0.01%; the settling error should be negligible. It
is also encouraging that the pole quality factor (QP) is
tset 38 s, xset = 5%
low; the MCP606 should be a good fit for this
This means that about 61% of TSMP may have been application without any compensation.
used for the ADCs settling when the bench results
were measured. The MCP6031 op amp is too slow for
this application, unless we compensate it.
f3dB 140 Hz
10k
tset 10 s, xset = 10%
10,000
tset 20 s, xset = 1%
GN = +1
GN t +2 tset 30 s, xset = 0.1%
tset 40 s, xset = 0.01%
1k
1,000 Since the amplifier is now much slower than the ADCs
10p 100p 1n 10n 100n 1
1.E-11 1.E-10 1.E-09 1.E-08 1.E-07 1.E-06
Normalized Load Capacitance; C L/GN (F)
sampling rate, and the snubber looks like a constant
resistance at the sample rate, the amplifiers output
FIGURE 22: Estimated RISO for the impedance dominates the performance. The DC error
MCP6031. should be about -0.044% as we expected.
Since we have a double pole, any crosstalk at 16 kHz
The capacitive load presented by the ADC in Figure 23
will be rejected by 88 dB.
is small (28 pF); we don't need to stabilize the op amp
for this load. This circuit, however, uses a snubber (RSH CSH will need to be larger when the MCP3421 is run at
and CSH) to reduce the output resistance at the switch- lower precision (lower sampling rate, but higher data
ing frequency, which improves the step response rates). See Appendix C: MCP3421 Sampling
(reduces the Q of the resonant circuit). Figure 22 helps Rates for more information.
us select RSH and CSH values that will keep the op amp
stable (CSH acts as a capacitive load), while selecting
a reasonable value of RSH:
RSH (RISO) was selected to be 1 k in order to
reduce the resistor gain error to about -0.044%
CSH (CL) was selected as the largest
corresponding capacitance (2.2 F) in Figure 22
The pole set by RSH and CSH (72 Hz) is much smaller
than the ADCs sampling rate (16 kSPS). Thus, the
ADCs input sees a constant impedance at the sample
rate (and its harmonics).
Figure 23 includes a resistor to balance the impedance
at the ADCs inputs (RBAL) at the sampling frequency;
it may not be needed in all designs.
EQUATION 15:
MCP6XXX
dVOUT ( t ) I OUT ( t ) RISO IOUT
VIN
------------------------ = ------------------
- VOUT
dt CL
dV OUT ( t ) CL
I SC
SR CL = max ------------------------ = -------
-
dt CL
RG RF
V OUT ( t ) = V M sin ( 2 ft )
This solution gives a result similar to Equation 18, but
does not avoid the limitations imposed by the op amps
DESIGN internal SR. This latter limitation can only be prevented
before the op amp, not after.
To avoid slew rate limitations, we need:
These design equations, and those in Appendix A:
EQUATION 17: 2nd Order System Response Model, can be used
to find the resulting performance as long as the signals
2 fV M < min ( SRCL, SR ) slew rate does not exceed SR or SRCL.
EQUATION A-3: 1
f3dB / fP
V OUT K
------------- --------------------------------------------------
-
V IN 1 + --------- s 1 + --------- s
0.1
P1 P2
Where:
QP 1 2 0.01
0.01 0.1 1 10 100
2 QP
A = Q P ----------------------------------
2
1 + 1 4Q P FIGURE A-2: Normalized -3 dB Bandwidth
P1 = P A vs. QP.
P2 = P A
t
0.1
1.0 0
0.9 0 t10 td t90 tmax tset
0.8
0.7 FIGURE A-5: Step Response.
0.6
fPK / fP
100
P2 exp ( P1 t ) P1 exp ( P2 t )
A ( t ) = ------------------------------------------------------------------------------------
-
P2 P1
EQUATION A-9:
HPK / K
10
V OUT
------------- = [ 1 B( t)] u(t )
K
Where:
QP = 1 2
1
0.1 1 10 100
V IN ( t ) = u ( t )
QP B ( t ) = ( 1 + P t ) exp ( P t )
FIGURE A-4: Normalized Peak Magnitude
vs. QP.
tr f3dB
2 0.30
V IN ( t ) = u ( t ) 0.29
0.28
1-
A = 1 --------- 0.27
2
4Q P 0.26
0.25
= acos ----------
1
0.01 0.1 1 10 100
2Q P QP
P t
exp ------------ sin ( P At + ) FIGURE A-7: Normalized Rise Time vs.
2Q P
C ( t ) = ---------------------------------------------------------------
- QP.
A
When QP > 1/2, the step response exhibits overshoot
(xmax). xmax and the time to the peak overshoot (tmax)
The delay time (td = 50% time) is roughly:
are:
EQUATION A-11:
EQUATION A-13:
2 3
0.110 + 0.005Q P + 0.089Q P + 0.298Q P 1
t d -------------------------------------------------------------------------------------------------- , Q P --- x max = 0% , QP 1 2
f 3dB 2
2
x max = ( 100% ) exp ( ( 4Q P 1 ) ), QP > 1 2
0.0781 0.0954- + 0.0173
0.2587 + ---------------- --------------- ----------------
Q P QP
2
QP
3
1
t d -------------------------------------------------------------------------------------------- , Q P > ---
f 3dB 2 EQUATION A-14:
t max = 0 , QP 1 2
2
0.28 t max = Q P ( f P 4Q P 1 ) , QP > 1 2
0.26
0.24
0.22
100 1.E+00
100%
0.20
td f3dB
xmax
0.18
0.16
10 10%
1.E-01
0.14
tmax fP
xmax
0.12
0.10
0.01 0.1 1 10 100 1 1%
1.E-02
QP
tmax fP
FIGURE A-6: Normalized Delay Time vs.
0.1 0.01%
1.E-03
QP.
0.1 1 10 100
The 10% to 90% rise time (tr) is approximately: QP
EQUATION A-16:
1
t env = 2Q P ln x set 1 ---------- P
4Q
2
P
t set t env
Where:
1
Q P > ---
2
1000
xset:
0.01%
0.1%
100 1%
10%
tset f3dB
10
0.1
0.01 0.1 1 10 100
QP
EQUATION B-1:
CLtyp atan ( 2 f 135 R O C Ltyp )
f 2P f 135 tan ( 45 min ( CLtyp , 40 ) )
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchips Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
01/02/08