On Fri, 27 Mar 2015, Les Newell wrote: > Date: Fri, 27 Mar 2015 16:04:37 +0000 > From: Les Newell <les.new...@fastmail.co.uk> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] Velocity closed loop + Position losed loop on an axis > > 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
Not sure about the other ones but the Mesa driver has a settable timeout for velocity estimation (settable in seconds) before giving up and setting the estimated velocity to 0. This has no specific relation to servo periods > > 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 > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ 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