Skip to topic | Skip to bottom
Home"Wealth without money..."

Main.ArcCompensationr1.2 - 26 Jul 2008 - 12:33 - AdrianBowyertopic end

Start of topic | Skip to actions

Arc Compensation

Reprapper Nophead has pointed out that when the RepRap extrude head moves it lays down material equally on either side of its centre line. But what an arc is being created, less material is needed on the inside of the arc than the outside. This page describes the calculation that's needed to compensate for that.

arc compensation

Suppose RepRap is making a circular hole of radius R. The extrude head lays down a track of thickness t. The head has to move at an offset radius r to get the edge of the hole in the right place. For big values of R:

    r ≈ R + 0.5t.

Indeed for straight lines (i.e. R is infinite), that is exactly what you want. But for small R the hole will come out too small because more material is laid down in the inside area, Ai than is needed. So r has to be larger than the simple calculation gives to compensate.

Without loss of generality, consider the entire circle of which the arc along which the centre of the extruder moves is a part. Let the circumference of the circle be length L:

    L = 2πr

Clearly, for a straight line (that is, infinite R):

    Ai = Lt/2 = 2πrt/2 = πrt

For finite values of R:

    Ai = π(r2 - R2)

If we equate the Ai values so that r gives the area we would have for a straight line we have

    πrt = π(r2 - R2)

The πs cancel, giving (after re-arrangement) the quadratic in r:

    r2 - rt - R2 = 0

which has the root:

    r = [t + √(t2 + 4R2)]/2

(There is also the negative square root which we can ignore.) We can tabulate this formula for some typical values:

R (mm) t (mm) r (mm)
1 0.5 1.28
1.5 0.5 1.77
2 0.5 2.27
2.5 0.5 2.76
3 0.5 3.26
3.5 0.5 3.76
4 0.5 4.26
4.5 0.5 4.76
5 0.5 5.26
5.5 0.5 5.76
6 0.5 6.26
6.5 0.5 6.75
7 0.5 7.25
7.5 0.5 7.75
8 0.5 8.25
8.5 0.5 8.75
9 0.5 9.25
9.5 0.5 9.75
10 0.5 10.25

As you can see, above R = 6.5 mm, the simple offset calculation of adding half t gives the right answer to within 10 microns. But below that the differences are significant.

-- AdrianBowyer - 26 Jul 2008
to top


You are here: Main > WebLeftBar > SoftwareDocumentation > RepRapHostSoftware > ArcCompensation

to top

Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RepRap? Send feedback