The invention discloses a
proximity sensor circuit and a
distance detection method. The
proximity sensor circuit comprises an LC oscillation circuit which is used for generating an oscillation
signal with a specific frequency when a
metal body is detected to be close to or far away from a coil; a sampling circuit which is used for collecting the oscillation
signal generated by the LC oscillation circuit within a
threshold voltage; a conversion circuit which is used for converting the oscillation
signal acquired by the sampling circuit into a high-frequency pulse signal; a
signal processing circuit which is used for carrying out operation
processing on the high-frequency pulse signal generated by the conversion circuit and then executing different operations according to an instruction of a
control circuit; the
control circuit which is used for receiving a circuit external control instruction; and an input and output
control circuit which is used for outputting the data sent by the control circuit through an output driving end OUT. Manual work is reduced in the aspect of
machining, the yield is improved, the periphery of a product is simple, the size is small, the
miniaturization requirement of customers is met, the consistency in performance is good, the precision is high, parameters can be set, the product upgrading requirement is met, and extremely high practicability is achieved.