A Harmonic analysis system design based AVR MCU ABSTRACT Along with the development of national economy, and the highly automatization of the production process, so in the electrical network, all kinds of non-linear loads and users continuously growing; there are more and more kinds of electro-equipments which are complicated, precise, and sensitive to the electrical energy quality. Contradictions of these two aspects become more and more prominent, under such environment, exploring the analyzing methods which discussed electrical energy quality, may provides the necessary basis for analyzing the tendency of China’s electrical energy quality management and control. It obviously has significance to the realism. This design uses the ATmega32L Microcontroller of ATMEL Corporation to complete an electrical energy quality examination system. The voltage signal steps down after the transformer isolation, the lower breadth Alternating signal re-passes the summing circuit, which constituted by operational amplifier, become the direct current signal, which may supply the A/D switching circuit transforms. MCU uses interior timer sample voltage signal every 1/3,200 second, uses the internal 10 bit precisions A/D switcher sample voltage signal of each cycle for 64 spots, carries on the FFT operation, the FFT operation process adopts look-up table method to enhance the operating speed, analyzes the Harmonic content which is smaller than 21 times, and calculates the RMS(Root-mean-square value) voltage of signal, upload the Harmonic analysis result through the RS-232 serial interface on Epigyny Computer and demonstrate the storage.Through the adjustment of the hardware and software to enable the outputresult achieve the corresponding request, then analyze the actual harmonicsignal and carry on the result for a further data processing in order toenhance the accuracy of result. Finally, this article briefly introducesthe hardware and software measures for harmonic examination. KEY WORDS:power quality, harmonics,Microcontroller,FFT