# Holey Triangular Calibration

**URL:** <https://forums.maslowcnc.com/t/holey-triangular-calibration/6240>\
**Category:** Technical Details\
**Created:** [August 29, 2018, 7:25pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240 "2018-08-29T19:25:54Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [September 2, 2018, 3:44pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/41 "2018-09-02T15:44:06Z")

</div>

it’s in the chain stretch/sag that we are having issues, so solutions that  
ignore those are probably not very useful.

David Lang

---

<div class="post-metadata">

**Author:** ![xrok1](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/xrok1/32/19640_2.png) [@xrok1](https://forums.maslowcnc.com/u/xrok1)\
**Post date:** [September 2, 2018, 3:47pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/42 "2018-09-02T15:47:33Z")

</div>

What about having a separate calibration for each quadrant of the work area with the center portion being a gradient as it shifts from using one calibration on one side to the other calibration on the other side and top to bottom?

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 2, 2018, 5:14pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/43 "2018-09-02T17:14:10Z")

</div>

I believe a “dynamic” calibration would be tough to implement… I like the idea though. This morning I thought about having two calibrations, one for accuracy across the whole sheet and one for accuracy near the middle and made a version of the newcal-holes that would handle two sets of holes (one at the extremes and another closer in to the middle… about a 2-foot x 2-foot square). I can get “good” calibration numbers if I calibrate to either of the two.

However, I can’t get good numbers if I try to calibrate to both at the same time (i.e., an 9-hole calibration) and I think the problem is the accuracy in measurements… and in particular, the measurements to Mark 5. This measurement is crucial in determining the rotation of the hole pattern (i.e., how level the frame is and how uniform and consistent between the chains that the chain wear is). The problem comes in when you measure Mark 5 for the outer holes and it results in calculations that the frame is tilted counterclockwise a small amount but when you measure Mark 5 for the inner holes and it results in calculations that the frame is tilted clockwise a small amount. These reconcilable differences results in a poor calibration. The accuracy to Mark 5 is paramount and that’s what I need to figure out how to do better.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 2, 2018, 9:55pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/44 "2018-09-02T21:55:22Z")

</div>

Lesson of the day, don’t enter too many digits into the “Motor Offset Height in mm”… If there are too many digits, I think the front end gets truncated. Took a while to figure out why it thought 0,0 was WAYYYY up on the board. Probably need to put a fix in… will make an github issue.

---

<div class="post-metadata">

**Author:** ![dparker](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dparker](https://forums.maslowcnc.com/u/dparker)\
**Post date:** [September 3, 2018, 12:32am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/45 "2018-09-03T00:32:26Z")

</div>

Please help

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/3/362d11d5897b8900094ce0ea575c914cbbd4e430.jpeg)

---

<div class="post-metadata">

