An Improved Accuracy Harmonic Extraction Method for Microcontrollers

Yidong Tian, Gus Cheng Zhang

Research output: Contribution to journalArticlepeer-review

21 Downloads (Pure)

Abstract

Harmonic extraction is frequently used in condition monitoring and control of power systems, power electronics, and machine drive applications. The challenge is to implement fast and accurate harmonic extraction on consumer-grade microcontrollers that have limited computational resources. When the sampled length of the input signal is not multiples of the fundamental frequency, the extracted amplitude and phase values have large errors. We proposed a new method named Double-Interpolation FFT (DIFFT), comprising both frequency domain and time domain interpolations and fully utilising the manufacturers’ optimised binary libraries of FFT. The method is verified with both GNU Octave and microcontrollers, including ARM-based STM32 and TI’s TMS320. Variable input frequencies of several reference signals are tested, and up to the 41st order of harmonics is extracted and compared to reference values. The new method outperforms state-of-the-art harmonic implementation on microcontrollers in both execution speed and accuracy. Memory usage and computation time are measured, underscoring the applicability and superior performance of the proposed method.
Original languageEnglish
JournalIEEE Transactions on Industrial Electronics
Early online date23 Oct 2024
DOIs
Publication statusE-pub ahead of print - 23 Oct 2024

Keywords

  • Harmonic Extraction
  • Sample Rate Conversion
  • Microcontroller

Fingerprint

Dive into the research topics of 'An Improved Accuracy Harmonic Extraction Method for Microcontrollers'. Together they form a unique fingerprint.

Cite this