Do I need a better PC?

More
20 Jun 2025 05:08 #330547 by Kieran
Do I need a better PC? was created by Kieran
ok, sometimes when I run my Ethercat servos, they sound like they have bad bearings/run rough. Restarting linuxcnc sometimes solves it and they run buttery smooth. I've also gotten a warning unexpected realtime delay. Im guessing Its because Im running the cheapest HP pavilion desktop junk(runs off a little wall wart and has the smallest cooling fan on a 1x1" cpu heat sink. :D
Anything I should look for when buying a proper motherboard for ethercat linuxcnc?

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

More
20 Jun 2025 19:16 #330587 by andypugh
Replied by andypugh on topic Do I need a better PC?
I don't know much about EtherCAT but I would have expected most of the motor control to be located in the slave device, so that LinuxCNC can't make it run rough. (but I might be wrong)

Do the servos initially do the field orientation with hall sensors and then switch to the encoder? If so then it could be a dodgy hall sensor or hall sensor connection. (Motors will run rough if the commutation is wrong)
The following user(s) said Thank You: tommylight

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

More
21 Jun 2025 00:26 - 21 Jun 2025 00:28 #330606 by Kieran
Replied by Kieran on topic Do I need a better PC?
I don't think its a servo hardware issue. All of them sound like gravel sometimes. Or they are all smooth. I'm wondering if its something to do with the feedback loop between the servo and linuxcnc? It sounds like they are being commanded unsteady changing speeds at a somewhat high frequency. They only have UVW coming out of the motor. And encoder seems to have standard a/b v+ v- stuff going on. I don't think there's any hall sensor for the rotor.
Last edit: 21 Jun 2025 00:28 by Kieran.

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

More
21 Jun 2025 06:01 - 21 Jun 2025 06:01 #330612 by Hakan
Replied by Hakan on topic Do I need a better PC?
I have had this gravel sound. Starts by sounding like tick, tick gradually transitioning to gravel and going back to tick,tick and disappear.
Repeats itself after some minutes.
It may not be what causes it for you, but in my case it was a slight difference in the DC cycle time and linuxcnc cycle time.
One is running slightly faster than the other. Both nominally 1 millisec, Combined with some latency of the linuxcnc computer
ethercat will send and receive data not from the current servo cycle, but from the previous or the next cycle.
The gravel sound would appear with the transition over this mixed period to stabilize when the cycles are so much out of phase that they always receive data from the same servo cycle phase.

You can check with halscope of the actual position for example. When the gravel sound happens you will see that
the actual position isn't a smooth line anymore as is expected. Instead you will see that it stays on the same
position for a cycle, to maybe jump double distance another. This is worthwhile checking. 
Two curves in halscope, commanded position and actual position, with and without gravel sound would be interesting to see.
Last edit: 21 Jun 2025 06:01 by Hakan.

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

More
23 Jun 2025 02:04 #330742 by Kieran
Replied by Kieran on topic Do I need a better PC?
interesting. Im playing with the servos now. Today im getting an error code ErC1.1 Synchronization loss on all 5 drives. and ErC2.0 SYNC signal loss on some drives sometimes. I will power cycle PC and see what happens. my 3 axis config seems ok.

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

More
23 Jun 2025 02:58 #330744 by Kieran
Replied by Kieran on topic Do I need a better PC?
my servo latency was 178,165 base was 79,029

now its around 72000 and is working without alarming my servos.

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

More
23 Jun 2025 03:57 #330747 by Kieran
Replied by Kieran on topic Do I need a better PC?
youtube.com/shorts/vI0LGnGjhmI?si=QLHawiX2xE67YjWh

youtube.com/shorts/FzLijBCwhX8?si=wHB4NtbOI7QP0iu-

Here's 2 clips, one "gravel mode" and one right after restarting linuxcnc running smooth.

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

More
23 Jun 2025 05:00 #330749 by zmrdko
Replied by zmrdko on topic Do I need a better PC?
can you share your full config?

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

More
23 Jun 2025 15:19 #330760 by Kieran
Replied by Kieran on topic Do I need a better PC?
 

File Attachment:

File Name: ethercatse...axis.zip
File Size:8 KB
Attachments:

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

Time to create page: 0.075 seconds
Powered by Kunena Forum