DS2746應(yīng)用注意事項(xiàng)
Abstract: The DS2746 has two auxiliary inputs to allow voltage sampling of resistor divider circuits; these inputs are ideal for measuring thermistor or battery-pack identification resistors. This application note describes how to calculate the resistance (in ohms) of the unknown resistor in order to properly identify a battery pack based on an identification resistor.
Calculating Unknown Resistance
The VOUT pin drives a resistive divider formed by a known resistor and an unknown resistance that is to be measured. The device reports the unknown resistance as a ratio of the total resistance of the divider network. Making these measurements ratiometric with respect to VOUT removes reference tolerance from the error calculations.The datasheet for the DS2746 describes the format of the Auxiliary Input Registers in terms of 1 LSB = VVOUT * 1/2047. The lower 4 bits of the Auxiliary Input Registers are not defined; consequently, the register needs to be shifted 4 bits to the right. To get AUXINRatio, multiply the register by the LSB value (1/2047):
AUXINRatio is the ratio of the Auxiliary Input Resistance to the total resistance of the resistive divider (the sum of the known resistor and the Auxiliary Input Resistor):
Solving Equation 2 for AUXINResistance gives the following equation:
Generating an Example
A DS2746K Evaluation Kit Board can be used to generate an example. The DS2746K uses 10kΩ resistors as the known resistor value for both auxiliary inputs. The more precise the value of the known resistor, the more precise the measured AUXINRatio value will be. If, for example, the known resistor on a sample DS2746K board is measured to be 10,250Ω, that value, rather than the assumed 10,000Ω, should be used to calculate the unknown resistance.If the resistor is connected between Auxiliary Input 0 and ground, Auxiliary Input 0 Register reports 2840h. Accordingly, AUXINRatio is calculated (with Equation 1) to be:
Equation 3, therefore, provides the following value when solved for AUXINResistance:
評(píng)論
查看更多