SO3: How do you calibrate X&Y axis to make perfect circles/squares?

I have tried the procedure in the documentation, but I have some questions about how this procedure is supposed to work and there seems to be a couple of mistakes in it. I cut a set of squares to measure. This is all about setting the $100 and $101 values. The way I see it, you would only get the spot on dimensions only if the cut is about this same length as the length you pick to calibrate to.

So If I get a 5" square to be right on, as the square get smaller, they get smaller than desired. Example: A 5.000 inch square measures within a .001 or 2 of perfect. By the time the square is 1 inch, it is ~0.020 smaller than expected (or .980). Well, that what I get for the X-axis on my SO3.

Does anyone have any comment on my test results, am I expecting accuracy not deliverable?

1 Like

You have to start by calibrating for runout, and take the endmill cutting diameter into account first:

Then calibrate for belt stretch:

The do some cut testing:

1 Like

Thanks for the response, the links were interesting. However, I know my runout is quite small, that was measured.
The problem is the Belt Stretch procedure. Here are 3 points:

  1. The $100/$101/$102 default values are 40 not 20. If didn’t realize that at first and got half size cuts!
  2. The formula is wrong. If your system cuts long (as shown in the procedure), the $100 value should be made less not greater than the default.
  3. I find that the corrected value work great for parts about the size of the calibration test. But dimensions significantly larger or smaller creep off the desired dimensions. This really is the focus of my question.
1 Like

Thanks for pointing those things out. We’ll correct ASAP.

Sounds as if you have bad belts. Contact support@carbide3d.com — I just upgraded mine to 9mm wide belts from an industrial vendor: http://www.shapeoko.com/wiki/index.php/User:Willadams#B.O.M.

c.f., http://www.shapeoko.com/wiki/index.php/Belts_and_Pulleys#Belt_Width

1 Like

The belts are really new. I honestly don’t think it’s a belt issue. But of course stronger belts would better in any case.
I have worked around the issue this way:
I do my $100 and $101 correction using the part size I need to be very accurate. For me, I needed 2" circles to be spot on. I did do 2 iterations and ended up with X and Y being within 0.001 inch of the target value. GREAT, I made my parts.

Will,

I see you corrected most of the issues with the belt stretch procedure, but there is still a mistake on the equation result.

I seem to be having this same issue. I have been cutting test pattern after test pattern and feel like I am just chasing my tail. I have cut 3 concentric squares and one circle. My current X-factor is 41.476 and Y is 40.307. In the last test case, the large square measures 4.046 (in X), next one is 3.008, next one is 1.977 and circle is 0.938. As you can see, it deviates both larger AND smaller…so what the heck do I do about that?! Plus, these are significant deviations, not just a few thou here and there, which I could live with.

I am using a small bit, 1/8" shank and .058" cutting diameter. Am I to attribute this to tool deflection? I am going slow, 40 ipm, 30 and 20 (all different to see if that makes a difference). Belts are as tight as I can get them without resorting to a block and tackle :slight_smile: I have cut this in both virgin material and across previous tests with essentially the same outcome.

I tried this again using a 1/4" flat endmill with largely the same results…some too big, some too small all in the same run. These are simple files I created within Carbide Create and the geometry is good. Frustrating to say the least when I see many reports of good accuracy. Hell I’d be happy with +/- 0.01 right now but not seeing that at all.

Is the geometry accurate in the G-code?

I am not sure how to tell. I have a 4", 3" and 2" square along with a 1" circle. I can see the GCode, but not sure how to interpret it to verify accurate positions. I assume it’s all in MM, which is easy enough to convert, I know, but I am just not sure where to begin and end with the calculations. Further, don’t you have to factor in the X and Y axis step factors? Here is the code:

%
(FILENAME: )
()
G21
G90
G0X0.000Y0.000Z12.000
(TOOL/MILL,6.3500,0,1.0000,0.0)
M6 T201
M3 S15000
G0X4.473Y4.175
G0
G1Z-3.175F762.0
G1X4.638Y4.018F1524.0
X4.783Y3.898
X4.903Y3.808
X5.027Y3.724
X5.161Y3.643
X5.415Y3.512
X5.565Y3.448
X5.829Y3.356
X6.094Y3.289
X6.241Y3.262
X6.389Y3.242
X6.538Y3.229
X6.688Y3.223
X108.395
X108.558Y3.230
X108.733Y3.247
X108.881Y3.269
X109.028Y3.298
X109.217Y3.346
X109.360Y3.391
X109.482Y3.435
X109.638Y3.500
X109.905Y3.635
X110.153Y3.791
X110.274Y3.880
X110.410Y3.990
X110.623Y4.191
X110.720Y4.296
X110.840Y4.441
X110.930Y4.561
X111.014Y4.685
X111.095Y4.819
X111.169Y4.956
X111.226Y5.073
X111.290Y5.223
X111.382Y5.487
X111.449Y5.752
X111.476Y5.899
X111.496Y6.047
X111.509Y6.196
X111.515Y6.346
Y108.053
X111.508Y108.216
X111.491Y108.391
X111.469Y108.539
X111.440Y108.686
X111.392Y108.875
X111.347Y109.018
X111.303Y109.140
X111.238Y109.296
X111.103Y109.563
X110.947Y109.811
X110.858Y109.932
X110.748Y110.068
X110.547Y110.281
X110.442Y110.378
X110.297Y110.498
X110.177Y110.588
X110.053Y110.672
X109.919Y110.753
X109.782Y110.827
X109.665Y110.884
X109.515Y110.948
X109.251Y111.040
X108.986Y111.107
X108.839Y111.134
X108.691Y111.154
X108.542Y111.167
X108.392Y111.173
X6.685
X6.522Y111.166
X6.347Y111.149
X6.199Y111.127
X6.052Y111.098
X5.863Y111.050
X5.720Y111.005
X5.598Y110.961
X5.442Y110.896
X5.175Y110.761
X4.927Y110.605
X4.806Y110.516
X4.670Y110.406
X4.457Y110.205
X4.360Y110.100
X4.240Y109.955
X4.150Y109.835
X4.066Y109.711
X3.985Y109.577
X3.911Y109.440
X3.854Y109.323
X3.790Y109.173
X3.698Y108.909
X3.631Y108.644
X3.604Y108.497
X3.584Y108.349
X3.571Y108.200
X3.565Y108.050
Y6.343
X3.583Y6.057
X3.611Y5.857
X3.633Y5.742
X3.703Y5.471
X3.752Y5.323
X3.816Y5.160
X3.872Y5.035
X3.958Y4.867
X4.111Y4.617
X4.186Y4.511
X4.286Y4.383
X4.375Y4.279
X4.473Y4.175
G0Z12.000
G0X16.783Y16.827
G0
G1Z-3.175F762.0
G1X16.948Y16.670F1524.0
X17.093Y16.550
X17.213Y16.460
X17.337Y16.376
X17.471Y16.295
X17.725Y16.164
X17.875Y16.100
X18.139Y16.008
X18.404Y15.941
X18.551Y15.914
X18.699Y15.894
X18.848Y15.881
X18.998Y15.875
X95.305
X95.468Y15.882
X95.643Y15.899
X95.791Y15.921
X95.938Y15.950
X96.127Y15.998
X96.270Y16.043
X96.392Y16.087
X96.548Y16.152
X96.815Y16.287
X97.063Y16.443
X97.184Y16.532
X97.320Y16.642
X97.533Y16.843
X97.630Y16.948
X97.750Y17.093
X97.840Y17.213
X97.924Y17.337
X98.005Y17.471
X98.079Y17.608
X98.136Y17.725
X98.200Y17.875
X98.292Y18.139
X98.359Y18.404
X98.386Y18.551
X98.406Y18.699
X98.419Y18.848
X98.425Y18.998
Y95.305
X98.418Y95.468
X98.401Y95.643
X98.379Y95.791
X98.350Y95.938
X98.302Y96.127
X98.257Y96.270
X98.213Y96.392
X98.148Y96.548
X98.013Y96.815
X97.857Y97.063
X97.768Y97.184
X97.658Y97.320
X97.457Y97.533
X97.352Y97.630
X97.207Y97.750
X97.087Y97.840
X96.963Y97.924
X96.829Y98.005
X96.692Y98.079
X96.575Y98.136
X96.425Y98.200
X96.161Y98.292
X95.896Y98.359
X95.749Y98.386
X95.601Y98.406
X95.452Y98.419
X95.302Y98.425
X18.995
X18.832Y98.418
X18.657Y98.401
X18.509Y98.379
X18.362Y98.350
X18.173Y98.302
X18.030Y98.257
X17.908Y98.213
X17.752Y98.148
X17.485Y98.013
X17.237Y97.857
X17.116Y97.768
X16.980Y97.658
X16.767Y97.457
X16.670Y97.352
X16.550Y97.207
X16.460Y97.087
X16.376Y96.963
X16.295Y96.829
X16.221Y96.692
X16.164Y96.575
X16.100Y96.425
X16.008Y96.161
X15.941Y95.896
X15.914Y95.749
X15.894Y95.601
X15.881Y95.452
X15.875Y95.302
Y18.995
X15.893Y18.709
X15.921Y18.509
X15.943Y18.394
X16.013Y18.123
X16.062Y17.975
X16.126Y17.812
X16.182Y17.687
X16.268Y17.519
X16.421Y17.269
X16.496Y17.163
X16.596Y17.035
X16.685Y16.931
X16.783Y16.827
G0Z12.000
G0X29.483Y29.527
G0
G1Z-3.175F762.0
G1X29.648Y29.370F1524.0
X29.793Y29.250
X29.913Y29.160
X30.037Y29.076
X30.171Y28.995
X30.425Y28.864
X30.575Y28.800
X30.839Y28.708
X31.104Y28.641
X31.251Y28.614
X31.399Y28.594
X31.548Y28.581
X31.698Y28.575
X82.605
X82.768Y28.582
X82.943Y28.599
X83.091Y28.621
X83.238Y28.650
X83.427Y28.698
X83.570Y28.743
X83.692Y28.787
X83.848Y28.852
X84.115Y28.987
X84.363Y29.143
X84.484Y29.232
X84.620Y29.342
X84.833Y29.543
X84.930Y29.648
X85.050Y29.793
X85.140Y29.913
X85.224Y30.037
X85.305Y30.171
X85.379Y30.308
X85.436Y30.425
X85.500Y30.575
X85.592Y30.839
X85.659Y31.104
X85.686Y31.251
X85.706Y31.399
X85.719Y31.548
X85.725Y31.698
Y82.605
X85.718Y82.768
X85.701Y82.943
X85.679Y83.091
X85.650Y83.238
X85.602Y83.427
X85.557Y83.570
X85.513Y83.692
X85.448Y83.848
X85.313Y84.115
X85.157Y84.363
X85.068Y84.484
X84.958Y84.620
X84.757Y84.833
X84.652Y84.930
X84.507Y85.050
X84.387Y85.140
X84.263Y85.224
X84.129Y85.305
X83.992Y85.379
X83.875Y85.436
X83.725Y85.500
X83.461Y85.592
X83.196Y85.659
X83.049Y85.686
X82.901Y85.706
X82.752Y85.719
X82.602Y85.725
X31.695
X31.532Y85.718
X31.357Y85.701
X31.209Y85.679
X31.062Y85.650
X30.873Y85.602
X30.730Y85.557
X30.608Y85.513
X30.452Y85.448
X30.185Y85.313
X29.937Y85.157
X29.816Y85.068
X29.680Y84.958
X29.467Y84.757
X29.370Y84.652
X29.250Y84.507
X29.160Y84.387
X29.076Y84.263
X28.995Y84.129
X28.921Y83.992
X28.864Y83.875
X28.800Y83.725
X28.708Y83.461
X28.641Y83.196
X28.614Y83.049
X28.594Y82.901
X28.581Y82.752
X28.575Y82.602
Y31.695
X28.593Y31.409
X28.621Y31.209
X28.643Y31.094
X28.713Y30.823
X28.762Y30.675
X28.826Y30.512
X28.882Y30.387
X28.968Y30.219
X29.121Y29.969
X29.196Y29.863
X29.296Y29.735
X29.385Y29.631
X29.483Y29.527
G0Z12.000
G0X46.226Y46.061
G0
G1Z-3.175F762.0
G1X46.660Y45.637F1524.0
X46.902Y45.414
X47.411Y44.975
X47.944Y44.551
X48.235Y44.336
X48.734Y43.989
X49.329Y43.611
X49.882Y43.292
X50.236Y43.103
X50.762Y42.843
X51.357Y42.576
X51.747Y42.418
X52.280Y42.220
X52.935Y42.005
X53.609Y41.817
X54.283Y41.661
X54.898Y41.544
X55.607Y41.441
X56.174Y41.382
X56.540Y41.354
X57.180Y41.327
X57.504Y41.323
X58.197Y41.336
X58.905Y41.382
X59.492Y41.443
X59.855Y41.492
X60.526Y41.606
X60.860Y41.674
X61.450Y41.812
X62.122Y41.998
X62.761Y42.205
X63.346Y42.423
X63.661Y42.550
X63.993Y42.693
X64.285Y42.827
X64.940Y43.153
X65.471Y43.446
X66.013Y43.773
X66.555Y44.131
X67.097Y44.522
X67.427Y44.777
X67.931Y45.195
X68.398Y45.616
X68.677Y45.884
X69.119Y46.337
X69.360Y46.600
X69.746Y47.047
X70.204Y47.625
X70.604Y48.178
X70.961Y48.719
X71.254Y49.201
X71.578Y49.785
X71.776Y50.171
X72.046Y50.747
X72.170Y51.034
X72.425Y51.677
X72.653Y52.336
X72.840Y52.964
X72.982Y53.514
X73.128Y54.191
X73.250Y54.912
X73.295Y55.246
X73.359Y55.854
X73.401Y56.519
X73.415Y57.162
X73.402Y57.855
X73.358Y58.553
X73.325Y58.894
X73.246Y59.513
X73.127Y60.210
X72.986Y60.867
X72.840Y61.432
X72.740Y61.780
X72.533Y62.419
X72.315Y63.004
X72.188Y63.319
X72.027Y63.691
X71.776Y64.225
X71.578Y64.611
X71.254Y65.195
X70.965Y65.671
X70.603Y66.219
X70.375Y66.542
X69.961Y67.085
X69.543Y67.589
X69.122Y68.056
X68.854Y68.335
X68.384Y68.793
X67.897Y69.230
X67.352Y69.678
X66.895Y70.024
X66.560Y70.262
X66.023Y70.617
X65.493Y70.938
X65.207Y71.099
X64.567Y71.434
X64.013Y71.694
X63.721Y71.821
X63.061Y72.083
X62.758Y72.192
X62.128Y72.396
X61.503Y72.571
X60.823Y72.731
X60.124Y72.861
X59.524Y72.949
X58.923Y73.013
X58.219Y73.059
X57.576Y73.073
X56.883Y73.060
X56.197Y73.017
X55.871Y72.986
X55.225Y72.904
X54.554Y72.790
X53.871Y72.644
X53.306Y72.498
X52.975Y72.403
X52.323Y72.192
X52.003Y72.077
X51.683Y71.953
X51.068Y71.694
X50.513Y71.434
X50.212Y71.281
X49.616Y70.955
X48.990Y70.574
X48.486Y70.239
X48.220Y70.050
X47.663Y69.626
X47.380Y69.396
X46.932Y69.009
X46.403Y68.512
X45.979Y68.078
X45.745Y67.824
X45.505Y67.552
X45.294Y67.300
X45.090Y67.049
X44.893Y66.794
X44.678Y66.503
X44.331Y66.004
X43.953Y65.409
X43.634Y64.856
X43.445Y64.502
X43.186Y63.978
X42.907Y63.356
X42.656Y62.719
X42.532Y62.372
X42.347Y61.803
X42.161Y61.136
X42.004Y60.461
X41.886Y59.840
X41.792Y59.207
X41.753Y58.866
X41.696Y58.199
X41.669Y57.558
X41.665Y57.234
X41.678Y56.541
X41.724Y55.833
X41.785Y55.246
X41.830Y54.912
X41.943Y54.238
X42.075Y53.615
X42.157Y53.276
X42.333Y52.640
X42.554Y51.961
X42.785Y51.341
X43.020Y50.781
X43.169Y50.453
X43.480Y49.826
X43.821Y49.211
X44.113Y48.728
X44.300Y48.439
X44.690Y47.876
X45.119Y47.312
X45.508Y46.842
X45.729Y46.590
X46.226Y46.061
G0Z12.000
G0Z12.000
M5
M30
(END)

Have you calibrated your machine for distance

You mean setting $100 and $101? Yes, over and over and over…

No I mean calibrating your machine to make sure it moves 100 mm when you tell it to move 100 mm using a yardstick or other accurate linear measurement.

Here is a decent video. Just remember this is for the XCarve so you will have to use a the MDI commands instead of the Machine Inspector.

Since I have been through this. Let me re-comment on it.
If you take away any offset corrections you have made and start from scratch. Then cut a 5 inch square and precisely measure it. Do the math and enter the corrections. Then cut another 5 inch square. You will find it comes out pretty close to perfect. However, (correct me if I am wrong), if you cut a 3 inch square you will find it to be slightly smaller, likewise a larger square slightly larger.

Now - I know I do not have a runout issue (a wobbling bit), I checked that by measuring the inside and outside dim’s of the groove cut. But you also have to make sure you have the new Z-Plate to eliminate that potential issue. But the Z-Plate should not affect the X-axis.

I am now in a don’t care situation because I just calibrate around what I need to be PRECISE. So if I REALLY need something exactly around the 3 inch area, I would drive my calibration around that. The data I took on my system fell on deaf ears. If you really look in detail about how this X,Y correction is formulated, you will find it works this way. It says that “I need to go a little further or not quite as far for X inches”. But then assumes that same little delta would be the same for any distance. I find this to be not true.

1 Like

I don’t see a link to the video. In any case, are these not merely different methods to arrive at the same conclusion? If not, please elaborate.

Sorry my bad

The belt stretch calibration technique adjusts the machine’s steps per mm. Ideally this would be “linear”, that is, consistent across the entire range of motion of the machine’s axes. If it isn’t then that means the machine is nonlinear: the steps per mm varies throughout the range of motion of the machine, so calibrating in one place or over one distance will give you different results from other places and distances.

I am not being overly precise in my calibration, but when I calibrated at 3 inches (by milling a block that size and measuring with calipers) I got very close to the same result as at 2 feet (by moving a v-bit along a secured metal square).

Technically, every system is nonlinear: they are just designed to be linear within specifications. (Back in the stone age I paid the bills as a test engineer - in mixed signal electronics not mechanical systems). It isn’t even exactly clear to me (as a CNC noob) what the linearity spec of a CNC machine would look like, but these hobby machines don’t have many specs in the first place: they do as well as they do, and if that works for your application then great.

It is always a good idea to calibrate to the range that is important to you, so that’s great advice by DJ_Valenski.

1 Like

Thanks, I will give that a try. However, if this is the behavior that is to be expected, meaning it is only accurate in a very small range and outside of that it is crap, well this is not the machine for me.

@ApolloCrowe
Is this the type of accuracy and behavior that is to be expected of these routers?

I think you may be misled. I get great accuracy out of mine. If you expect .001" accuracy out of a hobby machine you will be disappointed. But you should be getting pretty close. Mine is normally within .003 - .005 across the entire 34" of the machine span on my Shapeoko 3XXL. Even more important it is always consistent from cut to cut.

3 Likes

That level of accuracy is more than acceptable. I am willing to live with +/- 0.010 but if I can get to where you are, then all the better! I will try as suggested, but I am currently at a loss as to why I am seeing such inconsistency from cut to cut. This is the result of my last set of tests (one of many).