Hi Charlie,
I'm not convinced that there is any fundamental difference between filtering with hardware (damping) or filtering in software (integration/averaging). The problem with the FO implementation is that it only reads an instananeous sample once every 48 seconds, so there are bound to be some "rogue" values logged.
Charlie wrote:I'm guessing whoever did the original calculation put a lot of effort into their choice, to enable using standard resistor values, but still distinguish direction in the worst case.
I don't disagree that the values selected are just about acceptable using standard (5%) resistor tolerances, but I don't believe they were designed well. I think it was Steve who pointed out that they're basically the nearest "preferred" (E12) values to 1k, 2k, 4k , 8k ... 128k. Some of those don't convert well and there are a couple of values (including the paralelled pairs) that differ by only 12 - 13%. Conversely there, are six gaps of over 50%, whilst generally only the two associated with the highest resitor value are essential (because it must be paired with one of two lower values).
I couldn't devise a "formula" to calculate optimum values (for given resistor tolerances) but in less than an hour with a spreadsheet came up with a better series based directly on E12 values. The smallest differential resistance is 20% (cf. 12%) but the highest to lowest resistance ratio is only about 80:1 compared with 175:1 for FO.
Being E12 values, the whole series is easily "scaleable", but starting with the same low value as FO, I got the following series (in k ohms) with the actual resitors in bold:
1.0 , 0.82 ,
4.7 , 2.99 ,
8.2 , 6.8 ,
39 , 23.0 ,
56 , 9.9 ,
12 , 3.8 ,
5.6 , 1.58 ,
2.2 , 0.69 . However, I would probably have started with a 1k5 resistor (or higher) giving a lowest value still above 1k.
But yes, I came to the same conclusion that the optimum driving source resistance for A/D conversion of the FO vane is about 4k - 5k (I've used 4k7).
Cheers, Alan.