Simulating GPS Signals in Real-Time –
What Can You Do with It?

Published: April 14, 2015

Can simulation be better than real-world vehicle testing? What is all this GPS simulation stuff and what can I do with it?

Jeff Warra
Technical Specialist
dSPACE Inc.

I used to read Bob Pease articles and he would always start with, “What’s All This Stuff, Anyhow?” Bob was an analog guru and he worked on the first reasonably, cost-effective, operational amplifier made for mass production. I start my blog with this title to pay tribute to Bob who was a legend in his own time. I bring this up because Bob died in a car accident in 2011 and the vision of the automotive industry eliminating cars from crashing into each other is starting to become a reality. It has moved from a futurist concept to real work being done in that direction in R&D labs around the world today.

In 2013, NHTSA1 reported 5.7 million vehicle crashes, 32,719 deaths and 2.3 million injuries. These are not small numbers. We have an obligation to our families, friends and children to develop the next innovations that will rocket advanced driver assistance systems (ADAS) into the future.
So what’s all this GPS stuff, anyhow? Why is it relevant to me? Why do we need to simulate GPS in the lab, and what can I do with it? I will answer all of these questions and give you some real world and lab environment examples for GPS positioning data.

These days, GPS receivers are everywhere and in everything -- our phones, our apps, our pictures, our cars, on our assets and on our soldiers. The landscape of cartography, which is the study and practice of making maps, is changing rapidly. The usage of map data is exploding in new system technology. This technology will bring us 10cm high-definition resolution maps which will help the industry develop advanced technologies to save fuel and save lives. New developments that will help you see around a corner at night easier, by adjusting your headlights before reaching a curve or knowing when a large hill is approaching to provide optimized transmission shifting.

The usage of high-definition map data, fused with GPS location information, enables these new vehicle features to be developed. Being able to also have our intersections communicate with our vehicles, and our vehicles communicating with each other, enables the next technological advancements in the mobility industry. Broadcasting your exact vehicle position to another vehicles and adding sophisticated path prediction algorithms will help ensure vehicles do not cross paths one mile at a time, saving countless lives for years to come.

Why do we need to simulate GPS in the lab? I say why not? GPS simulation technology has come down in price. Why do GPS signals have to be any different than a wheel speed or a steering angle sensor? We simulate those in a lab. Why do we do lab testing anyway? It is to ensure that systems, features and functions you’re developing are operating safely and accurately under many conditions.

Lab testing can also be used to create virtual scenarios that could be hazardous to perform on a test track. Once these scenarios are created, you can repeat those tests to accurately compare algorithm changes using the lab to better understand any limitations or undesired system features. This is a great usage of a lab. Being able to perform high crash probability tests, for example, can help reduce test track time by ensuring that when a vehicle hits the test track it has already passed lab, bench and validation testing. All of these kinds of activities help boost confidence in a system design.  

Validation of overall system reactions

The first fundamental rule in experimentation is limiting your variability from unknown factors. When validating system functionality, you should strive to limit variations in back-to-back test runs. This is to ensure that the differences you perceive at the end of your tests only contain the variation you applied during the test and nothing else. Reliability and reproducibility in the system is highly desired. GPS simulation can give you this reliability and reproducibility that is needed in the lab, versus a live GPS broadcast signal in the sky.

Here are some functions that should be tested in the lab vs. the live sky:

  • Location accuracy:
    • Both static and dynamic characters can be repeatability tested to make easier and more reliable comparisons of different GPS receivers and their chipsets.
  • Sensitivity of acquisitions for tracking, navigation and guidance:
    • What power level is required to maintain satellite fix and lock for usage in your applications?
  • Reacquiring satellite fix and lock:
    • How long does it take for your system to recover from a loss of signal, either from canyons, tall buildings, tunnels or parking garages? How will this affect your customer experience?
  • Filter design, calibration and debug:
    • How do your filters react to step changes in location position? Programmatically, make step changes in your trajectory to check symmetry and phase coherence of your navigation filters and estimated trajectories. Allowing a comparison of overall system respond. I view step changes in trajectory as a means to programmatically produce multi-path disturbances that would otherwise be seen in the live sky broadcasts in urban and canyon areas.
  • Power disturbances:
    • How does your system react and recover to power disturbance during almanac and ephemeris downloads? Will it recover?
    • How does your system react during a running reset, which means driving down the street and turning your ignition OFF and then back ON, while the vehicle is still rolling down the street. How long does it take your system to reacquire a fix and lock after it was running normally? Do your filters reset or not during this disturbance? How does your position information match up with your navigation maps during this occurrence?
  • RF interference - atmospheric, multi-path, jamming:
    • How does your system react to multi-path disturbances? Your GNSS receiver can and will receive the same exact satellite signal and its ghost or phantom signal from a reflective surface on a building or structure. How will your systems filter and react?

Deviation Maps Live Sky vs. Simulated Static Locations

Here are a couple of deviation maps of a static location showing the standard deviations of GPS in the lab and from the live sky using a u-Blox EVK GNSS receiver2. The fix mode for the EVK was 3D/DGPS for the entire length of this capture plot.

The picture shows a deviation of around 1.5m of accuracy for a static location, taken from the live sky.

The picture shows a standard deviation of around 5cm for deviation using GPS simulation in a lab environment using a GPS simulator.

In my opinion, there is no better way too purposely test a system than by limiting the variability of your test scenario, which will help isolate specific aspects and outcomes from your system. This will allow easier development of algorithm comparisons during the development process.

Testing fix and lock of a GPS receiver by programmatically varying its power

Below is a graphical representation of the RF power output of the GPS simulator. The other picture shows satellite power and the resulting degraded navigation fix (blue) and valid 3D navigation fix/lock (green) status of each GPS satellites in view, alongside a visual indication of the navigation path, for time 5 seconds to 25 seconds.
As you can see, varying the satellite’s power will affect your navigation path output in atypical ways.

Graphical representation of the RF power output of the GPS simulator

This picture shows satellite power and the resulting degraded navigation fix (blue) and valid 3D navigation fix/lock (green) status of each GPS satellites in view, alongside a visual indication of the navigation path, for time 5 seconds to 25 seconds.

The innovations of tomorrow are being developed today. Are your test labs ready for the challenge?

2013 Crash Overview: http://www-nrd.nhtsa.dot.gov/Pubs/13WPPP.pdf
u-Blox, u-Center software: http://www.u-blox.com/en/

More Information

Drive innovation forward. Always on the pulse of technology development.

Subscribe to our expert knowledge. Learn from our successful project examples. Keep up to date on simulation and validation. Subscribe to/manage dSPACE direct and aerospace & defense now.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.