On Sunday 02 August 2015 17:42:28 andy pugh wrote: > On 2 August 2015 at 16:32, Gene Heskett <[email protected]> wrote: > > I need a net signal to strobe the 4 sample_hold .hold's, how can > > that be obtained? > > I think we would need more information about what it is you are trying > to do, and how you are trying to do it. > What are you trying to do that normal denounce and lowpass won't do?
No debounce involved. Lowpass might be needed to keep an rpm meter needle from blurring out to near invisibility though. But we all do that now I expect. What I want to do is keep the last 4 encoder velocity's in a 4 stage shift register made out of sample_hold's, advancing the data to the next S&H, then running the 4 S&H's outputs thru 3 sum2's, 2 hooked to the 4 S&H outputs, and the last one hooked to the output of the previous sum2's. In this manner, the output of the 3rd sum2 is the running average of the last 4 samples which would have the main effect of getting rid of 75% of the noise because any one pulse being out of time is only responsible for 25% of the output. Yet the output can still change far more rapidly than the motor can be made to track. I see more usable Pgain and a far 'stiffer' speed control as the result. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
