Introduction: Sub Centimeter GPS With RTKLIB

Picture of Sub Centimeter GPS With RTKLIB

I recently had the need for a very accurate and precise positioning system, but had a hard time finding one. So I figured I'd share my discovery here so everyone will know centimeter or decimeter accuracy is easily within reach.

I plan to use this with 3d Robotics Ardupilot/rover/copter since their software is so well funded/researched, widely supported, and open source. The processing software is called RTKLIB and runs on Linux, Windows, Android, and with some work maybe Mac.

In my specific case Navio+ and a Raspberry Pi will be used on a UAV. I'll update when i have more data and pictures.

Step 1: Capabilities

Picture of Capabilities

This method does typically require you to have two GPS receivers that can output raw data to achieve maximum accuracy. This is the only additional cost compared to traditional GPS since the software is free.

(1) It supports standard and precise positioning algorithms with: GPS(USA), GLONASS(Russia), Galileo(EU), QZSS, BeiDou(China) and SBAS. Most antennas only support GPS. Be sure to purchase one with multiple constellations.

(2) It supports various positioning modes with GNSS for both real-time and post-processing: Single, DGPS/DGNSS, Kinematic, Static, Moving-Baseline, Fixed, PPP Kinematic, PPP-Static, and PPP-Fixed

(3) It supports external communication via: Serial, TCP/IP, NTRIP, local log file (record and playback) and FTP/HTTP (automatic download)

(4) It supports L1 signals and L2 if you can afford military spec. receivers.

Step 2: How It Works

Picture of How It Works

Real Time Kinematic (RTK) GPS uses a known static point compared with where the GPS signal says it is and applies that error correction to your "rover" in order to find its exact position. All via raw frequency measurement not GPS messages.

These corrections can be sent many ways, but typically some type of Bluetooth or internet protocol(TCP) is used (as mentioned before) specifically for GPS NTRIP via NTRIP caster.

-Exploring these sources should tell you everything you ever wanted to know.

http://wiki.openstreetmap.org/wiki/RTKLIB

http://www.rtklib.com

http://docs.emlid.com/RTKLIB/rtklib-rover-setup/

Realtime and post-processing modes

Single

Enables positioning as a normal GNSS receiver using supplied ephemerides and clock data from the satellites. If the SBAS data is available for this geographic region, it can be used to improve the rover's position (Single+SBAS)

Differential

GPS/GNSS where positioning results from a rover and base station are used to improve the rover's position.

Real Time Kinematic

(RTK) Kinematic

Raw data from a moving rover is combined with raw data from a static base station to improve the rover's position. Static Similar to above, but the rover is stationary.

Moving-Baseline

Similar to above, but the distance between the rover and base station is calculated irrespective of the base station's position.

Fixed

Used for RTKLIB residuals analysis (Tropo+Iono+integer ambiguity resolution+Errors, see Section B.3 in the RTKLIB Manual).

Precise Point Positioning (PPP)

PPP-Kinematic Raw

Data from a moving rover is combined with real time predicted or non-real time measured precise ephemerides and satellite clocks to improve the rover's position.

PPP-Static

Similar to above, but the rover is stationary.

PPP-Fixed Used for residuals analysis.

For android app (RTK+): https://play.google.com/store/apps/details?id=gpsp... It does everything RTKLIB does. But the GPS in the device can't be used for RTK since none currently support the output of Raw GPS data. However you can still use a separate GPS via ftdi USB adapter.

Step 3: Example

Picture of Example

Differential code+phase static positioning relative to an IGS station. Short base vector length.

Base station: EUREF/SVTL

Date: 2013-12-28 (WEEK=1772 DOY=362)

Time interval: 100 ms Time alignment: 1s

Distance to base station: ~0.8 km

Geoid/Pseudo-geoid model: EGM2008

Measurement site: near SVTL

Antenna: Trimble Bullet III 3.3V

Receiver: EVK-6T-0

Picture of results above.

The closer you rover is to the base station the more accurate you results will be. I wouldn't go any further than 20km.

All states in the US should have broadcasting base stations covering most most the state (Typically the DOT). Some charge a nominal fee and some cost $1000 for access.

Navio+Raspberry Pi from Emlid also has some tutorials and product suggestions for using RTKLIB. Which is what I am currently working on.

Supported receivers under supported hardware.
http://wiki.openstreetmap.org/wiki/RTKLIB

Ground plates (Ground plane) are also necessary in high accuracy applications. Typically a conductive disc λ/4 in radius. So for GPS =1575mhz wavelength = 19cm 9.5cm (~4"+) and up will isolate the antenna well. Bigger is always better.

More details for RTK fix solution:
http://community.emlid.com/t/issues-with-rtklib-fix-using-neo6-t-dongle




Step 4: Hardware and Software Vendors

Picture of Hardware and Software Vendors

Hardware

U-blox (receivers)

-Compatible models 6t, 8t

NVS

Navspark (receivers)
-NS-Raw

Emlid

-Navio+/2

-Reach

Tallysman (antennas)
-Buy on digikey

Additional Software tools:
U-center (u-blox)
GNSS Viewer (Navspark/Skytraq)
CDDIS (Nasa database)
glab (ESA)

All RTKLIB supported receivers

Comments

ildarius (author)2017-03-08

A bit over my head, wish there was a dumbed down version of this

PaulS339 (author)2016-04-26

With this setup can the raw data be sent out in RINEX?

About This Instructable

55,729views

82favorites

Add instructable to: