The global positioning system (GPS) is an essential technology that provides positioning capabilities and is used in various applications such as navigation, surveying, mapping, robot simultaneous localization and mapping (SLAM), location-based service (LBS), etc. However, the GPS is known to be vulnerable to intentional attacks such as spoofing because of its simple signal structure. In this study, a direct method is proposed for GPS spoofing detection, using Attitude and Heading Reference System (AHRS) accelerometer and analyzing the detection performance with corresponding probability density functions (PDFs). The difference in the acceleration between the GPS receiver and the accelerometer is used to detect spoofing. The magnitude of the acceleration error may be used as a decision variable. Additionally, using the magnitude of the north (or east) component of the acceleration error as another decision variable is proposed, which shows better performance in some conditions. The performance of the two decision variables is compared by calculating the probability of spoofing detection and the detectable minimum spoofing acceleration (DMSA), given a pre-defined false alarm probability and a pre-defined detection probability. It turns out that both decision variables need to be used together to obtain the best spoofing detection performance.Sensors 2020, 20, 954 2 of 22 (MLE) [11]. Prior studies [7,12] summarize various spoofing detection techniques, among which low complexity spoofing detection techniques include C/N 0 monitoring, absolute power monitoring, power variation versus receiver movement, code and phase rate consistency check, and GPS clock consistency check, while high complexity spoofing detection techniques include Direction Of Arrival (DOA) comparison [14] and consistency check with other solutions [15][16][17][18].Among the effective high complexity spoofing detection techniques mentioned in the prior study [12], the DOA comparison approach uses the DOA measurements to assess the direction of the spoofing source and mitigates the interference by placing the spatial null in the antenna reception pattern [14]. The consistency check approach uses the inertial measurement unit (IMU) [15][16][17][18]. The relative platform trajectory estimated by the GNSS receiver is compared to the relative trajectory developed from the IMU measurement, specifically gyro output, to detect spoofing [15]. In References [16,17], a tightly coupled GPS / inertial navigation system (INS) is used to detect spoofing by incorporating fault detection concepts and Kalman filter, respectively, based on receiver autonomous integrity monitoring (RAIM). In [18], an accelerometer is used to detect spoofing by comparison of acceleration between the GPS receiver and the IMU. However, no prior research has been done on using the IMU and the acceleration error which is expressed with exact probability density function.In this study, a direct GPS spoofing detection method is proposed which uses attitude and heading reference system (AHRS)...