We would need to sync extremely tight if the supply shows ripple if we want to avoid to make things worse. That would require to know *exactly when* the sensor samples, which it doesn’t provide us. So its essentially impossible.
Sorry, but I’m more believing in sampling the supply (which will turn up the ripple if sampled long enough and with different intervals) and falling back to an uncompensated mode if its not “good”.
I *completely* disagree with your statement about inexperienced people. If people behave dump you have to be even more resilient, and your setup must make it impossible to make mistakes (= simple). Applied on this problem this doesn’t mean to try to cope with unstable supplies, but to *force* them to use only the *original, known* supply. Simply don’t boot / arm the system if its not provided.
Again, a bad supply is not just “noise” or “suboptimal”. Its a fundamental, basic requirement to have a stable supply for the autopilot. There is no workaround for this, no fix in software. This is one of the things to just get right and make sure everybody gets right.
-Lorenz
On 12 Feb 2014, at 13:13, <
john...@gmail.com<mailto:
john...@gmail.com>> <
john...@gmail.com<mailto:
john...@gmail.com>> wrote:
You are preaching to the choir.. :)
But this is still DIY used by mostly inexperienced people (a oxymoron I know, but that's how it goes..). So there must be some headroom for operational voltages, and let's make sure the linear compensation does more good then harm even in bad system. If nothing else to minimize the "my quad flies worse after update x" complaints.
- JAB
On Wednesday, February 12, 2014 12:53:03 PM UTC+1, Lorenz Meier wrote:
Hi,
Systems with fluctuations on the autopilot voltage large enough to induce significant offsets should not be flown.
I can see value in detecting that and boldly telling the user, I don’t see value in trying to do more than preventing crashes (so no offset compensation of that case).
People need to stop flying junk over other people’s heads, and if we think they do, we have to think what we can contribute to stop them doing that.
Cheers,
Lorenz
On 12 Feb 2014, at 11:19,
john...@gmail.com<
http://gmail.com/> wrote:
Nice to see that the variation is more or less linear in the operational 4.5 - 5.5v range.
A last check would be to see if there is any settle time needed for the voltage offset to be linear, since systems with suboptimal power tend to have fluctuating voltage during operation.
- JAB
On Tuesday, February 11, 2014 9:54:26 PM UTC+1, Andrew Tridgell wrote:
I've now got a bit more accurate way of plotting the sensitivity to
voltage. I setup the MS4525 sensor with a tube looping back between its
two ports so it measures a constant zero pressure difference. Then I did
a scatter plot of the raw pressure offset as I changed the supply
voltage:
http://uav.tridgell.net/MS4525/MS4525-offset.png
the 3 graphs are for 3 different MS4525 sensors, and they show that
the slope of the response curve is very close to being the same for all
of them.
It seems to be linear in the range 4.5V to 5.5V then flattens out for
0.5V.
I think we can try adding a simple piecewise linear compensation
function in the driver that will fix this up nicely.
Cheers, Tridge
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<
http://googlegroups.com/>.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discus...@googlegroups.com>.