Abstract:This paper designed a control system, which based on gravity acceleration sensor, used to measure the drill orientation and declination and provide the correction signal. The system consists of two parts, one used to measurement, and the other is used to control, The dual-core parallel work has been adopted. In the paper, the details of the measurement principle, hardware circuit and software ideas were introduced.