Thread: New Autoleveling PCB software
Dear CNC PCB guys,
Inspired by the ideas from Poul-Henning Kamp [Height probing for PCB isolation routing with Eagle/pcb-gcode], I have created software to probe the surface of a blank piece of copper, then use the probed coordinates to adjust the Z height during the milling process, i.e. the tool height varies according to its X, Y position. I have also filmed the first test and also produced 2 identical circuits; with and without the autoleveling software running to demonstrate the results. Currently, I have tested with linuxCNC (it may or may not work in Mach3 at the moment, but definitely will in the future) and the GCode was originally generated with pcb-gcode. The software itself accepts a GCode file as input and outputs an optimised autoleveleled file.
I know there is an autoleveler for PCB-GCode already but I couldn't get it to work and my software should work on any gcode file produced from any isolation software and should be easy to use too.
Why wouldn't the copper be level?
- Table might not be level relative to the tool
- Blank copper might have significant flex
Why is this a problem?
- Some areas of your board are lower than your Z zero while other areas are higher, leading to deep cuts in some areas and shallow cuts in other areas
- Occasionally, a very small ammount of the tip will break off if there is a lot of pressure from a deep cut. Then your tool won't touch the surface at all and you will need to re-touch-off Z and re-run all or part of the code
- Bits and boards are wasted
To demonstrate this problem, here is a pic of a non-autoleveled circuit board:
There is a huge area in the bottom left which is completely missing. This is with a leveled table so only the board flex is an issue here.
This is the exact same 100x80mm circuit with my autoleveling software in operation (same pcb-gcode settings, same method of fixing the board down etc.):
As you can see, this is much more consistent. The traces are thin but thats due to the settings in pcb-gcode and Eagle, not the autoleveler.
I also filmed the whole autoleveled milling process. Here is the cut down video:
Where can I get the software? As soon as I make a website to stick it on I will add a link. Assuming there is interest in this project?
Happy Milling :),
Looks good Daedelus. Would it be possible to use this type of software instead of skimming the table. Possibly modifying the PP to add/subtract from the G-code programmed Z values instead of shimming the bed? G.
Hi Geoffrey, when you say skimming the table, I presume you mean milling out an area to make it flat? In the video, you can see I have already done just that (the MDF sacrificial layer has been pocketed 1mm) but it still was not good as the first pic shows. But yes, you wouldnt even need to skim / pocket the table using this software.
In fact, the Z height is calculated using a bilinear interpolation technique which gives a good result. You could probably get a good result with much fewer probe points (depends on the board size and quality). I would need to experiment to find out.
Thanks Daedelus. Yes, I was asking if an unlevel (not necessarily uneven) table could be probed once and that information used to modify the Post Processor and add/subtract Z values for all future programs, not just for each individual program. Hope that makes sense. G.
James, the way that I work and most pcb machines is that the tool length is always constant due to setting a collar on the 1/8th shank using a preset press. G.
I am looking forward to see a download link, so that I can see if this will work with Mach3."If first you don't succeed, redefine success"
The Following User Says Thank You to Mad Professor For This Useful Post:
What a musical machine, if it was mine I'd be forever trying to make it play Jingle Bells
Noisy isn't it. and slow.
The Autoleveller software is now available at www.autoleveller.co.uk so please feel free to download and try it.
There are many changes planned but any feedback or questions are very welcome, good or bad.
Most of the instructions are on the page but if there is anything confusing, or anything not explained, please let me know either in the comments section at the bottom of the page or here.
The Following User Says Thank You to Daedelus For This Useful Post:
By rainboweyes in forum Computer SoftwareReplies: 4Last Post: 09-02-2013, 10:59 AM
By MTech in forum Computer SoftwareReplies: 2Last Post: 11-12-2012, 11:58 AM
By k2me in forum CAD & CAM SoftwareReplies: 10Last Post: 23-06-2011, 01:55 PM
By Ricardoco in forum CAD & CAM SoftwareReplies: 41Last Post: 12-01-2011, 03:43 PM
By Kammo1 in forum Computer SoftwareReplies: 11Last Post: 07-09-2007, 12:46 PM