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

Applications and Use Cases

Calculation of metrology parameters using this C2000-based library finds applications in multiple areas of digital power industry and beyond. The following are some examples of these applications.

  1. Smart Electricity Meters
    • Billing Accuracy: High-precision measurement of RMS voltage, current, active power (Wh), reactive power (VARh), and apparent power (VAh) across multiple phases maintains fair and accurate billing for residential, commercial, and industrial consumers.
    • Power Quality Monitoring: Integrated sag/swell detection and THD analysis provide valuable data for utilities to monitor grid health and for consumers to understand the quality of power supplied. This data can be logged and reported.
    • Load Profiling: Detailed energy consumption patterns can be recorded, helping utilities with demand-side management and consumers to optimize their energy usage.
  2. Power Quality Analyzers (PQAs)
    • Comprehensive Event Detection: The library's sag, swell capabilities are fundamental to PQAs. The logging of event duration and magnitude allows for detailed event analysis.
    • Harmonic Analysis: The FFT-based THD calculation (vTHDfft, iTHDfft) and the underlying find_harmonics function (from metrology/metrology_calculations.c) provide the spectral data needed to identify specific harmonic orders and their magnitudes, crucial for diagnosing issues like equipment overheating or interference.
  3. Industrial Automation and Control
    • Motor Monitoring and Protection: Monitoring current, power, power factor, and THD for large motors can predict failures, optimize efficiency, and protect against adverse conditions like phase imbalance or overload.
    • Energy Management Systems (EMS): In factories and large facilities, the library can be the core of sub-metering units, providing granular data on energy usage by different sections or machinery, enabling targeted energy-saving initiatives.
  4. Renewable Energy Systems
    • Solar Inverters: Monitoring AC output voltage, current, frequency, power, and THD is essential for grid-tied solar inverters to maintain compliance with grid codes and optimize power injection.
    • Energy Storage Systems: Measuring power flow (import/export, as supported by the energy accumulation logic) and quality is vital for battery management and grid interaction in energy storage applications.
  5. Electric Vehicle (EV) Charging Stations
    • Accurate Energy Dispensing: Precise measurement of energy delivered to the EV is critical for billing.
    • Power Quality Impact: Monitoring the impact of off-board EV charging on the local grid, including harmonic injection and voltage stability, can be achieved using the library's THD and sag/swell features.
    • Smart Charging: Real-time power data can enable smart charging algorithms that adjust charging rates based on grid conditions or electricity prices.
  6. Data Centers
  • Power Distribution Unit (PDU) Monitoring: PDUs in data centers require accurate monitoring of power consumption at the rack or server level for capacity planning, billing, and efficiency optimization (e.g., Power Usage Effectiveness - PUE).
  • Input Power Quality: Maintaing the quality of power supplied to sensitive IT equipment is crucial. The library can monitor sags, swells, and harmonics that can affect server reliability.

The combination of the C2000™ MCU's real-time processing capabilities and the comprehensive algorithms within this metrology library provides a versatile platform for these applications.