Post Go back to editing

ADE9000 and THD calculations

Category: Hardware
Product Number: ADE9000

Hi.

I am reading the THD value from the xVTHD registers.
I have an ADE9000 electricity meter and an ADE9000 evaluation board. The input signal is a calibration setup with the
ability to set a calibrated THD value. On the evaluation board with minimal settings:
COMPMODE 0x3F
CFMODE 0x8
WTHR 0x10000
VARTHR 0x10000
VATHR 0x10000
EP_CFG 0x1
RUN 0x1
I get the calculated THD value in the range from 1% to 10% with an accuracy of 2 decimal places.
I get the following values ​​on the electricity meter:

No matter what I do, I can't get the same readings as on the evaluation board.
In parallel, I made my own THD calculation using the values ​​​​from the xVRMS and xVFRMS registers.
In this case, I get the same values ​​​​as when recalculating the values ​​​​from the xVTHD registers.
On the other hand, I was able to achieve similar behavior of the evaluation board by manipulating the
values ​​from the CONFIG2 register, namely the HPF_CRN settings. However, on my electricity meter I
have the same value as on the evaluation board 0xC00.

I made another experiment. At a value of 5% THD, I adjusted the xVTHD readings using xVFRMSOS.
At the same time, at a value of 5%, I achieved the required accuracy. But at the 1% point, my
THD became 0, since the xVFRMS voltage became greater than xVRMS.
At normal voltage, the evaluation board registers show a THD value of about 0.12%.
On my own, I get values ​​of 0.45%.

How does the evaluation board software get the values ​​from the xVTHD registers?
Does the debug board software do any additional manipulations with the obtained results?
What can cause the readings to shift?

Note.
The ADE9000 is calibrated on a calibration setup with the highest possible accuracy of
up to 3 decimal places. That is, after calibration, the meter readings at 220V are 219.999V and the current is 4.999A.


Best regards, Alexander.

  • I also forgot to mention that we connected exactly the same measuring transformers to the demo board as to the electricity meter.
    Before that, in the post "ADE9000 - change in measurement error with network frequency change" we conducted research on
    the input circuits for their impact on the operation of the ADE9000. Then the cause of the problem was the forced zeroing of
    the CONFIG2 register, which led to the setting of the HPF cutoff frequency to 77.39 Hz and a change in the readings of the
    calibrated meter when the frequency of the power supply network changed. Now this problem has been eliminated and the
    readings fully correspond to those described in the manuals.

    Now I see some influence on the operation of the xVFRMS calculator. These values ​​are slightly underestimated,
    which leads to this situation. I do not understand the possible reasons for this behavior. But when I apply a signal
    without harmonic distortion, I already see that the readings of the xVTHD registers on our board are slightly
    higher than on the demo board. This leads to such problems.

    Can any ADE9000 settings affect this behavior of the xVFRMS calculators?
    Can this be affected by incorrect board layout on the ADE9000 side or its power supply?
    Is it possible to somehow qualitatively identify the cause of this behavior of the calculator?

  • Of course, I understand that it is summer now and many people are on vacation, but can I ask you to at least somehow respond to the question.

    Best regards, Alexander.

  • The layout between boards can cause variations between boards. If the voltage channel couple to the current channel or vice versa. 

    Are you Calibrating RMS and Fundamental RMS? Your RMS and FRMS should be the same value with a fundamental only signal. 

    Dave

    COMPMODE 0x3F
    CFMODE 0x8
    WTHR 0x10000
    VARTHR 0x10000
    VATHR 0x10000
    EP_CFG 0x1
    RUN 0x1

    These should be set.

    VLEVEL setting? needed for fundamental measurements

    SELFREQ bit in the ACCMODE register 50 hz by default. 

  • We found the cause of this behavior when we connected a demo board with an ADE9000 in parallel with our meter. The THD voltage readings were the same as those on our meter. It turned out that our device's power supply was distorting the THD meter's readings. This issue is closed. Thank you for your assistance.