Hi Peter, That is a good way to estimate speed. I'm not sure how well it would have worked in my application because it may be many servo periods between counts.
Les On 26/03/2015 20:23, Peter C. Wallace wrote: > The LinuxCNC software encoder counter and at least the Mesa and Pico Systems > hardware encoder counters have DeltaCounts/DeltaTime velocity estimation. > > This calculates the velocity based on the number of counts per servo period > divided by the time between counts (time is measured with a high speed timer > built into the encoder counter) > > You dont need a terribly fast timer because at higher speeds, you are not > measuring the time between single counts but rather between the first and last > of many counts ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users