| 数据搜索系统,热门电子元器件搜索 |
|
PAC1932/3/4 数据表(PDF) 25 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PAC1932/3/4 数据表(HTML) 25 Page - Microchip Technology |
|
25 / 62 page ![]() 2017-2018 Microchip Technology Inc. DS20005850C-page 25 PAC1932/3/4 4.9.1 ADDITIONAL ACCUMULATOR INFORMATION The math for the Power calculation and accumulation inside the chip is always done in two's complement math, no matter what the user sets the output registers to show. VBUS and VSENSE are 17-bit two's complement (signed) numbers internally. VPOWER is the product of VSENSE multiplied by the 14 MSBs of VBUS, and this is a 31 bit two's complement result (signed) internally. In some cases this results in a Power result that is not identical to the product of the VBUS results register multiplied by the VSENSE register. However, the Power result from the Power results register is more accurate than the product of the VBUS register multiplied by the VSENSE register in these cases, as explained below. If VSENSE and VBUS are both programmed to be unsigned (unipolar) in register NEG_PWR (Address 1Dh), 16b without sign are exported to VBUS and VSENSE results registers. If VBUS is programmed to be signed (bipolar) in Register 6-11 NEG_PWR (Address 1Dh), the corresponding data is truncated to 16-bit two's complement (signed) for the readable results register. If VSENSE is programmed to be signed (bipolar) in register NEG_PWR (Address 1Dh), the corresponding results register value is truncated to 16-bit two's complement (signed), but the power calculation uses 17-bit two's complement (signed). Therefore, a mismatch is possible between an externally calculated power value (VBUS times VSENSE) and the actual power value calculated internally to the chip. The internally calculated (and accumulated) value is more accurate than the externally calculated value in every case. The continuous power integration periods (also called the energy accumulation period) can range from ~1ms to many hours, depending on the number of samples per second selected via SMBus. The number of samples is limited by the size of the Accumulator Count register to 16,777,216 (224). This count corresponds to about 273 minutes at 1024 samples/second, or 582 hours at eight samples/second. This Accumulator Count can overflow, and it will not reset when it overflows. When the accumulation registers reach their maximum value, this is called accumulator overflow. The accumulator outputs remain at their maximum value; they do not roll over. The user can calculate the worst-case time to roll over and read them at or before that time or use the built in Alert functions to detect rollover and read them at that time. Worst-case accumulator overflow time can be calculated assuming that every measurement that is accumulated is a full-scale number. Since the power numbers are 28 bits, and the accumulator is 48 bits, 220 samples can be accumulated before overflow if they are all full-scale values. For most applications, they will not all be full-scale numbers; this is especially true if VBUS is not 32V. If VBUS is a lower number, the maximum number of full-scale samples that can be accumulated is scaled by 32V/VBUS. This limitation can limit the accumulation period before overflow to 17 minutes at 1024 samples/second, or 36 hours at eight samples/second, if most values are near full-scale. The Accumulator Count limit described above will still limit the total number of samples to 224. |
|
链接网址 |
| 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 |