The metal sensor is composed of high-frequency oscillation, detection, amplification, triggering and output circuits. The oscillator generates an alternating electromagnetic field on the sensor detection surface. When a metal object approaches the sensor detection surface, the eddy current generated in the metal absorbs the energy of the oscillator, so that the oscillation is weakened and even stopped. The two states of the oscillator’s oscillation and stop-vibration are converted into electrical signals, transformed into binary switching signals through shaping and amplification, and output after power amplification.