It's been a while since I did quadrature programming but if you have two sensors don't the two work together to validate signals because they can only change under certain conditions. So noise can't totally screw things up.
Now having said that of course I did change from US Digital on my DC Servos to CUI because they were impacted by noise and over time there were more counts in one direction than the other. So a return to zero wasn't the original zero. So I'm probably all wet. But 60 pulses per rev is a lot different from thousands. Might be better to clean up the signals at the source before they are ever counted. John > -----Original Message----- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: July-21-21 11:54 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] A new lathe encoder option. > > On Wed, 21 Jul 2021 at 19:49, Chris Albertson <albertson.ch...@gmail.com> > wrote: > > > Could you solve the noise issue with a phase-locked loop? > > Yes, this would be a far better solution. But I didn't want to > re-write the encoder counter from scratch. > > Ideally you would use two PLLs, one for the pulses and one for the > index, to predict the pulse gap and extrapolate through it. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users