| Electric is the most indispensable energy source in modern society, its industrial production, people’s lives have a very important impact, energy use is also related to the overall effectiveness of the national economy. Therefore, power quality monitoring is very important. In recent years, People focus on energy conservation and new energy development very seriously. Power quality of governance has also become the focus of attention within the industry. How to developing a reasonable method of power quality of governance, to ensure the most effective and safe use of electricity energy technology industry has become a common goal.In this thesis, the current assessment of power quality through the five main indicators of voltage deviation, frequency deviation, harmonic content, voltage fluctuations and flicker, three-phase voltage unbalance analysis of the basic characteristics, combined with China and IEC standards for power quality requirements, try a more accurate calculation of the energy calculation using strong analysis, with hardware monitoring equipment. Use microcontroller and peripheral circuits, developed a set of power quality detection device. Front office functions of the device can be achieved on the voltage, electric current, real-time acquisition, background software system through the use of the calculation method used for sampling for analysis, thus obtained in real time voltage, current, frequency and voltage fluctuation value, and calculate the five power quality Specifications:Voltage deviation, frequency deviation, harmonic content, voltage fluctuations and flicker, three-phase voltage unbalance.Thesis mainly expand the voltage and electric current, real-time collection methods of research, using mathematical analysis (FFT) method to analyze the various power parameters calculated by the analysis of sample values to calculate the voltage fluctuations, voltage deviation, frequency deviation, harmonic content, voltage fluctuations and flicker, three-phase voltage unbalance. PIC microcontroller as the core of the hardware, with peripheral hardware circuit, power parameters of the acquisition, and the collected data after A/D conversion, the converted data for analysis. While the hardware has the LCD display function, you can directly display the voltage and current values. With key control data, text, and clear screen function. Software MPLAB IDE, use the C language programming. The design composed by acquisition circuit, conditioning circuitry, analog-digital conversion circuit, keyboard circuit and LCD.Through analysis and explanation of the measurement results using the fast Fourier transform method for power quality analysis process result is ideal. The design of the power quality tester, not only to achieve real-time energy monitoring, while the instrument display gives direct voltage deviation, frequency deviation, three-phase voltage unbalance power analysis indicators such as real-time value, ease of electricity regulatory staff analyze and judge, eliminating the need for human analysis and calculation of trouble. The modular design can solve the energy monitoring system debugging and expansion tricky issue. |