Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Reach: Intel® Edison based device is making highly precise GPS affordable for everyone

20 Jun 2016 1  
Reach makes high-precision GPS available in a small form factor suitable for drones and other applications

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

We’re used to having GPS receivers integrated in consumer devices all around us, but highly accurate GPS has, until now, been out of the reach of most people. For in-car navigation systems or smartphone applications, accuracy of 10 to 15 meters is good enough to enable people to find their way around. Highly accurate GPS receivers, with tolerances measured in centimeters, have been restricted to professional applications including surveying, construction, precision agriculture and drones because the systems cost tens of thousands of dollars.

Now, that’s changing, thanks to Emlid, the company behind Reach, a high-precision GPS receiver available for $235, based on the Intel® Edison microcomputer platform. The device weighs just 12g, so it can be easily mounted on a drone, and measures 26mm x 45mm.

Reach makes high-precision GPS available in a small form factor suitable for drones and other applications

"For drone hobbyists, Reach enables repeatable precision landings," said Igor Vereninov, co-founder at Emlid. "We can georeference the images taken from drones really well, which is important for building precise 3D models of terrain. Reach is being used in the Alps to monitor glacier movement in real time, there’s a project that’s tracking race horses, and another that is mapping the sea floor to help with applications such as flood modelling."

He adds: "We are working in partnership with Sigro Pilot to deliver a solution for machinery guidance. Sigro is working on the navigation software that installs on an Android tablet and uses precise coordinates from RTK GPS like Reach to help the driver follow the path. If farmers can reduce the overlap between runs when seeding or fertilizing a field, they can save up to 10% of their resources by only sowing and fertilizing where they need to."

The machinery guidance solution on an Android tablet

With surveying equipment often being prohibitively expensive for the developing world, Reach also makes professional measurement affordable for construction and surveying applications there.

One Reach user compared the accuracy of Reach with that of professional surveying equipment by placing 20 control markers over a site that was 2km by 5km and surveying the points using both devices. He found the coordinates varied by just 5cm, while Reach costs a fraction of the price of the professional device.

All about that base

Like existing professional devices, Reach uses Real-Time Kinematic (RTK) algorithms and differential global positioning system (DGPS) technology to increase the precision of the measured position. The method uses the phase of the satellite signal’s carrier wave, rather than the information in the signal, because the carrier measurements have a lower margin of error. However, the challenge is to correctly align the signals, and ensure that calculations are not off by one wave, or more waves, introducing inaccuracies in the calculated positions. RTK uses a base station at a known coordinate. The base station broadcasts its known location together with the code and carrier measurements for all the satellites in view, so the mobile clients can align the carrier wave phases correctly. This enables the mobile devices to calculate their position relative to the base station with a high degree of precision. Base stations can be temporary or permanent and many devices, up to 20km away, can use the same base station for their corrections.

A Reach device can be used as a mobile client, or as a base station if it is stationary and its coordinates are known. This way, a system of two receivers connected to one another using wi-fi Internet access or radio communications can calculate precise coordinates even if no other DGPS base stations are available.

The position of base stations can be measured accurately using commercially or freely available correction services in many countries, including the Continuously Operating Reference Stations (CORS) network. If the precise location of the base station is not known, the mobile clients can still consistently and accurately calculate their position relative to the base station.

PylonGPS is developed by Charles West, a researcher from NC State University who works to create a service that would make it simple to stream the GPS correction data from Reach RTK base stations to anyone who wants it over the Internet. Emlid hopes to incorporate this in a future software release so that users can share the corrections from their base stations, and make more accurate positioning more accessible to everyone.

Developing Reach

The founders of Emlid previously integrated survey-grade GPS receivers into autopilots and mapping systems, costing many thousands of dollars, for a major commercial manufacturer. "We can’t completely replace those professional systems," said Vereninov. "They perform better in challenging environments and can have larger distances from rover to base. But we are bringing a similar precision at a drastically lower price point."

The idea for Reach came when Emlid sampled the RTKLIB toolkit developed by Tomoji Takasu and supported by the open source community (the toolkit has a BSD License). "We were using it to postprocess data from flights, but we quickly saw its potential," said Vereninov. "If we wanted to do real-time positioning, though, we needed to have the receiver connected to a PC at all times. For surveying work, you use a laptop, for example, but that’s too heavy for a drone or other small device. We had the idea to use an Intel Edison single board computer, which can replace the laptop in this application, so RTKLIB runs on the GPS receiver itself."

Positioning accuracy with the help of Reach. Red dots show normal GPS precision in good conditions. Green dots show positions provided by Reach in RTK mode. The receiver was kept stationary so in an ideal situation there would be no deviation. The graph shows that Reach provides positions with less deviation, because the green dots are much closer together. The numbered dots are the most recently plotted points in this real-time graph. Please note the scale.

A look inside Reach

The Reach hardware platform consists of three components: an Intel Edison computer running a custom, Yocto-built, Linux operating system and RTKLIB; a U-blox GPS-receiver; and an external Tallysman antenna, which plays an important role in enabling accurate positioning. The antenna weighs approximately 20g and measures approximately 30mm x 30mm, so it can be easily fitted to a drone or anywhere else where space is limited. Users can choose to fit an alternative antenna if it is better suited to their application. For example, a car or harvester might use a rugged unit that suppresses interference from the machinery. "The antenna quality and placement are essential for RTK," said Vereninov. "It should be the first thing to plan on the device to ensure the best sky visibility and least interference. Everything else flows from that."

The receiver supports the GPS satellite constellation of the US, as well as Russia’s Glonass, China’s Beidou, and Japan’s QZSS. In the future, Emlid plans to add support for the EU’s Galileo satellite constellation to improve signal availability. Using more satellites enables Reach to improve the precision of the calculated coordinates and the solution availability.

In addition to the satellite receiver, Reach has a number of other sensors: a tri-axial gyroscope, an accelerometer and a magnetometer. In the future, the device software will be upgraded to enable it to use these sensors to extrapolate the position when the signal is blocked (by the device going through a tunnel, for example) and to measure the tilt or roll of the device.

The device can also record timing markers from any pulse clock source. A common problem in 3D mapping is that you need to know the exact location of where the aerial photos were taken. When an aircraft is moving at 20m/s, a buffering delay on the camera of 1 second can result in an image being 20m off from the coordinate recorded when it was triggered. Reach can be connected to the hot shoe of the camera to precisely timestamp when the flash was fired, which happens at the same time as the photo is taken. By analyzing the GPS data after the flight, the photos can be accurately matched with their position.

Reach comes with the connectors needed to integrate with major autopilots on the market, and Emlid has recently released integrations with Pixhawk and its own Navio autopilot. The integration with the autopilot enables GPS data to be tunneled through the radio signal used for flight control and mission planning.

<iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/-PaLCl5a0FY?feature=oembed" width="480"></iframe>

Precision landings: A video shows the precision of a drone landing using Reach

Building on Intel Edison

Why did the developers select Edison? "The size and form factor were important, especially for drone applications," said Vereninov. "We were able to build a device that is not larger than the Intel Edison board itself. The best thing about Intel Edison is the price-performance ratio. It’s a really powerful platform, using x86 architecture, with wi-fi and Bluetooth integrated. We use the built-in Bluetooth to connect Android tablets to Reach, so Reach can replace the GPS on Android devices for more accurate geographic information systems (GIS) applications. Wi-fi is important for connecting to the Internet to receive corrections from the base station. When you’re trying to integrate radio frequency equipment, you usually need to certify it, but with Intel Edison everything is preintegrated and precertified."

The Intel Edison platform has 4 GB memory to log data, so that it can be analyzed with greater precision after data collection. USB can be used to connect radios for communication between Reach devices and in the future 3G communications and flash drive logging could be added through software updates.

The device has a number of interfaces. UART can be used to integrate with autopilots, and GPIO pins can be used to control a camera or trigger another device. I2C is often used in drones to communicate to external devices and is also supported on Reach.

Reach can be powered through the USB port, powered from the autopilot in a drone, or powered using a power bank typically used for charging a mobile phone.

Satellite receiver U-blox – 72 channels, output rate up to 18 Hz, supports GPS/QZSS L1 C/A, GLONASS L10F, BeiDou B1, SBAS L1 C/A: WAAS, EGNOS, MSAS, Galileo-ready E1B/C
Computer platform Intel Edison – dual-core 500 MHz
Interfaces I2C, UART, GPIO, TimeStamp, OTG USB, Bluetooth, wi-fi, GNSS
Size 26mm × 45mm
Weight 12g

Managing Reach in the browser

When you switch on the Reach device, it automatically runs the wi-fi hotspot mode, so a user can connect to it with a smartphone and change the settings to connect it to a wi-fi network for software updates.

The ReachView software enables any device with a web browser to connect to Reach to set up RTKLIB, view device logs, assess the quality of satellite observations, change streaming settings, configure connections and check the device position. The ReachView software is open source and is distributed under the GNU GPLv3 License. It was developed using Python and WebSockets for a lightweight, real-time interface. "ReachView provides access to all the features of RTKLIB," said Vereninov. "At the same time, we’ve simplified it by explaining what each feature does and using understandable names for the parameters. We’ve designed the interface so you don’t have to be a surveyor or RTK specialist to set up the devices."

To support users, Emlid has launched a forum, and provided detailed documentation on the website.

ReachView: Using the ReachView software, any device with a browser can be used to access a Reach device.

Crowdfunding success

In 2015 the makers of Reach launched a crowdfunding campaign at Indiegogo to raise the required funds to manufacture the receiver. The developers had some crowdfunding experience: they previously raised about $30,000 to make Navio, a Raspberry Pi-based autopilot. As of December 2015, the third generation of Navio has been manufactured.

The results of the Reach campaign exceeded all the team’s expectations: the target was $27,000, but the campaign took $81,960 in preorders, with promotion being mainly word-of-mouth, showing there is strong demand for high-precision positioning systems. The most popular option was a set of two receivers, suitable for RTK applications.

Thanks to close cooperation with Intel, Emlid was able to acquire the required number of Intel Edison boards at an affordable price. Five months after the completion of the crowd-funding campaign, the first 400 pre-ordered Reach modules were dispatched to the customers.

Reach continues to be developed and extended with software updates as often as every two weeks. The development team has grown from four people to eleven, based in an office with roof access. "That’s been the biggest time saver," said Vereninov. "The big issue with developing GPS is that you can’t test indoors. To test every little thing you need to go outside. It’s really hard to find an open space in a city where you can enjoy a good view. Having that roof and a permanently placed antenna really helps us save time developing Reach."

Reach is now in regular production and available for order through Emlid’s website.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here