CAD CAM EDM DRO - Yahoo Group Archive

Re: Encoder circuits for parallel port hookup?

Posted by cnc_4_me
on 2005-02-24 16:34:49 UTC
I read one post were someone said he solved the problem with
something like a 15uf cap on the encoder power terminals. The cap
had to be on the encoder end. If you try this i would also put
a .1uf cap across it to....caps and resistors for the signal end
would have to be chosen carefully. They will tend to round off the
square wave edges. If you have to go this route maybe 100 ohm
and .01uf, from each signal line to gnd. Could also try toroids on
power and signal lines.

Of course there is a radical soultion, fix the problem!!! trying to
filter out the noise is like sticking a bucket under a leak to fix
it. Try the following.

1) Use shielded cable. The shield should only be connected to the
computer end, i usally solder it to the DB25 outer metal D ring.

2) Physically move the encoder cable away from power wires,
especially the motor wiring.

3) You said you used gearing, gearing is mechanical and usally
involves backlash. Dit you look there for problems.

4) well, how cheap are these encoders. It is possible you are
turning them faster than they can respond. By any miracle do you
have a scope...


Wally


--- In CAD_CAM_EDM_DRO@yahoogroups.com, "AbbyKatt" <cnc@a...> wrote:
> Thanks for the response Art!
>
> Hmmm.. I ended up getting some pretty cheap mechanical encoders,
and
> just used some gearing to increase the res... But I seem to be
getting a
> problem with this. I'm guessing there may be some bouncing of the
> signal? I'm using Mach2 (will use Mach3, so I can do both X/Y
soon)..
> Sometimes it seems like the program will detect 2-hops instead of
one,
> and sometimes it'll switch out of the MPG mode (I'm guessing this is
> debounce and that Mach2 is detecting an invalid Quadrature sequence
and
> wisely bailing out of the mode?)
>
> Can I use some little capacitors with resistors across them or such
to
> filter this?
>
> Thanks
> Abby
>
>
>
> > -----Original Message-----
> > From: art [mailto:fenerty@a...]
> > Sent: 23 February 2005 13:44
> > To: CAD_CAM_EDM_DRO@yahoogroups.com
> > Subject: Re: [CAD_CAM_EDM_DRO] Re: Encoder circuits for
> > parallel port hookup?
> >
> >
> >
> > Hi:
> > >>>> What I am looking for is the circuit diagrams that show
> > how to hook
> > > up
> > >> an optical encoder to the parallel port (I a
> >
> > No signal filters are usually necessary, you hook the A and
> > B quadrature
> > up to the pins on
> > the printer port directly, and you have to hook the signal
> > gound to pin 25.
> > Thats it. Mach3 can read
> > up to 7 of these if you have enough pins, but when reading
> > from a printer
> > port, your limited to the nyquist
> > frequency of the program reading it in terms of speed. In
> > Mach3's case, at
> > 25Khz mode, you are limited to
> > about 12500 pulses per second on the encoder, howver, Windows
> > being Windows,
> > I recommend a 10000
> > pulse limit and 20000 in 45Khz mode.
> >
> > I have seen some DOS software that wil read faster
> > though, and it is
> > possible for a Windows DRO program to
> > do up to 50000 per seconjd from an encoder if it doesn't have
> > to do motor
> > movements and such to limit
> > the interrupt time. I have letters from several that have
> > encoders hooked
> > up as semi-closed loop correctors
> > and they seem to work well within those limits. Personally, I
> > haven't had
> > time to hook up my linear scales to Windows yet,
> > but intend to do so next month to put closed loop corrections
> > into the code
> > base for Mach3 anyway..
> >
> > Marris has a post recently on the gecko group about hooking
> > an encoder
> > directly to a motor to make it follow the encoder
> > with very simple circuitry as well...
> >
> > Thanks,
> > Art
> > www.artofcnc.ca
> > ----- Original Message -----
> >
> >
> >
> >
> > Addresses:
> > FAQ: http://www.ktmarketing.com/faq.html
> > FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> > Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
> >
> > Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> > Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> > List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com,
> > wanliker@a..., timg@k...
> > Moderator: pentam@c... indigo_red@q...
> > davemucha@j... [Moderators]
> > URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> >
> > OFF Topic POSTS: General Machining
> > If you wish to post on unlimited OT subjects goto:
> > aol://5863:126/rec.crafts.metalworking or go thru Google.com
> > to reach it if you have trouble.
> > http://www.metalworking.com/news_servers.html
> >
> http://groups.yahoo.com/group/jobshophomeshop I consider this to
be a
> sister site to the CCED group, as many of the same members are
there,
> for OT subjects, that are not allowed on the CCED list.
>
> NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING
THEM.
> DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........ bill
> List Mom List Owner
>
>
> Yahoo! Groups Links

Discussion Thread

tauscnc 2005-02-20 20:08:55 UTC k2cnc routers pierreandrada@s... 2005-02-21 09:23:35 UTC Re: [CAD_CAM_EDM_DRO] k2cnc routers Fred Smith 2005-02-21 10:51:07 UTC Re: k2cnc routers R Rogers 2005-02-21 11:04:03 UTC Re: [CAD_CAM_EDM_DRO] Re: k2cnc routers Hey Fred AbbyKatt 2005-02-21 11:19:58 UTC Encoder circuits for parallel port hookup? Fred Smith 2005-02-21 11:36:00 UTC Re: Xformers, was k2cnc routers Hey Fred turbulatordude 2005-02-22 18:31:42 UTC Re: Encoder circuits for parallel port hookup? art 2005-02-23 05:43:46 UTC Re: [CAD_CAM_EDM_DRO] Re: Encoder circuits for parallel port hookup? AbbyKatt 2005-02-24 14:55:34 UTC RE: [CAD_CAM_EDM_DRO] Re: Encoder circuits for parallel port hookup? cnc_4_me 2005-02-24 16:34:49 UTC Re: Encoder circuits for parallel port hookup? JCullins 2005-02-24 16:56:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Encoder circuits for parallel port hookup? R Rogers 2005-02-24 17:32:09 UTC [CAD_CAM_EDM_DRO] Power supply surge above the Va rating? cnc_4_me 2005-02-24 18:03:13 UTC Re: Power supply surge above the Va rating? art 2005-02-25 05:02:12 UTC Re: [CAD_CAM_EDM_DRO] Re: Encoder circuits for parallel port hookup? R Rogers 2005-02-25 05:08:33 UTC Re: [CAD_CAM_EDM_DRO] Re: Power supply surge above the Va rating? Abby Katt 2005-02-25 05:54:11 UTC Re: Encoder circuits for parallel port hookup? turbulatordude 2005-02-25 06:33:24 UTC Re: Encoder circuits for parallel port hookup? cnc_4_me 2005-02-25 23:25:39 UTC Re: Power supply surge above the Va rating? turbulatordude 2005-02-26 04:59:00 UTC Re: Power supply surge above the Va rating? tauscnc 2005-02-27 00:38:28 UTC Re: k2cnc routers Fred Smith 2005-02-27 07:29:09 UTC Re: k2cnc routers pierreandrada@s... 2005-02-27 14:34:10 UTC Re: [CAD_CAM_EDM_DRO] Re: k2cnc routers tauscnc 2005-02-27 16:40:28 UTC Re: k2cnc routers Fred Smith 2005-02-28 15:16:57 UTC Re: k2cnc routers