7 Revision History

Revision D - 12/2024

Document
  • Metrology library version v3.2.00
  • The library is able to compute up to 31 harmonic orders simultaneously
  • Functionality in FEATURE_CTRL0 and FEATURE_CTRL1 has been unified in FEATURE_CTRL0
  • FEATURE_CTRL1 was renamed to HARMONIC_CTRL. This register is used to enable the harmonic computation and for selecting the desired harmonics orders to be calculated.
  • STATE_FLAG.HARMONIC_m_CONF[7:0] field was removed
  • HARMONIC output registers increased to 434 registers. The format changes. The values are not scaled with K_I_x and K_V_x registers.
  • PU (Pull-Up) and OPD (Open-Drain) features removed from pulse control registers, as these functionalities are not available while under PWM peripheral control
  • Added a protection mechanism to avoid the issue that sometimes happened when the library was incorrectly configured to pulse all the energy being applied. The improper configuration occurred when the configured meter constants and pulse widths generated a pulse rate not supported, when applying energies above a threshold. The effect was that sometimes the library was not working properly, affecting the accuracy of the measurements.
  • In previous version, the metrology library disabled the watchdogs. Now the watchdog control register is not written.

Rev C - 03/2024

Document
  • Metrology library version v3.1.02
  • Pulse algorithm changed to support testing inter-harmonics in the current circuits (burst fired waveform test, as defined in IEC62052-11:2021) using the pulses
  • Added counters for the number of pulses issued in the three pulse outputs. The counters are shown in the status registers 25, 26 and 27.
  • Corrected a bug that in certain circumstances could generate unexpected pulses when transitioning from a high pulse rate to a very low or zero pulse rate
  • Included a clarification regarding the maximum metrology pulse rate

Rev B - 10/2023

Document
  • Changed name of document from “Microchip PIC32CXMTx Metrology Data Sheet” to “PIC32CXMTx Metrology Reference Guide
  • Metrology library version v3.1.00
  • Metrology pulses peripheral clock rate increased to 7.424 MHz
  • Pulse algorithm improved
  • Bug affecting the frequency measurements corrected. In previous versions, the frequency of the non-dominant phases was not accurate.
  • Maximum metrology pulse rate increased to 1800 pulses/sec

Rev A - 12/2022

Document
  • Initial release
  • Metrology library version v3.0.0b