Search

CN-122016652-A - Industrial fly shooting method, device and equipment for appearance detection of micro element

CN122016652ACN 122016652 ACN122016652 ACN 122016652ACN-122016652-A

Abstract

The application discloses an industrial fly-swatter method, device and equipment for detecting the appearance of a tiny element, and relates to the technical field of industrial fly-swatters. The method comprises the steps of receiving trigger signals aiming at moving materials, generating a plurality of groups of control signals which are arranged in time sequence under the action of one trigger signal based on preset time sequence control parameters, wherein the time sequence control parameters comprise trigger delay parameters and shooting interval parameters, controlling regional light sources to be respectively and sequentially started under different illumination conditions in different time periods according to the plurality of groups of control signals, triggering a camera to perform exposure shooting for corresponding times while each light source is started, and controlling the time interval between two adjacent shooting times so that the movement displacement of the materials in the time interval is smaller than the visual field range of the camera, and obtaining a plurality of images which are output by the camera and correspond to different illumination conditions. The method improves the adaptability to various defects and gives consideration to the detection efficiency and the system integration level.

Inventors

  • MENG YE

Assignees

  • 苏州英诺威视半导体设备有限公司

Dates

Publication Date
20260512
Application Date
20260409

Claims (10)

  1. 1. An industrial fly-swatter method for appearance detection of tiny elements, the method comprising: receiving a trigger signal for moving materials; Generating a plurality of groups of control signals which are arranged in time sequence under the action of a trigger signal based on preset time sequence control parameters, wherein the time sequence control parameters comprise a trigger delay parameter and a shooting interval parameter; According to the multiple groups of control signals, controlling the regional light sources to be sequentially started under different illumination conditions in different time periods; triggering a camera to perform exposure shooting for corresponding times while each light source is started; and controlling the time interval between two adjacent shooting times, so that the motion displacement of the material in the time interval is smaller than the visual field range of the camera, and obtaining a plurality of images which are output by the camera and correspond to different illumination conditions.
  2. 2. The industrial fly-swatter method for appearance inspection of micro-elements of claim 1, wherein the zoned light source comprises a plurality of independently controlled light source zones, each light source zone differing in illumination color and/or illumination angle, and the controlling the zoned light source to turn on sequentially comprises selecting different light source zones or combinations of different light source zones to turn on according to a preset sequence.
  3. 3. The industrial fly-swatting method for appearance detection of minute elements according to claim 1, wherein generating a plurality of sets of control signals arranged in time sequence under the action of a trigger signal based on a predetermined time sequence control parameter, comprises: Generating a first group of control signals by delaying a preset time after receiving the trigger signal according to the trigger delay parameter; and sequentially generating subsequent control signals according to the shooting interval parameters and preset time intervals.
  4. 4. An industrial fly-swatting method for appearance inspection of tiny elements in accordance with claim 3, wherein triggering the camera to take exposure shots for a corresponding number of times while each of the light sources is on comprises: setting exposure time according to corresponding illumination conditions for each exposure shooting while each light source is started; when the cameras are triggered to perform exposure shooting for each time while the light sources are turned on, the cameras are respectively controlled to complete exposure for corresponding time periods according to the set exposure time.
  5. 5. An industrial fly-swatting method for appearance inspection of tiny elements in accordance with any of claims 1-4, wherein the method further comprises: And classifying and distributing the images according to the shooting sequence of the images corresponding to different illumination conditions output by the camera, so as to respectively input the images to different image processing modules.
  6. 6. The industrial fly-by method for appearance inspection of minute elements according to claim 5, wherein the images are classified and allocated according to their photographing order to be respectively inputted to different image processing modules, comprising: distributing images of an odd shooting sequence to a first image processing module, and performing first-type defect detection on the images of the odd shooting sequence; Distributing the images of the even shooting sequence to a second image processing module, and performing second-type defect detection on the images of the even shooting sequence; the first type of defect detection and the second type of defect detection correspond to defect types with enhanced characterization under different illumination conditions respectively.
  7. 7. An industrial fly-swatter device for appearance detection of tiny elements, the device comprising: the signal receiving module is used for receiving a trigger signal aiming at the moving material; the signal generation module is used for generating a plurality of groups of control signals which are arranged in time sequence under the action of one trigger signal based on preset time sequence control parameters, wherein the time sequence control parameters comprise trigger delay parameters and shooting interval parameters; The light source control module is used for controlling the regional light sources to be sequentially started under different illumination conditions in different time periods according to the multiple groups of control signals; the exposure shooting module is used for triggering the camera to perform exposure shooting for corresponding times when each light source is started; And the image acquisition module is used for controlling the time interval between two adjacent shooting, so that the motion displacement of the material in the time interval is smaller than the visual field range of the camera, and a plurality of images corresponding to different illumination conditions output by the camera are obtained.
  8. 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the industrial fly-swatting method for appearance detection of tiny elements according to any of claims 1 to 6 when executing the computer program.
  9. 9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the industrial fly-swatter method for appearance detection of tiny elements according to any one of claims 1 to 6.
  10. 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the industrial fly-swatting method for appearance detection of tiny elements according to any of claims 1 to 6.

Description

Industrial fly shooting method, device and equipment for appearance detection of micro element Technical Field The invention relates to the technical field of industrial flyswatter, in particular to an industrial flyswatter method, an industrial flyswatter device and industrial flyswatter equipment for detecting the appearance of a tiny element. Background In the field of industrial automation detection, for appearance quality detection of tiny elements (such as capacitance, resistance, etc.), high-precision non-contact detection is usually realized by relying on a machine vision technology. The industrial aerial photographing technology is used as a common image acquisition mode, photographing is completed within extremely short exposure time through a global shutter camera, and the problem of image distortion or smear caused by high-speed movement of a measured material can be effectively avoided. However, since the types of defects of the minute element are various, such as surface scratches, chipping, contamination, cracks, and the like, different types of defects have a strong dependence on the illumination conditions. Specifically, different defects show different contrast and identifiability under different illumination colors, illumination angles and light intensity conditions, so that it is often difficult to simultaneously consider the detection requirements of multiple defects under a single shooting condition. In the prior art, in order to ensure the synchronization between the light source and the camera exposure, two triggering modes are generally adopted, namely, one triggering the light source to be started by a camera exposure signal and the other triggering the camera exposure by a light source starting signal. The method can realize basic synchronous control, but has the defects that on one hand, in the single exposure process, only one fixed illumination condition can be corresponding, and image information suitable for identifying various defects is difficult to acquire, and on the other hand, if a plurality of sets of light sources or a plurality of cameras are adopted for shooting under different conditions, the hardware cost and the space occupation of a system can be obviously increased, and meanwhile, the system integration complexity is higher, so that the method is not beneficial to popularization and application in a high-speed detection scene. Therefore, how to realize rapid and repeated imaging of the same moving material under a plurality of different illumination conditions on the premise of not remarkably increasing hardware cost and system complexity, thereby improving the detection capability of multiple types of defects, and becoming a technical problem to be solved in the field. Disclosure of Invention The application aims to provide an industrial flying shooting method, device and equipment for detecting the appearance of a tiny element, which are characterized in that a plurality of groups of control signals are generated based on preset time sequence control parameters under the action of a trigger signal, and a regional light source and a camera are coordinated to realize multiple synchronous exposure shooting, so that the same moving material is continuously imaged under different illumination conditions, and meanwhile, the displacement of the material is always in the field of view of the camera by controlling the shooting interval. Compared with the prior art that only one shooting can be finished under a single illumination condition or multiple sets of equipment are relied on to realize multi-condition imaging, the method and the device can acquire multiple images corresponding to different illumination conditions in a single triggering process without adding additional hardware, so that multi-dimensional image information is provided for the subsequent identification of different types of defects, the adaptability to multiple defects is improved, and the detection efficiency and the system integration level are both considered. In order to achieve the above purpose, the present invention provides the following technical solutions: in a first aspect, the present invention provides an industrial fly-swatter method for appearance detection of a tiny element, the method comprising: receiving a trigger signal for moving materials; generating a plurality of groups of control signals which are arranged in time sequence under the action of a trigger signal based on preset time sequence control parameters, wherein the time sequence control parameters comprise a trigger delay parameter and a shooting interval parameter; according to the multiple groups of control signals, controlling the regional light sources to be sequentially started under different illumination conditions in different time periods; Triggering the camera to perform exposure shooting for corresponding times while starting each light source; And controlling the time interval between two adjacent shooti