G-Wizard Cut Optimizer
While creating the G-Wizard Feeds and Speeds calculator, we were asked over and over again about the "right" cut. How do I determine what the "right" cut is?
For a given material, tool, cut depth, and cut width, G-Wizard will tell you the right feeds and speeds. But how do we decide the best cut depth and cut width, and how do we weigh the trade offs between different tools?
People use rules of thumb based on multiples of the tool diameter and the trial and error that has worked in the past. But, the physics that govern a cutter's rigidity don't respect those simple rules of thumb. The math is hairy, and the differences are surprising. Take a look at G-Wizard's Rigidity calculator for some partial insights.
Making those kinds of decisions based on the underlying physics is what the cut optimizer is all about. It does it's job based on Tool Deflection, and can act as a Tool Deflection Calculator. As you feed a given tool, the cutting forces will cause it to deflect to some degree. Too much feed and the tool will deflect so much that it breaks. Anyone with a CNC who ever ran the cutter into their vise with the spindle stopped at full rapids knows what I'm talking about (DOH!). But, long before you get to snapping off tools, other kinds of problems develop.
For example, if you do a little research, the major tooling companies will tell you that a tool deflection of more than 0.001" starts to be enough that chatter can set in. If your tool isn't deflecting much, it's hard to see chatter, and as we know, chatter is a big determinant of the outer edge of how hard we can push a machining operation. So, the Cut Optimizer takes a deflection of 0.001" as being the maximum allowed when roughing. By the way, how accurate is your machining going to be if you let the tool deflect my more than a thousandth anyway? You can set the Cut Optimizer to home in on any deflection you desire, a thousandth is just the recommendation for roughing.
Now let's say you are finishing. Tool deflection playes a role here too. If you have too much deflection, you'll see more marks on your workpiece as the tool flexes. Also, when we're finishing, we are even more concerned about accuracy. Because of this, G-Wizard sets a limit of 0.0002" on tool deflection while finishing. Again, you can override that limit, it's just a starting point.
Let's say you've set your desired cutting parameters, set the allowable deflection, and you're running the Cut Optimizer, and you just can't take as aggressive a cut as you need or would like to. The Cut Optimizer has a further capability to lock down the cut width and cut depth and vary the feedrate to try to hit a deflection allowance. Note that there is a limit to how much we can slow down the feedrate. If we let the chipload fall too low, the tool will start rubbing, and tool life will suffer greatly. Towards that end, the Cut Optimizer will only reduce the feedrate to a certain point and then it stops.
Okay, those are the basics of what the Cut Optimizer does, now let's fire it up and see how it works.
Firing Up the Cut Optimizer
The Cut Optimizer is accessed through the Optimizer buttons, the ones that look like a little gauge with the word "Cut" on them. There's one next to Cut Depth and one next to Cut Width. Press the Cut Optimizer button next to the value you want the Optimizer to choose; it will leave the other value alone.
For example, let's suppose you know you need to do some slotting. Press the "Slot" button to set the Cut Width to be the tool diameter. Then press the Cut Optimizer button next to Cut Depth. This causes the Optimizer to figure the maximum Cut Depth that's possible while slotting. Or, choose a depth, perhaps because you'd like to cut a pocket at full depth in one pass. Then press the Cut Optimizer button next to Cut Width and the Optimizer will tell you the maximum Cut Width (stepover) that can be used within deflection limits.
Cut Optimizer Window
Okay, let's say we have a 1/4" endmill in Aluminum, and we want to cut a pocket 1/2" deep in one pass. If we press the Cut Optimzier button next to the Cut Width, we get the Cut Optimizer Window shown in the screen shot. Tool deflection at 0.001 (the start of the chatter Danger zone and the roughing limit) means we can only cut a width of 0.0793" at our desired 0.5" depth of cut.
Note the very first thing on the page is the Tool Holder to Tip Length. This is a very important parameter, because it is the unsupported length of your tool. If you fail to set that parameter properly, the Cut Optimizer's results are likely incorrect, so be sure to set it. The Optimizer will remember the last value set.
That's All There is to It!
That's all there is to it. You now have a powerful new tool to help select your depth and width cutting parameters. In general, approach it like this:
- Slotting is pretty obvious--you're just calculating how deep you can go.
- When not cutting full width, the Optimizer assumes you know how deep you want to go, and it just needs to figure out how wide you can cut. Most of the time, you're trying to cut a profile or a pocket either full depth, or some number of steps. Try full depth and see if the Cut Optimizer can get you a cut width that works. If so, happy days. If not, you can try clicking the feedrate optimization checkbox to slow things down and still try to get there. Or, you can try to get there in steps. Try half the height to cut in two passes, for example.
More Cut Optimizer Bells and Whistles
As you can tell, there's more going on in the Cut Optimizer window. Let's go over the various widgets and information there:
- Tool Stick Out: This widget gives you the chance to try different stickouts to see if you can get to some desired scenario by changing the stickout.
- Deflection Allowance: Choose Rough if you're roughing and Finish if finishing. You can even enter your own values. If you try the buttons, you'll see that much lower deflection is allowed for finishing than roughing.
- Optimize the Cut: The three radio buttons tell Cut Optimizer what it is allowed to change and what it must leave alone because you want the value you've entered.
- Summary Information: A summary is at the bottom telling you the Tool Deflection and the other salient information about the cut.
When all else fails, we can try to minimize tool deflection through a reduction in feedrate. To use the Cut Optimizer for this purpose, bring it up and click the "Optimize Feedrate" box. It will restore your original cut width and cut depth from before you opened the Cut Optimizer. Now press the Optimize Cut button and it will try to get within the tool deflection allowance by reducing feedrate.
Since reducing feedrate will reduce the chipload, G-Wizard won't go less than 1/4 of the recommended chipload. Any less and we are likely doing more rubbing than cutting, which is bad for tool life.
Deciding on Best Depth and Width of Cut Using the Cut Optimizer
I got a note recently from a G-Wizard user who wanted to know how to decide on best depth and width of cut when milling. It's a great question. Most machinists, use rules of thumb and habit more than anything else unless the situation dictates something in particular based on the dimensions of the feature being machined. They're used to using some fraction of the cutter's diameter or some figure that they got to some other way through habit (40 thousandths or some such is what they've always used). Perhaps their CAM program has a hardwired default that is a percentage of the cutter's diameter.
But these values, while they have worked over time, are not necessarily optimal figures with respect to material removal rates, tool deflection allowances, or a host of other variables we might choose to consider. What's a more systematic way to approach the problem?
First thing is we have two variables (width and depth of cut), so it's hard to make progress unless we can nail one of the two variables down and focus on the relationship of the other. It's usually pretty easy to nail down one of the variables based on the situation. Let's divide our work into two categories:
- Slotting: I'll generalize this to be any situation where the material to be removed is very close to the cutter's diameter. It may be a slot, or it may involve interpolating a hole or pocket that's only a little bit larger than the endmill's diameter.
- Pocketing: Here again, I will generalize this to be any situation where the cutter's diameter is quite a bit smaller than the dimensions of the material to be removed. That doesn't mean there isn't some inside radius or other feature that isn't more like the slotting example, but for the most part, we have some room to work in. Note that profiling will be considered to be the same as pocketing for this discussion.
Okay, so now we have to take the task before us and decide whether it is closer to slotting or pocketing. The reason I've defined these two the way I have is that it informs our choice of which variable to work on first. If we are slotting, the cutting width is the first variable. If we are pocketing, the cutting depth is the first variable. Why?
When slotting, the feature is very close to the cutter's diameter in size. We can't take a 1/2" endmill and use it to make a 1/4" slot. In general, we want to use the largest diameter endmill that fits the feature, and then we pretty much have to make at least one cut that is full width. Once we're cleared that cut, anything remaining is handled the way we would under pocketing. So, when slotting, we focus first on cut width and make that the cutter's width to get started.
When pocketing, our limitation will be the smallest inside radius we have to deal with as well as the depth of the pocket. Remember, it may be advantageous to make two passes. The first with a cutter that has a diameter too large for the smallest inside radii we have to deal with. That's a roughing pass that uses a larger cutter just to get done faster. The second pass is a finishing pass, and must use a cutter whose diameter is less than or equal to that required to reach into the smallest internal radius the pocket holds. Note that we can go around an outside radius (a boss) with any diameter cutter, it is the inside radius that limits us.
So, we pick a cutter that is either as big as the smallest radius, or we choose to go two passes and go with a larger cutter. Let's leave the two pass issue aside for the moment, because figuring out when that is optimal can take a bit of trial and error. Its similar to think of one pass. Given that the cutter is chosen, we can choose just about any width of cut we want. So how do we nail down a variable when pocketing? On the slotting case, I like to nail down cut width. On the pocketing case, I prefer to nail down cut depth.
In general, we get a nicer finish if we cut the pocket in as few layers as possible. CAM programs are good at layering down into the pocket, so we can pick arbitrary depths of cut. If I can, I like to do it in one layer for a pocket that isn't two deep. If not, I prefer the depths of the layers to be equal. In other words, I wouldn't go down 1/4", 1/4", and then 0.19" on the third layer. So pick a layer depth that satisfies that criterion.
Now, in both cases we have locked one of the two variables--slotting locks width, pocketing locks depth. We need to determine the best value for the variable we left floating based on the value of the one we locked. This is where the G-Wizard Cut Optimizer makes it easy. Enter the values you know for the cut and let the Optimizer figure the value for the floating variable.
For example, let's suppose we need to cut a pocket that is 3/4" deep in 6061 aluminum. The smallest internal radius is 1/4", so we've decided to use a 1/4" 3 flute carbide endmill. Here is the problem set up in G-Wizard:
Material, Tool, Tool Diameter, Flutes, and 3/4" Cut Depth Entered...
Now we can invoke the Cut Optimizer just by pressing the button next to Cut Width:
As you can see from the red marks I added, for a 3/4" depth of cut, this endmill can handle no more than 0.25" width of cut when roughing.
Press the finish button to see what sort of finish allowance we should have the CAM leave for our finish path and we get 0.0238". That's the maximum for a finish pass. Here's an interesting thought: if we reduce tool holder to tip length to 0.9" instead of 1", we can increase that cut to 0.0408". That gives you an idea of how important it is to keep the tool stick out as little as possible.
The slotting case is pretty similar, except for that case, instead of trying to compute the width of cut, we want to use the optimizer to figure out the depth. For example, if we choose a carbide 1/4" 3 flute, let's say we need to cut a slot 0.300" wide to a depth of 3/4". Our plan is to cut a full slot 0.250" wide down the middle, and then finish it up by cutting the remainder on each side. How deep can we make our full slot passes? Once again, dial up the initial parameters, and hit the Cut Optimizer button next to Cut Depth. For roughing, the Cut Optimizer tells us we can cut to a depth of 0.6115" before we get too much deflection. Two passes will get us down to 3/4" total depth easily.
1. Decide whether you are slotting or pocketing.
2. When slotting, pick a value for width, and use Cut Optimizer to decide depth.
3. When pocketing, pick a value for depth, and use Cut Optimizer to decide the width.
If you approach the problem this way, you'll maximize your MRR's while minimizing your tool deflection as appropriate for either roughing or finishing. That's a much more optimal approach than the old wet finger in the wind!
For more thoughts on cutting parameters when milling, check out the Milling Surface Finish page.
What About Tooling Tradeoffs?
You can tell pretty quickly the cost of going to a smaller tool. They are a lot less rigid. Let's say we want to cut a slot 1/2" wide and 1/2" deep on a mild steel workpiece. It needs to be accurate, and have a good finish, so we don't want to cut it in one pass with a 1/2" endmill. We have available a 3/8" HSS endmill and a 1/4" carbide endmill. Which one should we use?
For the 3/8" HSS endmill:
- We can run the initial slot at only 0.1506" depth of cut. So we're going to need a total of 4 passes to cut the initial slot. The feedrate, BTW, is 9IPM
- When we make the passes on the sides of the 3/8" wide slot, we can cut full depth and up to 0.0377" wide. We need to take off 0.0625" on each side, so that's 2 more passes per side.
- We need a total of 8 passes--4 on the slot, and 2 on each side to clean it up.
For the 1/4" carbide endmill:
- We can run the initial slot at 0.0745" depth, so we're going to need 7 passes to cut the initial slot.
- Too slow! So we set the depth of cut to be identical to the 3/8" HSS, turn on feedrate optimization, set a roughing deflection, and try the optimizer. It can just get us there at 6 IPM. A little slower than the 9 IPM for our bigger endmill, but let's take it as it gets us down to 4 passes.
- Now, we need to take off 0.125 on each side. Let's run the Roughing optimizer and it says we can shave 0.0222" each pass. That means we'll be taking 6 passes on each side, but we're doing it at 30 IPM, which is about 3x faster than the 9 IPM for the HSS endmill. So our 6 passes look more like 2.
Hey, what do you know, we can probably use either tool and get there. Knowing all the ins and outs of what parameters to set would've been pretty hard without the Cut Optimizer. In some ways, I cheated by pitting an HSS tool against a carbide tool. Are you surprised the HSS is likely marginally faster than carbide? Are you surprised by how much the 3/8" tool would have beaten the 1/4" tool if both had been HSS? I leave it to the reader to work out just how much faster it would be using the G-Wizard.
Cut Optimizer is pretty handy, but so are our Mini-Calculators...