Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
c007dc41bThis file is pinned to the selected release. Download the original to open it in your design tool.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>The Line Grinder Help: What Can Go Wrong</title>
<meta name="created" content="Mon, 13 Sep 2010 10:02:32 GMT" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="description" content="The Line Grinder software converts Gerber plots to GCode suitable for isolation milling of PCB traces." />
<meta name="keywords" content="Gerber, GCode, Isolation Milling, Isolation Routing, Excellon GCode" />
<link rel="stylesheet" type="text/css" href="OISHelp.css" />
</head>
<body>
<center><h2>Line Grinder<BR>Gerber Plot to Isolation Milling GCode Software</h2></center>
<center><h1>What Can Go Wrong</h1></center>
<P>
<div class="navbar"><< <A href="LineGrinderHelp_IsolationMillingStepByStep.html"> Back </A> || <a href="LineGrinderHelp_TableOfContents.html">Table of Contents</a> || <a href="http://www.OfItselfSo.com/LineGrinder/LineGrinder.php">Home Page</a> || <A href="LineGrinderHelp_IsolationMillingTipsAndAdvice.html"> Next </A> >></div>
<P>
<P>
<A name="NoEllipses"></A>
<h3>There are No Ellipses in GCode</h3>
<P>
<a href="EllipticalPads.jpg"><img src="tn_EllipticalPads.jpg" width="100" height="75" alt="Elliptical Pads" title="Isolation Cuts from Elliptical Pads" align="left" /></a>
There is no GCode command to draw an ellipse and most pads on a circuit board are elliptical in shape. Thus, when converting a Gerber plot to GCode, there are two choices: build a ellipse by producing a large number of little tiny line segments or simulate the ellipse by appending two half circles on each end of a short wide line segment. Due to the appalling amount of code generated by the first option, Line Grinder chooses the second option. The image at left (click to embiggen) shows how the isolation routing converts an ellipse into a little tiny racetrack like object.
<P>
<h3>Associating the Wrong Action with a Gerber or Excellon File</h3>
<P>
It is up to you to create and configure a File Manager correctly for the code in the file. For example, if the file actually contains the PCB board outline information and you set the <I>OperationMode</I> in the File Manager to <I>Isolation_Cut</I> then all you are going to get is a small trace isolation routed around the edge of your PCB.
<P>
In other words, it is up to you to figure out what information the Gerber or Excellon file really contains and then create a File Manager with the appropriate <I>FilenamePattern</I> and <I>OperationMode</I> so that the correct actions happen to that file when it is opened in the Line Grinder software.
<P>
<A name="IsoCutWidthTooLarge"></A>
<h3>The IsoCutWidth Parameter is Set Too Large</h3>
<P>
<a href="IsoCutWidthTooHigh.jpg"><img src="tn_IsoCutWidthTooHigh.jpg" width="100" height="75" alt="Isolation Cut Width Too High" title="Isolation Cut Width Too High" align="left" /></a>
The <I>IsoCutWidth</I> parameter is available in File Managers with an operation mode of <I>Isolation_Cut</I>. This is a <B>very</B> important parameter as it determines the width of the isolation tracks on the PCB. <B>The Line Grinders <a href="http://www.OfItselfSO.com/T001_GraphicalSigymergy.pdf">Gerber to GCode conversion algorithm</a> pays very close attention to the <I>IsoCutWidth</I> value and cannot and will not attempt to run an isolation cut line between two objects separated by less than that distance.</B>
<P>
To state it another way, if there are pads and traces on the PCB which are closer than the <I>IsoCutWidth</I> then they will not be electrically isolated from each other. This is a consequence of the architecture of the isolation cut generation algorithm and is not something that was optionally written in. There is, currently, no detection mechanism for this. It is up to you to check the GCode output display and make sure that your pads and traces are isolated where they need to be. The image at left (click to embiggen) shows an example of PCB GCode with the IsoCutWidth set too high. The IsoCutWidth (in this case set to 0.0015 inch) is larger than the distance between the pads and the traces. This means the bit cannot get between them and hence has routed around them.
<P>
<A name="RealCutWidth"></A>
<h3>The Real Isolation Cut Width Does Not Match the IsoCutWidth Setting</h3>
<P>
The actual size of the groove the isolation milling bit makes is dependent on how deep the bit is set into the PCB when the isolation lines are cut. The bit is conical so the deeper the bit is run, the wider the actual isolation cut will be. Note that the <I>IsoCutWidth</I> setting in the File Manager has no control over the actual size of the line physically cut into the PCB. The depth of the milling bit is the criteria that controls this and this depth is determined by the <I>ZIsoCutDepth</I> File Manager parameter. If you adjust the <I>ZIsoCutDepth</I> to a higher value you will cut less deep and hence less wide - it will take some testing to see just how high you can set this value and still consistently cut through the PCB copper layer across the entire PCB. Obviously the accuracy of the mill and the trueness of the bed tool the toolhead matter a great deal here too.
<P>
<h3>The IsoCutWidth Parameter is Set Too Small</h3>
<P>
<a href="IsoCutWidthTooLow.jpg"><img src="tn_IsoCutWidthTooLow.jpg" width="100" height="75" alt="Isolation Cut Width Too Low" title="Isolation Cut Width Too Low" align="left" /></a>
<P>
You may think that it is a good idea to set the <I>IsoCutWidth</I> parameter to a smaller than realistic value in the thought that doesn't really matter if you shave a bit off the pads as long as the bit gets programmed to go through the gaps. To a certain extent this is true. The danger is that if the PCB traces are both close together and thin and the milling set up is cutting wide paths, you may find that you have completely removed parts of the copper which really should be there. For example, two traces running very close together could have isolation paths cut on top of each other due to the width of the isolation bit. In this case, you will have caused "opens" between copper segments which should have been joined. The image at left shows some isolation cuts which were made too wide (deep) for the closeness of the PCB objects. Notice how the PCB traces which should have been connected have opened up because a neighboring isolation cut ran over them.
<P>
<h3>The Finely Detailed Copper Objects Do Not Join Up Right</h3>
<P>
<a href="FineJoins.jpg"><img src="tn_FineJoins.jpg" width="100" height="75" alt="Iso Plot Points To Low" title="Iso Plot Points To Low" align="left" /></a>
The Gerber to GCode algorithm works by creating a kind of virtual plot of the Gerber file, mapping that plot onto an array of pseudo pixels and then figuring out which objects overlap and where the edges of those objects are and where the intersections of the overlap points are. The ability of the algorithm to detect an intersection depends a great deal on the granularity of the virtual plot. In other words, the higher the number of virtual pixels per inch (or millimeter) the finer the detail that can be detected (and hence incorporated into the isolation routing). The parameter that controls this is found on the <a href="LineGrinderHelp_SettingsTabAndFileManagers.html">Settings Tab</a> and is labeled <I>Iso Plot Points Per Application Unit</I>. If you increase this value then the Line Grinder software can detect finer detail in the Gerber Plot objects. However, making this number larger does increase the time it takes to calculate the isolation plot. A value of 1000 Iso Plot Points per inch (or 50 per millimeter) seems to work well. The image at left (click to embiggen) shows the isolation traces around a complex object at 200 and 1000 Iso plot points per inch (respectively) note that the one on the right is much more detailed and finely defined. It should be also be noted that the image is quite magnified - the total length of this object is about 0.250 of an inch when un-scaled.
<P>
<h3>I Do Not Want Reference Pin Holes Drilled in My PCB Board</h3>
<P>
Reference Pins are pads of a pre-determined size that you place on the PCB board before you save it as a Gerber plot. Line Grinder finds these pads (and it can tell they are for the Reference Pins because of their specific size) and uses them to align the top and bottom layers. This makes the pads for the board components line up when you drill through from top to bottom.
<P>
Reference Pin pads must be present on the PCB layout - Line Grinder requires this. If they are not present, then Line Grinder cannot process the file into GCode. Normally the Reference Pin pads are co-incident with the mounting holes of the PCB. The size of the Reference Pin pads should be entered in the <I>ReferencePinPadDiameter</I> value in the <I>Isolation_Cut</I> File Managers. No other pads should be of the same size as the Reference Pin Pads and the pads should be aligned in a rectangular formation parallel to the X and Y axis.
<P>
The Line Grinder software contains an Operation Mode which will generate GCode to physically drill the holes for the Reference Pins. If you do not wish to actually have the Reference Pin pads (or holes) visible on your PCB simply place the Reference Pin pads outside the border of the PCB. The Line Grinder will adjust for this and when the board is Edge Milled out of the larger blank, the holes will not be present in the finished part.
<P>
<h3>The Pads on the Top and Bottom Layers Are Not Properly Aligned</h3>
<P>
If the defined Reference Pins are not equal distances from the borders of the PCB board then you will have trouble getting things to line up. The Reference Pins are used by the Line Grinder software to figure out how to flip the coordinates when isolation routing on the bottom side of the PCB board. If, for example, if you have <I>Flip_X</I> enabled in the File Manager, the Line Grinder software will assume that the distance between the far Reference Pin and the right hand PCB border is identical to the distance between the left hand Reference Pin and the border on the left side. If this is not true, then the top and bottom layers will not be properly aligned when they are cut. To put it another way: make the reference pins parallel and symmetrical to the border or you will have problems.
<P>
<P>
<div class="navbar"><< <A href="LineGrinderHelp_IsolationMillingStepByStep.html"> Back </A> || <a href="LineGrinderHelp_TableOfContents.html">Table of Contents</a> || <a href="http://www.OfItselfSo.com/LineGrinder/LineGrinder.php">Home Page</a> || <A href="LineGrinderHelp_IsolationMillingTipsAndAdvice.html"> Next </A> >></div>
<P>
</body>
</html>