System designGuide

Machine vision system components: a buyer's guide

Choose machine vision system components by defining the task, controlling contrast, calculating camera sampling and validating a complete bench trial.

LumaSpec Vision10 min read Share on LinkedIn

On this page 11 sections
  1. 011. Define the inspection decision before choosing hardware
  2. 022. Treat part presentation as a system component
  3. 033. Create contrast, then select the light controller
  4. 044. Size the field of view around real variation
  5. 055. Calculate camera sampling and the motion budget
  6. 066. Choose the camera around capture conditions
  7. 077. Match the lens to the sensor and working distance
  8. 088. Plan processing and communication as one timing chain
  9. 099. Validate the full chain in a bench trial
  10. 1010. Check the ordering list—and know when to change approach
  11. 11Questions

A successful inspection starts with a visible, repeatable difference between acceptable and unacceptable parts—not a camera purchase. First-time buyers need to connect part presentation, lighting, optics, capture timing, processing and machine communication into one testable system. This guide gives you an ordering sequence, practical sizing calculations and a bench-trial checklist. Use it to identify which specifications matter before committing to components that look suitable individually but do not work together.

1. Define the inspection decision before choosing hardware

Write the inspection requirement as a decision with a measurable acceptance criterion. “Inspect the assembly” is too broad. “Detect a missing retaining clip anywhere within the permitted assembly position” identifies both the feature and the variation you must accommodate.

Record these inputs before opening a component finder:

  • The acceptable condition and each known failure condition.
  • The smallest feature that changes the decision.
  • The permitted part position, rotation and height variation.
  • The production rate and available decision time.
  • The consequences of accepting a defective part or rejecting a good one.
  • Whether you need presence detection, identification, measurement or position guidance.

A presence check and a dimensional measurement can require very different optics, even on the same assembly. For measurement, distinguish image sampling from demonstrated measurement uncertainty. More pixels alone do not establish accuracy.

The machine vision versus computer vision guide explains the wider distinction between interpreting images and delivering a repeatable production decision.

2. Treat part presentation as a system component

Presentation determines what the camera can see and how much variation the software must handle. A fixture, mechanical guide or controlled transport path may improve reliability more than a higher-resolution camera.

Specify position variation numerically. If a part can shift by 5 mm in either direction, allow for that movement on both sides of the inspection area. Also check rotation: a rectangular part can occupy more image width when rotated than when aligned.

Height variation matters separately. It can change focus, magnification and the apparent position of edges. A flat fixture does not help if the inspected surface itself changes height between assemblies.

Choose between two capture conditions:

Capture condition Main benefit Main constraint
Part stopped for imaging Longer exposures may be practical Settling time becomes part of the cycle
Part moving during imaging Inspection can run without stopping transport Exposure, shutter behavior and trigger position need tighter control

Do not assume every task needs a software search. A well-constrained presence check may use a fixed image region. Position-varying parts usually need localization before the inspection tools run.

3. Create contrast, then select the light controller

Lighting should make the relevant difference easier to separate from normal part variation. Start with the feature, not with the brightest source available.

For an outside profile, test illumination behind the part. For surface marks, compare illumination directions. For reflective surfaces, change the reflection geometry or diffusion before increasing exposure. A bright image can still contain almost no useful defect contrast.

During a bench trial, keep exposure and gain fixed while comparing lighting arrangements. Otherwise, automatic adjustments can conceal differences between setups. Repeat the comparison with surrounding lights switched between their expected operating states.

Light controllers regulate or switch compatible lights, but they cannot correct an unsuitable lighting angle. Use the light controller finder after identifying the required electrical output, channel count and operating mode.

The LS-CTL-0070 is a digital controller with a catalog-listed strobe feature. That feature alone does not establish compatibility with a particular light or capture sequence.

Light controllersDigital control box, 4 ch, 200 W, RS232 (LS-CTL-0070)LS-CTL-0070
Output
Constant voltage 24 V
Channels
4 channels
Control
Digital
Feature
Strobe
$549.00View partBuild a system with it

Confirm the light’s drive requirements, controller output, trigger interface and permitted operating conditions together. For pulsed operation, the strobe timing and duty-cycle guide explains the checks that matter before applying overdrive.

4. Size the field of view around real variation

Field of view is the physical area recorded by the camera. It must contain the inspection region throughout the allowed part movement, not just during an ideal setup photograph.

Consider a hypothetical part measuring 100 mm wide and 60 mm high. Allow 5 mm of position variation on each side, plus another 5 mm of visible margin beyond that variation:

Required width = 100 + 2 × 5 + 2 × 5 = 120 mm Required height = 60 + 2 × 5 + 2 × 5 = 80 mm

With a sensor aspect ratio of 4:3, a 120 mm image width corresponds to 90 mm of image height. The part fits within that view, with additional vertical space. A different sensor aspect ratio could require a different width or height to contain the same inspection envelope.

