On Mon, 1 Nov 2010, Jon Elson wrote: > Date: Mon, 01 Nov 2010 11:18:06 -0500 > From: Jon Elson <el...@pico-systems.com> > Reply-To: EMC developers <emc-developers@lists.sourceforge.net> > To: EMC developers <emc-developers@lists.sourceforge.net> > Subject: Re: [Emc-developers] pid with derivative inputs > > Peter C. Wallace wrote: >> >> >> One good sanity check on the velocity output is to setup your hardware step >> generator for quadrature mode and set a constant velocity but randomly >> changing directions(and ~infinite acceleration). Another good test is just a >> slow velocity ramp. The advantage is the the hardware doesnt have the quirks >> of a real encoder/motor. For example, quadrature phase error (signals not at >> exact 90 degrees) will limit the improvement that a simple, all edge time >> stamp can bring. >> > But, I WANT to see how it responds to all the vagaries of real encoders, > especially dither > and the quantizing noise. I was comparing against the software encoder > component reading > my MPG, with detents. I observed the phase error effect as the detents > in the MPG severely > affected the quadrature phasing. By gripping the knob tightly in my > clenched fist I got most > of the detent effect to disappear. That was an interesting effect to > observe.
Sure, ultimately you want to test with real world signals but when debugging its good to reduce the number of variables or at least have good control of them... Peter Wallace Mesa Electronics ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers