The application discloses a
global positioning system spoofing detection and positioning
recovery method based on pseudo-range residual error, and comprises the following steps: S1, initializing
system parameters, determining initial position information of a
receiver and
clock error of the
receiver, and acquiring latest navigation
ephemeris information; S2, using measurement information of an inertial sensor to perform prior
estimation on the current position of the
receiver; S3, acquiring
global positioning system measurement information, and calibrating
satellite pseudo-range information; S4, acquiring an estimated value of the
satellite pseudo-range by using the navigation
ephemeris information and the estimated position of the receiver; S5, using the residual error of the
satellite pseudo-range measurement value and the estimated value to judge whether the currently received
satellite data is spoofing data; and S6, using real satellite information and measurement information of the inertial sensor to realize positioning
recovery. The method can detect GPS spoofing behavior, fully utilize effective information in
GPS data, and comprehensively optimize positioning error.