The instrument has built-in high-precision gyroscope and acceleration sensor. After alignment on the calibration platform, the attitude (azimuth and inclination) of the drilling rig can be accurately measured. The measurement process is not affected by geomagnetic and ferromagnetic substances, which overcomes the traditional address compass measurement process. The problem of inaccurate measurement due to the influence of magnetic substances such as drilling rigs, steel meshes, and bolts.