LightingGuide

Machine vision inspection of drill edge chipping

Machine vision inspection of drill edge chipping: 10 µm per pixel, the 3-pixel rule, lens math and lighting that beats mirror glare on metal.

LumaSpec Vision11 min read Share on LinkedIn

On this page 9 sections
  1. 01Can machine vision find chipping on a drill edge?
  2. 02How many pixels must the smallest chip span?
  3. 03What lens and working distance hit that pixel size?
  4. 04How do you light a mirrored flute without glare?
  5. 05How do you separate real chips from grinding marks?
  6. 06Is defect inspection a separate unit from dimensional measurement?
  7. 07How fast can one station clear a 10,000-piece lot?
  8. 08What should you check before ordering parts?
  9. 09Questions

Chipped edges and scratches on drills, end mills and taps sit at the awkward end of automatic inspection: the surfaces are mirrored, the marks are tens of micrometers across, and good parts already carry grinding texture. None of that is a blocker today. This guide sizes a defect station for a standard cutting tool program: the pixel budget for a 50 µm chip, a lens and working distance that deliver it, the lighting geometry that keeps flute glare from hiding defects, and where dimensional gauging belongs. Standard parts make teaching practical, which is half the battle.

Can machine vision find chipping on a drill edge?

Yes. A camera resolving about 10 µm per pixel over a 10 mm field of view puts a 30 µm chip across three pixels and a 50 µm chip across five, and sensors that deliver this are ordinary catalog parts today.

The arithmetic is plain: 1024 pixels across 10 mm is 9.8 µm per pixel, the origin of the familiar rule of thumb that a megapixel camera over a 10 mm field sees 10 µm detail. A modern 5 MP sensor over the same field runs at 4 µm per pixel, so the same 30 µm chip spans seven pixels with margin for threshold tuning. Detection stopped being the hard part; teaching and lighting are where these stations succeed or fail.

The inspection program can also live on the device. Smart cameras and vision sensors now run defect tools, PLC communication and pass/fail I/O without a separate PC, which matters when the station shares a bench with the grinder. For the measurement side of tool making, subpixel edge measurement of cutting tools covers the micrometer-level methods.

Sensing routes for the defect station range from on-device judgment to open lens choice:

Smart cameras & vision sensorsSC / SC smart camera (X86 platform), 8.8 MP, USB3, Color/Mono, global shutter (LS-SMC-0017)LS-SMC-0017
Interface
USB 2.0
Resolution
6-10 MP
$1,359.00View part
Smart cameras & vision sensorsHikrobot MV-SC3050XC-16M-ATN-H 5 MP color vision sensorMV-SC3050XC-16M-ATN-H
Interface
Fast Ethernet
Resolution
5 MP
$1,809.00View part
Smart cameras & vision sensors1.6 MP smart camera, 60 fps, 16 mm lens, white light (polarized, transparent light) (LS-SMC-0063)LS-SMC-0063
Interface
GigE
Resolution
Up to 3 MP
$1,110.00View part

The LS-SMC-0017 takes any C-mount lens in front of an 8.8 MP, 1", global-shutter sensor. The MV-SC3050XC-16M-ATN-H is a 5 MP color vision sensor with a global shutter. The LS-SMC-0063 carries its own 16 mm lens and polarized white light, with a 1.6 MP sensor and 60 fps capture.

How many pixels must the smallest chip span?

Three pixels minimum across the smallest chip you must catch, five if software has to classify or measure it, so the budget for a 50 µm chip is 50 ÷ 3 ≈ 17 µm per pixel.

Below three pixels a chip merges into edge noise and texture. Subpixel methods locate an edge you can already see; they do not find a defect the sensor never sampled. The same arithmetic drives camera resolution for defect detection, and it is the first number to fix in a defect project.

object pixel = smallest defect ÷ 3 field of view = sensor pixels across × object pixel
Smallest defect to catch Pixel budget at 3 pixels Field at 1024 pixels Field at 2448 pixels
100 µm 33 µm per pixel 34 mm 81 mm
50 µm 17 µm per pixel 17 mm 41 mm
30 µm 10 µm per pixel 10 mm 24 mm

