存放電池電量計(jì)DS2780參數(shù)-Storing Batter
Introduction
The DS2780 standalone battery fuel gauge is simple to use and very accurate, assuming the correct parameters for the application have been stored in this device. It is very important that the correct data be stored so that the fuel gauge is optimized. The DS2780K provides an easy way to program the DS2780. The user can input characterization data of the cell and other application data in units such as mA, V, mAhrs, and mΩ, as shown in Figure 1. The DS2780K then converts that data into the correct format that actually gets stored to the device, as shown in Figure 2. Application note 3463, "Getting Started with the DS2780" describes how to select all of the parameters that are stored in the DS2780. The following text describes the calculations involved in storing the parameters to the device.Figure 1. Application units sub-tab of parameters tab.
Figure 2. Device units sub-tab of parameters tab.
Calculations
Figure 1 shows the parameters that are needed by the DS2780 to operate accurately as a fuel gauge. When the Write Copy button is clicked, the DS2780K software converts the parameters into the format that is actually stored in the device, as shown in Figure 2. Those values are then written and copied into the EEPROM Addresses 60h-7Ah.The following sections show the calculations that are required to convert the application parameters into the actual values that are stored in the device at each address. The units used in the calculations are displayed such that AccBias_μV indicates the Accumulation Bias Register is displayed in terms of μV, and AccBias_mA indicates the same value in terms of mA. The value to be programmed to each EEPROM address is shown as a hexadecimal value in the form ValueStored (EEPROM ADDRESS); each shown is a single byte. Example data in the following calculations come from the values in Figure 1 that are plugged into the equations, which supply the values in Figure 2.
評(píng)論