TIDUF72 August 2024
The test software of the design has support for storing the raw voltage and current ADC values for phases A and B, or A and Neutral. These raw ADS131M02 and AMC131M03 samples are signed integers and any stray DC or offset value on these converters are removed using a DC tracking filter. A separate DC estimate for all voltages and currents is obtained using the filter, voltage, and current samples, respectively. This estimate is then subtracted from each voltage and current raw ADC sample.
The resulting instantaneous voltage and current samples are used to generate the following intermediate results:
The foreground process processes these accumulated values.