Quote:
Originally Posted by vamfun
Expected Results:
The output amplitude will oscillate between -.5 and .5
|
Ignoring for a moment the oddness of deciding that the measurement will always end in 0.5, that is the optimum result. It matches the resolution of the sensor. It's as good as it gets. You have no way of knowing whether the true amplitude is less than that, or greater than that (but less than +/-1).
Anyway, so far as I can tell, your proposal is
worse than what you're pointing out here. Ignoring the first edge after a change in direction gives an unchanging output for any input oscillation amplitude less than 1, right?