This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] INA220:使用 INA219计算电压、电流和功率的差异

Guru**** 2381800 points
Other Parts Discussed in Thread: INA219, INA220, INA220EVM
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/1006271/ina220-the-difference-on-calculating-voltage-current-and-power-with-ina219

器件型号:INA220
主题中讨论的其他器件:INA219

使用 INA219通用驱动器(在 openbmc 中)计算 INA220的电压、电流和功率时、是否需要调整任何参数以正确计算它?

[当前219's 设置]
校准= 4096
shunt_div=100
BUS_VOLTGE_SHIFT = 3
BUS_VOLTGE_lsb = 4000
power_lsb_factor = 20

[环境]
6个粉丝不满意。  每个风扇规格为12v 4.50A。

[结果]
voltage=24890、shift 3 and multi4000 = 12444000 UV (24890 >> 3 * 4000)--这看起来正常。
Current=65535、多个1000、除以1000、然后转换为 signed =-1
电源=2乘法20000 = 40000

[问题]
INA220和 INA219之间的电压、电流和功率计算有何差异?
2.如何解读40000功率?  根据 EE、总共6个空风扇插槽的功率应小于10W。
3.这是否意味着它的反向电流为 Current=1?

[其他说明]
在驱动器中、按如下方式计算该值:
SHUNT_VOLTAGE =寄存器值/100
总线电压=(寄存器值>> VOLTGE_SHIFT)* BUS_VOLTGE_lsb *ps:VOLTGE_SHIFT 为3,BUS_VOLTGE_lsb 为4000
电流=(寄存器值* CURRENT_lsb_uA)/ 1000   * ps:CURRENT_lsb = 1000
功率=(寄存器值* power_lsb_UW)  * ps:power_lsb_UW = power_lsb_factor * curry_lsb_uA = 20 * 1000 = 20000、因此寄存器= 2、它显示40000。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Benson、

    感谢您使用 TI 论坛。  以下是我对您问题的回答:

    1)。 INA220和 INA219具有相同的寄存器映射和公式、因此您的驱动器应该兼容。   

    2)。 您的公式似乎对 Current_LSB 使用 µA Ω。 因此,如果功率寄存器的值为2,则功率计算为:2*20*1000e-6 = 0.04W。  您的驱动程序在输出结果时似乎是 µW、这是40000的来源。

    3)。 同样,您的电流也将使用 µA 计算,因此由于寄存器值为-1,这意味着您的电流为-1*1000e-6 =-0.001A。  您的驱动器看起来以 mA 为单位输出电流、这就是您得到-1的原因。  

    如果您有任何疑问、请告诉我。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的介绍。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    我是该项目的硬件

    我对这个问题有疑问。

    1)。 该电流读数用于该 IC 或 I 输出内部的电流? 因为输出电流读数与实际值不匹配。

    以单个风扇为例:

    风扇占空比为0%

    实际输出电流:0.12A

    读数:#1。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 02

    是0.002A 吗?

    50%的风扇占空比

    实际输出电流:0.4A

    读数:#1。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 08

    0.08A?

    100%的风扇占空比

    实际输出电流:2.2A

    读数:#1。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3b

    0.059A?

    这是我们对他的转换问题吗? 或 其他问题?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Yeh Wade、您好!

    电流读数用于分流电阻器上的电流。 (因此、无论您放置分流器的位置如何、它都将为您提供电流)。

    如果您使用的驱动器与上述驱动器相同、则正确的做法是电流输出将以 mA 为单位。 必须注意的是、只有在正确设置校准寄存器时、输出电流才是正确的。 查看上面的值、如果您设置了所有相同的设置、则看起来您的校准寄存器设置的分流电阻器为10mΩ Ω、最大预期电流为32.768A。 如果这不正确、则重新相应地计算电流 lsb 和校准寄存器值、并解决您的问题。  

    如果这些值是正确的、则向我发送上述用例之一的寄存器转储(理想情况下、风扇占空比为100%、因为这是最直接的)、并且我可以再次检查器件模式和值。  我还需要了解您的最大预期电流、电流 lsb 和分流电阻器尺寸。  您最好重新验证分流电阻器上的电流。  

    在任一种情况下、您还可以查看分流器上的电压(来自器件和外部源以进行验证)、并使用分流电阻器值计算电流、以仔细检查该值是否符合预期。

    一般而言、有关电流感应放大器的更多培训和信息、请参阅培训系列 :https://training.ti.com/ti-precision-labs-current-sense-amplifiers

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好、 米奇

    我们已使用 INA220EVM 工具进行检查

    设置

    最大总线电压16V

    最大分流电压0.04V

    R SHUNT 0.0005欧姆

    最大可能电流80A

    最大预期电流27A

    最小电流 LSB 824u A/位

    最大电流 LSB 6.593m A/位

    输入 LSB 1.3m A/位

    校准寄存器:内部63015、十六进制 F627

    最大分流电压0.02129855V

    最大电流42.5971A 7FFE

    功率 LSB 26m W/bit

    最大功率 681.554W

    我们的 BMC 团队根据这些设置,但 ​​读出的值远或为0

    目前、我们即将进入大规模生产阶段、因此 Rsunt 无法调整

    我们是否可以调整其他设置?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Yeh Wade、您好!

    您能否在实现上述设置的情况下为100%占空比情况下的风扇提供寄存器转储?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    1个风扇100%、寄存器0-5 (5次)

    -循环10次,让多个寄存器地址监控其值
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 63
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3D
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 00 5d
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00


    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 62
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3D
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 00 64
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 61
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3D
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 00 65
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 5d
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3D
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 00 63
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 65
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 00 3b
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 00 65
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    6个风扇100%、寄存器0-5 (5次)
    -循环10次,让多个寄存器地址监控其值
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4F
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 01 67
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 02 55
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00


    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 56
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 01 6a
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 02 56
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4e
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 01 65
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 02 47
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4c
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 01 60
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 02 41
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 49
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 01 64
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 02 49
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = 10 00

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Benson/yeh、

    根据寄存器设置、您的校准寄存器看起来设置为0x1000、但根据上面的设置、您希望设置为0xF627。 这就是您的当前值无法正确读回的原因。  您将需要修复校准寄存器、如果您仍在使用该驱动程序、则还需要更新当前 LSB 设置。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的反馈。  以下是 CONFIG= 0x1EEF、caliberation=0xf626的输出。
    >1个风扇100%、输出:
    -循环5次,让多个寄存器地址监控其值
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 67
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 03 be
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 06 31
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 66
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 03 C8
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 06 31
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 64
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 03 C8
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 06 31
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 67
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 03 C8
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 06 12
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 00 67
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 03 be
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 06 31
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26


    >6风扇100%、输出
    -循环5次,让多个寄存器地址监控其值
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 49
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 15 8e
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 23 37
    第一。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4a
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F B2
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 15aa
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 23 56
    2。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 47
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 82
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 15 96
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 23 75
    3号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4a
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 15 a0
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 23 47
    4. IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 1 = 02 4a
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 3 = 15 8d
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 4 = 23 47
    5号。 IPMItool -i lanplus -H 10.6.148.65 -U root -P root i2c bus=3 0x84 2 5 = F6 26

    从上面的值可以看出、解释的电流和功率值仍然浮动。

    我们将在今天晚些时候通过电子加载程序提供固定电流(1A-5A)来提供另一个寄存器转储结果。  谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    无设置:
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 29
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 00
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2b
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F aa
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 00
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 29
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 00

    [1 Ampare、带设置]
    root@c600g5:~# i2cset -f -y 3 0x42 0 0x1eef w
    root@c600g5:~# i2cset -f -y 3 0x42 5 0xf626 w
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f =寄存器0仍然显示399F
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2b
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 40
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 64
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 29
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 40
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 66
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2b
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 40
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 64
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6

    [2 Ampare 与设置]
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 51
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 79
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 C5
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 52
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 79
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 cd
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 52
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 79
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 00 cd
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6

    [3 Ampare、带设置]
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 7a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 B6
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 2c
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 7c
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 B6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 2e
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 7b
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 b9
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 27
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6

    [4 Ampare、带设置]
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 A2
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 f2
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 8f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 A2
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 F4
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 8a
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 A4
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 00 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 8d

    [5 Ampare、带设置]
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 cd
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 9a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 31
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 f1
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 cc
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F 92
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 2D
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 f1
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 39 9f
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 ce
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 2 = 5F A2
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 31
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 01 f1
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = 26 F6

    [1 Ampare 与反向设置]
    root@c600g5:~# i2cset -f -y 3 0x42 0 0xef1e w
    root@c600g5:~# i2cset -f -y 3 0x42 5 0x26f6 w
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 7a
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 81
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 02 77
    第一。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2a
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 82
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 8b
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 02 77
    2。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = F6 26
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 0 = 1e ef
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 1 = 00 2a
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 = 5F 82
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 3 = 01 81
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 4 = 02 77
    3号。 IPMItool -i lanplus -H 10.6.139.147 -U root -P root i2c bus=3 0x84 2 5 = F6 26

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Benson、

    根据这些值、电流寄存器结果看起来按预期工作。

    从第一组示例中:

    1个100%风扇:

    电流寄存器= 0x631 = 1585十进制。  转换为电流: 0.0013*1585=2.0605A

    根据分流结果、我们预计电流为:电流寄存器0x67 = 103十进制。 转换为预期电流: (103*10e-6)/0.0005=2.06A

    如您所见、电流结果寄存器是分流测量的预期结果。  

    6个100%风扇:

    此示例的工作原理与上述示例类似、仅电流寄存器中的电流输出为11.7195A、Vsense 寄存器中的预期电流为11.7A

    从第二组示例中:

    在这些示例中、校准寄存器被编程为0x26f6而不是0xf626、从而得出 的电流 LSB 为0.00821335而不是0.0013。

    对于1A 情况:

    电流寄存器= 0x64 = 100十进制。  转换为电流:0.00821335*100=0.821335A

    根据分流结果、我们预计电流为:电流寄存器0x2B = 103十进制。 转换为预期电流:(43*10e-6)/0.0005=0.86A

    如您所见、此处的电流结果寄存器也是分流测量的预期结果。  

    一般情况下:

    由于寄存器0未正确编程且配置寄存器被赋予了错误的值、因此您的设置代码或通信稳定性可能会出现问题。

    由于 INA220的读数为0.8A、而您的预期读数为1A、因此您可能实际得到0.8A、或者分流容差会导致误差。  布局也可能会导致错误。 有关布局的信息、请参阅以下培训视频: https://training.ti.com/ti-precision-labs-current-sense-amplifiers-shunt-resistor-layout。