4.6.1 Samples Processing

The metrology firmware collects the raw data samples at 16 kHz (62.5 us) from the Energy Metering AFE. Metrology filters and decimates the data to 4 kHz (0.25 ms) and integrates and calculates all the output data quantities. The integration period is 1 second by default, but it can be configured as it is explained in the Microchip “PIC32CXMTx Metrology Data Sheet”.

Metrology key features:

  • Voltages (A, B, C)
  • Currents (A, B, C, N (N-measured, N-imputed, N-measured to imputed) )
  • Calibration compensation (V, I & Phase)
  • Pulse Output
  • Zero crossing detection and counting
  • Metrology DSP data capture for debugging and verifying algorithm