The invention discloses a
magnetic declination measuring and calculating method and equipment based on a target
positioning system, and relates to the field of multifunctional telescopes. The method comprises the following steps: firstly, inputting known target coordinates, adjusting equipment to aim at a target, measuring a measured distance, and recording a magnetic
azimuth angle and a
pitch angle; the distance is calculated according to the coordinates of the
compass and the target, whether the difference between the distance and the actually measured distance is within the error range is judged, it is ensured that the target to be aimed is the target expected to be aimed, if yes, the
true north included angle is calculated, then the actual
magnetic declination angle is obtained, and the zero
declination angle can be calculated in the pitching direction of the
compass assembly to improve the elevation precision; and finally, obtaining a real-time
true north included angle by using the actual
magnetic declination and the real-time magnetic
azimuth angle. According to the method, a geomagnetic field model is not used, the measured magnetic
declination is real and accurate, errors can be reduced, and target positioning precision is improved. A known target needs to be in an intervisibility range, the coordinates of the known target can be obtained in various
modes, and various geodetic coordinate solution
back calculation formulas can be adopted for calculating the distance and the
true north included angle.