EmbeddedRelated.com
Forums

measuring 10 km with 1m accuracy

Started by Surinder Singh February 15, 2010
In article <G5ydnVDxFdZcN-TWnZ2dnUVZ_rb_fwAA@web-ster.com>,=20
tim@seemywebsite.com says...
> On Mon, 15 Feb 2010 11:26:06 -0800, rickman wrote: >=20 > > On Feb 15, 2:07=C2=A0pm, Jim Stewart <jstew...@jkmicro.com> wrote: > >> Paul Keinanen wrote: > >> > On Mon, 15 Feb 2010 09:29:10 -0600, Vladimir Vassilevsky > >> > <nos...@nowhere.com> wrote: > >> > >> >> While ago I did a plot of a common GPS module readings taken at > >> >> every second. The distribution was clearly not Gaussian; it was > >> >> asymmetrical and skewed. I am not sure if it would be possible to > >> >> improve the accuracy by averaging and how much of averaging it woul=
d
> >> >> take. > >> > >> > How did the displayed elevation behave ? > >> > >> > If it is violently jumping up and down, this may be a symptom of a > >> > ground reflection., i.e. the distance to one (or more) satellites > >> > would appear to bee too large, i.e. going through the ground > >> > reflection. > >> > >> Does this really happen or are you speculating? No disrespect intended=
,
> >> I've just never heard of this issue. > >=20 > -- snip -- > > A GPS works by measuring the time of flight from the visible satellites > > and triangulating. Clearly if one or more measurements are off because > > of reflections, it will mess up the results. I don't know how they > > compensate for this, or if they even do.=20 >=20 > I suspect that the cheap handheld units don't -- the cost of the logic=20 > would go up as something like N^1 or N^2 as the size of the time window=
=20
> increased, and to catch a reflection you need a time window big enough to=
=20
> see it and the 'correct' signal, or you need a multiplicity of receive=20 > channels.
Many modern civilian GPS units have 16 to 32 recieve channels=20 (correlators). I don't know if they are used to detect multipath or not. I'm sure that the extra channels are useful for locking in new satellites as they appear without having to drop old ones.
>=20 > > I would think they would toss > > out one or two outliers if they had more than half a dozen or so > > satellites in view.=20 >=20 > One hopes. But a $150 GPS receiver is a pretty amazing exercise in cost=
=20
> reduction already -- I wouldn't count on it. >=20 > > I think it takes a minimum of 4 to get a 3D fix and > > the more measurements included in the calculations, the better the > > result... as long as they are not reflections. >=20 > Yes. The receiver has to solve for three spatial dimensions and time. =
=20
> Solving those four equations demands four unknowns. Height is generally=
=20
> known to a much lesser accuracy than horizontal position, because the=20 > slant angle to the satellites is often quite shallow, which makes it=20 > harder to resolve height. >=20 >=20
Mark Borgerson
On Feb 15, 3:12=A0pm, Tim Wescott <t...@seemywebsite.com> wrote:
> On Mon, 15 Feb 2010 11:26:06 -0800, rickman wrote: > > On Feb 15, 2:07=A0pm, Jim Stewart <jstew...@jkmicro.com> wrote: > >> Paul Keinanen wrote: > >> > On Mon, 15 Feb 2010 09:29:10 -0600, Vladimir Vassilevsky > >> > <nos...@nowhere.com> wrote: > > >> >> While ago I did a plot of a common GPS module readings taken at > >> >> every second. The distribution was clearly not Gaussian; it was > >> >> asymmetrical and skewed. I am not sure if it would be possible to > >> >> improve the accuracy by averaging and how much of averaging it woul=
d
> >> >> take. > > >> > How did the displayed elevation behave ? > > >> > If it is violently jumping up and down, this may be a symptom of a > >> > ground reflection., i.e. the distance to one (or more) satellites > >> > would appear to bee too large, i.e. going through the ground > >> > reflection. > > >> Does this really happen or are you speculating? No disrespect intended=
,
> >> I've just never heard of this issue. > > =A0-- snip -- > > A GPS works by measuring the time of flight from the visible satellites > > and triangulating. =A0Clearly if one or more measurements are off becau=
se
> > of reflections, it will mess up the results. =A0I don't know how they > > compensate for this, or if they even do. > > I suspect that the cheap handheld units don't -- the cost of the logic > would go up as something like N^1 or N^2 as the size of the time window > increased, and to catch a reflection you need a time window big enough to > see it and the 'correct' signal, or you need a multiplicity of receive > channels. > > > I would think they would toss > > out one or two outliers if they had more than half a dozen or so > > satellites in view. > > One hopes. =A0But a $150 GPS receiver is a pretty amazing exercise in cos=
t
> reduction already -- I wouldn't count on it. > > > I think it takes a minimum of 4 to get a 3D fix and > > the more measurements included in the calculations, the better the > > result... as long as they are not reflections. > > Yes. =A0The receiver has to solve for three spatial dimensions and time. =
=A0
> Solving those four equations demands four unknowns. =A0Height is generall=
y
> known to a much lesser accuracy than horizontal position, because the > slant angle to the satellites is often quite shallow, which makes it > harder to resolve height. > > --www.wescottdesign.com
$150? I have $50 bluetooth GPS and I have seen $25 GPS modules that use nothing more than an ARM7 to do the actual calculations for a fix. I can't imagine that it would take a significantly more expensive CPU to do the culling of outliers. In fact, one of the vendors we considered supported the sharing of the CPU to run application code potentially saving an MCU in an application. That shows even in a little ol' ARM7 there are CPU cycles to spare. But then I don't know diddly about the actual calculations being done. So I can's say for sure. Rick
Op Mon, 15 Feb 2010 19:22:25 +0100 schreef Paul Keinanen <keinanen@sci.fi>:
> On Mon, 15 Feb 2010 04:13:09 -0800 (PST), Surinder Singh > <gogreenmiles@gmail.com> wrote: > > >> What would be best technology (GPS,IR,Radio/freq,ultrasonic etc) for >> doing distance measurements upto 10km with accuracy of 1 meter? > > So the accuracy requirement is 100 ppm. > > Is this measurement in vacuum or in the atmosphere and if so, what is > the refractive index during the measurement. Any mirages ? > > Even when using lasers or some microwave measuring devices, the > propagation in typical atmospheric conditions will bend the beam > slightly downwards, thus forming an arc and thus the reading would > also be slightly too big.
Unless you would compensate for this predictable effect.
> The speed of light is about 300 ppm lower at sea level than in vacuum, > so also the elevation and hence air density will affect the speed of > light and this may also cause errors.
Unless you would compensate for this predictable effect. -- Gemaakt met Opera's revolutionaire e-mailprogramma: http://www.opera.com/mail/ (remove the obvious prefix to reply by mail)
On Feb 15, 7:27=A0pm, rickman <gnu...@gmail.com> wrote:
> On Feb 15, 3:12=A0pm, Tim Wescott <t...@seemywebsite.com> wrote: > > > > > On Mon, 15 Feb 2010 11:26:06 -0800, rickman wrote: > > > On Feb 15, 2:07=A0pm, Jim Stewart <jstew...@jkmicro.com> wrote: > > >> Paul Keinanen wrote: > > >> > On Mon, 15 Feb 2010 09:29:10 -0600, Vladimir Vassilevsky > > >> > <nos...@nowhere.com> wrote: > > > >> >> While ago I did a plot of a common GPS module readings taken at > > >> >> every second. The distribution was clearly not Gaussian; it was > > >> >> asymmetrical and skewed. I am not sure if it would be possible to > > >> >> improve the accuracy by averaging and how much of averaging it wo=
uld
> > >> >> take. > > > >> > How did the displayed elevation behave ? > > > >> > If it is violently jumping up and down, this may be a symptom of a > > >> > ground reflection., i.e. the distance to one (or more) satellites > > >> > would appear to bee too large, i.e. going through the ground > > >> > reflection. > > > >> Does this really happen or are you speculating? No disrespect intend=
ed,
> > >> I've just never heard of this issue. > > > =A0-- snip -- > > > A GPS works by measuring the time of flight from the visible satellit=
es
> > > and triangulating. =A0Clearly if one or more measurements are off bec=
ause
> > > of reflections, it will mess up the results. =A0I don't know how they > > > compensate for this, or if they even do. > > > I suspect that the cheap handheld units don't -- the cost of the logic > > would go up as something like N^1 or N^2 as the size of the time window > > increased, and to catch a reflection you need a time window big enough =
to
> > see it and the 'correct' signal, or you need a multiplicity of receive > > channels. > > > > I would think they would toss > > > out one or two outliers if they had more than half a dozen or so > > > satellites in view. > > > One hopes. =A0But a $150 GPS receiver is a pretty amazing exercise in c=
ost
> > reduction already -- I wouldn't count on it. > > > > I think it takes a minimum of 4 to get a 3D fix and > > > the more measurements included in the calculations, the better the > > > result... as long as they are not reflections. > > > Yes. =A0The receiver has to solve for three spatial dimensions and time=
. =A0
> > Solving those four equations demands four unknowns. =A0Height is genera=
lly
> > known to a much lesser accuracy than horizontal position, because the > > slant angle to the satellites is often quite shallow, which makes it > > harder to resolve height. > > > --www.wescottdesign.com > > $150? I have $50 bluetooth GPS and I have seen $25 GPS modules that > use nothing more than an ARM7 to do the actual calculations for a > fix. =A0I can't imagine that it would take a significantly more > expensive CPU to do the culling of outliers. =A0In fact, one of the > vendors we considered supported the sharing of the CPU to run > application code potentially saving an MCU in an application. =A0That > shows even in a little ol' ARM7 there are CPU cycles to spare. > > But then I don't know diddly about the actual calculations being > done. =A0So I can's say for sure. > > Rick
Just convolutions and trigonometry. Nothing heavy. 10 to 20MIPS should work.
On Feb 15, 4:13=A0am, Surinder Singh <gogreenmi...@gmail.com> wrote:
> Hi, > > What would be best technology (GPS,IR,Radio/freq,ultrasonic etc) for > doing distance measurements upto 10km with accuracy of 1 meter? >
.> GPS could be good for greater distance but accuracy seems coarse.
> > - Surinder
Surveying grade GPS code based instruments can provide sufficient accuracy at the cost of more time (and money) than the shirt pocket GPS receivers take. If you are only interested in distance and not position you can use real time kinematic (RTK) GPS instruments that process relative positions based on GPS carrier phases instead of codes. See: http://en.wikipedia.org/wiki/Real_Time_Kinematic Dale B. Dalrymple
rickman wrote:

> $150? I have $50 bluetooth GPS and I have seen $25 GPS modules that > use nothing more than an ARM7 to do the actual calculations for a > fix. I can't imagine that it would take a significantly more > expensive CPU to do the culling of outliers. In fact, one of the > vendors we considered supported the sharing of the CPU to run > application code potentially saving an MCU in an application. That > shows even in a little ol' ARM7 there are CPU cycles to spare. > > But then I don't know diddly about the actual calculations being > done. So I can's say for sure.
Years and years ago SGS published a booklet that explained in detail how to write the firmware to drive their GPS frontend chips and decode the data. It was very interesting reading but alas, I lost my copy. Anyone seen a pdf version around?
On Feb 15, 7:29=A0am, Vladimir Vassilevsky <nos...@nowhere.com> wrote:

> > While ago I did a plot of a common GPS module readings taken at every > second. The distribution was clearly not Gaussian; it was asymmetrical
.> and skewed. I am not sure if it would be possible to improve the .> accuracy by averaging and how much of averaging it would take.
> > Vladimir Vassilevsky > DSP and Mixed Signal Design Consultanthttp://www.abvolt.com
To improve accuracy by averaging you need to average over samples with independent errors. With GPS that can require collecting samples over a long enough period to collect from different sets of satellites in view. How many years did you plot? If you have the time you can measure continental drift: http://sideshow.jpl.nasa.gov/mbh/series.html For an example plot see: http://sideshow.jpl.nasa.gov/mbh/all/AML5.html Dale B. Dalrymple

