G2/G3 resolution

Moderators: TomKerekes, dynomotion

Post Reply
gnrules
Posts: 28
Joined: Fri Jun 14, 2019 7:06 am

G2/G3 resolution

Post by gnrules » Wed Apr 29, 2026 12:35 pm

Hi Tom,
i'm trying to smooth as possible a round path of 300mm diameter.
we tried different approaches using:

-corner tolerance 0.01mm
-Beak angle: 20 deg
- facet angle:0.1 deg
-collinear tolerance: 0

both with G2/G3 and tessellated path (chordal deviation 0.0005mm) we notice some sort o facets on the outer surface of the circle.
no change with number of passes, finishing, tool speed and feed (at least not significant).


I thought was the lnear segments but also the G2 gives a similar result.
my question is: how does kflop process G2/G3 arcs? I thought it calculates a sort of time discretization adding a point every n servo cycles, but maybe i'm wrong. I was expecting a very smooth swurface from G2, but probably there are some params that influences the actual number of points generated.

Thank you very much

Best regards

Giancarlo
Last edited by gnrules on Thu Apr 30, 2026 10:24 am, edited 1 time in total.

gnrules
Posts: 28
Joined: Fri Jun 14, 2019 7:06 am

Re: G2/G3 resolution

Post by gnrules » Wed Apr 29, 2026 12:37 pm

Forgot to mention we use KLP=0.002 filter and the sound of the mill is quiet and smooth, so no vibrations are in place (also changing tool loads with no effects is a proof).

User avatar
TomKerekes
Posts: 2927
Joined: Mon Dec 04, 2017 1:49 am

Re: G2/G3 resolution

Post by TomKerekes » Thu Apr 30, 2026 4:35 pm

Hi Giancarlo,
how does kflop process G2/G3 arcs? I thought it calculates a sort of time discretization adding a point every n servo cycles, but maybe i'm wrong. I was expecting a very smooth swurface from G2
It calculates points ever 90us servo cycle using 64-bit floating point sin function so from that perspective it should be very smooth.

What Version are you using?

What are your axes resolutions?

How much do you think the facets deviate from a theoretical arc?

Do you have servos?

I don't think the filtering would do anything but make it smoother with slightly smaller diameter.

You might capture the actual trajectory (Destinations) with a C Program to check for any anomaly. I think you did that a few years ago here.
Regards,

Tom Kerekes
Dynomotion, Inc.

gnrules
Posts: 28
Joined: Fri Jun 14, 2019 7:06 am

Re: G2/G3 resolution

Post by gnrules » Thu May 07, 2026 5:23 am

Hi Tom,
sorry for the late reply but here in Italy there was a long bank holiday and I was on a trip.
the machine has servos, glass scales 0.5um resolution and we are using last version (5.4.1 maybe).

we performed some investigation acquiring data both during cut and with dry runs and my suspect is a borderline stable control loop.
the trajectory reveals almost perfect commanded points but a stable oscillation of +- 0.01/0.015 mm around commanded position.
while it is ok for the geometry it is clearly visible as "facets" because moving at 1100 mm/min means a sine wave with 0.8mm period on surface and 0.02/0.03 mm peak to peak (chordal error is much less, about 0.5um).

we are changing our lead-lag stage to be less aggressive and see what happens, stated that similar machine with less aggressive loop does not exhibit such an oscillation.
I'll keep you up to date.

Thanks

Giancarlo

User avatar
TomKerekes
Posts: 2927
Joined: Mon Dec 04, 2017 1:49 am

Re: G2/G3 resolution

Post by TomKerekes » Thu May 07, 2026 5:52 pm

Hi Giancarlo,

Thank's for the update. There isn't any rush on our end.

Does the oscillation show up on the Step Response Screen moving at 1100mm/min. I think that works out at 23Hz?

Good luck.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply