| 数据搜索系统,热门电子元器件搜索 |
|
AN1464 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1464 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 27 page ![]() 13/27 LOW-COST DOUBLE LI-ION BATTERY CHARGER USING ST6255C/ST6265C MCU 2.4.2 On-chip peripherals usage The time base is given by the standard timer in output mode. When the timer counter reaches zero, the interrupt routine generates a state update request. In addition, it reloads the timer counter to start a new cycle. In order to minimise supply current, the ST6 core puts itself into WAIT mode between two state updates. In this example, this same interrupt routine (Timer Zero) also increments the timekeeper counters. This means the timekeeper is synchronised with the state updates. The slot state update frequency is an important parameter. It must be high to maximise charging efficiency. On the other hand, if the output configuration has changed, it is useless to perform the next measurements before the system has stabilised. Therefore, an excessive update frequency could prove harmful. Thirdly, a low update frequency reduces overall power consumption. The timekeeper divides the standard timer frequency. To do so, it contains three counters: tick , chrono_lo and chrono_hi. Table 4. Charge Timekeeper Counters The PWM is generated by the auto-reload timer because a high frequency is required. In ad- dition, this significantly reduces the CPU load, allowing the core to stay in WAIT mode most of the time. If no charge is under way on either slot, the PWM output is switched off in order to re- duce consumption and increase A/D converter accuracy. The analog to digital converter (ADC) is used intensively before each slot state update. In most cases, the PWM output cannot be disabled, so ADC accuracy is not optimal. To reduce errors, the ADC measures battery voltage and battery current 256 times in a row. The slot state monitoring software works with the mean values. The 256 measurements are added into a 16-bit word. The mean value is equal to the most significant byte of the word (rounded if the least significant byte is greater than 128). As explained in Section 2.2, battery voltage measurements must be corrected with battery current measurements. These corrections require some arithmetical computing, performed on the 16-bit words. tick chrono_lo chrono_hi Increment Condition Timer Zero IT tick =0 chrono_lo =0 Period General TTMZ 256*TTMZ 65536*TTMZ Eval Board 6.1 ms 1.6 s 6 min 43 s Compared with General Tfail Texp Eval Board 30 s 2.5 h |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |