SDAA160 November   2025 TMS320F28P550SJ , TMS320F28P650DK

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Library Architecture
  6. 3Metrology Calculations
  7. 4Configuration and Data Structures
  8. 5Calibration Module
  9. 6Applications and Use Cases
  10. 7Helpful Links

Metrology Calculations

The actual metrology calculations take place in the meterology_caluclations.c file.

  1. This module contains the library of mathematical functions that implement the metrology algorithms.
  2. The module takes inputs such as accumulated dot products, sample counts, and calibration data.
  3. The module outputs the calculated electrical parameters (for example, calculateRMSVoltage, calculateActivePower, calculateFrequency_PLL).