Other Parts Discussed in Thread: AMC131M02
Tool/software:
Hi
We are building an polyphase e-meter application with AMC131M02 frontends.
Currenctly we are struggling with setting for the offsets for Reactive and Fundamental Power. Irms and Urms and Active Power is measured properly, but reactive and fundamental not.
/*!
* @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
The test-load is: 230V, 5A, 0°
When we are outputting the raw ADC values and plot them, we see a small DC Offset on the current channel. Is this an issue? Must we correct this? if yes where?