Yes, I do realize that. But the pulses are also used for triggering purposes and that's where they are too few for. That's actually why they need to be multiply, otherwise ok. I didn't understand quite well the oversampling stuff, I do not use ADCs for this. I agree with you that I get the same amount of information out, that holds true for an steady rotation of the shaft. The resolution of the encoder will not be increased by multiplying by anything of course, but I do get more triggers evenly spaced for each incoming pulse (unfortunally for fixed frequencies only). Best regards RA ----- Original Message ----- From: "Ben Jackson" To: Sent: Wednesday, April 30, 2003 8:08 AM Subject: Re: [PIC]: Frequency multiplier? > On Wed, Apr 30, 2003 at 08:00:44AM +0200, Reinaldo Alvares wrote: > > Let me please rephrase my question. Let's say I want to multiply the > > frequency of an input square wave by some factor "F". [...] > > I can't loose > > counts since I need this for positioning, direction and speed measurement > > You do realize that there ain't no such thing as a free lunch. Just > increasing the frequency by a factor of F doesn't give you any more > information at all. It's not like having an encoder F times more > sensitive. The best you can hope for is that by perfect oversampling > you get exactly the same amount of information out. Any error you > introduce gives you less net information. > > -- > Ben Jackson > > http://www.ben.com/ > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body