Metal detector is used widely in industy and life. The "product impact" caused by detecting-object affect the purpose of detecting when the metal detector works. We can adjust the original phase of the metal detector depending on the waves of sampling signals so that the system achieve a better detecting effect. The theory bases and implementation of self-study method have been expatiated in this paper.