Font Size: a A A

Design And Implementation Of Data Processing And Interaction Of Power Analyzer Based On The Embedded System

Posted on:2021-05-12Degree:MasterType:Thesis
Country:ChinaCandidate:L WangFull Text:PDF
GTID:2392330623468587Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of electronic technology,a large number of electronic devices have been applied to many aspects of social production and life,and a variety of monitoring needs for these devices have emerged.The common single-function power analyzer cannot meet the diversified monitoring requirements because of the increasing difficulty caused by the diversification of these devices.And the usage scenarios of these devices have been limited due to their size.A versatile portable power analyzer is needed for their analysis and testing.Considering the division in function and precision between domestic and foreign power analyzers,it is necessary to optimize the index and function on the basis of the existing power analyzer.The software scheme of power analyzer based on TL5728 chip is designed in this paper.In this scheme,FPGA is responsible for parameter acquisition and frequency measurement,the realization of parameter calibration and calculation is carried out by the DSP program,and as for the display of data and man-machine interaction function,it is implemented by ARM.Parameter processing,data interaction,and display,the three aspects of the procedure of data processing are considered to complete the designs and implements in this paper.Firstly,parameter processing will be designed and realized according to the three procedures of data processing,data collection,parameter calibration and parameter calculation.A synchronous sampling method based on accurate frequency measurement algorithm is adopted to sample the signal of 10~450Hz in this project.The nonlinear errors in the actual situation of the system are calibrated by a calibration method based on sinusoidal excitation.The parameter calculation represented by the harmonic parameter with the largest amount of computation is analyzed and studied to reduce the computational pressure of CPU in this paper.Combining with the hardware resource,a grouping DFT harmonic calculation method is adopted,which gets rid of the limitation of the traditional base-2fft harmonic algorithm on the number of sampling points and calculates the harmonic parameters more efficiently.Secondly,the resource allocation to the system and the communication and data interaction schemes are realized through the demand analysis of parameter processing.The GPMC interface is used to realize the high-speed data transmission between FPGA core and DSP core.The Shared memory and IPC communication components are used to realize the communication and data sharing between DSP core and ARM core.At the same time,the data display module is designed according to parameter type and display format in the actual demands of the project to realize the function of friendly humancomputer interaction and diversified display in this paper.Finally,the developed power analyzer is tested on the actual test platform.The testing results show that the measuring functions of the power analyzer are working normally,meanwhile,the accuracy of voltage and current has been improved from 0.087% to 0.04% by choosing an appropriate calibration interval,and the accuracy of other parameter has conformed to the requirements.
Keywords/Search Tags:power analyzer, embedded system, calibration of data, human-computer interaction
PDF Full Text Request
Related items