Halving the object pixel halves the field of view, which multiplies the views you need per tool. Fix the reject threshold from your own tool standard before any hardware: this guide carries 50 µm through every example, and the table shows what 30 µm costs.

Run your own defect size and sensor width through the calculator:

Camera resolution for the smallest feature
Units
Pixels needed
–
Sensor size
– MP
Smallest sensor that fits
–
Pixel on the part
– mm
Pixels across the feature, that sensor
–

Pixels needed = field / feature × pixels per feature on each axis (field incl. margin). The lens must resolve the pixels too: Nyquist = 1000 / (2 × pixel µm) lp/mm.

Find cameras with enough pixels Open the full calculator

What lens and working distance hit that pixel size?

A 35 mm lens on a 2/3" sensor at 100 mm working distance delivers exactly that: 0.55x magnification, a 16 x 12 mm field of view, and 10 µm per pixel from a 5.5 µm sensor pitch.

m = sensor width ÷ field of view f = WD × m ÷ (1 + m) object pixel = pixel size ÷ m

Worked example, defect station:

  1. Sensor: a common 2/3" 2 MP device, 1600 x 1200 pixels at 5.5 µm pitch, so the active area is 1600 × 5.5 µm = 8.8 mm wide and 6.6 mm tall.
  2. Budget: 10 µm per pixel, so m = 5.5 ÷ 10 = 0.55.
  3. Working distance 100 mm, so f = 100 × 0.55 ÷ 1.55 = 35.5 mm — fit a 35 mm lens.
  4. Field of view: 8.8 ÷ 0.55 = 16 mm wide, 6.6 ÷ 0.55 = 12 mm tall.
  5. Check: 1600 pixels × 10 µm = 16 mm, and a 50 µm chip spans 50 ÷ 10 = 5 pixels.

The LS-FFL-0679 is this class of glass: 35 mm focal length, 2/3" format, 6 MP grade, C-mount.

Machine vision lenses35 mm, 2/3", 6 MP, C-mount machine vision lens (LS-FFL-0679)LS-FFL-0679
Type
Machine vision fixed
Sensor format
2/3"
Mount
C-mount
Resolution
6-10 MP
$219.00View partBuild a system with it

Try your own working distance in the lens focal length calculator, or filter machine vision lenses by focal length in the lens finder.

Aperture is the quiet limit. The flute helix drops the edge several millimeters along its length, so you want depth of field — but the Airy disc grows as 2.44 × wavelength × f-number. At f/8 and 550 nm that is 2.44 × 0.55 µm × 8 = 10.7 µm, matched to a 10 µm pixel. Work between f/5.6 and f/8; past f/11 you trade away the contrast that reveals chips.

When the fixture rotates the tool between views, a fixed-magnification lens removes focus drift and perspective error in one step. The LS-TCL-0574 is a fixed-magnification C-mount lens: 0.4x at a 227 mm working distance.

Machine vision lensesFixed-magnification lens, 0.4x, 227 mm WD, 1.2" (LS-TCL-0574)LS-TCL-0574
Sensor format
1.2"
Mount
C-mount
Image circle
16-22 mm
$2,269.00View partBuild a system with it

At 0.4x, an 8.8 mm sensor width covers 8.8 ÷ 0.4 = 22 mm of flute and the object pixel grows to 5.5 ÷ 0.4 = 13.8 µm. A 50 µm chip still spans 3.6 pixels: enough to detect, tight to classify.

How do you light a mirrored flute without glare?

Leave coaxial light off the curved flutes and use a diffuse dome or low-angle dark-field bars there; a chip scatters the light the polish reflects away, so defect contrast appears exactly where the background goes uniform or dark.

A ground flute is a curved mirror. Aim a ring or coaxial beam at it and you get one traveling band of glare that follows part rotation across every image. A dome wraps the surface in light from all angles so no single reflection dominates; dark-field bars graze the surface at roughly 10-20 degrees so the polish images near-black and every broken edge lights up as scatter. The same reflection law decides bright field versus dark field lighting in every metal job, and lighting for metal surface defect inspection maps the wider menu.

Bright-field and dark-field lighting geometry High-angle light reflects off the flat surface straight into the lens, so the surface looks bright. Low-angle light reflects away from the lens, so the surface looks dark and only edges or scratches scatter light upward.flat part with a scratchCamerabright field(high angle)dark field (low angle)flat areas reflect away;only the scratch sends light up
Bright-field and dark-field lighting geometry. High-angle light reflects off the flat surface straight into the lens, so the surface looks bright. Low-angle light reflects away from the lens, so the surface looks dark and only edges or scratches scatter light upward.

Size the diffuse source at about twice your field of view, so the flute edges receive light, not shadow. On a mirror finish, cross-polarization is the second lever: polarizer on the light, analyzer on the lens rotated 90 degrees, and the specular streak vanishes while chips keep a little depolarized scatter. It costs roughly two to three stops, so budget strobe energy. Lighting shiny metal pins without glare works the identical problem on pins.

The flat clearance faces and any engraving are where coaxial light earns its slot: the beam travels along the optical axis, the flat polish returns it, and chips or scratches read as dark interruptions. Coaxial lights sized to the face do that job:

Coaxial lights60 x 60 mm Coaxial light, 4.4 W red / 7.2 W white (LS-CXL-0027)LS-CXL-0027
Size
50-100 mm
Voltage
24 V
$269.00View part
Coaxial lights70 x 70 mm coaxial light (LS-CXL-0092)LS-CXL-0092
Size
50-100 mm
Voltage
24 V
$309.00View part
Coaxial lightsCoaxial light, 50 x 50 mm, Blue (LS-CXL-0227)LS-CXL-0227
Size
50-100 mm
Voltage
24 V
$219.00View part

How do you separate real chips from grinding marks?

Change the lighting direction between two exposures and keep only what survives both: grinding lay flips its contrast when the light rotates 90 degrees, while a chip scatters in every direction and stays visible from all sides.

Carbide flutes carry intentional texture — wheel marks, honing striations, coating roughness — and it all runs in one direction. Fire a bar from the left, then from the top, and subtract: oriented texture changes sign between the two images, a chip does not. In software, a directional-derivative filter over the edge region is the same trick standing still. Chaining several lights through one camera is standard practice — sequential machine vision lighting for multi-view inspection lays out the triggering.

Teaching closes the gap. Because you inspect standard products, capture twenty to thirty accepted parts across lots, and set thresholds inside that texture envelope rather than against a perfect master. For gross damage, broken tool detection lighting finds a missing tip at far lower magnification.

Is defect inspection a separate unit from dimensional measurement?

Yes — plan two stations. A 0.1 mm dimensional tolerance needs only 25-35 µm per pixel with the whole tool in frame, while chipping inspection wants 10 µm per pixel on the edges, and the two jobs want opposite lighting.

The measurement side is silhouette territory. Backlight the tool and measure diameter, length and point geometry from the shadow: at 30 µm per pixel a subpixel edge repeats to about a tenth of a pixel, 3 µm, a 30-fold margin inside a 100 µm tolerance. The backlight and histogram edge inspection guide walks through that set-up, and machine vision dimensional measurement for small parts covers the metrology decisions.

The LS-FFL-0567 suits the wide station: 16 mm focal length, 1.1" format, 20 MP, C-mount, distortion < 0.3 %.

Machine vision lenses16 mm, 1.1", 20 MP, C-mount machine vision lens, F2.8-22, <0.3% distortion (LS-FFL-0567)LS-FFL-0567
Type
Machine vision fixed
Sensor format
1.1"
Mount
C-mount
Resolution
16-25 MP
$679.00View partBuild a system with it

Even at 35 µm per pixel the tolerance spans three pixels, and a 20 MP frame over a 70 mm tool runs finer than that, so the wide station holds margin without trying.

Combine the two only when the reject size is large: at 30 µm per pixel a 100 µm chip still spans three pixels, so one wide station can carry both jobs. Below 100 µm reject size, split the stations and let each optic do one thing well.

How fast can one station clear a 10,000-piece lot?

Plan around two seconds per drill. Four strobed exposures of about 1 ms freeze the part, capture and judgment together stay under 200 ms, and indexing plus handling owns the rest — roughly 1,800 pieces per hour through one station.

The arithmetic: 10,000 pieces × 2 s = 20,000 s ≈ 5.6 hours, and a 300-piece pilot lot clears in ten minutes. Strobe the lights from a controller in sync with the camera trigger: the pulse overpowers shop lighting without heating the part, and short exposures erase any residual index motion. If takt time demands more, add a second head — the mechanical index, not the camera, is the bottleneck.

What should you check before ordering parts?

Work through this list before anything is ordered: the reject threshold sets the pixel budget, the pixel budget sets sensor and lens, and the lighting geometry decides whether the texture ever lets you use that resolution.

  • Reject threshold, in µm. Every number below divides from this one.
  • Pixel budget. Threshold ÷ 3 gives the object pixel; sensor pixels × object pixel gives the affordable field of view.
  • Lens coverage. The image circle must span the sensor diagonal, and the lens resolution grade must meet the sensor's megapixel class.
  • Aperture window. Stay between f/5.6 and f/8 so the Airy disc stays near the pixel size while flute depth remains in focus.
  • Lighting per surface. Dome or dark field on curved flutes, coaxial on flat faces, crossed polarizers on mirror finishes.
  • Two lighting directions. A second exposure from 90 degrees is the cheapest defense against grinding lay.
  • Teach set. Twenty to thirty accepted parts from different lots define the allowed texture envelope.
  • Indexing fixture. Four repeatable views need repeatable rotation, or thresholds never hold.

Start the defect station in the system configurator, compare lights at the lighting step, or send the pixel budget you calculated to the applications team for a parts list.

Questions

What is the smallest chip a 5 MP camera can flag reliably?

Set the field of view first. At 24 mm wide, 2448 pixels give 10 µm per pixel, so a 30 µm chip spans three pixels — the detection floor. Squeeze the same sensor to a 16 mm field and the object pixel drops to 6.5 µm, putting three pixels on a 20 µm chip. The sensor is rarely the limit; at these magnifications the lens and the lighting decide how much of that resolution survives into the image.

Mono or color for metal defect inspection?

Mono, unless color is itself the information. A mono sensor spends every pixel on intensity, which is what scatter-based lighting produces, and it handles strobed, short exposures with less noise. Go color when you must tell a golden coating from bare carbide or a burn mark from an oil film, and then lock white balance manually — a color camera only reports what the light lets it see.

How many good parts do I need for teaching?

Twenty to thirty per tool type is workable: most of them to map the allowed grinding-texture range, the rest to confirm the thresholds never false-reject. Pull parts from at least two production lots, because wheel wear shifts the lay over time. Store references per tool type rather than one global template, and rerun the confirmation parts after any lens or light change — moving focus a few tenths of a millimeter changes texture contrast.

Can one camera cover both the point and the flutes?

Yes, with an indexed fixture giving four repeatable positions at one focus setting. The constraint is depth of field, since the helix drops the edge several millimeters along the flute. Stop down to f/8 and confirm the far end of the flute stays sharp; at f/8 the Airy disc is about 11 µm, matched to a 10 µm pixel budget. Beyond f/11 you are trading away the defect contrast you paid for.

Is a 0.1 mm dimensional tolerance hard for machine vision?

No. Backlight the tool, locate the silhouette edges to a tenth of a pixel, and a 30 µm per pixel station repeats to about 3 µm — thirty times inside a 100 µm tolerance. The engineering effort goes into fixturing the rotation and keeping the backlight clean, not into resolution. Run dimensions on the wide station and reserve the high-magnification station for chipping and scratches.