|
G-Wizard Cut Optimizer
Introduction
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 which you choose as follows:
- Slot: You're cutting a full slot. The cut optimizer sets full cutter diameter as your cut width and chooses a roughing deflection allowance (0.001"). You can change the allowance in the optimizer screen, but the choice to rough is because you really can't get a good finish when cutting a full slot. The goal of the optimizer is to figure out how deep you can cut the full slot in one pass and still achieve the deflection allowance or less.
- Rough: You are roughing. The cut optimizer keeps the cut depth you already set. It seeks to find the maximum cut width within the roughing tool deflection allowance.
- Finish: You are finishing. The cut optimizer keeps the cut depth you already set. It seeks to find the maximum cut width within the finishing tool deflection allowance.
- Deflection: This just brings up the Cut Optimizer without presetting the deflection allowance. You can use it to look at what deflection the cut you currently have dialed into Feeds and Speeds will produce.
Take careful note of how each button sets the parameters that go into the Cut Optimizer:
- When slotting, the Cut Width has to be locked to Tool Diameter, so it is the Cut Depth we are optimizing to the desired deflection.
- When roughing or finishing, we assume you want to reach a particular depth that you specify, and so we lock the Cut Width and vary depth to get to the desired location. Most of the time, you want as much depth as you can get because you'll see fewer pass lines on the workpiece and the job will go faster. But, you can change your which parameters to lock once in the Cut Optimizer pop up.
Cut Optimizer Window

Okay, let's say we have a 1/4" endmill in Aluminum, and we want to do the Roughing optimization. If we press the button, 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.0321" 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. There will be a little red warning flag (not yet implemented!) to remind you to set it.
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.
Feedrate Optimization
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 "Rough" button:

As you can see from the red arrows I added, for a 3/4" depth of cut, this endmill can handle no more than 0.1799" width of cut when roughing. Let's round that down and go with 0.170"
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.0052". That's a pretty light pass, but 3/4" is deep for this 1/4" endmill. 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.0095". That gives you an idea of how important it is to keep the tool stick out as little as possible. I'd be inclined to go with choking up on the tool and a finish width of cut of 0.009" were this my job. The other thing to consider is two levels of finish pass. If we don't mind taking two levels and still choke up on the tool, we can get 0.015" width of cut for the finish. That's about as much as I like to take on a finish pass.
The problem with this cut is its a little bit deep for our 1/4" endmill. That's a 3:1 ratio of diameter to depth. We can tell its straining because the max recommended widths of cut are so light. If I had a CAM program that made it easy to make the roughing pass with a bigger cutter, I would be tempted to jump in with a 1/2" endmill (or maybe even larger) for the roughing pass and then go to the 1/4" for finishing, but you get the idea.
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 continue with our 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 this time, hit the "Slot" button. For roughing, the Cut Optimizer tells us we can cut to a depth of 0.3466" before we get too much deflection. Two passes at that depth will get us to 0.6932" deep. That leaves 0.0568" on the bottom for us to finish and 0.0259" on either side for the finish pass. Remember, we're not cutting a full slot for the finish pass, so we treat it just like we did our pocket to figure out the width and depth of cut.
That's all there is to it. To summarize:
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.
|