Machine Vision Lens for Screw Thread Inspection: How to Detect Thread Pitch, Flank Damage, Burrs and Missing Threads
Screw thread inspection is a demanding machine vision application because the optical system may need to resolve several very different features within a relatively small physical area. A machine may need to confirm that a threaded section is present, count thread peaks, verify pitch consistency, detect missing or incomplete threads, identify burrs on the crest, inspect flank damage, or check whether the first usable thread starts at the correct position. A lens that can clearly show the complete threaded component may still provide too little image detail for a small burr or damaged flank. Selecting the correct machine vision lens for screw thread inspection therefore requires balancing field of view, working distance, focal length, sensor format and optical resolution around the smallest thread feature that must be detected.
Buyers searching for best lens for thread inspection, machine vision lens for screw inspection, industrial camera lens for thread pitch measurement, machine vision for missing thread detection, camera lens for burr inspection, or how much resolution is required for thread inspection are fundamentally trying to solve the same problem: how can enough of the threaded region be captured while individual crests, roots and flanks still occupy enough image pixels to be inspected reliably? The correct answer depends on actual thread diameter, pitch, inspected thread length, smallest permitted defect, required position tolerance and whether the application needs a complete side view or only a localized section.
Kyptec Automation® provides a broad Machine Vision Lens portfolio with multiple focal lengths, sensor formats and optical resolution classes. The current collection includes 5 MP, 10 MP and 25 MP Machine Vision Lens families across several industrial camera formats, allowing OEM machine builders and system integrators to select optics around the real thread geometry rather than using one general-purpose lens for every inspection.
Start Thread Inspection Lens Selection With the Exact Defect Requirement
The term “thread inspection” can describe anything from coarse presence detection to detailed geometric evaluation.
If the only requirement is to confirm that a threaded section exists, the machine vision system may not need to resolve every individual flank precisely. If the objective is to detect a 0.1 mm burr, however, the lens-camera combination must deliver much greater object sampling.
The first design question should therefore be: What is the smallest physical thread feature or defect that must be detected reliably?
This value should drive the required pixels per millimetre and eventually the focal length and working distance.
Thread Pitch Determines How Much Detail Each Thread Needs
Thread pitch is the axial distance between corresponding points on adjacent threads.
As pitch becomes finer, each thread occupies less physical distance in the image. A coarse thread may remain easy to distinguish even at moderate magnification, while a fine-pitch thread requires considerably more spatial sampling.
If the camera sees a 50 mm threaded section containing many fine threads, the image must provide enough pixels to separate successive crests and roots clearly.
This is why machine vision lens selection for thread pitch inspection should be based on actual pitch rather than only the overall screw diameter.
Calculate Pixels per Millimetre Before Choosing the Final Lens
A useful starting calculation is:
Pixels per millimetre = sensor pixels across the inspection direction ÷ physical FOV in millimetres
Suppose the sensor provides 4,000 pixels along the thread axis and the FOV covers 40 mm. The available sampling is approximately 100 pixels/mm.
A 1 mm pitch would then occupy approximately 100 pixels, while a 0.2 mm defect would occupy around 20 pixels under simplified geometry.
If the same camera is used with an 80 mm FOV, the sampling drops to approximately 50 pixels/mm.
The wider view may still show the entire threaded part, but individual defects now occupy half as many pixels.
Do Not Make the FOV Wider Than the Threaded Region Requires
A common mistake is to frame the complete screw, bolt or shaft even when only the threaded portion needs inspection.
If the smooth shank, head and surrounding fixture occupy most of the image, valuable sensor resolution is being spent on regions that do not contribute to the inspection.
For high-detail screw thread defect detection, the machine vision lens should frame the threaded section as tightly as practical while still allowing normal product-position variation.
A more efficient FOV directly increases pixels per millimetre without changing the camera.
Thread Crest, Root and Flank Are Different Optical Features
A thread profile contains several distinct regions.
The crest forms the outermost part of the thread. The root lies between neighbouring threads. The flank connects the crest and root and defines much of the thread profile.
A chipped crest, damaged flank and root burr are not equivalent defects.
The root can be harder to inspect because it occupies a narrow recessed region. The flank may require clearly defined angled boundaries. The crest may be easier to see but can contain very small burrs.
A good machine vision lens must therefore preserve detail across the complete visible thread profile rather than only at the outermost silhouette.
Flank Damage Requires Strong Edge Resolution
Thread flank inspection depends on accurately representing the angled boundary between crest and root.
A damaged flank may involve only a small local deviation from the expected profile.
If the optical system produces a soft edge, the defect may become difficult to distinguish from ordinary edge transition.
The lens-camera combination should therefore provide sufficient optical resolution and pixel sampling for the minimum flank damage requirement.
This is more demanding than simply detecting whether a thread exists.
Burr Detection Often Requires More Magnification Than Thread Presence Detection
A burr may extend only a small distance beyond the nominal thread crest or root.
The complete thread can therefore appear normal at low image scale even though a small protrusion is present.
For burr inspection, the required FOV should be calculated from the smallest permissible burr rather than from the thread length alone.
If the burr receives only a few pixels, reducing unnecessary FOV or using a higher-resolution compatible Machine Vision Lens can improve the optical basis for detection.
Missing Thread Detection Is Usually Easier Than Small-Damage Inspection
A missing or incomplete thread creates a comparatively large geometric interruption.
This can often be detected with lower image detail than a small burr or flank chip.
However, if the application must distinguish one partially formed thread from a correctly formed neighbouring thread, more resolution may still be required.
The inspection requirement should therefore define whether “missing thread” means complete absence, incomplete formation, damaged start thread or a localized broken section.
First-Thread Inspection Deserves Separate Attention
The first engaged thread near the end of a screw or threaded shaft can be particularly important.
Damage, incomplete formation or excessive burrs in this region can affect assembly even when the rest of the thread profile appears acceptable.
The machine vision system should therefore include the thread start inside the valid inspection FOV rather than centering only on the middle section.
A lens selected specifically around the threaded region can help maintain sufficient pixels on this critical start area.
A 25 MM Lens Can Be a Practical Choice for Medium-Sized External Threads
For compatible 2/3" camera systems, the Kyptec Automation® KL-1228 25 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens provides a moderate focal-length option. Kyptec Automation® specifies this model as 25 mm focal length, 10 MP optical resolution, 2/3" image format, C-mount and an F2.8–16 aperture range.
A 25 mm focal length can be evaluated where the complete threaded zone needs to fit comfortably while still occupying a substantial portion of the sensor.
The final choice should come from thread length, diameter, pitch, working distance and smallest required defect.
A 35 MM Lens Can Support Tighter Thread Framing From Greater Stand-Off
For compatible 1" systems, the Kyptec Automation® KL-1218 35 MM Machine Vision Lens With 10 MegaPixel & 1" Format Lens provides a 35 mm, 10 MP, C-mount configuration with an F1.4–16 aperture range.
This focal-length class can be useful when the machine requires greater stand-off or when the inspection should isolate a smaller threaded region.
Compared with an unnecessarily wide field, tighter framing can allocate more of the sensor to actual thread geometry.
Thread Diameter Affects the Required Viewing Geometry
A small screw and a large threaded shaft may have similar pitch requirements but very different overall dimensions.
Larger diameters can require a broader FOV if the complete profile must be visible.
Small threaded components may instead benefit from a much tighter field to increase magnification.
The machine vision lens should therefore be selected from both axial thread length and radial thread diameter.
Using only pitch as a design input can result in insufficient coverage.
External Thread Inspection Is More Straightforward Than Internal Thread Inspection
External threads generally present a visible side profile that can be inspected from outside the component.
Internal threads are much more difficult because the optical system must see into a recessed cylindrical surface.
Physical occlusion can hide portions of the internal thread, and a conventional side-view configuration may not reveal the complete crest, root and flank structure.
This means an external-thread Machine Vision Lens selection strategy should not automatically be assumed suitable for deep internal threads.
Where internal geometry blocks the line of sight, additional resolution alone cannot recover physically hidden features.
Working Distance and Focal Length Should Be Designed Together
A machine vision lens does not have one fixed object FOV independent of camera position.
At greater working distance, the same focal length generally captures a larger physical region. At shorter working distance, the threaded component occupies more sensor area.
The machine layout therefore matters.
If the camera must remain outside a fixture or guarding structure, a longer focal length can be considered to preserve a useful inspection scale from that stand-off.
If the camera can be positioned closer, a shorter focal length may still provide sufficient magnification.
A 50 MM Lens Can Be Useful for Localized High-Detail Thread Inspection
When the complete threaded length does not need to be captured simultaneously, a longer focal length can help isolate a smaller section.
For compatible 2/3" systems, the Kyptec Automation® KL-1232 50 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens is specified by Kyptec Automation® as a 50 mm, 10 MP, 2/3" C-mount Machine Vision Lens with an F2.8–16 aperture range.
This type of configuration can be relevant where a small group of threads, the first engaged thread, or a localized burr region must receive more image pixels from a greater stand-off.
Higher Resolution Helps Fine-Pitch and Micro-Defect Inspection
When thread pitch becomes small or the allowable defect is only a fraction of the pitch, total image resolution becomes increasingly important.
A higher-resolution camera can provide more pixels across the same physical FOV, but the machine vision lens must also transfer sufficient optical detail to the sensor.
For compatible larger-format systems, the Kyptec Automation® KL-1240 25 MM Machine Vision Lens With 25 MegaPixel & 1.1" Format Lens is listed as a 25 mm, 25 MP, C-mount configuration with an F2.8–22 aperture range in the Kyptec Automation® larger-format family.
A high-resolution configuration of this type can be evaluated where a relatively broad threaded area must be inspected while preserving fine thread detail.
More Megapixels Do Not Replace Correct Magnification
A high-resolution camera and lens can still underperform if the threaded object occupies only a small fraction of the sensor.
If a 10 mm threaded section sits inside a 150 mm FOV, most available pixels are being used on unrelated surroundings.
The system should first use the sensor efficiently.
Only then does increasing optical and camera resolution provide its full benefit.
This is especially important in fine-thread inspection, where each crest-to-root transition may be very small.
Thread Pitch Measurement Requires Repeatable Magnification
Pitch measurement compares the positions of corresponding features on successive threads.
If the component moves significantly toward or away from the camera, image scale can change.
Mechanical control of working distance is therefore important when thread pitch is being measured quantitatively.
After the Machine Vision Lens, camera position and focus are finalized, calibration should be performed at the actual production plane.
The calibrated system should then be checked over the permitted product-position tolerance.
Thread Angle Can Affect the Apparent Profile
If the screw axis is not positioned consistently relative to the camera, the visible thread profile can change.
A tilted component can make one flank appear differently from another and can also alter the apparent pitch in the captured image.
Precision thread inspection therefore benefits from consistent component orientation.
The lens should be selected to provide sufficient FOV for normal positional tolerance, but mechanical positioning should still keep the screw axis in the intended inspection geometry.
Cylindrical Shape Changes How Different Thread Regions Appear
External screw threads wrap around a cylindrical object.
A side-view camera therefore sees the most useful profile near the silhouette, while thread regions rotated away from the side become increasingly foreshortened or hidden.
This means a single image should not be assumed to represent the complete three-dimensional thread circumference.
If full circumferential inspection is required, the component may need controlled rotation so different angular regions can be presented to the machine vision lens.
Rotating the Screw Can Trade Inspection Speed for Higher Detail
When a threaded component can rotate during inspection, the camera can use a tighter FOV and inspect smaller angular sections sequentially.
This can provide significantly more pixels on the visible thread profile than one very wide image intended to capture everything at once.
For extremely small burrs or flank damage, sequential inspection may therefore provide a stronger optical solution than simply increasing FOV.
The lens should then be selected according to the localized thread section rather than the complete component.
Aperture Should Balance Thread Sharpness and Depth Tolerance
Thread crests and roots do not occupy exactly the same physical depth relative to the camera.
The difference may be small, but in high-magnification inspection it can matter.
Stopping down the lens can increase focus tolerance across the visible thread profile.
However, using an excessively small aperture can reduce very fine image detail through diffraction.
The operating aperture should therefore be qualified using the smallest actual burr, flank defect and root feature rather than simply selecting the smallest available opening.
Focus Should Be Verified at Crest and Root Regions
A thread image can appear generally sharp while the deepest root region is slightly softer.
If root defects matter, focusing only on the outer crest can create an incomplete inspection condition.
Use representative fine features at both the crest and root when setting focus.
The final focus position should support all required inspection regions within the acceptable depth range.
Surface Finish Can Change Thread Defect Contrast
Threads may be machined, ground, coated or plated, and each surface finish can produce different image contrast.
A burr that appears clearly on a matte thread may become difficult to distinguish on a highly reflective surface.
Optical resolution therefore does not act alone.
The selected machine vision lens should be tested using representative production thread finishes so that the minimum defect remains visible under the actual surface condition.
Oil and Contamination Can Change Apparent Thread Edges
Threaded components are often processed with lubricants or may carry residual oil.
A thin reflective film can change the brightness of the crest or flank and can reduce the apparent contrast of a small defect.
Inspection qualification should therefore include the realistic cleanliness state of production components.
A system developed only on perfectly clean sample screws may behave differently when exposed to normal process residue.
Missing Threads Should Be Evaluated Across the Full Valid Thread Zone
If missing-thread detection is required, representative defects should be placed near the beginning, middle and end of the inspected region.
Image quality and perspective can vary slightly across the FOV.
A system should not be approved simply because a missing thread at the image center is detected reliably.
The inspection requirement should be satisfied wherever the defect can validly occur.
Thread Count Can Be an Additional Optical Requirement
Some systems count the number of thread peaks across a defined length.
Reliable counting requires clear separation between adjacent crests.
If the pitch is too fine relative to available pixels, neighbouring threads can become poorly separated.
A tighter FOV or higher-resolution compatible Kyptec Automation® Machine Vision Lens may therefore be required even if gross thread presence is already easy to confirm.
Why Kyptec Automation® Is a Practical Choice for Screw Thread Inspection
Kyptec Automation® offers a broad Machine Vision Lens collection spanning several focal lengths, image formats and optical resolution classes. The collection currently includes multiple 5 MP, 10 MP and 25 MP configurations for industrial camera applications.
This range is useful for screw thread inspection because different applications require very different framing. A medium-sized threaded region can be evaluated with a moderate focal length such as Kyptec Automation® KL-1228 25 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens, while a compatible larger-format system can use Kyptec Automation® KL-1218 35 MM Machine Vision Lens With 10 MegaPixel & 1" Format Lens when greater stand-off or tighter framing is required. Their official pages confirm the corresponding 25 mm/2/3" and 35 mm/1" configurations.
Localized fine-thread inspection can be evaluated with Kyptec Automation® KL-1232 50 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens, while demanding larger-format applications requiring higher total optical resolution can consider Kyptec Automation® KL-1240 25 MM Machine Vision Lens With 25 MegaPixel & 1.1" Format Lens.
The practical advantage for OEMs and system integrators is flexibility to choose the Machine Vision Lens around the real thread pitch, threaded length, defect size, camera format and available working distance rather than relying on a single general-purpose focal length.
Frequently Asked Questions About Machine Vision Lenses for Screw Thread Inspection
1. What is the best machine vision lens for screw thread inspection?
The correct lens depends on thread diameter, pitch, inspected thread length, sensor size, available working distance and smallest required defect. If the complete threaded region must be visible, select a focal length that covers that length with minimal wasted FOV. If tiny burrs or flank damage are the priority, a tighter field and greater magnification may be more appropriate.
2. How much resolution is needed to inspect screw threads with machine vision?
Resolution should be calculated from the smallest thread feature rather than the overall screw size. Determine pixels per millimetre from the final FOV and camera pixel count, then calculate how many pixels represent the minimum burr, chip or flank defect. Fine-pitch threads generally require more image sampling than coarse threads.
3. How does thread pitch affect machine vision lens selection?
Smaller pitch means adjacent crests and roots are physically closer together. The machine vision system therefore needs higher spatial sampling to distinguish them clearly. A fine-pitch threaded component may require a tighter FOV or higher-resolution lens-camera combination even when its overall diameter is small.
4. Can a 25 mm machine vision lens be used for external thread inspection?
Yes, when the required FOV and working distance match the threaded component. For compatible 2/3" systems, Kyptec Automation® KL-1228 25 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens provides a 25 mm, 10 MP C-mount option with an F2.8–16 aperture range. It can provide a practical balance between thread coverage and image scale.
5. Why can my camera see the threads but not detect small burrs?
Thread presence is a relatively large visual feature, while a burr may occupy only a small fraction of the crest or root. The burr may therefore receive too few pixels even though the complete thread profile is visible. Reducing unnecessary FOV and increasing usable magnification can improve the optical basis for burr detection.
6. How can machine vision detect a missing thread?
Missing-thread detection generally compares the expected periodic profile with the observed thread pattern. The lens must resolve adjacent crests and roots clearly enough that a missing or incomplete section creates a reliable geometric difference. Proper framing is important because excessive FOV reduces the available pixels per thread.
7. Which lens can be considered when greater stand-off is required for thread inspection?
For compatible 1" systems, Kyptec Automation® KL-1218 35 MM Machine Vision Lens With 10 MegaPixel & 1" Format Lens provides a 35 mm, 10 MP C-mount configuration with an F1.4–16 aperture range. A 35 mm focal length can be evaluated when the machine requires tighter framing from a greater distance.
8. Can a 50 mm machine vision lens help detect small thread defects?
Yes, when only a localized thread region needs inspection and enough working distance is available. Kyptec Automation® KL-1232 50 MM Machine Vision Lens With 10 MegaPixel & 2/3" Format Lens provides a 50 mm, 10 MP C-mount configuration for compatible 2/3" systems. Tighter framing can allocate more sensor pixels to individual thread features.
9. Can machine vision measure thread pitch accurately?
It can when the crest or flank features are sufficiently resolved and the component remains in a repeatable inspection plane. Stable working distance, controlled screw orientation and calibrated image scale are important. The Machine Vision Lens must provide enough optical detail to locate successive thread features consistently.
10. Why are thread root defects harder to detect than crest defects?
The root lies deeper between neighbouring threads and occupies a narrower visible region. It can therefore receive less image detail and may be more sensitive to focus. If root damage matters, the system should be focused and qualified specifically using representative defects in the root rather than only at the crest.
11. Can machine vision detect damaged thread flanks?
Yes, provided the damaged area produces a sufficient geometric or contrast change and occupies enough pixels. Flank defects can be more demanding than missing-thread detection because they may represent only a small local deviation from the normal angled thread profile. Higher image scale can improve reliability.
12. Is a 25 MP machine vision lens useful for fine-thread inspection?
It can be very useful when a compatible high-resolution camera must cover a larger threaded region while still resolving small defects. Kyptec Automation® KL-1240 25 MM Machine Vision Lens With 25 MegaPixel & 1.1" Format Lens provides a 25 mm, 25 MP C-mount configuration in Kyptec Automation®'s larger-format family. Final suitability should still be validated from required FOV and defect size.
13. Can the same machine vision lens inspect different thread sizes?
Possibly, if all thread diameters and pitches fit within the available FOV and still receive adequate image sampling. A lens chosen for a large coarse thread may provide insufficient pixels for a much finer thread. Multi-product systems should therefore be validated using the smallest pitch and smallest defect among all planned components.
14. Does screw rotation help machine vision thread inspection?
Yes. Rotation can present different circumferential regions of the thread to the camera. This is useful because a single side view cannot reveal the complete 360-degree thread surface. Sequential rotation can also allow a tighter FOV and higher detail on smaller thread sections.
15. Can machine vision inspect internal threads using the same approach as external threads?
Not always. Internal threads can be physically occluded by the surrounding hole geometry, so many thread surfaces may not have a clear line of sight to a conventional camera-lens setup. Increasing camera or lens resolution cannot reveal surfaces that are physically hidden. Internal-thread inspection therefore requires separate optical-access evaluation.
16. What specifications should I provide before buying a machine vision lens for thread inspection?
Provide the thread outside diameter, pitch, total threaded length, smallest burr or damage size, sensor format and resolution, available working distance, whether the complete thread must be captured in one image, and whether the requirement includes pitch measurement, thread counting, missing threads, flank damage or burr detection. These parameters allow a Kyptec Automation® Machine Vision Lens to be selected around the actual inspection requirement.
17. Where can I compare Kyptec Automation® machine vision lenses for screw and thread inspection?
The Kyptec Automation® Machine Vision Lens collection includes multiple focal lengths and optical resolution classes across different industrial sensor formats. Buyers can calculate required thread FOV and pixels per millimetre first, then compare Kyptec Automation® focal-length and resolution options that provide enough thread coverage without wasting sensor resolution on irrelevant surroundings.
Design Screw Thread Inspection Around the Smallest Thread Feature
Reliable screw thread inspection begins by separating gross thread visibility from actual defect resolution. A lens-camera system may clearly display every thread while still lacking enough object sampling to detect a small burr, damaged flank, incomplete crest or root defect. For this reason, the threaded component should never be judged only by whether it “looks sharp” on the monitor.
The strongest design process starts with thread diameter, pitch, inspected length and the smallest permissible defect. The physical FOV can then be defined with only the necessary positioning margin, and pixels per millimetre can be calculated from the selected camera resolution. Focal length and working distance are then chosen to use the available sensor efficiently. Focus and aperture should be qualified using crest, flank and root features rather than only the easiest visible portion of the thread.
Kyptec Automation® provides a broad Machine Vision Lens portfolio covering several focal lengths, sensor formats and optical resolution classes, giving OEM machine builders and system integrators flexibility to design optics around coarse or fine thread geometries. By matching the appropriate Kyptec Automation® Machine Vision Lens to thread pitch, threaded length, defect size, required FOV, camera format and working distance, industrial inspection systems can create a stronger optical foundation for reliable thread counting, pitch evaluation, flank inspection, burr detection and missing-thread identification.

Share:
Machine Vision Lens for LCD, OLED and Flat-Panel Display Inspection: How to Detect Edge Defects, Alignment Errors, Surface Defects and Assembly Position
Machine Vision Lens for LCD, OLED and Flat-Panel Display Inspection: How to Detect Edge Defects, Alignment Errors, Surface Defects and Assembly Position