TIDUEM7A April 2019 – February 2021
The test software of the design has support for storing the raw voltage and storing either the shunt ADC values or current ADC values.
The raw ADS131M04 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.