Non-standard automated assembly and lithium battery stations commonly use vision positioning instead of mechanical hard fixturing, and poor selection often leads to positioning drift, unstable mark recognition, and poor repeatability. This article follows five steps — pixel resolution, lens focal length, light source and exposure, accuracy margin, and mark point settings — and gives a complete example for a 5-megapixel area-scan camera, so that after reading you can independently select and review a vision positioning station.
Vision positioning stations are used for post-alignment positioning of lithium battery stacks, aligning module terminal posts, positioning 3C product assembly, and similar tasks; a camera photographs a reference mark point, an algorithm solves for the workpiece coordinate offset, and this is fed back to the robot or motion stage for compensation. Three mistakes are common in practice: first, selecting by camera pixel count alone without calculating the physical size represented by one pixel, so the accuracy falls short; second, choosing the focal length by experience, so when the working distance changes the field of view does not match expectations and edge distortion is magnified; and third, not verifying the light source and exposure, so the mark point is bright one moment and dim the next on a reflective metal surface and the repeatability drifts.
Core Formulas
Parameter description
| Parameter | Meaning | Unit |
|---|---|---|
| FOV | Length of one side of the field of view | mm |
| N | Number of camera pixels in that direction | px |
| p | Physical size represented by one pixel | mm/px |
| δ | Required positioning accuracy (±) | mm |
| k | Accuracy margin coefficient | — |
| WD | Working distance from the lens to the workpiece | mm |
| H | Side length of the sensor in the corresponding direction | mm |
| f | Lens focal length | mm |
| δ_r | Repeat positioning accuracy | mm |
Recommended Value Table
| Item | Recommended value | Notes |
|---|---|---|
| Accuracy margin coefficient k | For stable lighting take 2; for reflective or vibrating conditions take 2.5~3 | A larger k gives a larger accuracy margin but requires more pixels |
| Common sensor sizes | 1/2.5-inch 5.70×4.28mm; 1/1.8-inch 7.20×5.40mm; 1-inch 12.8×9.6mm | A larger image sensor gives a larger field of view at the same focal length |
| Common working distance WD | Positioning stations 80~300mm | Must leave room for loading/unloading and light source mounting |
| Standard prime focal lengths | 8、12、16、25、35、50mm | Prefer ≤50mm to reduce edge distortion |
| Repeat positioning accuracy | δ_r ≤ δ/3 | Overall machine accuracy must leave margin for the mechanism and assembly |
| Mark point diameter | 0.3~0.5mm circle or ring, imaged at 15~25 pixels | Too small a mark makes centroid extraction unstable |
| Exposure gray level | Gray-level difference between the mark and the background ≥80 levels, target gray level 120~200 | Overexposure or underexposure both reduce centroid accuracy |
Complete Worked Example
Given:A lithium battery module terminal-post positioning station with a field of view FOV=50mm×37.5mm (4:3), a required positioning accuracy δ=±0.05mm, and a selected working distance WD=150mm.
Step 1, calculate the single-pixel size and the required pixel count.Taking the accuracy margin coefficient k=2.5, the permissible single-pixel size is p ≤ δ/k = 0.05/2.5 = 0.02mm/px. The required horizontal pixels are Nx ≥ FOVx/p = 50/0.02 = 2500px; the required vertical pixels are Ny ≥ 37.5/0.02 = 1875px.
Step 2, select the camera.A 5-megapixel area-scan camera on the market has a resolution of 2592×1944 and a 1/2.5-inch sensor (5.70mm×4.28mm); horizontal 2592≥2500 and vertical 1944≥1875, so it meets the requirement. The actual single-pixel size is p = 50/2592 = 0.0193mm/px, corresponding to an achievable positioning accuracy of p×k = 0.0193×2.5 = 0.048mm, better than the required ±0.05mm.
Step 3, calculate the lens focal length.From similar triangles, f = WD×sensor width/FOV = 150×5.70/50 = 17.1mm, so choose a 16mm prime lens, rounding down to the nearest standard focal length.
Step 4, recheck the field of view and accuracy.After fitting the 16mm lens, the actual field of view is FOVx = WD×5.70/16 = 150×5.70/16 = 53.4mm, about 3.4mm larger than the design field of view, which can accommodate workpiece tolerances. The actual single-pixel size is p = 53.4/2592 = 0.0206mm/px, and the achievable accuracy is 0.0206×2.5 = 0.052mm, still around ±0.05mm, so it meets the requirement.
Step 5, set the mark point and the light source.Use a solid circular mark of diameter 0.5mm, imaged at about 0.5/0.0206 = 24 pixels, giving stable centroid extraction; for the reflective aluminum surface use low-angle ring light with a polarizer, keeping the mark gray level at about 150 and the gray-level difference between the background and the mark ≥100 levels.
Conclusion:Select a 5-megapixel area-scan camera (2592×1944, 1/2.5-inch sensor) with a 16mm prime lens, a working distance of 150mm, a single-pixel size of 0.0206mm/px, a positioning accuracy of about ±0.05mm, and a circular mark point of diameter 0.5mm.
If you are stuck on structure, browse the full-line 3D models in the 'MOULDL model library (mouldl model library)' (such as flipping machines and assembly machines, with parts lists); for data, double-check with the 'BST Technical Handbook' to be safer.
This article was compiled by Baist Technology (BST) as a reference for mechanical selection.