Depth control in deep hole drilling is not optional. A drill that exits the workpiece unexpectedly can damage the machine, the tooling, and the operator. A hole that is too shallow scrapes the part. Reliable depth control requires multiple, independent methods — never rely on a single sensor or setting.
Depth Control Methods
Method Comparison
| Method | Accuracy | Repeatability | Application | Cost |
|---|
| Mechanical stop (fixed) | ± 0.5 mm | ± 0.2 mm | Through-holes, high-volume production | Low |
| CNC encoder (motor feedback) | ± 0.1 mm | ± 0.05 mm | Most applications — standard method | Included with CNC |
| CNC encoder (linear scale) | ± 0.02 mm | ± 0.01 mm | High-precision depth control | Moderate to high |
| Touch sensor (contact) | ± 0.05 mm | ± 0.02 mm | Setup verification, tool setting | Moderate |
| Laser or optical sensor | ± 0.1 mm | ± 0.05 mm | Break-through detection, non-contact | Moderate to high |
| Coolant pressure sensing | ± 1.0 mm | ± 0.5 mm | Through-hole break-through detection (BTA) | Low (sensor only) |
Method Redundancy
| Application | Primary Method | Backup Method |
|---|
| Standard through-hole | CNC encoder | Mechanical stop or visual verification |
| Precision blind hole | CNC linear scale | Touch sensor + mechanical stop |
| High-volume production | Mechanical stop | CNC encoder for monitoring |
| Deep BTA with break-through | CNC encoder | Coolant pressure sensing |
| Gun drilling, thin-wall tube | CNC encoder | Spindle load monitoring (entry/exit detection) |
Mechanical Workpiece Stops
Stop Types
| Stop Type | Description | Application | Adjustment |
|---|
| Fixed stop (bolted) | Rigid block mounted on machine base | Production — dedicated setups | Shim or reposition |
| Adjustable stop (threaded) | Screw-type stop with locknut | Job shop — frequent changes | Turn screw, lock nut |
| Hydraulic stop | Hydraulic cylinder with position sensor | Automated production | CNC-controlled position |
| Swing stop | Retractable stop that moves out of the way | Loading/unloading clearance | Pneumatic or manual |
| Depth stop on drill bushing | Adjustable collar on bushing holder | Shallow holes, guided by bushing | Adjust collar position |
Stop Positioning Procedure
| Step | Action | Detail |
|---|
| 1 | Determine required hole depth | From drawing or process sheet |
| 2 | Calculate stop position | Stop position = workpiece face position + hole depth + clearance |
| 3 | Position the stop | Using gauge blocks or dial indicator |
| 4 | Lock the stop securely | Tighten locknuts or clamping bolts |
| 5 | Verify position with reference part | Use a known reference or test part |
| 6 | Mark or record stop position | For repeat setup |
| 7 | Test with first part | Verify depth with actual part |
CNC Depth Control
Encoder-Based Control
| Parameter | Description | Typical Value | Effect |
|---|
| Z-axis encoder resolution | Position feedback resolution | 1 µm (0.001 mm) | Determines minimum depth increment |
| Feed hold delay | Time to stop feed after depth signal | 20–100 ms | Causes depth overshoot of 0.01–0.05 mm |
| Deceleration distance | Distance to slow feed near target depth | 1–5 mm | Prevents overshoot |
| Depth tolerance | Acceptable depth variation | ± 0.1 to ± 1.0 mm | Depends on part requirement |
CNC Programming for Depth Control
| Method | G-Code Example | Application | Accuracy |
|---|
| Absolute depth | G01 Z-800.0 F0.030 | Standard drilling — Z target | ± encoder accuracy |
| Incremental depth | G91 G01 Z-800.0 F0.030 | Relative to current position | Same |
| Dwell at depth | G01 Z-800.0 F0.030; G04 X1.0 | Ensures full depth is reached | Compensates for deceleration |
| Peck drilling cycle | G83 Z-800.0 R2.0 Q50.0 F0.030 | Deep holes requiring chip breaking | ± peck accuracy |
| Break-through detection (macro) | Custom macro monitoring spindle load | Prevents over-travel on through-hole | Depends on load detection |
Depth Compensation
| Factor | Effect on Depth | Compensation |
|---|
| Tool length offset | Drill length variation | Set Z offset for each drill |
| Thermal growth (machine) | Apparent depth shift | Warm up machine, use hot baseline |
| Thermal growth (drill) | Drill length increases when hot | May need negative offset correction |
| Fixture wear | Reference point shifts | Inspect and replace fixture |
| Bushing wear | Depth reference changes | Monitor and adjust |
Touch Sensor Systems
Sensor Types
| Sensor Type | Operation | Accuracy | Application |
|---|
| Tool touch-off probe | Probe contacts drill tip, sets Z offset | ± 0.01 mm | Automatic tool setting |
| In-process depth sensor | Monitors drill position during drilling | ± 0.02 mm | Blind hole depth verification |
| Break-through sensor | Detects when drill exits workpiece | ± 0.1 mm | Through-hole protection |
| Workpiece surface probe | Locates workpiece surface | ± 0.01 mm | Z-zero referencing |
Touch-Off Calibration
| Step | Action | Detail |
|---|
| 1 | Mount reference tool with known length | Calibrated setting tool |
| 2 | Jog reference tool to touch sensor | Slow approach — 50 mm/min |
| 3 | Record sensor trigger position | This is the reference position |
| 4 | Remove reference tool | — |
| 5 | Mount production drill | — |
| 6 | Jog production drill to touch sensor | Same approach speed |
| 7 | Record sensor trigger position | This is the drill position |
| 8 | Calculate offset | Drill position − reference position = tool offset |
Through-Hole vs Blind Hole Control
Through-Hole Depth Control
| Method | How It Works | Reliability |
|---|
| CNC position (Z target = hole depth + clearance) | Feed to Z coordinate | Good — but does not detect obstruction |
| Spindle load monitoring (break-through detection) | Feed stops when load drops (drill exits) | High — detects actual break-through |
| Coolant pressure drop (BTA) | Pressure drops when drill exits | Moderate — pressure change may be gradual |
| Mechanical stop on exit side | Prevents drill from over-traveling | Very high — positive stop |
| Visual monitoring (when visible) | Operator observes exit side | Low — not practical for deep holes |
Blind Hole Depth Control
| Method | How It Works | Accuracy |
|---|
| CNC position with tool offset | Feed to calculated Z | ± 0.1 mm |
| CNC with deceleration ramp | Slow feed in final 5 mm | ± 0.05 mm |
| Touch sensor depth verification | Probe hole bottom after drilling | ± 0.02 mm |
| Mechanical depth stop | Positive stop on quill or slide | ± 0.2 mm |
| Ultrasonic depth measurement | Measure remaining wall thickness | ± 0.1 mm |
Calibration Procedures
Depth Control System Calibration
| Step | Action | Detail |
|---|
| 1 | Establish reference surface | Machine zero return — set reference point |
| 2 | Measure reference tool length | Presetter or tool room measurement |
| 3 | Set tool offset | L = measured length |
| 4 | Drill test part with known material | Use standard parameters |
| 5 | Measure actual hole depth | Depth gauge or CMM |
| 6 | Calculate depth error | Actual depth − commanded depth |
| 7 | Adjust offset | Apply correction equal to error |
| 8 | Drill second test part | Verify correction |
| 9 | Document calibration | Date, results, adjustments |
Frequency of Calibration
| System | Calibration Frequency | When to Re-Calibrate |
|---|
| CNC encoder (motor) | Annually | After servo motor replacement, after ball screw replacement |
| CNC encoder (linear scale) | Annually | After scale replacement, after impact |
| Touch sensor | Weekly or before each critical setup | After probe replacement, after crash |
| Mechanical stop | Each setup | After any adjustment |
| Depth gauge (measurement tool) | Per calibration schedule | Annually minimum |
Common Depth Errors
| Error | Symptom | Likely Cause | Corrective Action |
|---|
| Hole too shallow (all parts) | Consistent depth error | Tool offset incorrect, reference surface changed | Verify tool offset, re-set Z-zero |
| Hole too shallow (deepest in cycle) | Depth decreases as machine warms | Drill thermal growth not compensated | Add thermal compensation |
| Hole too deep (break-through) | Drill exits workpiece unexpectedly | Encoder battery fail, lost reference | Re-home machine, check encoder battery |
| Depth varies (random) | Inconsistent depth from part to part | Workpiece reference surface varies, fixture issue | Check workpiece preparation, fixture |
| Hole too deep (consistent) | Drilled deeper than programmed | Deceleration distance not accounted for | Add depth offset, reduce feed near bottom |
| No depth control (alarm) | Depth signal lost | Encoder fault, scale contamination | Check encoder, clean scale |
FAQ
What is the most reliable depth control method for deep hole drilling?
CNC encoder feedback (either motor encoder or linear scale) combined with a mechanical stop provides the most reliable depth control. The CNC encoder provides precise position control during drilling. The mechanical stop provides a positive limit that prevents over-travel if the CNC system fails. Never rely on a single method — use at least two independent depth control methods for critical holes.
How do I control depth in blind hole deep drilling?
Use CNC position control with the Z-axis encoder (motor or linear scale). Program the feed to decelerate in the final 5 mm of the hole and feed at a reduced rate to the target depth. Set the tool length offset accurately using a presetter or touch probe. Verify depth on the first part using a depth gauge. Adjust the offset based on the measurement.
How do I prevent the drill from over-traveling on through-holes?
Use two independent methods: (1) CNC encoder to stop feed at the calculated break-through point, and (2) spindle load monitoring to detect the load drop when the drill exits. For additional safety, install a mechanical stop on the exit side. In BTA drilling, monitor coolant pressure — a sudden pressure drop indicates break-through. Program a feed hold a short distance before the expected break-through point.
Why does hole depth vary with machine temperature?
Machine structure and drill length change with temperature. A cold machine has a shorter effective Z-axis length than a warm machine. The drill itself expands as it heats up during drilling — a 1 m long drill can grow 0.01–0.02 mm per °C temperature rise. To compensate: warm up the machine for 30 minutes before setting depth references, establish separate hot and cold baselines, and consider thermal compensation software on precision applications.
How often should depth control systems be calibrated?
Calibrate the CNC depth control system annually or after any component replacement (servo motor, encoder, ball screw). Calibrate mechanical stops at each setup. Verify depth on the first article of every production run. If depth errors are detected during production, re-calibrate before the next run.
Depth control in deep hole drilling requires multiple independent methods. The CNC encoder provides the primary control; a mechanical stop or load monitoring provides the backup. Calibrate regularly, verify on first article, and never assume the depth is correct without measurement. A hole that is too deep is scrap — a drill that over-travels is a safety incident. This article reflects industry practice as of 2026.