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.

[参考译文] ADC-ENERGY-METROLOGY-LIB-SW:电流通道上无功电能和直流偏移的换算系数

Guru**** 2519490 points
Other Parts Discussed in Thread: AMC131M02

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1452637/adc-energy-metrology-lib-sw-claibration-factors-for-reactive-energy-and-dc-offset-on-current-channel

器件型号:ADC-ENERGY-METROLOGY-LIB-SW
主题中讨论的其他器件:AMC131M02

工具与软件:

你(们)好

我们将利用 AMC131M02前端构建多相电表应用。

在电流方面、我们正在努力为无功功率和基波功率设置偏移。 IRMS 和 Urms 以及有功功率测量正确、但无功和基波不正确。

/*!
 * @brief Defines the voltage scale factor for phase A
 *        It depends on hardware design and ADS configuration
 */
#define PHASE_A_VOLTAGE_SCALE_FACTOR                1586.134202
/*!
 * @brief Defines the current scale factor for phase A
 *        It depends on hardware design and ADS configuration
 */
#define PHASE_A_CURRENT_SCALE_FACTOR                238.9858687
/*!
 * @brief Defines the power scale factor for phase A
 *        It is product of voltage and current scale factor
 */
#define PHASE_A_POWER_SCALE_FACTOR                  378994.3975
以下值的单位是多少?
/*!
 * @brief Defines estimate for the DC level of the voltage channel of phase A.
 *  Using this estimate helps reduce the initial settling time of the DC
 *  voltage filter for phase A
 */
#define PHASE_A_VOLTAGE_DC_ESTIMATE                 0
/*!
 * @brief Defines estimate for the DC level of the current channel of phase A.
 *  Using this estimate helps reduce the initial settling time of the DC
 *  current filter for phase A
 */
#define PHASE_A_CURRENT_DC_ESTIMATE                 0
/*!
 * @brief Defines the offset in AC voltage, this value is substracted from the
 * computed voltage in phase A.
 */
#define PHASE_A_VOLTAGE_AC_OFFSET                   0
/*!
 * @brief Defines the offset in AC fundamental voltage, this value is
 * substracted from the computed voltage in phase A.
 */
#define PHASE_A_VOLTAGE_FUNDAMENATAL_OFFSET         0
/*!
 * @brief Defines the offset in AC current, this value is substracted from the
 * computed current in phase A.
 */
#define PHASE_A_CURRENT_AC_OFFSET                   0            
/*!
 * @brief Defines the offset in AC fundamental current, this value is
 * substracted from the computed current in phase A.
 */
#define PHASE_A_CURRENT_FUNDAMENATAL_OFFSET         0
/*!
 * @brief Defines the offset in active power, this value is substracted from
 * the computed active power in phase A.
 */
#define PHASE_A_ACTIVE_POWER_OFFSET                 0
/*!
 * @brief Defines the offset in fundamental active power, this value is
 * substracted from the computed active power in phase A.
 */
#define PHASE_A_ACTIVE_POWER_FUNDAMENATAL_OFFSET    0
/*!
 * @brief Defines the offset in reactive power, this value is substracted from
 * the computed active power in phase A.
 */
#define PHASE_A_REACTIVE_POWER_OFFSET               0
/*!
 * @brief Defines the offset in fundamental reactive power, this value is
 * substracted from the computed active power in phase A.
 */
#define PHASE_A_REACTIVE_POWER_FUNDAMENATAL_OFFSET  0

测试负载为:230V、5A、0°

当我们输出原始 ADC 值并绘制它们时、我们可以在电流通道上看到较小的直流失调电压。 这是问题吗? 我们必须纠正这个问题吗? 如果是、您在哪里?

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

    您好、Dominic:

    很抱歉耽误你的时间。

    您是否使用/修改了 TI 计量库中的代码?

    您需要校正 ADC 测量中的任何增益和偏移。  TI 度量库有一个 GUI、您可以在其中校准增益和偏移误差。  如果不使用 GUI、则必须在读取测量值之后以及在将测量数据发送到计算功率的函数之前应用校准偏移

    谢谢。