**Author:** ![dparker](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dparker](https://forums.maslowcnc.com/u/dparker)\
**Post date:** [September 3, 2018, 12:32am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/46 "2018-09-03T00:32:57Z")

</div>

what do you measure

---

<div class="post-metadata">

**Author:** ![mrfugu](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mrfugu/32/22_2.png) [@mrfugu](https://forums.maslowcnc.com/u/mrfugu)\
**Post date:** [September 3, 2018, 1:26am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/47 "2018-09-03T01:26:47Z")

</div>

1. make sure you’re using the latest version of Ground Control.app and Maslow Firmware (1.20 as of now)

2. switch to ‘triangular kinematics’ (in a previous screen i believe)

3. you’ll be asked to measure the radius from the center drill bit to the outside of the ring connector (i’m pretty sure, i have a different linkage myself)

the main thing though is that the screenshot above is for the old (non triangular) design…

also: this conversation (the setup of your machine) is best suited to another topic, as this topic is for @madgrizzle 's slimmed down calibration fork, which is still under development…

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 3, 2018, 1:46am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/48 "2018-09-03T01:46:06Z")

</div>

Review this thread… it’s not completed, but gets you through most of the process…

> [@How To: Get Calibrated!](https://forums.maslowcnc.com/t/how-to-get-calibrated/6036):
>
> Note: The intent of this thread is to help people get their machines calibrated and answer “frequency asked questions” of the process. Do this First: Go to Settings-\>Advanced Settings and set the Extend Chain Distance based upon the following: If using a 10-foot top beam, set distance to 1651 mm If using a 12-foot top beam, set distance to 2032 mm The key to the setting is to make it a multiple of 63.5 mm and long enough so you can attach your chains to the sled when the time comes. Calibra…

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 3, 2018, 2:39pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/49 "2018-09-03T14:39:34Z")

</div>

> [@madgrizzle](#):
>
> The problem comes in when you measure Mark 5 for the outer holes and it results in calculations that the frame is tilted counterclockwise a small amount but when you measure Mark 5 for the inner holes and it results in calculations that the frame is tilted clockwise a small amount. These reconcilable differences results in a poor calibration. The accuracy to Mark 5 is paramount and that’s what I need to figure out how to do better.

Small update. In the calculations, I never used the distance between Holes 1 and 4… Therefore, I decided to try to eliminate a step and iteratively determine dH0M5 based upon the value that gives that calculates dH1H4 the closest to the measured dH1H4. It’s a sloppy routine that starts with a very high estimated dH0M5 and then decreases it until the error starts getting worse. Since it may not ever arrive at a prescribed minimum error, this change in error direction is a good indicator of being real close to it.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 5, 2018, 3:47pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/50 "2018-09-05T15:47:26Z")

</div>

Another update… I spent a bunch of time over the holiday weekend trying to get the calibration working better. Couple things I discovered:

1. The measurements to Mark 5 are absolutely critical and very difficult to make. The problem is that Mark 5 has to be dead center, directly below Hole 0 (at 0,0). Since calibration requires a measurement from Hole 2 to Mark 5, I have to hang my level on a dowel inserted into Hole 0, get the bubble to level, and then because the level doesn’t have a center line mark, I have to take the average of the measurements from Hole 2 to the left edge and right edge. That’s 3-4 measurements that I have to make and each one has room for error. A plumb bob won’t work because the frame is tilted backwards. The reason this whole thing is significant is that using my painstakingly taken measurements, the lowest Error Magnitude I was able to reach was around 2.0 with some of the inner holes still having errors of over 3 mm (way significant). However, if I shifted the Mark 5 measurement for the outer holes a mere 1 mm to the left and the inner holes a mere 1 mm to the right, my Error Magnitude dropped to 1.0 and most holes were within 1 mm (way better). So having a good way of finding Mark 5 is important. I was thinking of getting an auto-adjusting laser level that will project a plumb vertical line to facilitate the Mark 5 measurement, however, because the frame is tilted back 15 degrees, I have to make sure I’m dead center in front of the thing, otherwise, the vertical line mark will be off… Another source of potential error.

2. My shed has settled unevenly. I suspected that was the case, but I didn’t realize how much until I measured about a 1-inch difference from the floor to the left motor mount and right motor mounts… The level I placed on top beam seems level, but maybe it’s not good enough. So I ordered an electronic water level since I have to do the leveling without help.

3. Though the calibration routine is designed to adjust for out of level, it appears that “top beam tilt” value fights against the difference in chain tolerance. As the top beam tilts, the right chain tolerance seems to increases to counteract the effect. Eventually I end up with a 20 mm difference in left motor and right motor Y coordinates, a left chain with a 0.0 chain tolerance, but a right chain with a 0.25 chain tolerance… These are brand new chains from the same spool. It’s hard to imagine there would be hardly any difference in chain tolerance between the two… and again, I don’t think my top beam is so far out of whack that there’s a 20 mm difference in heights.

So what I’ve done so far is to make the calibration routine (newcal-holes-alt0.py) a bit flexible so that you can calibrate to outer holes, inner holes, or both outer and inner. I can get “good” Error Magnitudes (\<1.0) with calibrating to outer holes, to inner holes, but not to both simultaneously. I can only accomplish that if I adjust my measurements to Mark 5 as mentioned above.

And as I mentioned previously, just because I have a low Error Magnitude, doesn’t mean they produce good cuts. So my plan of attack is to eliminate as many variables as possible by leveling the frame this weekend, set chain tolerances to 0.0 for each, and do another set of cuts/measurements. If the frame is level, the chains are identical, then Mark 5 should really measure to be half the distance between the two bottom holes. If not, something is wrong.

---

<div class="post-metadata">

**Author:** ![xrok1](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/xrok1/32/19640_2.png) [@xrok1](https://forums.maslowcnc.com/u/xrok1)\
**Post date:** [September 5, 2018, 8:38pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/51 "2018-09-05T20:38:36Z")

</div>

Appreciate the updates 🙂

---

<div class="post-metadata">

**Author:** ![mrhall4](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mrhall4](https://forums.maslowcnc.com/u/mrhall4)\
**Post date:** [September 5, 2018, 9:34pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/52 "2018-09-05T21:34:10Z")

</div>

Hey @madgrizzle,

Do you have access to a 3d printer?  
I printed some guides for when measuring my motor distance.  
It has a slot on one side to hold tape and a U shaped guide on the other side with a window and mark in the center. So you can feed your tape through it and see where the exact center line is.

Would gladly share these with you.

Not near my work computer at the moment. But can share tomorrow. Though they will need to be adjusted for your hole size.

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [September 5, 2018, 9:40pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/53 "2018-09-05T21:40:04Z")

</div>

I would be glad if these where sold internationally. I’m serious.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 5, 2018, 11:10pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/54 "2018-09-05T23:10:58Z")

</div>

Yes I do. I’d be very interested in it.

---

<div class="post-metadata">

**Author:** ![mrhall4](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mrhall4](https://forums.maslowcnc.com/u/mrhall4)\
**Post date:** [September 6, 2018, 12:17am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/55 "2018-09-06T00:17:04Z")

</div>

I’m actually at an emergency vet with my pup right now. Will post when I have some time.

What is the diameter of the holes you are drilling?

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 6, 2018, 12:17am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/56 "2018-09-06T00:17:41Z")

</div>

1/4 inch… hope all is well

---

<div class="post-metadata">

**Author:** ![mrhall4](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mrhall4](https://forums.maslowcnc.com/u/mrhall4)\
**Post date:** [September 6, 2018, 7:22pm UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/57 "2018-09-06T19:22:23Z")

</div>

ugh … not going as hoped thats for sure. Looking like we’re going to need some surgery.  
Thanks for the well wishes.

Gonna take me a couple days to get back to my work computer. Ill try to post them this weekend.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 9, 2018, 12:09am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/58 "2018-09-09T00:09:33Z")

</div>

Another small update… I decided to rebuild my top beam using a coupler to add a 2 foot section to a 10 foot section ([http://www.unistrut.us/index.php?WP=cat\_detail&P=P1377](http://www.unistrut.us/index.php?WP=cat_detail&P=P1377)). Previously, I stacked a 2-foot section to each end of the 10 foot beam (1 foot of each overlapping the 10 foot). I noticed things weren’t “perfect” so I did the rebuild… I also made it so I can slide the top beam arms in and out from the frame to improve alignment. It’s a work in progress…

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [September 9, 2018, 1:07am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/59 "2018-09-09T01:07:47Z")

</div>

so this is still a total of 12’? or are you adding 2’ to each end for a total of 14’?

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [September 9, 2018, 1:42am UTC](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/60 "2018-09-09T01:42:31Z")

</div>

12-feet, just used a single coupler… expensive enough for what they are. ebay find.

[Previous page](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240.md?page=2)

[Next page](https://forums.maslowcnc.com/t/holey-triangular-calibration/6240.md?page=4)
