Abstract:The quality index of grating signal, especially the quality index of grating secondary moire fringe signal is analyzed. The circuit using to dynamically inspect the quality of grating signal is realized by harmonic analysis. It has a real significance for the development of metrological grating and the inspection of long grating.