With the rapid development of modern electric power industry, a large number of non-linear power electronic devices, electrical equipments and the impact of non-symmetry of electric equipments are increasing year by year. Power system harmonics detection is receiving wide concerns. For the specific requirements of high precision, embedded technology, digital signal processing technology and communication technology are synthetically used in this paper to develop a high-precision harmonic detection device and the high accuracy of power system harmonic detection is achieved.First, the current commonly used methods in a variety of harmonic detection is analyzed and compared in this paper. Focusing on the harmonic detector commonly used in Fourier transform, the windowed Fourier transform function on the accuracy of the impact is established and the same harmonic model experiments with different methods is compared. The best harmonic detection windowed Fourier transform function is achieved through experiments comparison. Moreover, combining with harmonic detection of a variety of functional requirements as well as specific application background, the overall design structure of the harmonic detection device to determine the function of the harmonic detection device is presented in the paper. That is, a high-speed digital signal processor based on TMS3202812 with 16-bit high-precision AD8364 combines real-time hardware system solutions is established, and the device of hardware development, including signal conditioning circuits and Data processing module design, as well as man-machine interface and communication interface design are achieved.Then, on DSP-based embedded development platform, the detection device software, including software development strategy selection, program flow design and programming of each functional module, and system software debugging and testing are completed. Nested approach of the C language and ASM language in System software development process of each functional module is adopted. By making use of C called ASM, especially in the FFT transform, it takes full advantage of the characters of ASM compilation speed and achieves the optimal configuration of DSP resources by a reasonable software stack.In the final experiment part, the measuring accuracy experiment and partial functional verification experiment of the device is performed. Experimental results show that the harmonic detection device meets the precision requirements of power system harmonic. At the experimental results of analysis as well as article conclusion, a detailed analysis of the factors affecting on harmonic detection accuracy during the process of on-site real-time monitoring is gave and the various potential problems and Its solution from the system's hardware and software point of view is shown. |