linnix wrote:

> On Feb 15, 7:27 pm, rickman <gnu...@gmail.com> wrote: > >>On Feb 15, 3:12 pm, Tim Wescott <t...@seemywebsite.com> wrote: >> >> >> >> >>>On Mon, 15 Feb 2010 11:26:06 -0800, rickman wrote: >>> >>>>On Feb 15, 2:07 pm, Jim Stewart <jstew...@jkmicro.com> wrote: >>>> >>>>>Paul Keinanen wrote: >>>>> >>>>>>On Mon, 15 Feb 2010 09:29:10 -0600, Vladimir Vassilevsky >>>>>><nos...@nowhere.com> wrote: >> >>>>>>>While ago I did a plot of a common GPS module readings taken at >>>>>>>every second. The distribution was clearly not Gaussian; it was >>>>>>>asymmetrical and skewed. I am not sure if it would be possible to >>>>>>>improve the accuracy by averaging and how much of averaging it would >>>>>>>take. >> >>>>>>How did the displayed elevation behave ? >> >>>>>>If it is violently jumping up and down, this may be a symptom of a >>>>>>ground reflection., i.e. the distance to one (or more) satellites >>>>>>would appear to bee too large, i.e. going through the ground >>>>>>reflection. >> >>>>>Does this really happen or are you speculating? No disrespect intended, >>>>>I've just never heard of this issue. >> >>> -- snip -- >>> >>>>A GPS works by measuring the time of flight from the visible satellites >>>>and triangulating. Clearly if one or more measurements are off because >>>>of reflections, it will mess up the results. I don't know how they >>>>compensate for this, or if they even do. >> >>>I suspect that the cheap handheld units don't -- the cost of the logic >>>would go up as something like N^1 or N^2 as the size of the time window >>>increased, and to catch a reflection you need a time window big enough to >>>see it and the 'correct' signal, or you need a multiplicity of receive >>>channels. >> >>>>I would think they would toss >>>>out one or two outliers if they had more than half a dozen or so >>>>satellites in view. >> >>>One hopes. But a $150 GPS receiver is a pretty amazing exercise in cost >>>reduction already -- I wouldn't count on it. >> >>>>I think it takes a minimum of 4 to get a 3D fix and >>>>the more measurements included in the calculations, the better the >>>>result... as long as they are not reflections. >> >>>Yes. The receiver has to solve for three spatial dimensions and time. >>>Solving those four equations demands four unknowns. Height is generally >>>known to a much lesser accuracy than horizontal position, because the >>>slant angle to the satellites is often quite shallow, which makes it >>>harder to resolve height. >> >>>--www.wescottdesign.com >> >>$150? I have $50 bluetooth GPS and I have seen $25 GPS modules that >>use nothing more than an ARM7 to do the actual calculations for a >>fix. I can't imagine that it would take a significantly more >>expensive CPU to do the culling of outliers. In fact, one of the >>vendors we considered supported the sharing of the CPU to run >>application code potentially saving an MCU in an application. That >>shows even in a little ol' ARM7 there are CPU cycles to spare. >> >>But then I don't know diddly about the actual calculations being >>done. So I can's say for sure. >> >>Rick > > > Just convolutions and trigonometry. Nothing heavy. 10 to 20MIPS > should work.
The initial solution of the GPS system of equations starting from zero knowledge requires a lot of number crunching. It could take several minutes on the 10 MIPS machine without FPU. VLV
On Tue, 16 Feb 2010 13:52:30 +0100, "Boudewijn Dijkstra"
<sp4mtr4p.boudewijn@indes.com> wrote:

