7i92 packet loss - query regarding HAL workaround

More
6 years 7 months ago #159559 by curtisa
Just for interest, here's the differences I'm seeing with the various fixes and tweaks in place.

The G-code running on the mill during these scope captures is just the standard 'LinuxCNC' logo test program that loads on Axis startup. The large spike in each of the traces is the Y-axis Following Error as it rapids between the end of cutting the lower-case 'n' in 'LinuxCNC' to the start of the dot above the 'i'. This is where I found the biggest deviation while running this particular G-code.

Without any fixes or tweaks. Largest peak on the FErr spike is about 9 millis:


With PCW's 'latch all stepgen counts...' HAL fix. Largest peak is down to +/-80 micros:


With PCW's HAL fix plus the addition of FF2 = 0.00015 and PID max_error = 0. Largest peak is down to +40/-60 micros:


G0 rapids on my machine are 3200mm/min during these tests.

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

More
6 years 7 months ago #159561 by PCW
Looks like you could add a bit more FF2
(if you add too much, the steps will reverse polarity)

(Not that this will make any actual difference since motor and
mechanical errors are much larger that this)

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

More
6 years 7 months ago #159564 by curtisa
Just for the hell of it.

FF2 = 0.0002:


FF2 = 0.00025:


FF2 = 0.0003:


So, I'm starting to see the peak inversions somewhere around FF2 = 0.0002 and 0.00025.

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

Moderators: PCW, jmelson
Time to create page: 0.059 seconds
Powered by Kunena Forum