Missing Steps in circular interpolation

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

kman1967
Posts: 64
Joined: Wed Feb 16, 2022 2:09 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Missing Steps in circular interpolation

Post by kman1967 »

I have an Avid CNC machine using a Centroid Acorn controller. Machine is using 2 motors on one axis for the Y. All NEMA34 steppers.

Any linear moves are fine. When I use any circular interpolation I lose steps in what appears to be a crossing over a quadrant (you can actually see it make some weird jump). I if have multiple cuts on the Z axis by the time I am at the bottom the part edges look like a staircase with each step off by the same amount.
I did some tests and starting from a 0 point I move out on the X axis to a point and then do a G03 to make a circle then I go back to 0. Each time I do that the spindle is a specific distance away from 0 in the same direction and accumulates each time. If I do the same but with G02 the error goes in the opposites direction.
I am using Gecko G210X drives. Originally I had it configured for 200 stps/rev and the noise and shaking was crazy. I am now at 2000stps/rev and I thought it fixed the issue but it is still there. Any parts that use circular interpolation in the G Code come out messed.
centroidsupport
Posts: 120
Joined: Tue Sep 28, 2021 6:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Missing Steps in circular interpolation

Post by centroidsupport »

Please post a current report
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
https://www.centroidcnc.com/centroid_di ... _gear.html
kman1967
Posts: 64
Joined: Wed Feb 16, 2022 2:09 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Missing Steps in circular interpolation

Post by kman1967 »

report attached
Attachments
report_1442FC0F74B2-0303212570_2022-02-16_14-23-26.txt
(179.44 KiB) Downloaded 54 times
kman1967
Posts: 64
Joined: Wed Feb 16, 2022 2:09 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Missing Steps in circular interpolation

Post by kman1967 »

Added a pic of what is happening...
Attachments
20220216_144158.jpg
centroidsupport
Posts: 120
Joined: Tue Sep 28, 2021 6:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Missing Steps in circular interpolation

Post by centroidsupport »

The first thing I notice is that you have the accel set to .5 and the paired axis set to 1. I suggest that you set them both to the same value and see if that helps.

It looks like you are losing steps.

What are you using to generate your g code?

If you cut a simple circular pocket and/or circular frame in Intercon, do you get the same results?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
https://www.centroidcnc.com/centroid_di ... _gear.html
CNCMaryland
Posts: 369
Joined: Thu Nov 15, 2018 10:07 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA7CBF8b-103011290
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Missing Steps in circular interpolation

Post by CNCMaryland »

Just to add.

360(degrees) / 1.8(degrees)(assuming a 1.8 degree stepper) = 200 steps per rev multiplied by the micro stepping of 10 (I believe that all Gecko's are set for 10x microstepping. = 200 x 10 = 2000. That is the formula. You need to verify the stepper degrees, and the microstepping of the drive.

Per Gecko Drive:
The step pulse multiplier board, the G901X, has four resolution options: Full step (200 PPR), half step (400 PPR), five microstep (1000 PPR), and ten microstep (2000 PPR. An adjustable low speed smoothness trimpot compensates for motor nonlinearity at the low end while midband resonance compensation ensures reliable torque output through the midband dropout region.
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Missing Steps in circular interpolation

Post by cnckeith »

kman1967 wrote: Wed Feb 16, 2022 3:19 pm report attached
not related to the big step in the arc, but definitely related to machining performance... report shows overall turns ratio around 1 turn per inch.. this will not produce good machining results.

is this a rack and pinion machine? photos please.

also again unrelated to the big step in the arc. the cncpc cpu has a single core benchmark of 1200 that is below the minimum recommended single core performance and will not run the g code smoothing feature well.

now related to the big step. looks like backlash to me. measure the backlash of the X and Y axes and then adjust the machine mechanicals to minimize it.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
kman1967
Posts: 64
Joined: Wed Feb 16, 2022 2:09 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Missing Steps in circular interpolation

Post by kman1967 »

In response to
'centroid support'
- I actually have the Y axis output tied to 2 drives for the Y, not Y and N. I originally had N paired with Y but removed it as I thought this may be causing some issue. So N is not being used.
- G code is generated from Autodesk Inventor CAM using the Centroid post processor settings.
- Yes I have manual cut circles and they do the same thing.

'CNCmaryland'
- The software is set at 2000 counts/rev. I have set all the drives the same using the jumpers on the drive.

'cnckeith'
- not sure I can do anything about that. Yes this is a rack and pinion. It is an Avid Pro 4x8' machine pic attached.
- I have checked backlash and cannot seem to measure any appreciable amount
Attachments
PRO4896_21.1_base_800.jpg
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Missing Steps in circular interpolation

Post by ShawnM »

Are the drives wired to the Acorn headers or do you have them wired to the DB25 via a breakout board? What wiring diagram did you follow? You could also be losing steps on linear moves it’s just a lot harder to notice.
Last edited by ShawnM on Thu Feb 17, 2022 9:08 am, edited 1 time in total.
centroidsupport
Posts: 120
Joined: Tue Sep 28, 2021 6:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Missing Steps in circular interpolation

Post by centroidsupport »

What kind of drives and motors? Are they identical?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
https://www.centroidcnc.com/centroid_di ... _gear.html
Post Reply