How sensor width, working distance and field of view set the focal length Rays from the edges of the sensor pass through the lens and spread to the edges of the field of view. The ratio of sensor width to field of view is the magnification m.CameraField of view (FOV)Working distance (WD)≈ fsensor width slensm = s / FOVf = WD × m / (1 + m)
How sensor width, working distance and field of view set the focal length. Rays from the edges of the sensor pass through the lens and spread to the edges of the field of view. The ratio of sensor width to field of view is the magnification m.

Reserve room for locating features and calibration marks when they must appear in the production image. Do not add an arbitrary oversized view: every increase reduces the number of pixels covering a given feature.

The calibration target coverage and margin guide helps distinguish useful calibration coverage from unnecessary image area.

5. Calculate camera sampling and the motion budget

Suppose the smallest relevant feature is 0.25 mm wide. As an initial bench-test target, allocate 5 pixels across it. This is a starting assumption, not a universal detection guarantee; contrast, shape and processing affect the actual requirement.

Required sampling = pixels across feature / feature width Required sampling = 5 / 0.25 = 20 pixels/mm Required horizontal pixels = field width × required sampling Required horizontal pixels = 120 × 20 = 2400 pixels

This calculation establishes a horizontal sampling requirement. It does not prove that a particular camera and lens will resolve the feature. Optical blur, focus errors, reflections and image processing can remove useful detail before the decision stage.

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

If the part moves at 500 mm/s, calculate the exposure permitted by an illustrative 1-pixel blur budget:

Motion blur in pixels = speed × exposure time × sampling Maximum exposure = permitted blur / (speed × sampling) Maximum exposure = 1 / (500 × 20) Maximum exposure = 0.0001 s = 100 microseconds

This estimates blur from motion during exposure. It does not account for rolling-shutter distortion or trigger-position variation. A short exposure may also demand more illumination than the original lighting trial provided.

Use the moving-part exposure guide to connect exposure limits with lighting and motion. For measurement tasks, the dimensional inspection resolution guide explains why sampling and accuracy need separate budgets.

6. Choose the camera around capture conditions

Once you know field of view, sampling and exposure requirements, compare area scan cameras. Use the camera finder to narrow the interface, shutter type, sensor format and required pixel dimensions.

The most useful first comparison is not simply total megapixels:

Requirement Camera selection question
Fine detail across a wide part Are there enough pixels along the relevant axis?
Moving or rotating parts Is the shutter behavior appropriate for the motion?
Monochrome shape inspection Is color information actually necessary?
Color-based decisions Can illumination and color processing remain consistent?
Short exposure Is image quality sufficient at the available light level?
Required production rate Can capture and transfer sustain the chosen operating mode?

The LS-CMR-0053 uses GigE, while the LS-CMR-0166 uses USB3. Both have catalog-listed rolling shutters, so neither should be treated as an automatic choice for moving-part inspection.

Specification LS-CMR-0053 LS-CMR-0166
Resolution 4000 px x 3000 px 4000 × 3000 (12MP)
Pixel size 1.85 μm x 1.85 μm 1.85 μm
Max. frame rate 9 fps 30 fps
Sensor model IMX 226 Sony IMX226
Shutter Rolling Shutter rolling shutter
Data interface GigE USB 3.0
Pixel bit depth 8 / 10 / 12 bits 10-bit
Price $560.00 $560.00

All 2 share: Sensor size 1/1.7". Values as printed in each product's data sheet; open a part for its drawing and full specifications.

These are comparison candidates, not a validated system recommendation. Confirm trigger support, exposure behavior, software compatibility and image transfer performance from the current product documentation. The industrial camera specifications guide provides a deeper checklist for that review.

7. Match the lens to the sensor and working distance

Select machine vision lenses using sensor coverage, mount, field of view and working distance together. Nominal focal length alone is not enough.

For an initial thin-lens estimate, suppose a hypothetical sensor has an active width of 8.8 mm. With the earlier field width and an approximate object distance of 250 mm:

Magnification m = sensor width / field width m = 8.8 / 120 = 0.0733 Estimated focal length f = object distance × m / (1 + m) f = 250 × 0.0733 / 1.0733 ≈ 17 mm

This is a screening estimate. Practical working distance is commonly specified from a lens reference surface, while the thin-lens calculation uses a principal plane. Real lens construction and focusing behavior change the installed geometry.

Lens focal length, field of view and working distance
Units
Solve for
Focal length
– mm
Field of view
– mm
Working distance
– mm
Magnification
– x
Angle of view
– °
Pixel on the part
– mm

Thin-lens model: m = sensor width / field of view, f = WD × m / (1 + m). Accurate to a few percent above about 150 mm; check the lens's minimum object distance.

Find lenses with this focal length Open the full calculator

The LS-FFL-0567 is a C-mount lens with a catalog-listed 16 mm focal length. Treat it as a candidate for review, not proof that the illustrative geometry will work.

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

Use the lens finder and lens selection configurator to narrow candidates. Then verify focus range, sensor coverage, mechanical clearance and edge image quality. The lens focal-length selection guide explains how to move from an estimate to an installed choice.

