Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

AN884

Driving Capacitive Loads With Op Amps

Author: Kumen Blake Simplified Op Amp AC Model


Microchip Technology Inc. In order to understand how capacitive loads affect op
amps, we must look at the op amps output impedance
INTRODUCTION and bandwidth. The feedback network modifies the op
amps behavior; its effects are included in an equivalent
circuit model.
Overview
Operational amplifiers (op amps) that drive large OP AMP MODEL
capacitive loads may produce undesired results. This Figure 1 shows a simplified AC model of a voltage
application note discusses these potential problems. It feedback op amp. The open-loop gain is represented
also offers simple, practical solutions to each of these by the dependent source with gain AOL(s), where
problems. s = j = j2f. The output stage is represented by the
The circuit descriptions and mathematics are kept to a resistor RO (open-loop output resistance).
minimum, with emphasis on understanding rather than
completeness. Simple models of op amp behavior help
achieve these goals. Simple equations are included to
VINP
help connect circuit design to overall circuit behavior.
Simple examples illustrate the concepts discussed. VE RO VOUT
They give concrete results that can be used to better VEAOL(s)
understand the theory. They are also practical to help VINM
develop a feel for real world designs.

Purpose FIGURE 1: Op Amp AC Model.


This application note is for circuit designers using op We will include gain bandwidth product (fGBP), the
amps that drive capacitive loads. It assumes only a open-loop gains second pole (f2P) in our open-loop
basic understanding of circuit analysis. gain (AOL(s)) model. Low frequency effects are left out
This application note has the goal of helping circuit for simplicity. f2P models the open-loop gains reduced
designers quickly and effectively resolve capacitive phase (< -90) at high frequencies due to internal
loading issues in op amp circuits. It focuses on building parasitics (see Section B.1 Estimating f2P for more
a fundamental understanding of why problems occur, information).
and how to resolve these problems.
EQUATION 1:
LINEAR RESPONSE GBP
A OL ( s ) ---------------------------------
Capacitive loads affect an op amps linear response. s ( 1 + s 2P )
They change the transfer function, which affects AC
response and step response. If the capacitance is large
enough, it becomes necessary to compensate the op
amp circuit to keep it stable, and to avoid AC response
peaking and step response overshoot and ringing.
An op amps linear response is also critical in
understanding how it interacts with sampling
capacitors. These sampling capacitors present a non-
linear, reactive load to an op amp. For instance, many
A/D converters (e.g., low frequency SAR and Delta-
Sigma) have sampling capacitors at their inputs.

2008 Microchip Technology Inc. DS00884B-page 1


AN884
CIRCUIT MODEL Figure 4 shows ZOUTs behavior. At low frequencies, it
is constant because the open-loop gain is constant. As
Figure 2 shows the op amp in a non-inverting gain, and
the open-loop gain decreases with frequency, ZOUT
Figure 3 in an inverting gain. These circuits cover the
increases. Past f3dBA, the feedback loop has no more
majority of applications.
effect, and ZOUT stays at RO. The peaking at GN = +1
is caused by the reduced phase margin due to f2P.
MCP6XXX
VIN
VOUT 1000
MCP6271

100

Output Impedance (:)


10
RG RF
1
FIGURE 2: Non-inverting Gain Circuit. GN = +1
0.1 GN = +10
GN = +100
0.01
MCP6XXX
0.001
VOUT 0.1 1.E+
1 1.E+
10 1.E+
100 1.E+
1k 1.E+
10k 100k 1M 1.E+
10M
1.E- 1.E+ 1.E+
01 00 01 Frequency
02 03 (Hz)
04 05 06 07
VIN
RG RF FIGURE 4: MCP6271s Closed-Loop
Output Impedance vs. Frequency.
FIGURE 3: Inverting Gain Circuit. Figure 5 shows a simple AC model that approximates
These circuits have different DC gains (K) and a DC this behavior. The amplifier models the no load gain
noise gain (GN). GN can be defined to be the gain from and bandwidth, while the inductor and resistor model
the input pins to the output set by the feedback the output impedance vs. frequency.
network. It is also useful in describing the stability of op
amp circuits. These gains are: MCP6XXX

EQUATION 2: LOUT ZOUT


K
K = 1 + RF RG , non-inverting VIN VOUT
1 + s/3dBA
K = RF RG , inverting ROUT
GN = 1 + RF RG

FIGURE 5: Simplified Op Amp AC


Note: Some applications do not have constant
GN due to reactive elements (e.g., Model.
capacitors). More sophisticated design ROUT is larger than RO because it includes f2Ps phase
techniques, or simulations, are required in shift effects, which are especially noticeable at low gain
that case. (GN). The equations for LOUT and ROUT are:
The op amp feedback loop (RF and RG) causes its
closed-loop behavior to be different from its open-loop EQUATION 4:
behavior. Gain bandwidth product (fGBP) and open-
loop output impedance (RO) are modified by GN to give L OUT = R O ( 2 f 3dBA )
closed-loop bandwidth (f3dBA) and output impedance RO
(ZOUT). We can analyze the circuits in Figure 1, R OUT --------------------------------------------------------------------
max ( 1 f 3dBA f 2P , 1/2 )
Figure 2 and Figure 3 to give:

EQUATION 3:
f 3dBA f GBP G N

RO
Z OUT = --------------------------------------
-
1 + A OL ( s ) G N

DS00884B-page 2 2008 Microchip Technology Inc.


AN884
Uncompensated AC Behavior We can now use the equations in Appendix A: 2nd
Order System Response Model to estimate the
This section shows the effect load capacitance has on overall bandwidth (f3dB), frequency response peaking
op amp gain circuits. These results help distinguish (HPK/GN), and step response overshoot (xmax). Note
between circuit that need compensation and those that that f3dB is not the same as the op amps no load, -3dB
do not. bandwidth (f3dBA).
THEORY MCP6271 EXAMPLE
Figure 6 shows a non-inverting gain circuit with an The equations above were used to generate the curves
uncompensated capacitive load. The inverting gain in Figure 7 and Figure 8 for Microchips MCP2671 op
circuit is a simple modification of this circuit. For small amp. The parameters used are from TABLE B-1:
capacitive loads and high noise gains (typically Estimates of Typical Microchip Op Amp Parame-
CL/GN < 100 pF), this circuit works quite well. ters.

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)

FIGURE 7: Estimate of MCP6271s AC


EQUATION 5: Response with GN = +1.
R FL = R F + R G , non-inverting gain
R FL = R F , inverting gain 40
MCP6271
35 GN = +10
CL = 100 nF
Replacing the op amp in Figure 6 with the simplified op 30 CL = 10 nF
amp AC model gives an LC resonant circuit (LOUT and 25
CL = 1 nF
Gain (dB)

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

happens because the feedback loops phase margin is 10


reduced by both f2P and CL. 5

A simplified transfer function is: 0


10k 100k 1M 10M 100M
1.E+04 1.E+05 1.E+06 1.E+07 1.E+08
Frequency (Hz)
EQUATION 6:
FIGURE 8: Estimate of MCP6271s AC
V OUT s -
s + ------
2
------------- K 1 + -------------- Response with GN = +10.
V IN P QP 2
P The peaking (HPK/GN) should be near 0 dB for the best
Where: overall performance. Keeping the peaking below 3 dB
GN = 1 + RF RG usually gives enough design margin for changes in op
amp, resistor, and capacitor parameters over
K = GN , non-inverting
temperature and process. However, the performance is
K = 1 GN , inverting degraded.
P = 2 f P = 1 L OUT C L
Q P = ( R OUT R FL ) C L L OUT

2008 Microchip Technology Inc. DS00884B-page 3


AN884
For this example, our formulas give the estimated The transfer function now includes RISO:
results shown in Table 1. As CL increases, and gain
decreases, there is more peaking. EQUATION 7:
V OUT s -
s + ------
2
TABLE 1: RESPONSE ESTIMATES ------------- K 1 + --------------
V IN P QP 2
Circuit Response P

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

FIGURE 9: Compensated Capacitive


Load.

DS00884B-page 4 2008 Microchip Technology Inc.


AN884
MCP6271 EXAMPLE TABLE 2: RESPONSE ESTIMATES
These equations were used to compensate the (NOTE 1)
MCP6271 circuit in Figure 9. The results are shown in Circuit Response
Figure 10 and Figure 11 (compare to Figure 7 and
Figure 8). GN CL RISO fP QP f3dB xmax
(V/V) (F) () (Hz) () (Hz) (%)
1.0 10p 0 9.3M 0.23 2.3M 0
20
MCP6271 100p 187 2.4M 0.71 2.4M 4
GN = +1 CL = 10 nF
15 CL = 1 nF
RISO = 76.8:
RISO = 232:
1n 232 0.74M 0.71 0.74M 4
10
CL = 100 pF 10n 76.8 0.27M 0.71 0.27M 4
5
Gain (dB)

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).

2008 Microchip Technology Inc. DS00884B-page 5


AN884
Shunt Resistor Compensation To keep the design simple, calculate CSH so that it has
minimal interaction with the resonant circuit:
A shunt resistor (RSH) is placed on the output to reduce
resonant peaking. A series capacitor (CSH) can be
EQUATION 11:
included to prevent RSH from drawing extra DC current,
which reduces DC gain accuracy. The cost of this C SH = open, R SH = open
implementation is one resistor and (usually) one 10
C SH ----------------- , R SH <
capacitor. RSH and CSH together can be considered an P R SH
R-C snubber circuit.

THEORY MCP6271 EXAMPLE


Figure 9 shows the shunt resistor RSH loading the These equations were used to compensate the
resonant circuit at the op amps output, reducing MCP6271 circuits in Figure 12. The results are shown
frequency response peaking. CSH blocks DC, which in Figure 14 and Figure 15 (compare to Figure 7 and
overcomes this approachs limitations. The inverting Figure 8); CSH is not shown for convenience.
gain circuit is very similar.
20
MCP6271
GN = +1 CL = 10 nF
MCP6XXX 15
RSH = 42.2: CL = 1 nF
VIN 10 RSH = 174:
VOUT CL = 100 pF
5

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

DS00884B-page 6 2008 Microchip Technology Inc.


AN884
Our formulas give the estimated results in Table 3; they DRIVING A/D CONVERTERS
include CSH values at each design point. As can be
seen, RSH has limited the gain peaking. These results Microchips SAR and Delta-Sigma A/D converters
are much better than before (see Table 1). (ADCs) use sampling capacitors at their inputs. Near
DC, these switched capacitors interact with other
TABLE 3: RESPONSE internal capacitors as if they were large resistors. At
ESTIMATES (NOTE 1) high frequencies, their behavior is more complicated.
Circuit Response The ADCs input impedance, as seen by other
GN CL RSH CSH fP QP f3dB xmax components in a circuit, is non-linear; it has Fourier
(V/V) (F) () (F) (Hz) () (Hz) (%) components to very high frequencies.
1.0 10p open open 9.3M 0.23 2.3M 0 This section shows different ways to analyze this
100p 12.7k 47p 2.9M 0.71 2.9M 4
phenomenon. It also gives simple design fixes.
1n 174 10n 0.93M 0.71 0.93M 4
Incorrect DC Analysis
10n 42.2 120n 0.29M 0.71 0.29M 4
10.0 100p open open 930k 0.22 211k 0 An A/D converter input is usually described (modeled)
1n open open 294k 0.69 285k 4 as an input resistance. Unlike resistors, switched
capacitors do not react to low frequency (i.e., DC)
10n 182 100n 93k 0.71 93k 4
impedances; they react to high frequency impedances
100n 43.2 1.2 29k 0.71 29k 4 seen at the input.
Note 1: HPK/K = 0 dB for all of these compensated
examples. Note: Switched capacitors do not present a DC
resistance to the circuit driving them.
The RSH and CSH values for the MCP6271, estimated
by Equation 10, are shown in Figure 16. It shows An op amp that drives an ADC with a sampling
normalized load capacitance (CL/GN) and normalized capacitor input may not behave as expected. The op
shunt capacitance (CSN/GN) for convenience. amps low frequency behavior does not determine
circuit behavior; not even for DC applications.

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 (:)

GN = +1 shown here. A MCP6031 op amp, at unity gain, drives


1k
1,000
GN t +2
100n
1.E-07 the MCP3421 Delta-Sigma ADC; see Figure 17. The
MCP3421 has a typical data rate between 3.75 SPS
100
100 10n
1.E-08 (18 bits) and 240 SPS (12 bits); it appears to operate at
DC. For this reason, the MCP6031 seems like a good
CSH/GN:
10
10
GN = +1
1n
1.E-09 choice as a driver; it has low quiescent current
GN t +2 (IQ = 0.9 A), low offset voltage (VOS 150 V), and
11 100p
1.E-10 low DC output resistance (see Table B-1):
10p 100p 1n 10n 100n
1.E-11 1.E-10 1.E-09 1.E-08 1.E-07
Normalized Load Capacitance; C L/GN (F)
EQUATION 12:
FIGURE 16: Estimated RSH for the
MCP6271. R ODC = G N ( R O A OL ) = 0.13

MCP6031 ZIND
2.25 M MCP3421
VIN

RODC
0.13

FIGURE 17: Driving the MCP3421;


Incorrect Model of Interaction.
It would appear that the gain error caused by the
interaction between RODC and ZIND is about -0.06 ppm.
Reality is very different from this simple model.

2008 Microchip Technology Inc. DS00884B-page 7


AN884
AC Analysis
MCP606 ZIND
The simplest useable model for the interaction between MCP3421
VIN 2.25 M
the op amp and ADC uses the op amps gain and
closed-loop output impedance (at the ADCs sampling
rate), and the ADCs equivalent input resistance. We
ZOUT
will ignore other harmonics to simplify the analysis.
(217) (87.7)
FIRST EXAMPLE
FIGURE 19: Driving the MCP3421; using
The MCP3421s input sampling capacitor switches at a a faster op amp.
much higher rate than the data rate (by the over-
sampling ratio). This sampling rate (fSMP) is about An AC analysis of this circuit is quick and easy to do. At
16 kSPS when in the 18-bit mode. This is higher than the MCP3421 sample rate (fSMP) of 16 kSPS, the
the MCP6031s bandwidth (10 kHz). For this particular MCP606s output impedance is approximately:
circuit, we can use the MCP6031s open-loop output
resistance (RO) to estimate the DC gain accuracy; ZO EQUATION 13:
is constant at fSMP and above. Because ZO is constant, Z OUT = R OUT ( j2 f SMP L OUT )
there is no need for more sophisticated analyses.
Z OUT = 1 ------------------------
Figure 18 shows this model of how the op amp and 1 1
- + --------------------
ADC interact. ( 5.46 k ) j ( 217 )
Z OUT = ( 217 ) 87.7
MCP6031 ZIND
2.25 M MCP3421 The gain error can be roughly approximated by a ratio
VIN
of complex impedances. The fact that they are almost
90 out of phase greatly reduces the error:
ZOUT = RO
72.8 k
f fSMP EQUATION 14:

FIGURE 18: Driving the MCP3421;


Z IND
-------------------------------- ( 2.25 M )
- = ----------------------------------------------------------------------------------
-
Z IND + Z OUT ( 2.25 M ) + ( 8.7 ) + j ( 217 )
Improved Model of Interaction.
Z IND
Thus, the DC gain error is about -3%. This size of error - = ( 1 3.9 ppm ) 0.0055
--------------------------------
Z IND + Z OUT
is unacceptable; it is about 900 times larger than the
MCP3421s maximum specified INL. Bench
measurements (-5%) are close to this result. Both the DC gain error and the phase shift (time delay)
are negligible. The cost for these improvements is
SECOND EXAMPLE FASTER OP AMP using an op amp with a VOS of 250 V (was 150 V),
A faster op amp is better in two ways. The equivalent and an IQ of 18.7 A (from 0.9 A).
output inductance is smaller because the open-loop
output resistance is smaller and the gain bandwidth Step Response Analysis
product is higher. If it is fast enough to be inductive at
A step response analysis of this circuit is more accurate
the ADCs sampling rate, its contribution to the error
and informative than an AC analysis. To see how this
budget is greatly reduced.
circuit behaves when it switches, place a step function
Note: A faster op amp can avoid many of the at the input and see how quickly the output settles to
problems listed earlier. the desired accuracy. The settling time must be short
enough to allow the ADC to settle accurately.
Replacing the op amp with a MCP606 gives (see
Figure 19 and Table B-1):
RO = 4.20 k
fGBP = 155 kHz
f2P = 673 kHz
GN = K = 1 V/V
f3dBA 155 kHz
LOUT 4.31 mH
ROUT 5.46 k

DS00884B-page 8 2008 Microchip Technology Inc.


AN884
FIRST EXAMPLE SECOND EXAMPLE
Figure 20 models this circuit in the time domain for the Figure 21 models this circuit in the time domain for the
MCP6031 op amp. MCP606 Op Amp.

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.

2008 Microchip Technology Inc. DS00884B-page 9


AN884
Improved Design Using R-C Snubber
MCP6031 ZIND
A RSH and CSH snubber reduces the output impedance
VIN 1.00 k 2.25 M MCP3421
of an op amp at higher frequencies, which reduces the
resistor gain error at the ADCs sampling rate. The
RSH
snubber can be designed to maintain feedback stability
and greatly reduce output resistance at the ADCs 1.00 k RBAL
sampling rate (and its harmonics). The cost for this CSH
1.00 k
improvement is low. Best of all, we avoided using an op 2.2 F
amp with higher supply current.
FIGURE 23: Driving the MCP3421; using
EXAMPLE an R-C Snubber.
The RISO and CL values for the MCP6031, estimated We now investigate the step response settling time with
by Equation 8, are shown in Figure 22. It shows a load capacitance of 28 pF; CSH is a short circuit (see
normalized load capacitance (CL/GN) for convenience. Equation 9, Equation A-5, and Equation A-16):
CL = 2.2 F
100,000
100k
MCP6031 fP 99.6 Hz
QP 1.36
Estimated RISO (:)

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.

DS00884B-page 10 2008 Microchip Technology Inc.


AN884
NON-LINEAR RESPONSE One solution is to low-pass filter the signal before it
reaches CL; see Figure 25. The filter (LPF) bandwidth
Capacitive loads can cause a non-linear response (BW) at the input needs to satisfy:
when they demand more current than the op amps
output can produce. This non-linearity imposes a limit EQUATION 18:
on the output voltage slew rate (not the op amps
internal slew rate specified in its data sheet). min ( SRCL, SR )
BW < --------------------------------------
2 VM
Physical Cause Of Slew Rate Limitation
The op amp produces an output current (IOUT) that
goes into a capacitive load (CL); see Figure 24. Since MCP6XXX
IOUT
IOUT cannot exceed the op amps output short circuit VIN LPF
current (ISC), and the voltage on CL (VOUT) changes at VOUT
a rate proportional to IOUT, VOUT is slew rate limited CL
(SRCL). SRCL is physically independent of the op amps
internally set slew rate (SR); the slower of the two will RG RF
dominate circuit behavior.
FIGURE 25: Low-pass Filter that Pre-
vents SRCL Limitations.
MCP6XXX
IOUT Another solution is to add RISO as shown in Figure 26.
VIN
VOUT This both limits IOUT and adds an output low-pass filter.
CL The maximum current occurs when VOUT(t) = 0; at this
point the voltage across RISO is VM. Thus, we need:
RG RF
EQUATION 19:
FIGURE 24: IOUT, CL, and VOUT.
R ISO > V M I SC
We can derive SRCL (units of V/s) as follows:

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

FIGURE 26: Isolation Resistor (RISO) that


Slew Rate and Sine Waves Limits Output Current (IOUT) and Bandwidth
Sine waves with edge rates faster than SRCL or SR (BW).
cause signal distortion. The maximum edge rate is: This choice will reduce the signal bandwidth at VOUT to:

EQUATION 16: EQUATION 20:


dV OUT ( t )
max ------------------------ = 2 fV M 1 I SC SR CL
dt BW = -------------------------- < --------------------- = -------------
-
Where: 2 R ISO C L 2 V M C L 2 VM

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.

2008 Microchip Technology Inc. DS00884B-page 11


AN884
EXAMPLE EXAMPLE
Lets look at the MCP6271 with G = +1 V/V and Lets use the MCP6271 with G = +1 V/V and
CL = 1.0 F. In Table B-1 we find SR = 0.9 V/s and CL = 100 nF. In Table B-1 we find SR = 0.9 V/s and
ISC = 25 mA, giving: ISC = 25 mA. We can then calculate:
SRCL = 0.028 V/s SRCL = 0.25 V/s
This is much lower than SR. With a maximum peak which is significantly slower than SR. With a maximum
voltage of 2.5VPK, we need an input signal with a voltage swing of 5.0VPP, we need an input signal with a
bandwidth less than 1.8 kHz. rise time > 16 s.
If we use RISO to limit the output current, then it needs Filtering the input square wave at the input of the op
to be > 100 . Setting RISO = 130 gives: amp would require a bandwidth less than 22 kHz.
QP = 0.046 If we use RISO to limit the output current (with a
maximum voltage swing of 5.0VPP and an input rise
f3dB = 1.2 kHz
time of 10 s), then we need RISO > 75. Setting
If we used the RISO value for response peaking RISO = 100 gives:
elimination (7.6 for QP = 1/2), we would achieve a
wider bandwidth (29 kHz), but would need to keep QP = 0.18
VM < 0.15 VPK to avoid output current limiting and f3dB = 16 kHz
severe signal distortion. Note that if we used the RISO value for response
peaking elimination (24.0 for QP = 1/2), we would
Slew Rate and Square Waves achieve a wider small signal bandwidth (92 kHz), but
would need to keep VPP < 3.7VPP to avoid output
Square waves with fast edges can also cause
current limiting and reduced rise and fall times.
problems with capacitive loads. The maximum edge
rate of a square wave with a rise time (10% to 90%) of
tr, and a peak-to-peak voltage of VPP, is approximately: POWER DISSIPATION
Reactive elements (ideal capacitors and inductors) do
EQUATION 21:
not dissipate power. An op amp driving a reactive load,
dV OUT ( t ) 0.8V PP however, does dissipate power; load current in the
max ------------------------ -----------------
dt tr output stage is rectified by the output transistors.
Figure 27 shows the circuit under discussion. There will
DESIGN be no DC load current because CL blocks DC. At low
frequencies, IQ (op amps quiescent current) and CL
To avoid slew rate limited rise times, we need square
will dominate. At high frequencies, RISO will dominate.
waves with lower edge rates (lower VPP and higher tr):

EQUATION 22: MCP6XXX


RISO IOUT
0.8V PP VIN
----------------- < min ( SR CL, SR ) VOUT
tr CL

Low-pass filtering the square waves at the input, with a RG RF


BW = 0.35/tr (see Figure 25), limits the edge rates.
Using slower logic gates also reduces tr. FIGURE 27: IOUT, CL, and VOUT.
The edge rate can be limited at the output by using At low (sine wave) frequencies, the average op amp
RISO (see Figure 26). The maximum IOUT occurs when power dissipated is:
the ideal output just reaches the new level and VOUT(t)
is still slew rate limited. To keep IOUT < ISC, we need: EQUATION 24:
P OA ( V DD V SS ) ( I Q + 2V M fC L )
EQUATION 23:
Where:
V PP ( t r 0.8 )min ( SR CL, SR )
R ISO > -------------------------------------------------------------------------- V OUT ( t ) = V M sin ( 2 ft )
I SC
1
f -------------------------
-
2 R ISO C L
Using RISO will both slow the edges down and change
the shape of the transitions. The power dissipation increases with frequency
because CL dominates the load.

DS00884B-page 12 2008 Microchip Technology Inc.


AN884
At high frequencies, the average power dissipated by Driving Large Capacitors Quickly
the op amp becomes constant because RISO
dominates: When capacitive loads are too large to be driven
quickly by our op amps, it may pay to look at
Microchips line of Power MOSFET Drivers
EQUATION 25:
(www.microchip.com). They have very large
VM VM
2 bandwidths, rise times, and slew rates; they are
P OA ( V DD V SS ) I Q + --------------
- ----------- designed for capacitive loads.
R ISO R ISO
Where:
1
Design Verification
f -------------------------
-
2 R ISO C L We recommend that you always verify the performance
of your circuit design with SPICE simulations, and by
breadboarding it on the bench. Use standard design
In the frequency range where neither CL or RISO
practices to guard band against unusual events and
dominates the load (f 1/(2RISOCL)), estimate POA
conditions.
as the minimum value from the two formulas above.
POA is actually a little lower than this estimate. SPICE macro models of Microchips op amps are
available on our web site (www.microchip.com) for your
convenience.
MISCELLANEOUS TOPICS

Simplifications Made in This Application


Note
This application notes scope has been limited to keep
the results simple to understand and apply. These
simplifications include:
The models (and equations) are simplified
- Actual circuits have higher order system
responses (e.g., 4th-order); possibly including
transmission zeros
- Component variations with process,
temperature, operating voltages, and time
The data in Table B-1 is for guidance only
Only the most common issues and solutions are
included

Driving Multiple Loads


Sometimes op amps are used to drive multiple loads.
There can be significant parasitic capacitance at each
load, including:
PCB trace capacitance
Wiring or coax capacitance
Capacitors for RFI (EMC) suppression
Loads input capacitance
These loads can have a significant affect, since there
are multiple load points. It may pay to add RISO on the
PCB (at the op amps output), even when it does not
appear to be needed. RISO can be populated with a
very low resistance until the design is tried out in real
world conditions.

2008 Microchip Technology Inc. DS00884B-page 13


AN884
SUMMARY REFERENCES
When op amps drive large capacitive loads, they tend
to show peaking or oscillation, reduced bandwidth, Op Amps
lower output slew rate, and higher power consumption. [1] Bonnie Baker, AN723 - Operational Amplifier AC
Switched capacitors interact with the op amps output Specifications and Applications, Microchip Technology
impedance at the switching frequency, causing DC Inc., DS00723, 2000.
gain errors and other artifacts. These problems exist
[2] Adel Sedra and Kenneth Smith, Microelectronic
even in DC applications. The output short circuit
Circuits, 3rd ed., Saunders College Publishing, 1991,
current causes a limited rate of change in the output
Chapter 8.
voltage.
[3] Paul R. Gray and Robert G. Meyer, Analysis and
Adding one resistor (and some times one capacitor) to
Design of Analog Integrated Circuits, 2nd ed., John
the circuit can greatly improve the performance. Two
Wiley & Sons, 1984.
different implementations are shown with different
trade-offs. Simple formulas are given that allow a circuit
designer to quickly evaluate the impact of capacitive Second Order System Response
loads. [4] Charles Phillips and H. Troy Nagle, Digital Control
Simulation tools and evaluation on the bench were also System Analysis and Design, 2nd ed., Prentice Hall,
covered. Alternate parts for designs with stringent 1990, pp 192-3.
requirements were mentioned. [5] Benjamin Kuo, Automatic Control Systems,
5th ed., Prentice Hall, 1987.

DS00884B-page 14 2008 Microchip Technology Inc.


AN884
APPENDIX A: 2ND ORDER SYSTEM It is sometimes useful to reverse this process:
RESPONSE MODEL
EQUATION A-4:
In this application note, we have seen second order
transfer functions with no zeros. This type of transfer P = P1 P2
function models the op amp circuits in this application P1 P2
note reasonably well. Q P = 1 --------- + ---------
P2 P1
This appendix will show equivalent forms of the transfer
function that are useful. It also shows some simple
formulas for sine wave and step responses which help
evaluate the performance of the circuits in this
A.2 Sine Wave Response
application note [ 2, 4, 5]. Suggestions on extracting Figure A-1 shows a typical frequency (sine wave)
these parameters from measurements is also given. response.

A.1 Equivalent Transfer Functions


|VOUT/VIN|
The form of the transfer function used in the body of this (log scale)
application note is:
HPK
EQUATION A-1:
K
V OUT s s -
2
K / 2
f
------------- K 1 + -------------- + ------ (log scale)
V IN P QP 2
P
fPK f3dB
In many engineering fields, including control theory, FIGURE A-1: Frequency Response.
this transfer function would also be written with the
damping coefficient (). This form is useful because These exact equations for f3dB are set up to minimize
divides the response cases into under-damped numerical truncation or rounding errors:
(0 < <1), critically damped ( = 1), and over-damped
( > 1). See reference [ 5] for more information. EQUATION A-5:
fP QP 1
EQUATION A-2: f 3dB = ----------------------------------------------------------------------- , Q P -------
1--- Q 2 + 1--- Q 2 2 + Q 4 2
V OUT s - s2 2 P
------------- K 1 + 2 ------ + ------- 2 P P
V IN P 2
1-+ 1
P 2
Where: 1
f 3dB = f P 1 --------- 1 ---------2- + 1 , Q P > -------
1 2Q P
2 2Q P 2
= damping coefficient = ----------
2Q P

When QP 1/2, it is useful to factor the denominator 10


into two real poles:

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

2008 Microchip Technology Inc. DS00884B-page 15


AN884
The peak gain (HPK) occurs at the frequency fPK. Gain A.3 Square Wave Response
peaking (HPK/K) is a normalized parameter:
Figure A-5 shows a typical step (square wave)
response; VOUT is normalized by the gain K. The
EQUATION A-6:
parameters shown are: overshoot (xmax), settling
f PK = 0 , QP 1 2 accuracy (xset), 10% time (t10), delay (50%) time (td),
90% time (t90), time to peak overshoot (tmax), and
1-, settling time (tset).
f PK = f P 1 --------- QP > 1 2
2
2Q P
VOUT/K
EQUATION A-7:
1 + xmax
1 + xset
H PK 1
---------- = 1 , QP 1 2
K 0.9 1 xset
H PK 1 ,
---------- = Q P 1 ---------- QP > 1 2
K 2
4Q P 0.5

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

0.5 The unit step response formulas for under-damped,


0.4 critically damped, and over-damped responses are:
0.3
0.2 EQUATION A-8:
0.1
0.0 V OUT
0.1 1 10 100
------------- = [1 A( t)] u( t)
K
QP
Where:
FIGURE A-3: Normalized Peak Frequency
QP < 1 2
vs. QP.
V IN ( t ) = u ( t )

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.

DS00884B-page 16 2008 Microchip Technology Inc.


AN884
EQUATION A-10:
0.36
V OUT 0.35
------------- = [1 C(t )] u(t)
K 0.34
0.33
Where: 0.32
1
Q P > --- 0.31

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

FIGURE A-8: Normalized Peak Overshoot


EQUATION A-12: Time vs. QP.
t r = t 90 t 10
2 3
0.350 0.013Q P + 0.084Q P 0.165Q P 1
t r ------------------------------------------------------------------------------------------------, Q P ---
f 3dB 2
0.1177 0.0409- + 0.00246
0.2503 + ---------------- --------------- -------------------
Q P QP
2
QP
3
1
t r -----------------------------------------------------------------------------------------------, Q P > ---
f 3dB 2

2008 Microchip Technology Inc. DS00884B-page 17


AN884
Given a desired settling accuracy (xset), it is possible to
estimate the corresponding settling time (tset). When Note: Figure A-9 shows tset f3dB when QP 1/2,
QP 1/2, the following approximations are useful: and shows tenv f3dB when QP > 1/2. tset
may actually be smaller than tenv in the
latter region.
EQUATION A-15:
0.367 0.013Q P + 0.270Q P 0.232Q P
2 3 A.4 Extracting a 2nd Order Model From
t set ------------------------------------------------------------------------------------------------ , Measurements
f 3dB
x set = 10% When frequency response measurements contain little
0.738 0.221Q P +
2
1.764Q P
3
3.076Q P noise and the response is very close to 2nd order, it is
t set ------------------------------------------------------------------------------------------------ , simple to extract K, fP, and QP.
f 3dB
Extract from VOUT/VIN (in units of )
x set = 1%
2 3 - fP where the phase is -90
1.113 0.530Q P + 3.884Q P 6.900Q P
t set ------------------------------------------------------------------------------------------------ , Extract from |VOUT/VIN| (in units of V/V)
f 3dB
- Gain K at low frequencies (f << f3dB)
x set = 0.1% - Gain KQP at the resonant frequency (f = fP)
2 3
1.492 0.894Q P + 6.319Q P 11.215Q P When there is significant noise, or the response is not
t set --------------------------------------------------------------------------------------------------- ,
f 3dB approximately quadratic, more sophisticated methods
x set = 0.01% may are needed to fit the data over many frequency
points. A least means square fit will be good enough in
Where: most cases. Emphasize the fit at frequencies near to
1
Q P --- the -3 dB bandwidth; this region has the most influence
2 on stability and signal response shape.

When QP > 1/2, it is hard to calculate the settling time


(tset) exactly; the ringing creates discrete jumps in tset
as xset is varied. Instead, we estimate the time until the
ringings envelop (tenv) reaches the accuracy xset:

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

FIGURE A-9: Normalized Settling Time


vs. QP.

DS00884B-page 18 2008 Microchip Technology Inc.


AN884
APPENDIX B: MICROCHIP OP B.2 Op Amp Performance
AMPS The performance parameters of some Microchip op
amps shown in Table B-1 were extracted from the
B.1 Estimating f2P parts data sheets. These data sheets contain the
officially supported specifications, and can be found on
To estimate f2P for the op amp model, find the our web site (www.microchip.com).
frequency in the data sheets Open-Loop Gain plot
where the phase is -135 (f-135). Adjust f-135 for the
typical capacitive load (CLtyp) used in that plot (usually
60 pF in our data sheets):

EQUATION B-1:
CLtyp atan ( 2 f 135 R O C Ltyp )
f 2P f 135 tan ( 45 min ( CLtyp , 40 ) )

TABLE B-1: ESTIMATES OF TYPICAL MICROCHIP OP AMP PARAMETERS


GN_MIN fGBP SR f-135 ISC at min VDD ISC at max VDD RO CLtyp f2P
Part (V/V) (Hz) (V/s) (Hz) (mA) (mA) () () (Hz)
Specified Typ Typ Typ Typ Typ Meas Typ Typ
MCP6041 1 14k 0.003 23k 2 20 101k 41 263k
MCP6141 10 100k 0.024 15k 2 20 108k 31 62.1k
MCP6031 1 10k 0.004 23k 5 23 72.8k 32 102k
TC1034 1 60k 0.035 510k 8 8 15.8k 72 5.83M
(Note 1)
MCP606 1 155k 0.080 270k 7 17 4.20k 23 673k
MCP616 1 190k 0.080 300k 7 17 5.05k 30 1.10M
MCP6231 1 300k 0.15 800k 6 23 2.62k 38 6.83M
MCP6241 1 550k 0.30 1.20M 6 23 1.69k 37 8.99M
MCP6001 1 1.00M 0.60 1.00G 6 23 780 90 11.4G
MCP6271 1 2.00M 0.90 5.00M 25 25 368 35 27.6M
MCP601 1 2.80M 2.3 3.10M 22 12 350 22 7.39M
MCP6281 1 5.00M 2.5 11.0M 25 25 173 36 66.9M
MCP6291 1 10.0M 7.0 28.0M 25 25 108 49 320M
MCP6021 1 10.0M 7.0 20.0M 30 22 108 39 195M
Note 1: The TC1034 parameters also apply to the TC1026, TC1029, TC1030, and TC1035.

B.3 MCP6V01/2/3 and MCP6V06/7/8


Op Amps
These auto-zeroed op amps have an output
impedance that is more complex than the simple model
shown in Figure 5. To stabilize these op amps, see the
information in their data sheets.

2008 Microchip Technology Inc. DS00884B-page 19


AN884
APPENDIX C: MCP3421 SAMPLING
RATES
The current MCP3421 data sheet (as of November
2008) does not directly include information on its
sampling rate. The data rate is related to the sampling
rate; it includes overhead for communication to the
microcontroller.

TABLE C-1: MCP3421 SAMPLING RATES


Sampling Rate
Precision Data Rate
(SPS)
(bit) (SPS)
Typ
Selected Typ
(Note 1)
12 240 256
14 60 1024
16 15 4096
18 3.75 16386
Note 1: The data sheet is the official source of
specifications; this table is for information only.

DS00884B-page 20 2008 Microchip Technology Inc.


Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.

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.

Information contained in this publication regarding device Trademarks


applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron,
and may be superseded by updates. It is your responsibility to
dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro,
ensure that your application meets with your specifications.
PICSTART, rfPIC, SmartShunt and UNI/O are registered
MICROCHIP MAKES NO REPRESENTATIONS OR trademarks of Microchip Technology Incorporated in the
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
U.S.A. and other countries.
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION, FilterLab, Linear Active Thermistor, MXDEV, MXLAB,
INCLUDING BUT NOT LIMITED TO ITS CONDITION, SEEVAL, SmartSensor and The Embedded Control Solutions
QUALITY, PERFORMANCE, MERCHANTABILITY OR Company are registered trademarks of Microchip Technology
FITNESS FOR PURPOSE. Microchip disclaims all liability Incorporated in the U.S.A.
arising from this information and its use. Use of Microchip Analog-for-the-Digital Age, Application Maestro, CodeGuard,
devices in life support and/or safety applications is entirely at dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
the buyers risk, and the buyer agrees to defend, indemnify and ECONOMONITOR, FanSense, In-Circuit Serial
hold harmless Microchip from any and all damages, claims, Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB
suits, or expenses resulting from such use. No licenses are Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM,
conveyed, implicitly or otherwise, under any Microchip PICDEM.net, PICtail, PIC32 logo, PowerCal, PowerInfo,
intellectual property rights. PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total
Endurance, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
2008, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.

Microchip received ISO/TS-16949:2002 certification for its worldwide


headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Companys quality system processes and procedures
are for its PIC MCUs and dsPIC DSCs, KEELOQ code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchips quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.

2008 Microchip Technology Inc. DS00884B-page 21


WORLDWIDE SALES AND SERVICE
AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE
Corporate Office Asia Pacific Office India - Bangalore Austria - Wels
2355 West Chandler Blvd. Suites 3707-14, 37th Floor Tel: 91-80-4182-8400 Tel: 43-7242-2244-39
Chandler, AZ 85224-6199 Tower 6, The Gateway Fax: 91-80-4182-8422 Fax: 43-7242-2244-393
Tel: 480-792-7200 Harbour City, Kowloon India - New Delhi Denmark - Copenhagen
Fax: 480-792-7277 Hong Kong Tel: 45-4450-2828
Tel: 91-11-4160-8631
Technical Support: Tel: 852-2401-1200 Fax: 45-4485-2829
Fax: 91-11-4160-8632
http://support.microchip.com
Fax: 852-2401-3431 France - Paris
Web Address: India - Pune
Australia - Sydney Tel: 91-20-2566-1512 Tel: 33-1-69-53-63-20
www.microchip.com
Tel: 61-2-9868-6733 Fax: 91-20-2566-1513 Fax: 33-1-69-30-90-79
Atlanta Fax: 61-2-9868-6755
Duluth, GA Japan - Yokohama Germany - Munich
China - Beijing Tel: 81-45-471- 6166 Tel: 49-89-627-144-0
Tel: 678-957-9614
Tel: 86-10-8528-2100 Fax: 49-89-627-144-44
Fax: 678-957-1455 Fax: 81-45-471-6122
Fax: 86-10-8528-2104 Italy - Milan
Boston Korea - Daegu
China - Chengdu Tel: 39-0331-742611
Westborough, MA Tel: 82-53-744-4301
Tel: 86-28-8665-5511 Fax: 82-53-744-4302 Fax: 39-0331-466781
Tel: 774-760-0087
Fax: 86-28-8665-7889 Netherlands - Drunen
Fax: 774-760-0088 Korea - Seoul
China - Hong Kong SAR Tel: 82-2-554-7200 Tel: 31-416-690399
Chicago
Itasca, IL Tel: 852-2401-1200 Fax: 82-2-558-5932 or Fax: 31-416-690340
Tel: 630-285-0071 Fax: 852-2401-3431 82-2-558-5934 Spain - Madrid
Fax: 630-285-0075 China - Nanjing Tel: 34-91-708-08-90
Malaysia - Kuala Lumpur
Tel: 86-25-8473-2460 Fax: 34-91-708-08-91
Dallas Tel: 60-3-6201-9857
Addison, TX Fax: 86-25-8473-2470 Fax: 60-3-6201-9859 UK - Wokingham
Tel: 972-818-7423 China - Qingdao Tel: 44-118-921-5869
Malaysia - Penang
Fax: 972-818-2924 Tel: 86-532-8502-7355 Fax: 44-118-921-5820
Tel: 60-4-227-8870
Detroit Fax: 86-532-8502-7205 Fax: 60-4-227-4068
Farmington Hills, MI China - Shanghai Philippines - Manila
Tel: 248-538-2250 Tel: 86-21-5407-5533 Tel: 63-2-634-9065
Fax: 248-538-2260 Fax: 86-21-5407-5066 Fax: 63-2-634-9069
Kokomo China - Shenyang Singapore
Kokomo, IN Tel: 86-24-2334-2829 Tel: 65-6334-8870
Tel: 765-864-8360 Fax: 86-24-2334-2393 Fax: 65-6334-8850
Fax: 765-864-8387
China - Shenzhen Taiwan - Hsin Chu
Los Angeles Tel: 86-755-8203-2660 Tel: 886-3-572-9526
Mission Viejo, CA Fax: 86-755-8203-1760 Fax: 886-3-572-6459
Tel: 949-462-9523
China - Wuhan Taiwan - Kaohsiung
Fax: 949-462-9608
Tel: 86-27-5980-5300 Tel: 886-7-536-4818
Santa Clara Fax: 86-27-5980-5118 Fax: 886-7-536-4803
Santa Clara, CA
China - Xiamen Taiwan - Taipei
Tel: 408-961-6444
Tel: 86-592-2388138 Tel: 886-2-2500-6610
Fax: 408-961-6445
Fax: 86-592-2388130 Fax: 886-2-2508-0102
Toronto
China - Xian Thailand - Bangkok
Mississauga, Ontario,
Tel: 86-29-8833-7252 Tel: 66-2-694-1351
Canada
Tel: 905-673-0699 Fax: 86-29-8833-7256 Fax: 66-2-694-1350
Fax: 905-673-6509 China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049

01/02/08

DS00884B-page 22 2008 Microchip Technology Inc.

You might also like