RobotKinematicsLab

Keyence edge-chip inspection

A camera must resolve a fine edge chip on a stamped part without narrowing the initial field.

Results ↓

Parameters

Sensor and lens
px
px
µm
mm
mm
mm

Live results

Fail

Fewer than 2 pixels sample the feature. Reduce field of view or increase sensor sampling.

FOV width
367.104 mm
FOV height
229.44 mm
Sampling
1.15063 px/feature
Depth of field
126.98 mm
Optical ray cone and target plane
Optical ray cone and target planeSENSORLENSTARGETFeature samplingMINIMUM
  • Marginal rays
  • Optical axis
  • Object field
Lens, sampling and focus
QuantityValue
Finite-conjugate magnification0.0251046 ×
Distant-object pinhole magnification0.0244898 ×
Spatial resolution0.1912 mm/px
Feature size for 3 px0.5736 mm
Near focus limit434.603 mm
Far focus limit561.583 mm
One-pixel hyperfocal distance3762 mm
Estimated diffraction spot at 550 nm2.29282 px

Formula trace

  1. Project the object field

    M = f/(WD − f); FOVx,y = (Nx,y · p)/M

    M = 0.0251046FOVx = 367.104 mmFOVy = 229.44 mm

    WD is measured from the lens principal plane. For a distant-object pinhole approximation use M ≈ f/WD.

  2. Sample the smallest feature

    resolution = p/M; pixels per feature = feature · M/p

    resolution = 0.1912 mm/pxfeature = 1.15063 px/feature

    Length/px × pixel count yields field width. The 2 px and 3 px comparisons use unrounded lengths.

  3. One-pixel focus criterion

    H₀ = f²/(f/# · p); near, far = WD/[1 ± (WD−f)/H₀]

    near = 434.603 mmfar = 561.583 mmDoF = 126.98 mm

    Far focus is unbounded when WD−f ≥ H₀. Geometric blur uses pixel pitch; diffraction and lens MTF affect usable contrast.