8. Plan processing and communication as one timing chain

The processing stage must do more than run an inspection algorithm. It must associate the correct image with the correct part, detect acquisition faults and deliver an actionable decision before the machine needs it.

Record at least these events during development:

  1. Part-detection or capture request.
  2. Exposure start and image availability.
  3. Inspection completion.
  4. Decision transmission.
  5. Machine acknowledgment or reject action.

At 120 parts/minute, the average interval is 60 / 120 = 0.5 seconds per part. That does not automatically provide 0.5 seconds for processing. If a decision is needed after only 0.3 seconds of travel, that shorter interval governs the deadline.

Separate throughput from latency. A pipelined system may process several parts concurrently while each individual decision takes longer than the interval between parts. It still needs reliable part identifiers and sufficient buffering.

Define explicit states for acceptable, rejected, no image, processing error and communication timeout. Do not silently classify a missing image as an acceptable part.

For hardware-triggered capture, review the trigger-source and line-configuration checks. For PLC data exchange, the vision communication guide explains result mapping and handshakes. Ordinary inspection outputs are not a substitute for a safety-rated control function.

9. Validate the full chain in a bench trial

A bench trial should challenge the complete imaging and decision chain, rather than demonstrate one successful photograph. Include acceptable parts near their permitted limits and defects near the rejection boundary.

For example, begin with 30 acceptable parts and 30 defective parts spanning the known variation. Capture each under 3 allowed presentation conditions, producing 60 × 3 = 180 images. This is an exploratory dataset, not proof of a production failure rate.

Keep separate samples for tuning and evaluation. Repeated captures of the same part help assess repeatability, but they do not replace physical variation between parts.

Use a grouped trial checklist:

  • Presentation: Test extreme positions, rotations and surface heights; these reveal coverage and focus failures.
  • Lighting: Repeat with permitted ambient changes; this exposes dependence on uncontrolled illumination.
  • Image quality: Inspect the smallest features at the center and edges; this checks usable detail across the view.
  • Decision quality: Record false accepts and false rejects separately; they carry different operational consequences.
  • Timing: Measure individual deadlines and sustained throughput; average processing time can hide occasional overruns.
  • Fault handling: Test missing captures and interrupted communication; the machine must recognize an invalid inspection.
  • Restart behavior: Reload saved settings and repeat known samples; startup should restore the validated configuration.

Save raw images, component settings and decision records together. That evidence makes later changes traceable.

10. Check the ordering list—and know when to change approach

Before ordering, reconcile the camera mount, lens coverage, focusing range, light drive requirements, controller connections and acquisition interface. Include cables, power supplies, mounting hardware, triggers and software licensing in the bill of materials.

Do not assume similar connector shapes establish electrical compatibility. Confirm pin assignments and signal requirements in the supplied documentation. Likewise, a controller’s power rating does not establish its minimum pulse duration or suitability for overdrive.

The usual fixed-camera arrangement may be wrong when:

  • The required surface is hidden from the selected viewpoint.
  • Uncontrolled height changes invalidate a planar measurement.
  • A continuous web or long moving product calls for a different acquisition method.
  • A tiny feature requires so much sampling that multiple views become more practical.
  • Part variation produces more contrast change than the defect itself.

In those cases, revisit presentation, viewpoints or inspection method before buying more pixels or adding processing complexity.

Start the camera-led system configurator once the bench trial establishes the requirements. If compatibility remains uncertain, send the field of view, smallest feature, motion conditions and representative images through applications support before finalizing the component list.

Questions

Which machine vision system components should you choose first?

Define the inspection decision and test representative parts before selecting the camera. Establish part presentation and lighting first, then calculate field of view and sampling. This sequence reduces the risk of choosing a camera that provides enough pixels but cannot capture a reliable distinction between acceptable and defective parts.

How do you estimate the camera resolution an inspection needs?

Divide field width by the smallest feature width, then multiply by the proposed pixels across that feature. Treat the answer as an initial sampling target. Validate it with real images because focus, contrast, motion and the inspection algorithm determine how much of that sampling becomes useful information.

Can a rolling-shutter camera work for industrial inspection?

A rolling-shutter camera can be suitable when the part and camera remain sufficiently stationary during capture. Moving subjects require evaluation of readout distortion as well as exposure blur. Check the documented exposure and readout behavior, then test the actual motion rather than relying on frame rate alone.

Does every machine vision light need a separate controller?

Use a separate controller when the chosen light requires compatible regulation, intensity adjustment or synchronized switching that another supported arrangement does not provide. Match the electrical drive method and operating limits. A strobe label does not by itself confirm the required pulse timing or permission to overdrive the light.

What should a bench trial prove before you order components?

Demonstrate that permitted part variation remains distinguishable from defects, image quality is adequate throughout the inspection area, and decisions arrive within the machine deadline. Also verify that missing images and communication failures produce explicit fault states. Keep evaluation samples separate from those used to tune the inspection.