DPRG
DPRG List  



[DPRG] Using GPS HDOP for KF purposes

Subject: [DPRG] Using GPS HDOP for KF purposes
From: Chris Jang christopher.jang at yahoo.com
Date: Sat Jan 26 16:59:35 CST 2008

That sounds great! Many applications need access to error statistics inside the GPS unit's filter. The DOP values are user-friendly aggregate measurements of this. Keep in mind though that really you are trusting the GPS unit's filter to return a useful DOP metric. This is probably wise as the GPS unit "knows more" (and the engineers who made the unit also probably know a lot!).

About the slower update rate of the DOP metrics. That just means you won't be able to update your filter gain as frequently. But your filter will still work. Sometimes, periodic recalculation of Kalman gain is done as a performance optimization as maintaining error statistics is somewhat expensive. I read about this in the context of contour tracking in a computer vision problem.

It may be that all filters are created roughly equal (do not know) or perhaps some manufacturers have some black arts of electronics and statistical filtering... The more I see while working with statistics - the more I believe you have to be careful. There is no magic here. If you can, I advise remaining neutral about what to trust. Build your system so you have visibility into it, run experiments and analyze the data. Try to keep it simple. Statistics is different from debugging and troubleshooting in that it is often very hard to know if performance is limited by data quality or by model/software error. When systems become super complicated, it can be impossible to tell.


Dean Hall <dwhall256 at gmail.com> wrote: Chris Jang, all,

I suggested back in November that using the NumberOfSatellites from  
the NMEA stream of a GPS unit could provide an index into a lookup  
table to get the variance value to use in a Kalman Filter (http:// 
list.dprg.org/archive/2007-November/031055.html).

Well, today I stumbled across a better idea.  I was reading through  
this article (http://www.cs.unc.edu/~welch/kalman/Levy1997/ 
Levy1997_KFWorkhorse.pdf) that suggested on page 8 that pseudoranges  
are preferred outputs to use in the KF.  So I looked again through  
the fields that my SiRFstarIII chip provides... nope, no  
psuedoranges.  However, serendipity befell me and I found the  
Dilution of Precision (DOP) field in the GSA sentence and read up on  
it at http://en.wikipedia.org/wiki/Dilution_of_precision_(GPS)

And there it was, in little black text near the bottom:

The DOP factors are functions of the diagonal elements of the  
covariance matrix of the parameters, expressed either in a global or  
a local geodetic frame.

I followed the reference wikipedia gave, read the article (http:// 
www.developerfusion.co.uk/show/4652/2/) and found these two gems:

 "As a general rule of thumb, an HDOP value of six or less is  
recommended for any application which makes suggestions to the user  
based on the current location."

 Accuracy of GPS Device * DOP = Maximum Allowable Error

I plan to use the HDOP in my KF.  Also, note that the HDOP is usually  
much smaller (=better) than the VDOP and mean DOP.  Here are real- 
world measurements I made: with 10 sats in view, I got a HDOP of 1.8;  
with 12 sats (max for my GPS), HDOP = 0.9.  Although I cannot confirm  
it, it seems (from measuring and comparing to Google Earth) that *DOP  
values have a unit of meters.  So it looks like the HDOP value will  
provide a nice input to calculate my GPS module's measurement error  
variance.  The downside is that the GSA sentence containing the HDOP  
does not arrive as often as the RMC and VTG sentences in the default  
configuration.

!!Dean
_______________________________________________
DPRGlist mailing list
DPRGlist at dprg.org
http://list.dprg.org/mailman/listinfo/dprglist


       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.dprg.org/pipermail/dprglist/attachments/20080126/20eec2d6/attachment.html

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net