DS27xx Fuel Gauge Board Layout Techniques to Minimize Measurement Error
IntroductionDallas Semiconductor fuel gauges provide an extremely accurate method for measuring and accumulating current flow through an application. The measurement technique accuracy relies on properly measuring the voltage drop across an external sense resistor. As this application note describes, resistor placement and trace routing are very important to achieving accuracy goals.
Sources of Error
Figure 1. DS27xx measurement system sources of error.
Figure 1 shows possible sources of measurement error with external sense resistor fuel gauges. Other connections have been left out for simplicity. The fuel gauge accumulates current by measuring the voltage drop between the points where the sense lines, SNS and GND, contact the application current path, IHANDSET. Ideally these contact points would be directly at the sense resistor. Any trace resistance between the contact points and the sense resistor, labeled TRACES/R and TRACEG/R in the circuit, will affect the gain error of the measurements as follows:
Although trace resistance is normally relatively small even compared to the sense resistor, a typical via could have several milliohms of resistance that would create significant error. Any trace resistance outside the measurement points, labeled TRACEPACK- and TRACEBAT- in the circuit, have no affect on current measurement accuracy.
The second possible source of measurement error is caused by a voltage difference from the ground sense point described earlier and the actual GND pins of the device. This voltage drop is created by the operating current of the device, IDD27XX, flowing through any trace resistance between the GND pins and the ground sense point, labeled TRACEGND in the circuit. Since this current flow is always in the same direction it will create an offset error in the fuel gauge measurements as follows:
Measurement offset is the most significant type of error when determining fuel gauge accuracy, so limiting the amount of ground resistance in the circuit is crucial. Resistance of the sense trace, TRACESNS, is unimportant since there is no current flow through this sense path.
Figure 2. DS27xx circuit layout considerations.
Figure 2 shows a sample layout of a DS27xx fuel gauge incorporating the design methods described above. Key points of the layout labeled in Figure 2 are described as follows.
|(1)||The resistance in the trace from GND pins to the BAT- side of the sense resistor has been minimized by keeping the trace short and eliminating all vias.|
|(2)||Both sense lines contact the main current path directly at the sense resistor. There is very little board trace shared with the main current path and no shared vias.|
|(3)||Resistance of the SNS pin connection is unimportant. The trace can be long and can contain vias without affecting measurement accuracy.|
|(4)||Vias and any other resistances in the main current path are external to where the sense points contact the sense resistor and therefore do no affect measurement accuracy.|