CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - calibration

on 2003-06-15 10:02:46 UTC
For calibrating, I had good success using Simulated Annealing.

The problem is to determine where the joints are, and how long the legs
are. Of course, if you built everything perfectly, there wouldn't be a
problem. But, if you are like me, you won't build everything perfectly,
and you can easily be off by +/- 1/4" on the joint positions over a
4'x5'x5' frame.

You may also want to correct for actuator screw error. I didn't do this on
the last calibration, but I'll try it on the next.

Simulated Annealing (SA) is referred to in many places on the web. It is
often used now as a technique for determining how proteins fold, but it is
suited to any situation where you need to estimate parameters.

To cut through all the theory and such, you model the hexapod including
variables for everything that may not be fixed. This includes the
locations of the joints, the minimum leg length, the screw pitchs. You
carefully measure the extension of the legs at several (many)
positions. The challenge with a hexapod is to be sure you have measured or
fixed all six degrees of freedom. You now have a set of actuator lengths
required to reach a number of fixed positions, distributed through the
range of the machine.

The SA code, with the model function you wrote, attempts to find the best
fit of the unknown to the measured data. It tried moving the joints a
little, it adjusts the notion of leg lengths. It tried tens or hundreds of
thousands of slight variations, each time checking it against the observed
data, trying to find the best fit.

After a few minutes of computer time (depending on CPU speed), it prints
the best fit it could find for the model. This best fit becomes the input
to the kinematics you need to run the Stewart platform.

I downloaded some commonly used SA code form the net, and modified it for
calibration. I could share this, but it isn't terribly useful without some
programming skill.

It runs on Linux.

-- Carl

At 08:33 AM 6/14/2003 +0000, you wrote:
>Zeroing the hexapod could be a challenge as I'd think that you'd want
>to have all the struts at relatively equal tension / compression to
>start with. If you used high-lead ballscrews or belts or cables then
>powering off the motors and zeroing by hand might be simple and
>effective. You'd also need to be able to accurately measure the
>relative positions of all the joints and initial strut lengths in
>order to model the hexapod in software and probably devise a means
>for calibrating.
>If I could put together the hardware for a reasonable cost then I'd
>probably build a hexapod just for the fun although I'm currently
>working on a hybrid design using 3 actuators to tilt the tool
>platform in conjunction with 3 linear axes to position it, early
>stages but has potential advantages over the 2 rotary axes I'm
>currently using on my router.
>If you get the hardware together then by all means use my CNC Toolkit
>for the software side. It might not be very user friendly but that
>could be fixed with some decent documentation and some work on the
>user interface.
>
>Regards,
>Rab
>
>
>Addresses:
>FAQ: http://www.ktmarketing.com/faq.html
>FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
>Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
>
>Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
>Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
>List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...,
>timg@...
>Moderator: pentam@... indigo_red@... [Moderators]
>URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>
>OFF Topic POSTS: General Machining
>If you wish to post on unlimited OT subjects
>goto: aol://5863:126/rec.crafts.metalworking or go thru Google.com to
>reach it if you have trouble.
>http://www.metalworking.com/news_servers.html
>
>http://groups.yahoo.com/group/jobshophomeshop I consider this to be a
>sister site to the CCED group, as many of the same members are there, for
>OT subjects, that are not allowed on the CCED list.
>
>NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING
>THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
>bill
>List Mom
>List Owner
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Discussion Thread

Graham Stabler 2003-06-13 07:47:41 UTC A "simple" Hexapod project ccq@x... 2003-06-13 09:06:26 UTC Re: [CAD_CAM_EDM_DRO] A "simple" Hexapod project Dan Mauch 2003-06-13 10:06:53 UTC RE: [CAD_CAM_EDM_DRO] A "simple" Hexapod project andyolney 2003-06-13 10:49:39 UTC Re: A "simple" Hexapod project Tom Benedict 2003-06-13 11:01:52 UTC Re: [CAD_CAM_EDM_DRO] A "simple" Hexapod project Greg Jackson 2003-06-13 11:23:27 UTC RE: [CAD_CAM_EDM_DRO] A "simple" Hexapod project rainnea 2003-06-13 13:47:57 UTC Re: A "simple" Hexapod project Paul 2003-06-13 13:54:33 UTC Re: [CAD_CAM_EDM_DRO] A "simple" Hexapod project Carl Mikkelsen 2003-06-13 15:05:54 UTC Re: [CAD_CAM_EDM_DRO] A "simple" Hexapod project Tom Benedict 2003-06-13 15:22:23 UTC Re: [CAD_CAM_EDM_DRO] A "simple" Hexapod project Graham Stabler 2003-06-14 00:51:38 UTC Re: A "simple" Hexapod project Stephan Kotzé 2003-06-14 01:12:17 UTC RE: A "simple" Hexapod project rainnea 2003-06-14 01:33:12 UTC Re: A "simple" Hexapod project Dan Mauch 2003-06-14 09:01:48 UTC RE: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project Dan Mauch 2003-06-14 09:33:53 UTC RE: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project Graham Stabler 2003-06-14 16:24:38 UTC Re: A "simple" Hexapod project Carl Mikkelsen 2003-06-15 10:02:46 UTC Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - calibration Carl Mikkelsen 2003-06-15 10:54:46 UTC Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - envelope Graham Stabler 2003-06-15 15:34:02 UTC Re: A "simple" Hexapod project - envelope Carl Mikkelsen 2003-06-15 20:07:42 UTC Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - fear factor Carl Mikkelsen 2003-06-15 20:07:42 UTC Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - fear factor Graham Stabler 2003-06-16 01:47:13 UTC Re: A "simple" Hexapod project - fear factor stephank97 2003-06-16 02:27:56 UTC Re: A "simple" Hexapod project - envelope Dan Mauch 2003-06-16 07:30:53 UTC RE: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - envelope carl fair 2003-06-16 08:10:16 UTC please help with Bobcad to Cncpro Paul 2003-06-16 08:10:54 UTC Re: [CAD_CAM_EDM_DRO] Re: A "simple" Hexapod project - envelope vrsculptor 2003-06-16 13:53:41 UTC Re: A "simple" Hexapod project - Free toolpaths Graham Stabler 2003-06-17 11:48:33 UTC Re: A "simple" Hexapod project - Just made a tool path