Shop OBEX P1 Docs P2 Docs Learn Events
Math/geometry question about positional accuracy wrt delta robots — Parallax Forums

Math/geometry question about positional accuracy wrt delta robots

W9GFOW9GFO Posts: 4,010
edited 2009-08-17 22:24 in General Discussion
I'm thinking about building a delta robot similar in size to this commercially available one in the video.

DesktopDelta video

A simulation

I would use high performance digital servos with zero dead band.

The arms would connect directly to the servo output shaft and would move through about 90 degrees of arc. That would correspond to 900 unique positions for one arm.

If the intended workspace is 9" in diameter that would roughly equate to .010" resolution if it were a linear relationship. Of course it is not linear and there are a total of three servos contributing.

My question is, which I can't wrap my mind around, how does the combination of the three servos affect the ultimate accuracy?

Would the accuracy be better than .010" considering the other two servo's input?

Towards the edges of the workspace, does the accuracy diminish? When the head is directly under a servo, that servo contributes little to the X/Y positioning but a great deal to the Z, the other two then contribute more to the X/Y and the geometry of their arms is in a position to offer the greatest resolution.

I need to figure out the relationship between positional accuracy (given .1 degree resolution of the arms) and the size of the work area. I am after .010" or better accuracy.

Rich H

Post Edited (W9GFO) : 8/16/2009 6:11:15 PM GMT

Comments

  • Carl HayesCarl Hayes Posts: 841
    edited 2009-08-16 21:05
    If the three components of a position are orthogonal (say, east-west, north-south, and up-down), then the total position error is the sqrt of the sum of the squares of the individual errors.· Thus, if each component x, y, z can have a maximum error, ex, ey, ez respectively,·of 0.01 inch, then the total position error can be as large as sqrt(.012 + .012 + .012) which is 0.01732 approximately.

    To be more general, you could formulate·an expression for each of the components x, y, z·as functions (probably trigonometrical functions)·of the three (or however many) servo angles θ1, θ23, with an error term Δ1, Δ2, Δ3 added for each of the servo angles.· Derive an expression for the total position error as a function of θ1, θ2, θ3, Δ1, Δ2, Δ3.· Calculate the maximum for this function (the maximum will occur where the first derivative equals zero), and that's your maximum position error.

    Simple, no?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net

    Post Edited (Carl Hayes) : 8/17/2009 2:01:39 PM GMT
  • dev/nulldev/null Posts: 381
    edited 2009-08-16 21:23
    This is a fairly complicated engineering question. Yes, the accuracy decreases at the edges. Try to look at it in terms of a ball on a string that you are spinning around. The further the ball is from you, the less resolution you get (with a given step function).

    If the servo's perpendicular location is 5" above the surface, a simple tangent calculation shows that between 0 and 0.1 degrees (servo arm pointing perpendicular to the surface) you have 0.00035" resolution, and between 44.9 and 45 degrees you have 0.0007" resolution. So you half the resolution when the servo is at 45 degrees, compared to straight down.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't worry. Be happy
  • Carl HayesCarl Hayes Posts: 841
    edited 2009-08-16 21:42
    I suppose I ought to have pointed out the following simplification:

    You mention that the servo resolution is 0.01 degree, so you can set·Δ123=0.572957795131 (the angle 0.01 degree expressed in radians).· Thus the· Δ1, Δ2, Δ3 are constants, not variables.· Indeed, you might be able to use half this value if the linearity and the differential linearity of the servos are perfect.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • dev/nulldev/null Posts: 381
    edited 2009-08-16 22:40
    Following up:
    tancalc.jpg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't worry. Be happy
  • W9GFOW9GFO Posts: 4,010
    edited 2009-08-17 01:36
    Carl Hayes said...
    Simple, no?

    No, that does not look simple!

    In high school I excelled in geometry but barely passed algebra and I never took trig. I've learned more about algebra from my kids than I ever did in school.

    Heck I feel smarter for just having an idea what you were talking about!

    Looks like I'm going to have to do some studying - and draw lots of pictures.

    @dev/null, the example you gave where the arm is perpendicular to the surface is where there is the greatest accuracy, in that position the head would be furthest from the center. When all three arms are at 45 degrees the head would be centered.

    At any rate I have a better idea on how to figure this out. Thanks guys!

    Rich H
  • W9GFOW9GFO Posts: 4,010
    edited 2009-08-17 17:19
    Ok, here is what I figured out. With a 4" arm at 45 degrees, .1 degrees of movement is .007" along the arc. The movement in the X/Y plane is then .005". So with al the errors that will crop up maybe .010" repeatability is attainable.

    I should've said repeatability in the beginning, if I can get it to go to the same spot time after time and not miss by more than .005" then all will be good.

    Rich H
  • dev/nulldev/null Posts: 381
    edited 2009-08-17 22:24
    Sounds like a cool project W9. Post more info when you get started. What can you use a robot like this for?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't worry. Be happy
Sign In or Register to comment.