Adaptation of illumination settings for optical measurement and inspection systems
Abstract
A method for optical inspection of a feature of interest on a workpiece using an optical measuring system comprising at least one camera and a plurality of light sources, the method comprising: simulating illumination of a workpiece model; training, based on synthetic images obtained from the simulated illumination, an AI agent or an ML model to automatically control the plurality of light sources; inferring, in at least one image captured by the at least one camera, properties of the feature of interest on the workpiece; the trained AI agent controlling the plurality of light sources to select a light setting for illuminating the feature of interest; and optically inspecting the illuminated feature of interest while it is illuminated with the selected light setting.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (17 — 2 Independent, 15 Dependent)
- Claim 1Independent Claim
An optical measuring system for optical inspection of a feature of interest on a workpiece, the optical measuring system comprising a training unit and one or more optical measuring devices, each optical measuring device comprising a computing unit, at least one camera and a plurality of light sources, the light sources allowing selection of a plurality of different light settings, the computing unit being configured to at least partially control an optical inspection functionality of the optical measuring system for optical inspection of the feature of interest, wherein the training unit is configured to: simulate illumination of a workpiece model to obtain synthetic images; train, based at least partially on the obtained synthetic images, an artificial-intelligence model to automatically control the plurality of light sources; and provide the artificial-intelligence model to the one or more optical measuring devices, wherein simulating the illumination of the workpiece model comprises: providing 3D data of the workpiece model; approaching a representation of a feature on the workpiece model with a virtual camera and a plurality of virtual light sources, wherein the virtual light sources are arranged corresponding to an arrangement of the light sources of one or more of the optical measuring devices and allow selection of the same plurality of light settings as these light sources; rendering a plurality of base images imaging the representation of the feature from the viewpoint of the virtual camera under a set of specific, pre-defined light settings of the virtual light sources; and obtaining the synthetic images for all possible light settings of the virtual light sources by compositing the base images, wherein each of the one or more optical measuring devices is configured to: infer, in at least one image captured by the at least one camera, properties of the feature of interest on the workpiece; control, automatically by the trained artificial-intelligence model and based at least on the inferred properties, the plurality of light sources to select a light setting for illuminating the feature of interest; and optically inspect, using the at least one camera, the illuminated feature of interest while the feature of interest is illuminated with the selected light setting.
- Claim 2Depends on #1
The optical measuring system according to claim 1, wherein at least one of the one or more optical measuring devices comprises a probe head that is movable relative to the workpiece to approach the feature of interest, the probe head comprising the at least one camera and at least a first subset of the plurality of light sources, wherein controlling the plurality of light sources comprises controlling the light sources of the first subset, particularly wherein the feature of interest is approachable by the probe head for inferring the properties of the feature of interest, and/or for optically inspecting the feature of interest; and/or one or more of the optical measuring devices comprise a second subset of light sources that are not comprised by the probe head, can be controlled individually and are not movable relative to the workpiece, wherein controlling the plurality of light sources comprises controlling the light sources of the second subset.
- Claim 3Depends on #2
The optical measuring system according to claim 2, wherein: the first subset of light sources is arranged on the probe head around the at least one camera in one or more concentric rings, particularly in at least three concentric rings; and/or the plurality of light sources are arranged in at least eight, particularly at least twelve, individually controllable light groups.
- Claim 4Depends on #1
The optical measuring system according to claim 1, wherein the artificial-intelligence model is a reinforcement learning agent or a supervised machine learning agent.
- Claim 5Depends on #1
The optical measuring system according to claim 1, wherein the artificial-intelligence model is a Deep Q-Network or a Deep Neural Network.
- Claim 6Independent Claim
A method for optical inspection of a feature of interest on a workpiece using an optical inspection and/or measuring system comprising at least one camera and a plurality of light sources, the light sources allowing selection of a plurality of different light settings, the method comprising: inferring, in at least one image captured by the at least one camera, properties of the geometrical feature of interest on the workpiece; controlling, based at least on the inferred properties, the plurality of light sources to select a light setting for illuminating the feature of interest; and optically inspecting, using the at least one camera, the illuminated feature of interest while the feature of interest is illuminated with the selected light setting, simulating illumination of a workpiece model; and training, at least partly based on the simulated illumination, an artificial-intelligence model to automatically control the plurality of light sources, wherein simulating the illumination of the workpiece model comprises providing 3D data of the workpiece model; approaching a representation of a feature on the workpiece model with at least one virtual camera and a plurality of virtual light sources, wherein the virtual light sources are arranged corresponding to an arrangement of the light sources of the optical measuring system and allow selection of the same plurality of light settings as the light sources of the optical measuring system; rendering a plurality of base images imaging the representation of the feature from the viewpoint of the virtual camera under a set of specific, pre-defined light settings of the virtual light sources; and obtaining synthetic images for all possible light settings of the virtual light sources by compositing the base images, wherein training the artificial-intelligence model is based on the obtained synthetic images, and controlling the plurality of light sources is performed automatically by the trained artificial-intelligence model.
- Claim 7Depends on #6
The method according to claim 6, comprising defining an image quality key performance indicator that measures the adequacy of an image of a feature to be used for optically inspecting said feature, particularly wherein defining the image quality key performance indicator comprises deriving the image quality key performance indicator automatically from images.
- Claim 8Depends on #7
The method according to claim 7, wherein training the artificial-intelligence model comprises a reinforcement-learning loop being used for training a reinforcement learning agent, particularly using one of Deep Q-Network, Proximal Policy Optimization, Advantage Actor-Critic, and Actor-Critic with Experience Replay algorithms, in particular wherein the reinforcement learning agent, while controlling the plurality of light sources, is being retrained fully or semi-automatically.
- Claim 9Depends on #7
The method according to claim 7, wherein defining the image quality key performance indicator comprises deriving the image quality key performance indicator automatically from images and comprises: considering brightness and/or contrast around the feature of interest; measuring a density and/or deviations of contour points detected with an image processing algorithm around a specific region, curve or polygon; and/or measuring a complexity of contours detected with an image processing algorithm.
- Claim 10Depends on #6
The method according to claim 6, wherein a single-shot parameter estimation is applied in a supervised-machine-learning framework to directly estimate optimal light settings from an input image acquired with pre-defined light settings, particularly wherein the artificial-intelligence model is a classifier or a regressor, particularly with a Deep Neural Network architecture.
- Claim 11Depends on #6
The method according to claim 6, wherein simulating the illumination of the workpiece model comprises simulating illumination of a plurality of different workpiece models with a plurality of different geometrical features, the different geometrical features differing at least with regard to their shape and with regard to at least one of material, colour, roughness and specularity.
- Claim 12Depends on #6
The method according to claim 6, comprising moving a probe head of the optical measuring system to approach the feature of interest, the probe head comprising the at least one camera and at least a first subset of the plurality of light sources, wherein controlling the plurality of light sources comprises controlling the light sources of the first subset, particularly wherein: the feature of interest is approached by the probe head for inferring the properties of the feature of interest, and/or for optically inspecting the feature of interest; and/or controlling the plurality of light sources comprises controlling light sources that are part of a second subset, wherein the light sources of the second subset are not comprised by the probe head, can be controlled individually and are not movable relative to the workpiece.
- Claim 13Depends on #12
The method according to claim 12, wherein the feature of interest is approached by the probe head for optically inspecting the feature of interest, wherein: training the artificial-intelligence model comprises training to automatically control the movement of the probe head relative to the feature of interest to change a distance and an angle of the probe head relative to the feature of interest, and controlling the plurality of light sources comprises controlling the movement of the probe head relative to the feature of interest automatically by the trained artificial-intelligence model.
- Claim 14Depends on #12
The method according to claim 12, wherein the first subset of light sources is arranged around the at least one camera in one or more concentric rings, particularly in at least three concentric rings.
- Claim 15Depends on #6
The method according to claim 6, wherein the plurality of light sources are arranged in at least eight, particularly at least twelve, individually controllable light groups.
- Claim 16Depends on #6
A computer program product comprising program code stored in a non-transitory machine-readable medium having computer-executable instructions for performing, when run in a system, the method according to claim 6.
- Claim 17Depends on #15
A computer program product comprising program code stored in a non-transitory machine-readable medium having computer-executable instructions for performing, when run in a system, the method according to claim 15.
Technical Overview & Description
BACKGROUND The present disclosure generally pertains to the field of optical measurement and inspection systems and to optically measuring and inspecting workpieces. More specifically, the disclosure pertains to an automated adaptation of the illumination settings of optical measurement and inspection systems for the improved optical measurement or inspection of workpieces. Optical measurement machines and optical inspection machines are used in a wide variety of applications in quality management, quality assurance and production. In contrast to tactile measurement technology, optical measurement and inspection processes use light for contact-free measurement or inspection of a test object's properties. This technology makes use of the physical principles of absorption and reflection to capture the properties of whole surfaces and not just individual measuring points. Optical quality control involves the visual inspection of a workpiece or geometrical features thereof using a camera. Acquired images are used to visually, programmatically, or algorithmically — e.g., using image processing algorithms — detect defects or deviations from nominal dimensions and/or shapes. The quality and exploitability of such recorded images for quality control highly depend on the lighting. Optical inspection and/or measurement machines in general often comprise several lighting elements that can be controlled independently from one another, including different absolute or relative illumination levels for a multitude of lighting elements. These lighting elements may comprise top, back, and front lighting elements, wherein front lighting often includes ring lights that are arranged around the camera used for inspecting the workpiece. Top lighting may comprise a coaxial LED top light, and back lighting may comprise a telecentric LED back light. Both, top and back lighting may be fixedly installed in the optical inspection and/or measurement machine. The front lighting may be movable (e.
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
Non-Patent Literature (6)
- Leontaris, L. et al.,
- “
- An Autonomous Illumination System for Vehicle Documentation Based on Deep Reinforcement Learning,
- ”
- IEEE Access, vol. 9, pp. 75336-75348 (2021).
- Extended European Search Report dated Jun. 11, 2024 as received in Application No. 23216374.1.