In recent years, power electronic components introduce harmonic pollution on electric power systems. It makes the traditional electromechanical power meter cannot act accurately when it feeds unbalanced and harmonic loads. Power quality analysis now tends to use digital signal technology. But it is hard to avoid measurement errors in estimating power quality by digital signal technology. In this paper, it is to improve the computation errors by using FPGA. The simulation circuits were created and measured by Matlab.