
In our quest to create the simplest and cheapest autopilot available, we're debating whether we need a barometric pressure sensor or can do reasonable altitude control with GPS alone. The old answer to this was the GPS alone wouldn't work--not only were errors of as much as 10s of meters, but glitching could leave you without any altitude data at all for many seconds at a time. But the newer SiRF III chipsets are much better at altitude calculation, and the even newer yet uBlox5 GPS module is almost as good as a pressure sensor at altitude (it's too expensive for our purposes, but a glimpse of the way things are going). So let's look at that question agan: do we need a pressure sensor?
The way to tell is to test a pressure sensor head-to-head against GPS under varying condition.
Here's a paper that did just that, using the older (and worse) SiRF II chipset. A sample of the data is the graph above, which as you can see shows errors of as much as 60m in some cases. Needless to say, that would be unusable. (It turns out that many of those errors were due to GPS lag, and shifting the GPS line forward by 13 seconds improves the fit considerably. But if you're trying to fly on that data, you're stuck in real time, so those sort of corrections don't help.)
Jack Crossfire has been testing more modern GPSs, including both the SiRF III-based EM406 that we use and the uBlox5, and his data is more encouraging. A sample post on EM406 data is
here, and a chart from that post follows:

Unfortunately this isn't calibrated so there are no units on the scale, and we can't calculate the absolute error. (Jack, any chance you still have that data and can oblige?). But given that the data was taken in a heli and he's probably flying at around 30m, my sense is that we're looking at errors of less than 6m and no crazy glitches.
If so, that's within the usable range for us. We're typically looking at holding altitude around 50-100m, so single-digit variation is acceptable. It's not perfect, but doing without a pressure sensor would save us about $25 on the autopilot (keeping it below the magic $100 figure), and simplify calibration and instrument-compartment design (no need to pressure-isolate it).
I've got a pressure sensor coming and will do a proper head-to-head with the EM406 and the surface-mount
EM312 (which will be built in to the autopilot on the production version) under various conditions before making the final decision, but for now we're betting on GPS being good enough (and getting better) to do the trick. Anybody disagree?
You need to be a member of DIY Drones to add comments!
Join DIY Drones