With attention to power quality, power quality analyzer applications become more widespread. This system uses the programmable logic device FPGA as digital processing core, integrated grid frequency tracking, simultaneous sampling, measurement of basic electrical parameters, FFT harmonic analysis and other functions, and using Hilbert transform to achieve an accurate measurement of reactive power under the non-sinusoidal voltage waveform. The experiments had showed that power quality analyzer based on FPGA has the advantages of real-time, high accuracy, reliability and etc.