Abstract:In order to improve the working time of inclinometer in coal mine while drilling, a measurement scheme based on low power consumption mode is proposed with STM32 embedded chip as the core. Using magnetic sensor and acceleration sensor with special driving chip to sense the earth magnetic field and gravity field, then can obtain the drilling attitude information. By researching the low power consumption mode of STM32, the instrument can enter the dormancy state in non-measuring time to reduce the power consumption of the instrument and increase the working time. Through field industrial test, it is proved that under the premise of guaranteeing the measurement accuracy and time synchronization, the single use time of the instrument is more than 60 hours, which fully meets the requirements of drilling trajectory measurement.