MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Line scan camera resolution and accuracy calculations
HomeModels
Table of contents

On this page

Sensors & Detection (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Line scan camera resolution and accuracy calculations

Line scan camera parameters are all computed, not chosen: sensor length sets cross web accuracy, line rate matches web speed, and one wrong number stretches the image into garbage. The arithmetic is short and worth memorising.

1. How it works

Cross web resolution is field width over pixel count: a 100 mm field on an 8192 pixel sensor gives a 12.2 micron pixel, and with the 3 pixels per feature rule the minimum detectable feature is about 37 microns. Sizing goes backwards too: detecting 0.1 mm defects over a 150 mm field needs a pixel no coarser than 0.033 mm, so at least 4545 pixels, which lands on 6144 or 8192 with margin. The lens closes the loop: object side pixel equals sensor pixel divided by magnification, and with a telecentric lens the magnification error is negligible.

2. Numbers and practice

Line rate must match web speed: line rate equals speed over line height, where line height is the object side pixel. At 0.5 m/s and 25 microns the line rate is 20 kHz. Too low compresses the image vertically and deforms features; too high stretches it. Encoder triggering is the standard answer: pulses correspond to fixed travel, say one per 25 microns, so belt speed wander stays synchronised and the image never stretches; a fixed line rate without an encoder turns every speed fluctuation into a warped frame. Also compute the data pipe: 8192 pixels at 20 kHz and 8 bit is roughly 1.6 GB/s, which the frame grabber and cable must carry.

3. Pitfalls and fixes

Calibration follows the area scan idea with a twist: use a known reference for the pixel scale, and verify both directions separately since cross web comes from pixel count while web direction comes from line rate and speed. Lighting runs along the scan line with a bar light or backlight, and lens depth of field absorbs web flutter. The classic errors: trusting the nominal lens magnification instead of measuring, since assembly error shifts it 2 to 5 percent; mis set encoder division producing periodic stretching; and bandwidth overruns tearing lines out of the image. Accept with a standard test plate and measure both directions, because only both passing counts.

4. Line scan calculation quick table

ParameterFormulaExample
Cross web pixelField over pixel count100 mm over 8192 ≈ 12.2 µm
Minimum feature3 times pixel3 × 12.2 ≈ 37 µm
Line rateSpeed over line height500 mm/s over 25 µm = 20 kHz
Data bandwidthPixels × rate × bit depth8192×20k×8bit ≈ 1.6 GB/s
Encoder divisionPulse equals line heightOne pulse per 25 µm
Backward sizingPixels ≥ field over feature/3150 mm for 0.1 mm takes 6144+

5. Notes

Use this table for line scan sizing and acceptance arithmetic. Compute pixels from feature and field, line rate from speed, then verify bandwidth and encoder configuration. Measure the pixel scale instead of trusting nameplates, and accept only after both directions pass on a test plate.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Electrical safety per GB/T 5226.1 and IEC 60204-1; grabber and cable bandwidth per the relevant specifications. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Mismatched line rate stretches or compresses the image, encoder sync is standard equipment
② Nameplate magnification hides a 2~5% assembly error, measure the scale on a reference
③ Bandwidth overruns tear lines out of the image, size the pipe with 1.5 times margin

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL