Layout Tips For 12-Bit AD Converter Application PDF
Layout Tips For 12-Bit AD Converter Application PDF
Layout Tips For 12-Bit AD Converter Application PDF
RG
VDD
R2
R1
R1
AD 2.5V
680 R2
1
/2 1 8
MCP602
7
1 6
+ /2 2
IA MCP602 MCP3201
IAOUT 12-Bit ADC 5
+
IA+ 3
Pressure Sensor 4 PICmicro
R 1 2R1
IAO U T = ( IA+ IA ) 1 + ------ + --------- + 2.5V
LCD Display
R2 RG
FIGURE 1: This is a pressure sensor application where the differential signal from the sensor is gained by an
instrumentation amplifier and digitized with a 12-bit A/D Converter, MCP3201. The results of the conversion is displayed
on the LCD display.
Digital
Buffer
referenced to ground. For instance, in the circuit shown
A/D
in Figure 1, the A/D Converters inverting input pin
(MCP3201) is connected to ground. Additionally, the
negative side of the pressure sensor is also connected
Analog to ground.
low
A layout for the circuit in Figure 1 is shown in Figure 3.
FIGURE 2: The placement of an active component on This layout implementation does not have ground or
a PCB is critical in precision 12-bit+ circuits. power planes on the board.
Top Layer Bottom Layer
+5V Connect
Ground Connect
12-Bit 12-Bit
A/D Converter A/D Converter
2.5V 2.5V
Reference Reference
FIGURE 3: Layout of the top and bottom layers of the circuit in Figure 1. Note that this layout does not have a ground or
power plane.
1200
Number of Occurrences
1000 12-Bit
A/D Converter
800
200
2.5V
0 Reference
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
Bottom Layer
Output Code of 12-bit A/D Converter
Ground Connect
FIGURE 4: This is a histogram of 4096 samples from
the output of the A/D Converter from a PCB that does
not have a ground or power plane as shown in the PCB
layout in Figure 3. The by-pass capacitors are installed.
When determining the grounding strategy of a board,
the task at hand should actually be to determine if the
circuit can work adequately with just one ground plane
or does it need multiple planes.
Figure 5 shows the same layout shown in Figure 3,
plus a ground plane. It should be noted that the ground
plane has a few breaks due to signal traces. These
breaks should be kept to a minimum. Current return
paths should not be pinched as a consequence of
these traces restricting the easy flow of current from the
device to the power connector. The histogram for the FIGURE 5: Layout of the top and bottom layers of the
A/D Converter output is shown in Figure 6. Compared circuit in Figure 1. Note that this layout DOES have a
to Figure 4, the output codes are much tighter. The ground.
same active devices were used for both tests. The pas-
Digital Code VS. Occurrences
sive devices were different causing a slight offset differ-
1400
ence. The noise shown with the A/D Converter digital
code is assignable to the op amp noise and the 1200
Number of Occurrences
ing the digital and analog ground planes together is that 200
the analog circuitry can pick-up the noise on the supply 0
pins and couple it into the signal path. In either case,
94
95
96
97
98
99
00
01
02
03
04
05
06
07
08
24
24
24
24
24
24
25
25
25
25
25
25
25
25
25
the analog and digital grounds and power supplies Output Code of 12-bit A/D Converter
should be connected together at one or more points in
the circuit to insure that the power supply, input and out- FIGURE 6: This is a histogram of 4096 samples from
put ratings of all of the devices are not violated. the output of the A/D Converter on the PCB that has a
ground plane as shown in the PCB layout in Figure 5.
The inclusion of a power plane in a 12-bit system is not
Note that the power traces are made considerably wider
as critical as the required ground plane. Although a
than the signal traces in order to reduce power supply
power plane can solve many problems, power noise trace inductance. This circuit has all by-pass capacitors
can be reduced by making the power traces two or
installed.
three times wider than other traces on the board and by
using by-pass capacitors effectively.
1200
Number of Occurrences
L
1000
800
w
(typ 0.003mm) 600
PCB
w = thickness of PCB trace Cross-Section 400
L = length of PCB trace
d = distance between the two PCB traces 200
eo = dielectric constant of air = 8.85 X 10-12 F/m 0
er = dielectric constant of substrate coating relative to air
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
FIGURE 7: A capacitor can be constructed on a PCB Output Code of 12-bit A/D Converter
by placing two traces in close proximity. With this PCB
FIGURE 8: This a histogram of 4096 samples from the
capacitor, signals can be coupled between the traces.
output of the A/D Converter on the PCB that has a
As shown in Figure 7, the value of the capacitance ground plane as shown in the PCB layout in Figure 3.
between two traces is primarily dependent on the dis- With this circuit implementation, all by-pass capacitors
tance (d) between the traces and the distance that the have been removed.
two traces are in parallel (L). From this model, the
amount of current generated into the high impedance
trace is equal to:
I = C V/t
where
I equals the current that appears on the high
impedance trace
C equals the value of capacitance between the two
PCB traces
V equals the change in voltage of the trace that is
switching, and
t equals the amount of time that the voltage
change took to get from one level to the next.
The PICmicro family meets the specifications contained in the Microchip Data Sheet.
Microchip believes that its family of PICmicro microcontrollers is one of the most secure products 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 knowl-
edge, require using the PICmicro microcontroller in a manner outside the operating specifications contained in the data sheet.
The person doing so may be 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 product.
If you have any further questions about this matter, please contact the local sales office nearest to you.
01/18/02