Abstract
Android, the most popular smart operating system with an approximately 86% market share, has been able to support devices in exporting GNSS raw measurement. Taking an example of Huawei P9 smartphone, the paper mainly illustrated the way to obtain GNSS raw measurements on Android OS platform. Moreover, the quality of the satellite signal, the accuracy of GNSS measurements obtained from Android smartphone were analyzed. It can be approved that under good observing conditions, the mean Carrier-to-noise Ratio (CNR) of the satellite signal received by smart mobile devices with Android operating system can usually reach above 25 dBHz, the pseudorange noise of each satellite is about 8–12 m, and the cycle clip ratio of carrier phase measurements is extremely high, the carrier phase range noise can be within 0.006 m when no cycle slip. Compared with common GNSS geodetic receivers, due to the smartphone’s hardware, the CNR is lower, and the quality of measurements needs to be improved.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
“Android”, the name of the humanoid robot in the science fiction L’Eve Future written by French author Auguste Villiers de L’lsle-Adam, which represents the most popular smart operating system now. In 2003, Andy Rubin founded Android Inc. and began to research and develop the intelligent operating system. In 2005, Google Inc. acquired Android as well as its R&D team. In November 2007, Android operating system was roll-out, and a global Open Handset Alliance composed of 34 software, hardware and telecommunication enterprises was established to develop open standards for Android devices. In 2008, Google released the initial version of Android, approved by the US Federal Communications Commission. As the system continued updating and optimizing, Android has been widely accepted by customers. By the first quarter of 2017, the market share of Android has reached about 86% [1].
The early version Android can export the location such as longitude, latitude and altitude with GNSS controller, and provides the related application program interface (API) to obtained location. However, due to the commercial confidentiality requirement of the manufacturer, the operating system encapsulates the variables of GNSS measurements, so that it is impossible for developers and users to obtain the GNSS measurements. In 2016, the Android Nougat system was released by Google Inc. added the APIs to export the available GNSS raw measurements, which brought a chance to get the pseudo-range and carrier phase measurements to achieve precision positioning by the mobile phone.
At present, the Android smart mobile devices that support the output of GNSS raw observations include HUAWEI’s Honor 8 and 9, HUAWEI’s P9 and P10, HUAWEI’s mate 9, Samsung’s S8, Google’s Pixel and Nexus 6P, 5X phones and Nexus 9 tablets. The main feature of those device is listed in Table 1 [2].
This paper briefly introduces the Android system library about GNSS raw measurements and APIs to obtain measurements. Moreover, it assessed the measurement data collected by Huawei P9 smartphone in Carrier-to-Noise Ratio(C/N0), Pseudorange Noise, Ranging Precision and Cycle Slip.
2 Location Libraries and GNSS Raw Measurements
Compared with the earlier versions, new classes had been added into the Location library in Android Nougat, such as GnssMeasurement class, GnssNavigation class, GnssClock class and so on.
The GnssClock class, which represents a measurement of the receiver’s clock, mainly contains the timestamp information. As Android is developed based on the Linux kernel, the clock set in Android devices can be classified into the Real Time Clock (RTC) and the System Clock. The System Clock is a “software” clock to users. The RTC is a “Hardware” Clock (HWClock), which runs independently from the operating system. The RTC is maintained by an integrated circuit in the smart devices. In the previous version of Android, developers and users cannot obtain HWClock timestamps as it is encapsulated. The GnssClock class provides methods to get HWClock, so the developers can compute the GPS time of Android devices.
GnssMeasurement class mainly contained raw measurements and computed information, such as Constellation Types, Carrier Frequency, Space Vehicle ID, Carrier-to-Noise Ratio, Received Satellite Time, Pseudorange Rate, Accumulated Delta Range, etc. And GnssNavigationMessage class contained a GNSS satellite Navigation Message. These classes is indispensable to compute pseudorange and carrier phase measurements so as to position precisely on Android devices.
3 Quality Assessment
With a NovAtel GNSS receiver set together, a Huawei P9 (EVA-AL10) smartphone was adopted to collect measurements on the rooftop station in Zhengzhou, Henan Province, without electromagnetic interference detectable and obstacles above 10° of elevation angle around. The data during 15:44:37–00:15:17, Nov. 11th, 2017 (GPST) was selected as the sample with 1 s interval, 30,642 valid epochs and 227,831 valid measurements.
3.1 Carrier-to-Noise Ratio
As shown in Fig. 1, in good observing condition, the Carrier-to-Noise Ratio of signal received by Huawei P9 mainly distributed within 20–35 dBHz.
As shown in Fig. 3, the CNR of signal from G30 satellite decreased as the elevation angle of satellite descend. Referring to the observation data, the mean CNR value is 28.88 dBHz. When the elevation angle was below 30°, the CNR was under 25 dBHz. And it reached above 30 dBHz only with a elevation angle over 40°. However, in the same condition, the mean CNR value of NovAtel DL-V3 receiver was 44.64 dBHz (Fig. 2).
3.2 Pseudorange Measurements
3.2.1 Theoretical Pseudorange Noise
Pseudorange noise is one of the key point of the quality assessment for navigation devices. Since PN code ranging is achieved by accurate tracking of PN code, the noise of code tracking is the decisive factor of range measurement. The principles were shown as follow.
\( C_{s} /N_{0} \) is Carrier-to-Noise Ratio; \( \sigma_{CELP}^{2} \) is the tracking error of coherent delay-locked loop; \( \sigma_{NELP}^{2} \) is that of noncoherent delay-locked loop. Most of GNSS receivers adopt the noncoherent delay-locked loop. And \( K_{1} \), \( K_{2} \) are the coefficients which is related to loop bandwidth \( B_{L} \), integrate time \( T \), filter bandwidth \( \beta_{r} \), Code correlation interval \( \Delta \). \( G_{s} (f) \) is the normalized power spectral density with infinite bandwidth, and \( \int_{ - \beta /2}^{\beta /2} {G_{s} } (f)df = 1 \) [3]. Referring to the equation above, it is obvious that when CNR gets higher, the code tracking error increases as the range noise reducing.
As shown in Figs. 4 and 5, the range noise of Huawei P9 distribute from 5 to 40 m. The mean theoretical value of pseudorange noise is about 10.76 m. Comparing the theoretical pseudorange noise with CNR, it can be approved that the noise value reduces as the CNR values rises.
3.2.2 Pseudorange Noise in Practice
In terms of the pseudorange measurements computed, the polynomial fitting method was used to get the pseudorange noise with each 120 adjacent measurements divided into one segment to compute the fitting parameters [4, 5].
Figure 6 has shown the Huawei P9 pseudorange noise of each satellite. In general, the value decreases when the CNR gets higher. Most of the pseudorange noise values of each satellite were within 8–12 m and no higher than 20 m. The mean noise value of all is 10.10 m, close to the theoretical pseudorange noise while that of Novatel receiver was only 0.023 m, as shown in Fig. 7.
3.3 Carrier Phase Measurements
3.3.1 Carrier Phase Noise
As mentioned already, the tracking noise of carrier phase measurements is the main factor of carrier phase range noise. The principles were shown as follows.
\( \sigma_{coherent}^{2} \) is the coherent delay-locked loop tracking error; \( \sigma_{cost}^{2} \) is the noncoherent delay-locked loop tracking error; \( B_{\theta } \) is loop bandwidth [5]. And also the tracking precision decreases as the CNR gets lower [3].
As is shown in Figs. 8 and 9, when cycle slip occurred, the carrier phase range noise overflows and without cycle slip, the noises mainly distributes within 0.001–0.006 m, reducing as the C/N0 gets higher.
3.3.2 Cycle Slip Detection
Cubic epoch differential method was adopted to detect cycle slip with carrier phase measurement.
By means of differential method, the cycle slip of carrier phase can be amplified to be more detectable [6].
It was found after analysis that the cycle slip ratio of carrier phase measurements received from Huawei P9 smartphone is overtop. According to statistics, there are 120, 759 measurements with cycle slips in 227,831 carrier phase measurements (Table 2). Compared with Huawei P9, that of NovAtel is much lower with only 28 measurements containing cycle slip. However, not all the Android smart devices (Table 3) have this fault. In similar conditions, using the Nexus 9 tablet with better performance collecting 31,791 measurements during 22:32:21–23:36:59, Aug. 7th, 2017 (GPST), there was only 326 cycle slips detected (Table 4).
4 Conclusion
The report briefly introduced GNSS libraries and raw measurements of Android system. Moreover, it assessed the Huawei P9 GNSS measurements and compared it with that of NovAtel receivers. It was demonstrated that in the same observing environment, the quality of Huawei P9 GNSS measurements still need to be improved.
-
(1)
The mean value of signals CNR from NovAtel GNSS receivers is 44.63 dBHz, much higher than that from Huawei P9, 28.88 dBHz.
-
(2)
The mean pseudorange noise of NovAtel receiver is only 0.023 m, while that of Huawei P9 smartphone reaches above 8 m. Moreover, the cycle slip of carrier phase measurements occurs much too frequent on Huawei P9.
-
(3)
Though the GNSS raw measurements are now available in the output of Android Nougat, the GNSS module inside smartphone still needs to be optimized.
References
Guo L (2016) The first line of code, 2nd edn. Post and Telecom Press, Beijing, China, pp 01–04
Simon B, Van Frank D (2016) Innovation: precise positioning using raw GPS measurements from Android smartphones. GPS World J 27:43–48
Chen W, Li X (2015) Accuracy assessment for carrier phase and code measurements of BDS B1/B3 frequency observation. Aerospace Shanghai J 32:62–66
Guan M, Jiao W, Jia X (2017) Accuracy analysis of BDS pseudorange observation. Geom Sci Eng J 37:21–25
Zhang X, Wang F (2011) Research and analysis on pseudo-range noise modeling method. Aerospace Controland Appl J 37:44–48
Zhao L (2012) The Application of Triple-frequency Data Combination in Cycle Slip Detection and Repairing. Liaoning Technical University
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Zhang, K., Jiao, F., Li, J. (2018). The Assessment of GNSS Measurements from Android Smartphones. In: Sun, J., Yang, C., Guo, S. (eds) China Satellite Navigation Conference (CSNC) 2018 Proceedings. CSNC 2018. Lecture Notes in Electrical Engineering, vol 499. Springer, Singapore. https://doi.org/10.1007/978-981-13-0029-5_14
Download citation
DOI: https://doi.org/10.1007/978-981-13-0029-5_14
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-0028-8
Online ISBN: 978-981-13-0029-5
eBook Packages: EngineeringEngineering (R0)