| Electronic Components Datasheet Search |
|
AN4324 Datasheet(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4324 Datasheet(HTML) 23 Page - STMicroelectronics |
|
23 / 31 page ![]() AN4324 Software DocID024963 Rev 2.0 23/31 3. From this point, the battery model characteristics and application threshold are initialized and battery tracking can start. To define the battery starting point, write back the OCV value into the REG_OCV register (16 bits) using the variable content. From this operation, the first battery SOC is available in the REG_SOC register 100 ms later. At this point, the provided SOC is based on the fine-tuned OCV curve defined in Table 3 plus the initial OCV curve described in Table 2. STC3115 restoration steps In this case, some registers can be initialized with the recorded RAM data using the improved battery model from the last running period. Other registers have to be initialized with default values. 1. Read the RAM memory. In this case, the last recorded state-of-charge (SOC) reflects the initial battery SOC. Read it and save it as a temporary variable. 2. Set the STC3115 parameters (ensuring first that the GG_RUN bit is set to 0). The REG_OCVTAB registers have to be filled with their previously calculated values. The REG_CC_CNF and REG_VM_CNF registers have to be initialized using RAM information that can be different and more accurate regarding battery aging. Then, configure the application parameters by setting the REG_ALARM_SOC, REG_ALARM_VOLTAGE, REG_CURRENT_THRES, REG_RELAX_MAX, REG_ALARM_SOC, and REG_ALARM_VOLTAGE registers as required by the application to provide an HW interruption signal on the ALM pin when one of the measurements is detected as being below the defined threshold. The REG_CURRENT_THRES and REG_RELAX_MAX registers are used to configure the internal behavior of the STC3115. Default values are enough to provide good accuracy. 3. Write the REG_SOC register. From this point, the battery model characteristics and application threshold are initialized and battery tracking can start. To define the battery starting point, write back the SOC value (read previously in the RAM) into the REG_SOC register (16 bits). From this operation, the first battery SOC is available in the REG_SOC register without delay. To start battery monitoring, set the GG_RUN bit, as well as the VMODE bit if the power saving mode is selected (refer to Section 6.3). Figure 16 summarizes the initialization steps and Figure 17 summarizes the initialization and restoration flowcharts. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |