In order to improve the production capacity of the mine mechanical safety, taking passive human pyroelectric infrared detector circuit BISS0001 and AT89C2051 chip microcomputer as the core of digital circuits and associated control logic circuit design of mine infrared detection locking device, solved specific danger zone to prevent coal mine personnel diverted causing accidents. The technology played a role in warning alarms and automatic locking open machinery and equipment.