Ethercat random jitter fix

More
31 Dec 2025 08:32 #340760 by endian
Replied by endian on topic Ethercat random jitter fix
Posting here with some pictures and any stylization is hell, trust me ...

it looks pretty ... reduction of any jitter in the rt system is more than welcome ... pll is very critical stuff for system and it is nice to see its major improvement 

Which driver for network card are you usig for testing it for now? jittering can be produce by generic drivers too i think

I saw it was merged in the master ... we will wait for scott to public new feed or version? 

Please Log in or Create an account to join the conversation.

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Away
  • Senior Member
  • Senior Member
More
31 Dec 2025 16:26 #340781 by grandixximo
Replied by grandixximo on topic Ethercat random jitter fix
I use Intel I225 with ec_igc driver, but I also tested generic and seems ok, I plan to do more extensive testing on something worse, just to see how bad I can go before I hit any issue, to have an idea on how cheap a system I can make lol.

The newest PR has not been merged yet at this time, you can get the code from my repo, or wait a few weeks for Scott, he mentioned he was going out of town.

I really think now the code respects the ethercat standard as closely as possible, it might just be a matter of exposing some phasing paramets for picky applications, but visualiziotion with halscope and sync0shift gets you all the way there too, and you have two options to choose from syncToRefClock true or false, if your latency is decent I advise to keep it false, with a refClockSyncCycles of 2, or 10 if you can wait a bit before start moving.
The following user(s) said Thank You: endian

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 17:21 - 31 Dec 2025 17:27 #340786 by endian
Replied by endian on topic Ethercat random jitter fix
I have been using negative ref cycles setup ... everything works well, but I have been using native drivers with custom configuration ... latency is very low in my case

it is here ? github.com/grandixximo/linuxcnc-ethercat
Last edit: 31 Dec 2025 17:27 by endian.

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum