Re: [Emc-users] Encoder Interference

2012-05-28 Thread Jeshua Lacock
On May 27, 2012, at 10:50 PM, Jon Elson wrote: And, I'm not sure you can get this a whole lot better. If the G320 is responding to electrical noise on the encoder inputs, no amount of PID tuning will fix it. And encoder noise it was indeed. I just realized my motor wasn't grounded (you

Re: [Emc-users] Encoder Interference

2012-05-28 Thread gene heskett
On Monday, May 28, 2012 03:10:38 AM Jon Elson did opine: gene heskett wrote: Jon, while the encoder I built for the lathe spindle was pretty crude, one of the things I did in my research was to make it an given that the opto device chosen had an active, high speed CMOS rail to rail

Re: [Emc-users] Encoder Interference

2012-05-28 Thread Jon Elson
Jeshua Lacock wrote: And encoder noise it was indeed. I just realized my motor wasn't grounded (you know that big hunk of metal with electricity surging through it intimately connected to the encoder in question). Geez, after sending the last message, I really thought I should have

Re: [Emc-users] Encoder Interference

2012-05-28 Thread Jon Elson
gene heskett wrote: But there are still plenty of the older TTL stuffs gathering dust on the shelves at Newark et all. The advantage of CMOS is to me, the much larger noise immunity. Running on 5 volt rails, noise has to be nearly half that 5 volts in order to even get into the active

Re: [Emc-users] Encoder Interference

2012-05-28 Thread gene heskett
On Monday, May 28, 2012 01:40:36 PM Jon Elson did opine: Jeshua Lacock wrote: And encoder noise it was indeed. I just realized my motor wasn't grounded (you know that big hunk of metal with electricity surging through it intimately connected to the encoder in question). Geez, after

Re: [Emc-users] Encoder Interference

2012-05-28 Thread gene heskett
On Monday, May 28, 2012 01:45:40 PM Jon Elson did opine: gene heskett wrote: But there are still plenty of the older TTL stuffs gathering dust on the shelves at Newark et all. The advantage of CMOS is to me, the much larger noise immunity. Running on 5 volt rails, noise has to be

Re: [Emc-users] Encoder Interference

2012-05-27 Thread andy pugh
On 27 May 2012 05:16, Jeshua Lacock jes...@3dtopo.com wrote: The drive is dithering at 0.0003 - 0.0006 with the worst spike now at 0.0012. ... One encoder pulse is 0.0003 on this axis. Would tuning the PID help with the spikes You could consider setting the PID deadband to 1 or 2 encoder

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jan de Kruyf
That is a bit of a difficult configuration. I rather like to us encoders with a RS485 balanced pair output i.e. A, notA, B, notB, etc. The receivers reject noise much better in htat configuration. You might try to find a powder iron or ceramic ring-core and loop all encoder wires through a few

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Kirk Wallace
On Sat, 2012-05-26 at 22:16 -0600, Jeshua Lacock wrote: ... snip You can sort-of see that I did that with my power and step/dir lines in this cabinet: https://picasaweb.google.com/lh/photo/NivmHU8OuXIcP2EQHUPruNMTjNZETYmyPJy0liipFm0?feat=directlink ... snip Your cabinet looks a lot better

Re: [Emc-users] Encoder Interference

2012-05-27 Thread andy pugh
On 27 May 2012 18:48, Kirk Wallace kwall...@wallacecompany.com wrote: https://picasaweb.google.com/lh/photo/NivmHU8OuXIcP2EQHUPruNMTjNZETYmyPJy0liipFm0?feat=directlink Your cabinet looks a lot better than mine, but... I have a thing about Zip-ties. Zip ties! How very dare you! That's

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jan de Kruyf
Zip ties! How very dare you! That's harness lacing, that is. Oh dear, did you catch that affliction in your seafaring days, did you, Andy? j. On Sun, May 27, 2012 at 8:07 PM, andy pugh bodge...@gmail.com wrote: On 27 May 2012 18:48, Kirk Wallace kwall...@wallacecompany.com wrote:

Re: [Emc-users] Encoder Interference

2012-05-27 Thread gene heskett
On Sunday, May 27, 2012 03:40:41 PM Jon Elson did opine: Jeshua Lacock wrote: Then, just to see what might happen, I cut the encoder ground connected to the encoder shield, and it looks like (preliminary speaking) it no longer faults out. This seems to indicate that the encoder shield

Re: [Emc-users] Encoder Interference

2012-05-27 Thread gene heskett
On Sunday, May 27, 2012 04:06:25 PM andy pugh did opine: On 27 May 2012 18:48, Kirk Wallace kwall...@wallacecompany.com wrote: https://picasaweb.google.com/lh/photo/NivmHU8OuXIcP2EQHUPruNMTjNZET YmyPJy0liipFm0?feat=directlink Your cabinet looks a lot better than mine, but... I have a

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jan de Kruyf
Here is an article about effective EMI screening for those interested in the subject. http://www.ce-mag.com/99ARG/Bjorklof137.html j. On Sun, May 27, 2012 at 10:09 PM, gene heskett ghesk...@wdtv.com wrote: On Sunday, May 27, 2012 04:06:25 PM andy pugh did opine: On 27 May 2012 18:48,

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jeshua Lacock
On May 27, 2012, at 5:30 AM, andy pugh wrote: On 27 May 2012 05:16, Jeshua Lacock jes...@3dtopo.com wrote: The drive is dithering at 0.0003 - 0.0006 with the worst spike now at 0.0012. ... One encoder pulse is 0.0003 on this axis. Would tuning the PID help with the spikes You could

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jeshua Lacock
On May 27, 2012, at 10:12 AM, Jon Elson wrote: Jeshua Lacock wrote: Then, just to see what might happen, I cut the encoder ground connected to the encoder shield, and it looks like (preliminary speaking) it no longer faults out. This seems to indicate that the encoder shield was

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jeshua Lacock
On May 27, 2012, at 11:21 AM, Kirk Wallace wrote: On Sat, 2012-05-26 at 23:31 -0500, Jon Elson wrote: ... snip Jeshua's AMT-103 encoder has a 2 mA source/sink driver when used by itself (without the line driver cable option). So, you can't apply too much of a pull-down or it will alter

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jon Elson
Kirk Wallace wrote: This is getting messy. I made a first attempt at a schematic of a single encoder setup. It should be attached. Also, the Inkscape SVG file is attached if someone wants to edit it. There are some missing bits, such as, how each component gets powered and grounded. I assumed

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jon Elson
gene heskett wrote: Jon, while the encoder I built for the lathe spindle was pretty crude, one of the things I did in my research was to make it an given that the opto device chosen had an active, high speed CMOS rail to rail output. While the qradrature may not have been accurate enough

Re: [Emc-users] Encoder Interference

2012-05-27 Thread Jon Elson
Jeshua Lacock wrote: I captured a big spike event (16 encoder counts!), but for the life of me, I cannot figure which came first (the seem to be at the same instant?). I have two screen captures online, 1 so you can see the whole event and the second zoomed in as far as possible at the

[Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for no obvious reason it jumps up to 0.02+ inches and doesn't attempt to return to the correct location. It just jumps

Re: [Emc-users] Encoder Interference

2012-05-26 Thread andy pugh
On 26 May 2012 09:26, Jeshua Lacock jes...@3dtopo.com wrote: I wish I had a magnet implant like this guy that can feel magnetic fields: Get careless enough with the swarf on your machine and it is likely to happen. (I have had painful shocks from 5V which has led me to locate bits of embedded

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jan de Kruyf
how many wires is your encoder Jeshua? j. On Sat, May 26, 2012 at 10:26 AM, Jeshua Lacock jes...@3dtopo.com wrote: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jan de Kruyf
did you twist the powerwires of the motor together to minimize stray magnetic fields from the cable? j. On Sat, May 26, 2012 at 12:48 PM, Jan de Kruyf jan.de.kr...@gmail.comwrote: how many wires is your encoder Jeshua? j. On Sat, May 26, 2012 at 10:26 AM, Jeshua Lacock jes...@3dtopo.com

Re: [Emc-users] Encoder Interference

2012-05-26 Thread gene heskett
On Saturday, May 26, 2012 07:12:02 AM Jeshua Lacock did opine: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for no obvious reason it jumps up to 0.02+ inches and

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Kirk Wallace
On Sat, 2012-05-26 at 02:26 -0600, Jeshua Lacock wrote: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for no obvious reason it jumps up to 0.02+ inches and doesn't

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jon Elson
Jeshua Lacock wrote: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for no obvious reason it jumps up to 0.02+ inches and doesn't attempt to return to the correct

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 4:50 AM, Jan de Kruyf wrote: did you twist the powerwires of the motor together to minimize stray magnetic fields from the cable? I did not know about that! I guess that will be my first cause of action…. Best, Jeshua Lacock Founder/Engineer 3DTOPO Incorporated

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 5:44 AM, gene heskett wrote: On Saturday, May 26, 2012 07:12:02 AM Jeshua Lacock did opine: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 9:49 AM, Jon Elson wrote: Jeshua Lacock wrote: Greetings, I am now setting up my new X axis servo with an AMT 102 encoder. The motor is normally dithering between 0.0003 and 0.0006 inches. But every now and then - for no obvious reason it jumps up to 0.02+ inches

Re: [Emc-users] Encoder Interference

2012-05-26 Thread andy pugh
On 26 May 2012 21:10, Jeshua Lacock jes...@3dtopo.com wrote: http://3DTOPO.com/CNC-enclosure.png Don't judge me too harshly, I was making sure everything works before I finish tiding things up! Any suggestions would be greatly appreciated! You could try routing the power and encoder in

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 2:16 PM, andy pugh wrote: On 26 May 2012 21:10, Jeshua Lacock jes...@3dtopo.com wrote: http://3DTOPO.com/CNC-enclosure.png Don't judge me too harshly, I was making sure everything works before I finish tiding things up! Any suggestions would be greatly appreciated!

Re: [Emc-users] Encoder Interference

2012-05-26 Thread gene heskett
On Saturday, May 26, 2012 08:30:46 PM Jeshua Lacock did opine: Sorry for the late reply, I rebooted this box because it was getting laggy early this morning, an the whole darned nvidia-current chain took a dump on me. Just now got it back among the living. On May 26, 2012, at 5:44 AM, gene

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Kirk Wallace
On Sat, 2012-05-26 at 13:45 -0600, Jeshua Lacock wrote: ... snip Interesting. So the pull down resistor would go on the encoder ground? No, between the encoder input terminal for each input having a problem to the ground associated with the input. This will lower the input impedance so the noise

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 2:16 PM, andy pugh wrote: On 26 May 2012 21:10, Jeshua Lacock jes...@3dtopo.com wrote: http://3DTOPO.com/CNC-enclosure.png Don't judge me too harshly, I was making sure everything works before I finish tiding things up! Any suggestions would be greatly appreciated!

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jon Elson
Jeshua Lacock wrote: On May 26, 2012, at 9:49 AM, Jon Elson wrote: Does this position change show up on the LinuxCNC DRO display, or are you reading it with a mechanical indicator? Yes, it shows up on the DRO and the machine physically moves. So I guess they agree. Oh, well,

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jeshua Lacock
On May 26, 2012, at 7:55 PM, Kirk Wallace wrote: On Sat, 2012-05-26 at 13:45 -0600, Jeshua Lacock wrote: ... snip Interesting. So the pull down resistor would go on the encoder ground? No, between the encoder input terminal for each input having a problem to the ground associated with the

Re: [Emc-users] Encoder Interference

2012-05-26 Thread Jon Elson
Kirk Wallace wrote: On Sat, 2012-05-26 at 13:45 -0600, Jeshua Lacock wrote: ... snip Interesting. So the pull down resistor would go on the encoder ground? No, between the encoder input terminal for each input having a problem to the ground associated with the input. This will