Latest News on Onsemi Camera

Is a 4K USB Camera Capable of Catching Your Line's Smallest Defect?


An inspection camera can deliver a crisp picture of a whole part but fail to capture the feature that decides whether it passes inspection. Picture a production station checking moulded housings before packing. The inspection software can identify the mounting holes and read the printed label, but a small crack alongside a screw boss may vanish whenever the housing moves near the image boundary. A 4K USB camera could already have the resolution needed to complete this inspection. The decision comes down to the number of pixels covering the defect, the lighting conditions and the frames delivered to the software at operating speed.

Determine How Many Pixels Represent the Defect


First establish the smallest rejectable defect and the entire field the camera must capture. Consider an inspection setup requiring a 120 mm-wide field of view, with additional room for the housing to shift inside the fixture. A UHD 4K stream provides 3,840 horizontal pixels across this width, equivalent to roughly 32 pixels for each millimetre. A 0.10 mm-wide crack would therefore cover just over three pixels in ideal conditions. If the field of view increases to 180 mm without changing the stream resolution, that crack occupies just over two pixels. This reduction can influence detection when the crack has weak contrast or the software must estimate its width.

Treat these figures as a preliminary estimate instead of a complete assessment. A narrow line may cross pixel boundaries, while focus, contrast and the camera's processing can alter how clearly its edges appear. Check the actual output frame dimensions horizontally and vertically. When inspecting a tall part or an area near the top of the captured image, the available vertical pixels may impose the main limitation. Where perspective changes or optical distortion are relevant, measure the scale directly at the inspection position using a reference target placed at the same working distance.

Identify Why the Defect Becomes Invisible


Record the same defective housing at the frame centre and around the relevant edges. Then move the part to the maximum and minimum heights allowed within the fixture. If the crack remains visible in the centre but becomes blurred near the corners, examine whether lens characteristics or alignment are responsible. If the defect loses visibility as the component height varies, establish whether the depth of field is sufficient across that movement. A higher-resolution sensor combined with the same soft optics may only enlarge an already unclear edge.

Test different lighting angles while maintaining consistent camera settings. Light directed from a low angle may expose a raised burr or shallow surface mark through changes in brightness relative to the adjacent surface. Broad, diffuse illumination can reduce concentrated reflections on a glossy surface. When the inspection checks a silhouette, a backlight may provide a sharp outline of a tab or through-hole. If a single part requires several different inspection checks, each lighting arrangement may highlight a different detail. Testing two triggered images with separate lighting arrangements may be worthwhile provided that a single image fails to support one check consistently and the line cycle can accommodate both exposures.

See How Resolution Changes With a Fixed Field of View


Consider testing a 13MP monochrome USB camera if the inspection needs finer spatial detail without reducing the field of view and the relevant feature is identified through brightness or shape. A 20MP monochrome USB camera can provide additional spatial sampling when its delivered image contains more pixels along the relevant axis. Compare the actual output dimensions for every shortlisted camera. An increase in megapixels can result from extra vertical rows, which improve vertical coverage but provide a smaller improvement across the component's width.

Find out how every camera generates the image mode the application will use. A higher-resolution sensor may produce its 4K output by cropping part of the sensor, downscale a broader readout or use a different sensor readout configuration. With an unchanged lens and camera mount, a crop can reduce or otherwise change the visible inspection area. Scaling may preserve more of the inspection scene but remove some of the additional sampling offered by the full sensor resolution. Begin a fair comparison by checking that each camera includes the entire necessary inspection field, and subsequently assess the feature in the frames the software actually receives.

Evaluate Colour for Reliable Pass-or-Fail Checks


When two identification marks on the housing have nearly identical brightness, a monochrome image captured under broad white illumination may display them as almost the same grey shade. Using a 13MP colour USB camera can provide the colour information the software needs to distinguish the two identifiers. Consider a 20MP colour USB camera if the same inspection image also needs to capture tiny print or other fine features. Test these two requirements using the camera's real output, because reliable colour identification does not automatically guarantee sufficient detail for small print.

Provide consistent illumination and verify the permitted shade variations with samples from production. Auto white balance can change the rendered colour when a larger or smaller portion of the background enters the image. Where the camera permits it, setting a fixed white balance after calibration can make colour-based thresholds more consistent. Where the requirement is simply to differentiate between two identified materials, also consider testing a monochrome camera with selected illumination. Surfaces that produce similar brightness with white lighting may respond differently to a selected narrow band of light. Check whether the contrast remains consistent between batches and across different surface finishes.

Assess HDR for Inspection Areas Affected by Glare and Shadow


An 8MP 4K HDR USB camera may be worth evaluating when one frame needs to show usable detail in both a glossy fastener and a dark recessed area. Start by modifying the lighting or the orientation of the component to minimise direct reflections. Then assess standard exposure against HDR capture with components showing the strongest reflections and deepest shadowed regions. Review the precise inspection regions at full size rather than relying on an overall preview. A preview that looks clear overall may still contain saturated pixels adjacent to the fastener or insufficient contrast between the bottom of the recess and its boundary.

During a comparison between an onsemi camera module and another option, check both the sensor identification and the module's available HDR output mode. Check the available image resolution, capture rate and pixel format while operating in HDR mode. Where HDR output is created by merging exposures captured at separate moments, inspect edges on both moving and stationary components for ghosting. Where the camera supplies a tone-mapped frame, evaluate multiple samples near the acceptance boundary. Tone mapping can alter pixel brightness values relevant to the inspection threshold although the actual feature remains visible to a human inspector. Establish the inspection thresholds based on the output mode that will be used on the production line.

Assess Motion and Throughput Together


Increasing the frame rate gives the system more chances to record a part as it passes. The amount of movement recorded during a single image depends on the exposure duration. Suppose a housing travels at 200 mm per second with an exposure lasting one millisecond, it moves 0.20 mm during that exposure. For the 120 mm inspection width discussed earlier, the part shifts by about six pixels along its direction of motion. A crack represented by only three pixels may become difficult to identify when blur crosses its width. Evaluate whether a reduced exposure with stronger illumination can retain the defect boundary and consider whether a correctly timed strobe offers the required sharpness.

For comparisons involving 4K USB 3.2 Gen 1 cameras, estimate the data traffic using the intended operating mode. An uncompressed stream measuring 3,840 by 2,160 pixels at 30 frames per second with two bytes for each pixel contains approximately 498 megabytes of 13MP Color USB camera image data every second before accounting for transport overhead. In real operation, the nominal connection speed leaves less available bandwidth after accounting for communication overhead and traffic from other connected devices. An otherwise identical stream using one byte per pixel carries around half the image information. Compression may also lower the amount of data transferred, although decoding overhead and artefacts around fine edges must be assessed for their effect on detection.

Run each candidate 4K USB 3.2 Gen 1 camera using the production host using the actual cable, connection port and application software. Connect the other cameras and devices expected to use the shared USB controller. Measure capture requests and compare them with the total frames actually processed, and record the time between the trigger event and the completed inspection decision. A test showing only the average frame rate may fail to expose short interruptions caused by buffering. Those delays may affect the result where the reject mechanism has limited time to respond to the specific part being inspected.

Let Borderline Components Determine the Best Setup


Prepare a test sample collection containing borderline defects alongside clearly defective and acceptable components. Make sure the sample set covers marks, surface texture differences and tool-wear patterns that an experienced human inspector would pass. Examine components at different positions and orientations within the allowable fixture tolerances, while also running the test again at the fastest expected production speed. Keep individual records for undetected faults and good parts that receive a false reject decision. A threshold that catches all cracks in a small test does not necessarily perform adequately during full production if good parts are rejected whenever their normal texture varies.

Examine each error in its recorded frame before making hardware changes. Should detection failures cluster towards the image edges, focus on lens performance and the position of the part. When the missed features correspond with bright reflections, repeat the illumination and HDR tests. If the feature can no longer be detected only when the line runs at speed, review exposure duration and triggering behaviour. Where a higher-resolution mode reliably reveals additional detail once these factors are addressed, compare the improvement in successful detections with the additional processing time and image data. Keep example images and note the optical setup, exposure parameters, illumination position and output configuration so that the approved inspection arrangement can be reproduced consistently.

Important Questions Before Finalising the Inspection Configuration


Will Cropping an Image in Software Reduce USB Bandwidth Use?


A crop performed by the host after receiving a complete frame may reduce the image area processed by the inspection algorithm, while the complete image continues to be transferred through USB. A camera-side region of interest can reduce the data transferred if the module can output smaller frames. Confirm the reported output dimensions and ensure the selected region still accommodates expected component movement.

What Should Be Checked After Replacing the Camera Lens?


Use a reference target placed at the standard part height to check scale, camera alignment and image clarity at both the centre and edges of the inspection region. Follow this by testing a small group of approved passing parts together with borderline samples. A replacement lens may shift the visible inspection area or the point of best sharpness despite both lenses sharing an identical nominal focal length.

Conclusion


Select the camera and imaging mode that consistently reveal the smallest rejectable feature throughout the required field of view without exceeding the time available for an inspection decision during the production cycle. A 4K HDR USB camera becomes worthwhile when it preserves the inspection information needed in bright reflections and darker regions. A 13MP or 20MP camera may be the better choice when finer spatial sampling reduces missed features as long as the inspection computer can process the additional image data before the decision deadline. Store the borderline sample frames alongside the approved camera and inspection settings allowing later adjustments to the lens, illumination or application software to be checked against the original acceptance criteria.

Leave a Reply

Your email address will not be published. Required fields are marked *