Design of Multi-function Power Factor Instrument with STM32

Author(s): Wenjuan Qi, Jixuan Gao, Zhongxian Wang*

Journal Name: Recent Advances in Electrical & Electronic Engineering
Formerly Recent Patents on Electrical & Electronic Engineering

Volume 13 , Issue 6 , 2020


Become EABM
Become Reviewer
Call for Editor

Graphical Abstract:


Abstract:

Background: A multifunctional power factor device based on the FFT algorithm has been designed. The digital panel can display power factor, voltage, current, frequency, phase angle, active power and reactive power.

Objective: To solve the influence of the harmonic interference and the aperiodic component on the accuracy of power factor measurement.

Methods: In this paper, by combining a fixed-point 256-point FFT algorithm and taking STM32 as the core microcontroller, the hardware circuit and the software program are designed respectively. The hardware circuit is tested and analyzed in practice. Among them, the hardware circuit mainly includes the main circuit design, STM32 control circuit design, EMI and second-order RC filter circuit design, sampling circuit design, and signal conditioning circuit design. The software program mainly includes the main program, AD conversion subroutine, voltage and current acquisition subroutine, LCD display subroutine and twirl factor array. FFT algorithm is achieved by the table look-up method.

Results: Finally, the hardware circuit is built and the software program is debugged to test the designed device. The experimental results show that the designed power factor instrument meets the task requirements under the different types of loads.

Conclusion: After processing and analyzing the measurement results, it can be concluded that: under the pure resistive load, the maximal relative error of electrical parameters is 4.49%; and under the resistive inductive load, the maximal relative error of electrical parameters is 2.86%. Both results meet the design requirements.

Keywords: Power factor device, FFT algorithm, second-order RC filtering, signal conditioning circuit, aperiodic component, STM32.

Rights & PermissionsPrintExport Cite as

Article Details

VOLUME: 13
ISSUE: 6
Year: 2020
Published on: 04 November, 2020
Page: [925 - 932]
Pages: 8
DOI: 10.2174/2352096513666191224095720
Price: $25

Article Metrics

PDF: 14