Recessed connector contacts can remain dark even when the surrounding housing looks evenly illuminated. The opening may block the light, the camera's view, or both. Shiny contact faces add another difficulty: a small change in tilt can redirect their reflections away from the lens. For connector inspection, start by comparing near-axis coaxial illumination with a high-angle ring. The following geometry checks and image tests help you choose a layout that lights the contacts across the complete field without washing out the housing.
Start with coaxial illumination, then test a ring
For deep, narrow recesses, coaxial lights are usually the first geometry to test. A beam splitter directs illumination toward the part along the camera's viewing direction. This reduces the lateral displacement of the light as it travels down a hole.
Ring lights become practical when the opening admits their oblique rays. A ring positioned farther above the connector can send light closer to the hole axis than the same ring mounted near the surface. The relevant angle is the ray angle at the contact, not simply the angle printed in a product description.
Neither arrangement guarantees bright contacts. A smooth metal face returns a strong reflection toward the camera only when its orientation and the illumination geometry permit it. For that distinction, the guide to lighting shiny metal pins explains why brightness changes with surface shape and reflection direction.
| Inspection condition | First arrangement to test | Main limitation |
|---|---|---|
| Deep, narrow holes with nearly flat contact faces | Near-axis coaxial illumination | Contact tilt can redirect the reflection |
| Shallow recesses with generous opening clearance | High-angle ring illumination | Oblique rays may clip the hole wall |
| Contacts with varied surface slopes | Broader angular illumination, if clearance permits | Wider illumination angles may not reach the recess |
| Bright housing surrounding dark contacts | Either geometry with carefully controlled exposure | Housing reflections may saturate before contacts become usable |
Treat the table as a test order, not a promise. The broader guide to surface and silhouette lighting angles helps distinguish direct reflection from light scattered by edges and texture.
Calculate whether light can reach the contact
Start with an idealized cylindrical hole and a circular contact face centered beneath it. Measure the clear opening radius, the radius of the contact area you need illuminated, and the recess depth. Use the narrowest opening along the light path, including any internal shoulder.
For approximately parallel rays, a useful geometric bound is:
This estimates the largest angle that illuminates the complete chosen contact area without clipping. It assumes straight walls, centered features and no obstruction above the opening. Chamfers, offsets and irregular contacts require a more detailed check.
Consider a hypothetical opening diameter of 1.50 mm, a contact diameter of 0.80 mm and a depth of 3.0 mm:
Illuminating only the contact center allows a wider angle: arctan(0.75 / 3.0), approximately 14 degrees. That difference explains why a pin can show a bright spot while much of its face remains dark.
For a hypothetical ring with an effective emitting radius of 25 mm, positioned 150 mm above the contact plane, the central ray angle is approximately arctan(25 / 150), or 9.5 degrees. That passes the center-only check but fails the complete-face check. This estimate applies at the field center; peripheral holes need separate evaluation.
Check the camera's view across the field
Light reaching a contact does not mean the camera can see it. The opening can also block rays returning toward the lens, especially at the field edges.
For a conventional lens viewing a flat connector, an approximate chief-ray angle is arctan(x / L). Here, x is the contact's lateral distance from the optical axis, and L is the axial distance from the contact plane to the lens entrance pupil. This is an estimate; the entrance pupil is not necessarily at the lens front surface.
At x = 30 mm and L = 150 mm, the viewing angle is approximately 11.3 degrees. In the previous recess example, that exceeds the complete-face clearance estimate of 6.7 degrees. More light cannot restore a contact area hidden by the wall.
Check the center, all corners and the outermost rows before adjusting brightness. Increasing viewing distance or dividing the inspection between views may reduce obstruction, but each changes the optical design. Object-space telecentric imaging can reduce chief-ray angle variation, although its finite collection cone and the hole geometry still need checking.
The guide to large-field illumination coverage and brightness addresses the related problem of delivering useful illumination across the whole inspection area.
Define useful brightness, not maximum brightness
Specify what the image must distinguish before choosing an exposure. Detecting a missing contact, locating its center and inspecting its surface require different image quality. A small bright reflection may support presence detection while providing too little information for face inspection.
Check sampling separately from lighting. If the smallest feature you need to evaluate is 0.20 mm and your starting budget is 4 pixels across it, a 60 mm horizontal field requires:
Four pixels is an initial detection budget, not a measurement-accuracy guarantee. Blur, clipping and weak contrast can make those pixels unusable. Use the resolution calculator to explore different field widths and feature sizes.
For each contact, measure a representative contact intensity and the nearby background intensity. Use a consistent region that excludes the hole rim and unrelated reflections. One simple separation measure is their absolute difference:
For an illustrative 8-bit image, a contact intensity of 170 and background intensity of 80 give 90 digital levels of separation. If the darkest contact falls to 105, its separation is only 25 levels. The latter contact is the more useful exposure-setting reference, provided its background remains comparable.
Record spatial variation too. Contact intensities ranging from 120 to 180 produce a minimum-to-maximum ratio of 120 / 180 = 0.67. That ratio describes brightness variation, not inspection reliability; the required separation depends on noise, part variation and the decision method.
Choose trial hardware without assuming optical coverage
The LS-CXL-0067 coaxial light source is a candidate for the near-axis trial. Confirm its clear optical aperture, useful illuminated field and permitted mounting geometry before treating it as a match for your connector.
- Size
- 100-200 mm
- Voltage
- 24 V
Do not equate a light's external dimensions with its usable inspection area. The camera must view through the optical path without mechanical clipping, and the illumination must cover the required field at the intended spacing. A coaxial arrangement also introduces optical losses that must fit your exposure budget.
The LS-RNG-0810 ring light is listed with a 70° angle. Confirm the angle's reference direction and the emitted beam distribution before comparing it with the hole-axis angles calculated above.
- Type
- Standard
- Angle
- 70°
- Voltage
- 24 V
A ring's opening must clear the lens viewing cone, not merely fit around the lens barrel. Check clearance at the closest and farthest intended mounting positions. Moving the ring changes both illumination angle and irradiance, so compare images only after recording the new geometry.
Use the lighting finder to narrow the mechanical and electrical options. For the first optical comparison, keep illumination color unchanged where possible. If color also changes, treat it as a separate variable; the guide to LED color and inspection contrast explains why the housing and contact may respond differently.
Run a controlled full-field comparison
Use representative connectors rather than a single visually clean sample. Include the expected range of contact recess depths, plating appearance, housing finishes and allowable seating positions. Record which variations are known and which remain untested.
- Fix the camera settings. Disable automatic exposure and gain during comparison. Keep focus, aperture and image processing unchanged so a lighting change remains identifiable.
- Establish viewing clearance. Inspect the contact boundaries at the center and field edges. Rotate or translate the sample slightly to distinguish a hidden surface from a poorly illuminated one.
- Test coaxial illumination first. Adjust output and exposure within their documented limits. Record the darkest contact, brightest contact, housing peak and clipped-pixel locations.
- Test several ring positions. Start with rays close to the hole axis, then vary height or radius where the fixture permits. Record dimensions rather than describing a position as simply high or low.
- Repeat across expected part poses. Test the allowed lateral offsets and tilts. A setting that works only with perfect alignment is not a production-ready choice.
- Apply the intended inspection. Check missed contacts and false detections, not only how attractive the image looks. Save the raw images and settings for each trial.
For a manageable initial comparison, use 3 ring heights and 3 exposure settings, giving 3 × 3 = 9 combinations. This is a screening matrix, not a qualification sample size. Repeat the promising combinations across the actual part population.
Where motion is present, keep the exposure inside the motion-blur budget. Extending exposure can make a stationary trial look successful while failing on the moving line. Light output and any pulsed operation must remain within the equipment's documented limits.
The lens and lighting selection test plan provides a useful structure for retaining settings, representative images and acceptance criteria.
Recognize when the usual answer is wrong
Coaxial illumination can fail when the contact faces are tilted, curved or rough enough that their useful reflections do not return toward the lens. A broader illumination cone may help, but only the angles admitted by the recess can contribute directly. Brightening rays that strike the walls instead may increase background without improving the contact signal.
A high-angle ring can fail because its central geometry looks suitable while the outer holes receive different ray angles. Some sectors may illuminate a contact while others are blocked. Judge the weakest contact and the actual inspection output, not the average image brightness.
A diffuse dome may improve exposed shiny surfaces yet contribute little inside a narrow recess. Most of its angular illumination can be blocked before reaching the contact. The guide to dome lighting for curved and shiny parts explains where broad angular coverage is useful and where its geometry becomes restrictive.
Polarization is another trial variable, not a cure for obstruction. Its effect depends on the housing material, metal surface and reflection geometry, and it reduces available signal. Compare it only after verifying that the light path and camera view are physically clear.
Finally, if only presence is required, a stable partial reflection may be sufficient. Do not impose complete-face uniformity unless the inspection actually needs it. For surface defects or dimensional measurements, however, missing regions cannot simply be ignored.
Check these details before ordering
- Inspection objective: State whether you need presence, position or surface condition. Each requires different visible contact information.
- Recess dimensions: Record the narrowest opening, depth, contact size and allowable offsets. Nominal drawings alone may miss limiting geometry.
- Viewing clearance: Verify the outermost contacts at the intended working distance. Separate optical obstruction from insufficient illumination.
- Useful illuminated field: Confirm coverage at the planned mounting position. Housing dimensions do not establish optical coverage.
- Worst-case contrast: Retain images showing the darkest valid contact and the most reflective housing. Average brightness is not an acceptance criterion.
- Exposure and control: Confirm electrical compatibility, triggering requirements and permitted operating limits. Document the chosen camera settings.
- Adjustment space: Reserve room to change light height and alignment during commissioning. A fixed bracket can prevent useful optimization.
Take the recess dimensions, required field, sample images and exposure limit to the light configuration step. If the opening or viewing clearance remains uncertain, request application support before selecting the final arrangement.
Questions
Which light should I try first for deeply recessed connector pins?
Start with near-axis coaxial illumination when narrow openings restrict the available light paths. Then test a high-angle ring if the recess admits its rays. The final choice depends on contact orientation, camera viewing clearance and the weakest contact's contrast, rather than average image brightness.
Why are the outer connector contacts darker than the center?
An outer contact may receive a different illumination angle or be partly hidden from the lens by its hole wall. Move the connector so that the same contact appears near the image center. If its appearance improves, investigate field-dependent viewing and lighting geometry before increasing output.
How can I brighten contacts without saturating the connector housing?
Use fixed camera settings and examine separate regions for contacts, hole rims and housing. Watch clipped pixels as well as average intensity. If the housing reaches saturation before contacts provide reliable separation, change illumination geometry or the inspection strategy rather than continuing to increase exposure.
Does a ring light's listed angle prove it will illuminate a recess?
No. The stated angle needs a defined reference direction, and the actual rays reaching a contact also depend on emitting radius, mounting distance and beam spread. Calculate clearance using angles measured from the hole axis, then verify the proposed light at the intended position.
Does the entire contact face need to appear uniformly bright?
Not necessarily. Presence detection may work with a repeatable partial reflection, provided it remains distinguishable across permitted part variation. Surface inspection and dimensional measurement usually need more complete visibility. Define the required image information first, then qualify the lighting against that requirement.

