On Thu, 29 Jun 2017, Les Newell wrote:

Date: Thu, 29 Jun 2017 21:59:46 +0100
From: Les Newell <les.new...@fastmail.co.uk>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Rough motion with servos


Do you have and raw-write encoder filter tweaking stuff in the hal file:

No. For testing purposes I am running the barest minimum needed to achieve motion using a config generated by pncconf.

If you did this before I would make sure you duplicate this


The default encoder filter is quite short even with the filter bit on

On a 5I20 its 15x30ns (filter bit on) so only 450 ns which is in the range of coupled impulse noise spikes from the 7I29

With current LinuxCNC dists (2.7 and 2.8) you can lower the encoder sampling frequency by setting hm2_card.0.encoder.sample-frequency

If you set this to say 5000000, This will result in a 15*200ns =3 usec filter on all encoder inputs that have their filter bit on, This will limit the maximum count frequency to about 666 KHz and be much more resistant to
coupled impulse noise from the motor PWM



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to