>Op Mon, 15 Feb 2010 19:22:25 +0100 schreef Paul Keinanen <keinanen@sci.fi>: >> On Mon, 15 Feb 2010 04:13:09 -0800 (PST), Surinder Singh >> <gogreenmiles@gmail.com> wrote: >> >> >>> What would be best technology (GPS,IR,Radio/freq,ultrasonic etc) for >>> doing distance measurements upto 10km with accuracy of 1 meter? >> >> So the accuracy requirement is 100 ppm. >> >> Is this measurement in vacuum or in the atmosphere and if so, what is >> the refractive index during the measurement. Any mirages ? >> >> Even when using lasers or some microwave measuring devices, the >> propagation in typical atmospheric conditions will bend the beam >> slightly downwards, thus forming an arc and thus the reading would >> also be slightly too big. > >Unless you would compensate for this predictable effect. > >> The speed of light is about 300 ppm lower at sea level than in vacuum, >> so also the elevation and hence air density will affect the speed of >> light and this may also cause errors. > >Unless you would compensate for this predictable effect.
Perfectly true, if you do temperature and humidity measurements along the path to determine the refractive coefficient. Unfortunately, in practice, this is the hard part.
On Tue, 16 Feb 2010 12:13:54 -0600, Vladimir Vassilevsky
<nospam@nowhere.com> wrote:

> > >linnix wrote: > >> On Feb 15, 7:27 pm, rickman <gnu...@gmail.com> wrote: >>
>> Just convolutions and trigonometry. Nothing heavy. 10 to 20MIPS >> should work. > >The initial solution of the GPS system of equations starting from zero >knowledge requires a lot of number crunching. It could take several >minutes on the 10 MIPS machine without FPU.
While I understand that in the old days, in the worst case, it takes quite a long time (several minutes) for a single channel GPS receiver to try out all the 32 PRN sequences in order to lock into at least _one_ GPS satellite and then wait until the whole GPS satellite constellation _almanac_ has been downloaded and after that, lock into at least 4 satellites to get the fix. However, these days, with a multichannel receivers, each "receiver" can search for a specific satellite PRN sequence in parallel and perform the required navigational calculations, without waiting for the satellite almanac.