CN118603991B - A method and system for positioning a light source in a brake disc defect detection process - Google Patents

A method and system for positioning a light source in a brake disc defect detection process Download PDF

Info

Publication number
CN118603991B
CN118603991B CN202410718632.5A CN202410718632A CN118603991B CN 118603991 B CN118603991 B CN 118603991B CN 202410718632 A CN202410718632 A CN 202410718632A CN 118603991 B CN118603991 B CN 118603991B
Authority
CN
China
Prior art keywords
light source
brake disc
defect detection
information
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410718632.5A
Other languages
Chinese (zh)
Other versions
CN118603991A (en
Inventor
葛程阳
郭俊
杨阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Heilongjiang Xintie Intelligent Equipment Co ltd
Original Assignee
Yancheng Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yancheng Institute of Technology filed Critical Yancheng Institute of Technology
Priority to CN202410718632.5A priority Critical patent/CN118603991B/en
Publication of CN118603991A publication Critical patent/CN118603991A/en
Application granted granted Critical
Publication of CN118603991B publication Critical patent/CN118603991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8883Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges involving the calculation of gauges, generating models

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明提供一种用于刹车盘缺陷检测过程中的光源定位方法及系统,其中,方法包括:步骤1:获取刹车盘的缺陷检测需求;步骤2:获取光源参数;步骤3:基于缺陷检测需求,根据光源参数,建立光照模型;步骤4:获取刹车盘的动态信息;步骤5:根据动态信息和光照模型,确定光源定位向量,并根据光源定位向量进行光源定位。本发明的一种用于刹车盘缺陷检测过程中的光源定位方法及系统,获取刹车盘的缺陷检测需求和光源参数,基于缺陷检测需求和光源参数,建立光照模型。将刹车盘的动态信息输入光照模型,获取光照模型输出的光源定位向量,根据光源定位向量控制目标光源照射刹车盘,光照更适宜,提升了后续缺陷检测的精度。

The present invention provides a method and system for positioning a light source in a process of detecting defects in a brake disc, wherein the method comprises: step 1: obtaining defect detection requirements of the brake disc; step 2: obtaining light source parameters; step 3: establishing an illumination model based on the defect detection requirements and light source parameters; step 4: obtaining dynamic information of the brake disc; step 5: determining a light source positioning vector based on the dynamic information and the illumination model, and positioning the light source based on the light source positioning vector. The present invention provides a method and system for positioning a light source in a process of detecting defects in a brake disc, obtaining defect detection requirements and light source parameters of the brake disc, and establishing an illumination model based on the defect detection requirements and light source parameters. The dynamic information of the brake disc is input into the illumination model, the light source positioning vector output by the illumination model is obtained, and the target light source is controlled to illuminate the brake disc according to the light source positioning vector, so that the illumination is more appropriate, thereby improving the accuracy of subsequent defect detection.

Description

Light source positioning method and system for brake disc defect detection process
Technical Field
The invention relates to the technical field of industrial vision, in particular to a light source positioning method and system used in a brake disc defect detection process.
Background
Currently, quality control plays a critical role in manufacturing. However, in a large-scale production process, defects and failures are inevitably generated, and these problems adversely affect the quality of the product and the production efficiency. The traditional manual inspection cannot meet the quality control requirements of high efficiency and high precision, so that the machine vision defect detection technology is generated. In quality control, the difficulty of scratch detection is reflected in aspects such as illumination reflection, workpiece surface texture and environmental noise influence, and the extracted scratches are broken, so that the problem of inaccurate defect detection is caused.
The invention patent with the application number of CN202111146179.8 discloses a brake disc gluing defect detection device and method based on multi-vision, wherein the detection device consists of a checkerboard calibration plate, an illumination module, an imaging module and a main control unit, the checkerboard calibration plate is used for solving a transformation matrix among a plurality of cameras, the illumination module is used for providing illumination for detection, the imaging module is used for collecting brake disc images required to be detected and filtering out the influence of natural light, the imaging module is used for adjusting the positions and angles of the cameras through a bracket, the main control unit is used for controlling the illumination module and the imaging module, detecting and positioning the defects of the collected images, receiving signals to be detected through communication of an IO card and a PLC, transmitting detection results, and further controlling production on a production line. Said invention can implement on-line automatic detection of brake disk gluing defect on the production line, and can make up for the defect of manual inspection, and its defect identification accuracy is high, detection omission rate and false detection rate are low, detection speed is high, and can ensure the gluing quality and production efficiency of brake disk.
However, in the above prior art, more cameras need to be arranged to improve the accuracy of defect detection based on multi-view, and the requirements for hardware arrangement are high.
In view of the foregoing, there is a need for a method and a system for positioning a light source in a brake disc defect detection process, which at least solve the above-mentioned drawbacks.
Disclosure of Invention
The invention aims to provide a light source positioning method and a system for a brake disc defect detection process, which are used for acquiring the defect detection requirement and the light source parameter of a brake disc and establishing an illumination model based on the defect detection requirement and the light source parameter. Dynamic information of the brake disc is input into the illumination model, a light source positioning vector output by the illumination model is obtained, a target light source is controlled to irradiate the brake disc according to the light source positioning vector, illumination is more proper, and the accuracy of subsequent defect detection is improved.
The embodiment of the invention provides a light source positioning method for a brake disc defect detection process, which comprises the following steps:
step 1, acquiring defect detection requirements of a brake disc;
step 2, acquiring light source parameters;
step 3, based on the defect detection requirement, establishing an illumination model according to the light source parameters;
step4, acquiring dynamic information of a brake disc;
and 5, determining a light source positioning vector according to the dynamic information and the illumination model, and positioning the light source according to the light source positioning vector.
Preferably, step 4, obtaining dynamic information of the brake disc includes:
positioning a brake disc based on a binarization algorithm to obtain positioning information;
and determining dynamic information of the brake disc according to the positioning information in the target moment.
Preferably, step1, obtaining a defect detection requirement of a brake disc comprises the following steps:
acquiring detection platform information for detecting defects of a brake disc;
Acquiring brake disc parameter information;
Obtaining defect type information to be detected;
And extracting a template based on the defect detection requirement, and determining the defect detection requirement according to the detection platform information, the brake disc parameter information and the defect type information.
Preferably, the step 2 of acquiring the light source parameters includes:
acquiring light source type information and layout information of a target light source;
acquiring adjustable parameter information of a target light source;
and the light source type information, the layout information and the adjustable parameter information are used as light source parameters together.
Preferably, step 3, based on defect detection requirements, establishes an illumination model according to light source parameters, including:
establishing a light source model according to the light source parameters;
acquiring first brake disc defect detection data;
screening the first brake disc defect detection data to determine second brake disc defect detection data, wherein the second brake disc defect detection data is consistent with the defect detection type of the defect detection requirement;
Training comprehensive judgment is carried out on the second brake disc defect detection data, and a target training sample is determined;
based on the target training sample, a lighting model is built according to the light source model.
Preferably, training comprehensive judgment is performed on the second brake disc defect detection data, and a target training sample is determined, including:
Extracting first detection demand characteristics based on second brake disc defect detection data;
extracting second detection requirement characteristics according to the defect detection requirements;
performing feature matching on the first detection demand feature and the second detection demand feature of the same detection demand feature type, determining a detection demand feature type with the feature matching being inconsistent, and taking the detection demand feature type as a missing detection demand feature type;
determining a characteristic fitting condition of the type of the missing detection demand characteristic;
Based on the characteristic fitting condition, judging whether characteristic fitting can be performed according to the first detection demand characteristic of the missing detection demand characteristic type and the second detection demand characteristic of the missing detection demand characteristic type;
and carrying out comprehensive training judgment and determining a target training sample according to different judgment results.
Preferably, determining the feature fitting condition of the missing detection demand feature type includes:
the first feature number of the first detection demand features of the missing detection demand feature type is larger than or equal to a preset first target number;
The second feature number of the second detection demand features of the missing detection demand feature type is larger than or equal to a preset second target number;
The sequence position of the first detection requirement feature or the second detection requirement feature, which is not matched with the feature, in the detection requirement feature sequence is not positioned at the head part of the sequence or at the tail part of the sequence;
The fitting feature of the sequence position N and the first detection requirement feature or the second detection requirement feature at the position N-1 in front of the sequence position meet a first continuous condition, wherein the first continuous condition is a characteristic value increasing and decreasing relation from the sequence position N-1 to the sequence position N-2, N is a positive integer larger than 2;
The fitting feature of the sequence position N and the first detection requirement feature or the second detection requirement feature at the position N+1 behind the sequence position meet a second continuous condition, wherein the second continuous condition is the characteristic value increasing and decreasing relation between the sequence position N+1 and the sequence position N+2.
Preferably, according to the difference of the judging results, performing training comprehensive judgment and determining a target training sample comprises:
If the first detection demand feature or the second detection demand feature of each missing detection demand feature type can be subjected to feature fitting, training is comprehensive, third brake disc defect detection data are determined according to feature fitting results, and the second brake disc defect detection data and the third brake disc defect detection data are taken as target training samples together;
and if the first detection demand characteristics or the second detection demand characteristics of the missing detection demand characteristic type cannot be subjected to characteristic fitting, carrying out sample supplement acquisition.
The embodiment of the invention provides a light source positioning system for a brake disc defect detection process, which further comprises:
and 6, acquiring a first projection light spot after the light source is positioned, and adjusting the light source parameters according to the first projection light spot.
Preferably, step 6, obtaining a first projection light spot after the light source is positioned, and adjusting the light source parameters according to the first projection light spot, includes:
acquiring information of overflow light spots projected by a first projection light spot behind a brake disc based on a photosensitive component of a detection platform preset on the brake disc;
characterizing the information of the overflowing light spot to obtain the characteristics of the overflowing light spot, wherein the characteristics of the overflowing light spot comprise the light intensity of the light spot and the shape of the light spot;
obtaining a standard light spot matrix;
Determining an overflow light spot matrix according to the overflow light spot characteristics based on the same construction rule of the standard light spot matrix;
Based on a preset matrix operation rule, determining an operation result matrix according to a standard light spot matrix and an overflow light spot matrix;
Splitting an operation result matrix according to a construction rule, and determining an operation result vector;
and determining a model control channel according to the operation result vector, inputting the model control channel, and adjusting the parameters of the light source.
The embodiment of the invention provides a light source positioning system for a brake disc defect detection process, which comprises the following components:
The defect detection requirement acquisition subsystem is used for acquiring the defect detection requirement of the brake disc;
the light source parameter acquisition subsystem is used for acquiring light source parameters;
the illumination model building subsystem is used for building an illumination model according to the light source parameters based on the defect detection requirements;
the dynamic information acquisition subsystem is used for acquiring dynamic information of the brake disc;
And the light source positioning subsystem is used for determining a light source positioning vector according to the dynamic information and the illumination model and performing light source positioning according to the light source positioning vector.
Preferably, the dynamic information acquisition subsystem comprises:
the positioning information acquisition module is used for positioning the brake disc based on a binarization algorithm and acquiring positioning information;
and the dynamic information determining module is used for determining the dynamic information of the brake disc according to the positioning information in the target moment.
The beneficial effects of the invention are as follows:
the method acquires the defect detection requirement and the light source parameter of the brake disc, and establishes an illumination model based on the defect detection requirement and the light source parameter. Dynamic information of the brake disc is input into the illumination model, a light source positioning vector output by the illumination model is obtained, a target light source is controlled to irradiate the brake disc according to the light source positioning vector, illumination is more proper, and the accuracy of subsequent defect detection is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objects and other advantages of the application may be realized and obtained by means of the instrumentalities particularly pointed out in the specification.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of a light source positioning method for brake disc defect detection in an embodiment of the invention;
fig. 2 is a schematic diagram of a light source positioning system for use in a brake disc defect detection process according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides a light source positioning method used in a brake disc defect detection process, as shown in fig. 1, comprising the following steps:
The method comprises the steps of 1, obtaining defect detection requirements of a brake disc, wherein the defect detection requirements are information of which type of defects of the brake disc need to be detected, such as crack information of the brake disc with a certain specification on a conveyor belt;
Step 2, acquiring light source parameters, wherein the light source parameters are characteristics (such as intensity, color, wavelength, shape and size of the light source and the like) of a light source (such as a ball integral light source) for illuminating the brake disc;
Step 3, establishing an illumination model based on the defect detection requirement and according to the light source parameters, wherein the illumination model is an AI model for determining illumination parameters (such as light source postures, light control information and the like) meeting the defect detection requirement, and learning historical brake disc defect detection records based on a machine learning technology to obtain;
Step 4, acquiring dynamic information of the brake disc, wherein the dynamic information is the position information, the movement direction and the movement speed of the brake disc;
And 5, determining a light source positioning vector according to the dynamic information and the illumination model, and positioning the light source according to the light source positioning vector. The light source positioning vector is a description vector of the position and the direction when the light source shines and meets the detection requirement of the brake disc.
The working principle and the beneficial effects of the technical scheme are as follows:
the method acquires the defect detection requirement and the light source parameter of the brake disc, and establishes an illumination model based on the defect detection requirement and the light source parameter. Dynamic information of the brake disc is input into the illumination model, a light source positioning vector output by the illumination model is obtained, a target light source is controlled to irradiate the brake disc according to the light source positioning vector, illumination is more proper, and the accuracy of subsequent defect detection is improved.
In one embodiment, step4, obtaining dynamic information of the brake disc includes:
Positioning the brake disc based on a binarization algorithm to obtain positioning information, wherein the positioning information is the position of the brake disc on a detection platform;
and determining dynamic information of the brake disc according to the positioning information in the target moment. The target time is within 3 seconds after the brake disc is detected.
The working principle and the beneficial effects of the technical scheme are as follows:
According to the application, a binarization algorithm is introduced to position the brake disc, so that the positioning information is obtained, and the accuracy of the positioning information acquisition is improved. According to the positioning information in the target moment, the dynamic information of the brake disc is determined, and the accuracy of dynamic information acquisition is improved.
In one embodiment, step 1, obtaining a defect detection requirement of a brake disc includes:
Acquiring detection platform information for detecting the defects of the brake disc, wherein the detection platform information is related information of a device for assisting in detecting the brake disc, such as speed and conveying direction of a conveying belt and information of a camera for shooting the brake disc;
Acquiring brake disc parameter information, wherein the brake disc parameter information is specification parameters of a brake disc;
The method comprises the steps of obtaining defect type information to be detected, wherein the defect type information to be detected is what type of defect of a brake disc to be detected;
And extracting a template based on the defect detection requirement, and determining the defect detection requirement according to the detection platform information, the brake disc parameter information and the defect type information. The defect detection requirement extraction template is used for various information to contrast with the defect detection requirement extraction.
The working principle and the beneficial effects of the technical scheme are as follows:
According to the application, the defect detection requirement extraction template is introduced, and the defect detection requirement is determined according to the acquired detection platform information, brake disc parameter information and defect type information, so that the standardization of the acquisition of the defect detection requirement is improved.
In one embodiment, step 2, obtaining the light source parameters includes:
The method comprises the steps of obtaining light source type information and layout information of a target light source, wherein the target light source is a light source used for irradiating a brake disc so as to better extract defect information, the light source type information is information related to the light source type of the target light source, and the layout information is distribution information of an independent light emitting device of the target light source;
the method comprises the steps of obtaining adjustable parameter information of a target light source, wherein the adjustable parameter information is adjustable and adjustable range information;
and the light source type information, the layout information and the adjustable parameter information are used as light source parameters together.
The working principle and the beneficial effects of the technical scheme are as follows:
the application introduces the light source type information, the layout information and the adjustable parameter information of the target light source and jointly uses the light source type information, the layout information and the adjustable parameter information as the light source parameters, thereby improving the rationality of the light source parameters.
In one embodiment, step 3, based on the defect detection requirement, establishes an illumination model according to the light source parameters, including:
establishing a light source model according to the light source parameters, wherein the light source model is a data model for simulating illumination established based on the light source parameters;
The method comprises the steps of obtaining first brake disc defect detection data, wherein the first brake disc defect detection data is brake disc defect detection records obtained by big data;
screening the first brake disc defect detection data to determine second brake disc defect detection data, wherein the second brake disc defect detection data is consistent with the defect detection type of the defect detection requirement, and the defect detection type is the detected defect type, such as scratch;
Training comprehensive judgment is carried out on the second brake disc defect detection data, and a target training sample is determined;
based on the target training sample, a lighting model is built according to the light source model.
The working principle and the beneficial effects of the technical scheme are as follows:
The types of defect detection are different, and corresponding illumination strategies are also different, so that the defect detection data of the first brake disc obtained from the large data platform are not applicable, and the application establishes a light source model based on light source parameters to determine the defect detection data of the second brake disc consistent with the defect detection type of the defect detection requirement. Generally, the more comprehensive the training data, the better the effect of the model obtained by the final training, so that the second brake disc defect detection data is comprehensively judged by training, and the second brake disc defect detection data is judged to be comprehensive and directly used as a target training sample. If the training sample is judged to be incomplete, supplementing and redefining the target training sample. Based on the target training sample, a lighting model is built according to the light source model, and the training effect of the lighting model is improved.
In one embodiment, performing a training comprehensive decision on the second brake disc defect detection data to determine a target training sample includes:
Extracting a first detection demand characteristic based on the second brake disc defect detection data, wherein the first detection demand characteristic is characterized by fault detection demands in the second brake disc defect detection data, such as scratch detection, static detection and brake disc model number xxx;
Extracting a second detection requirement characteristic according to the defect detection requirement, wherein the second detection requirement characteristic is characterized representation of the defect detection requirement;
Carrying out feature matching on a first detection demand feature and a second detection demand feature of the same detection demand feature type, determining a detection demand feature type with non-conforming feature matching and taking the detection demand feature type as a missing detection demand feature type, wherein the detection demand feature type is a type of detection demand, such as detection of a brake disc with which specification and detection of which defect;
determining a characteristic fitting condition of the type of the missing detection required characteristic, wherein the characteristic fitting condition is a condition which needs to be met in order to enable the missing characteristic to be identified and learned by a model;
Judging whether feature fitting can be performed or not according to the first detection demand feature of the missing detection demand feature type and the second detection demand feature of the missing detection demand feature type based on feature fitting conditions, wherein the feature fitting is a process of attempting to estimate or simulate missing features in a model training process according to fitting conditions;
and carrying out comprehensive training judgment and determining a target training sample according to different judgment results.
The working principle and the beneficial effects of the technical scheme are as follows:
According to the method, the characteristics of the second brake disc defect detection data are extracted, the first detection requirement characteristics are obtained, the characteristics of the defect detection requirements are extracted, and the second detection requirement characteristics are extracted. And carrying out feature matching on the first detection demand feature and the second detection demand feature of the same detection demand feature type, and determining the missing detection demand feature type with the feature matching being inconsistent. And introducing feature fitting conditions of the type of the missing detection required features. And judging whether feature fitting can be performed or not based on the feature fitting conditions, and if so, determining a target training sample based on a fitting result and the initial sample. If not, the acquired sample and the initial sample are supplemented to determine a target training sample. The determination efficiency of the target training sample is improved.
In one embodiment, determining feature fit conditions for the missing detection demand feature type includes:
the first feature number of the first detection demand features of the missing detection demand feature type is larger than or equal to a preset first target number, wherein the first feature number is the feature number of the first detection demand features of the missing detection demand feature type;
The second feature number of the second detection demand features of the missing detection demand feature type is larger than or equal to a preset second target number, wherein the second feature number is the feature number of the second detection demand features of the missing detection demand feature type;
The sequence position of the first detection demand feature or the second detection demand feature which is not matched with the feature is not positioned at the sequence head part or the sequence tail part in the detection demand feature sequence, wherein the detection demand feature sequence is a feature sequence which is composed of the first detection demand feature or the second detection demand feature and comprises a sequential feature logic relationship and is formed by the first detection demand feature or the second detection demand feature of the missing detection demand feature type corresponding to the first detection demand feature or the second detection demand feature which is not matched with the feature;
The fitting feature of the sequence position N and the first detection requirement feature or the second detection requirement feature at the position N-1 in front of the sequence position meet a first continuous condition, wherein the first continuous condition is a characteristic value increasing and decreasing relation from the sequence position N-1 to the sequence position N-2, N is a positive integer larger than 2;
The fitting feature of the sequence position N and the first detection requirement feature or the second detection requirement feature at the position N+1 behind the sequence position meet a second continuous condition, wherein the second continuous condition is the characteristic value increasing and decreasing relation between the sequence position N+1 and the sequence position N+2.
The working principle and the beneficial effects of the technical scheme are as follows:
The method introduces feature fitting conditions of the missing detection demand feature types, wherein the feature fitting conditions specifically comprise that the number of first features of the first detection demand features of the missing detection demand feature types is larger than or equal to the first target number, the number of second features of the second detection demand features of the missing detection demand feature types is larger than or equal to the second target number, the basic data quantity of fitting data is guaranteed to meet the fitting requirement, and sequence positions of the first detection demand features or the second detection demand features, which are not consistent with feature matching, in a detection demand feature sequence are not located at the sequence head part nor at the sequence tail part, so that after fitting is completed, fitting features can be checked according to the relation between the features in front of and/or behind the sequence positions and the fitting features at the sequence positions, and the fitting process suitability is improved.
In one embodiment, according to the difference of the judging results, performing training comprehensive judgment and determining a target training sample comprises:
If the first detection demand feature or the second detection demand feature of each missing detection demand feature type can be subjected to feature fitting, training is comprehensive, third brake disc defect detection data are determined according to feature fitting results, and the second brake disc defect detection data and the third brake disc defect detection data are taken as target training samples together;
and if the first detection demand characteristics or the second detection demand characteristics of the missing detection demand characteristic type cannot be subjected to characteristic fitting, carrying out sample supplement acquisition.
The working principle and the beneficial effects of the technical scheme are as follows:
according to the application, whether the sample is required to be acquired in a supplementing way is determined adaptively according to different characteristic fitting results, so that the suitability of acquiring the target sample is improved.
The embodiment of the invention provides a light source positioning method used in a brake disc defect detection process, which further comprises the following steps:
and 6, acquiring a first projection light spot after the light source is positioned, and adjusting the light source parameters according to the first projection light spot. The first projection light spot is light projected on the brake disc by the light source, and when the light source parameters are adjusted according to the first projection light spot, the brightness and the irradiation position of the light source are required to be suitable.
The working principle and the beneficial effects of the technical scheme are as follows:
The first projection light spot after the light source is positioned is determined, and the light source parameters are adjusted according to the first projection light spot, so that the light source parameters are adjusted according to the light information actually reaching the brake disc surface, and the method is more reasonable.
In one embodiment, step 6, obtaining a first projected light spot after positioning the light source, and adjusting the light source parameter according to the first projected light spot includes:
Acquiring overflowing light spot information of a first projection light spot projected behind the brake disc based on a photosensitive component of a detection platform preset on the brake disc, wherein the overflowing light spot information is light spot information except light spots hitting the brake disc surface;
characterizing the information of the overflowing light spot to obtain the characteristics of the overflowing light spot, wherein the characteristics of the overflowing light spot comprise the light intensity of the light spot and the shape of the light spot;
the method comprises the steps of obtaining a standard light spot matrix, wherein the standard light spot matrix is a description matrix of ideal overflow light spot information determined based on a brake disc, such as a description matrix of how much nit brightness is achieved and what light spot shape is;
determining an overflow spot matrix based on the same construction rule of the standard spot matrix and according to the overflow spot characteristics, wherein the overflow spot matrix is a description vector of overflow spot information constructed based on the same construction rule of the standard spot matrix;
determining an operation result matrix according to a standard light spot matrix and an overflow light spot matrix based on a preset matrix operation rule, wherein the preset matrix operation rule is matrix subtraction;
Splitting the operation result matrix according to the construction rule to determine an operation result vector, wherein when the operation result vector is determined, how the operation result vector is spliced is determined according to the construction rule, and then splitting is performed;
And determining a model control channel according to the operation result vector, inputting the model control channel, and adjusting the parameters of the light source. The model control channel is a system interface of a control model for controlling the adjustment of the parameters of the light source.
The working principle and the beneficial effects of the technical scheme are as follows:
The application introduces a photosensitive element of a detection platform to detect the information of the overflowing light spot of the first projection light spot projected behind the brake disc, and characterizes the information of the overflowing light spot to obtain the light intensity of the light spot and the shape of the light spot (the characteristics of the overflowing light spot). Introducing a standard light spot matrix, constructing an overflow light spot matrix based on the same construction rule, subtracting the standard light spot matrix from the overflow light spot matrix, and determining an operation result matrix. And splitting the operation result matrix to determine an operation result vector. The operation result vector is input into the model control channel to adjust the light source parameters, so that the convenience of calculation and the accuracy of light source parameter adjustment are improved.
The embodiment of the invention provides a light source positioning system for a brake disc defect detection process, as shown in fig. 2, comprising:
the defect detection requirement acquisition subsystem 1 is used for acquiring the defect detection requirement of the brake disc;
a light source parameter acquisition subsystem 2 for acquiring light source parameters;
the illumination model building subsystem 3 is used for building an illumination model according to the light source parameters based on the defect detection requirements;
the dynamic information acquisition subsystem 4 is used for acquiring dynamic information of the brake disc;
the light source positioning subsystem 5 is used for determining a light source positioning vector according to the dynamic information and the illumination model and performing light source positioning according to the light source positioning vector.
In one embodiment, the dynamic information acquisition subsystem comprises:
the positioning information acquisition module is used for positioning the brake disc based on a binarization algorithm and acquiring positioning information;
and the dynamic information determining module is used for determining the dynamic information of the brake disc according to the positioning information in the target moment.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1.一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,包括:1. A method for positioning a light source in a brake disc defect detection process, comprising: 步骤1:获取刹车盘的缺陷检测需求;Step 1: Obtain the defect detection requirements of brake discs; 步骤2:获取光源参数;Step 2: Get light source parameters; 步骤3:基于缺陷检测需求,根据光源参数,建立光照模型;Step 3: Based on the defect detection requirements and light source parameters, establish a lighting model; 步骤4:获取刹车盘的动态信息;Step 4: Obtain dynamic information of the brake disc; 步骤5:根据动态信息和光照模型,确定光源定位向量,并根据光源定位向量进行光源定位;Step 5: Determine the light source positioning vector according to the dynamic information and the illumination model, and position the light source according to the light source positioning vector; 步骤3:基于缺陷检测需求,根据光源参数,建立光照模型,包括:Step 3: Based on the defect detection requirements and light source parameters, establish a lighting model, including: 根据光源参数,建立光源模型;According to the light source parameters, establish the light source model; 获取第一刹车盘缺陷检测数据;Acquiring first brake disc defect detection data; 对第一刹车盘缺陷检测数据进行筛选,确定第二刹车盘缺陷检测数据;第二刹车盘缺陷检测数据和缺陷检测需求的缺陷检测种类一致;The first brake disc defect detection data is screened to determine the second brake disc defect detection data; the second brake disc defect detection data is consistent with the defect detection type of the defect detection requirement; 对第二刹车盘缺陷检测数据进行训练全面性判定,确定目标训练样本;Conduct comprehensiveness assessment on the training of the second brake disc defect detection data and determine the target training samples; 基于目标训练样本,根据光源模型,建立光照模型;Based on the target training samples and the light source model, a lighting model is established; 对第二刹车盘缺陷检测数据进行训练全面性判定,确定目标训练样本,包括:The comprehensiveness of the training of the second brake disc defect detection data is determined to determine the target training samples, including: 基于第二刹车盘缺陷检测数据,提取第一检测需求特征;Extracting first detection requirement features based on the second brake disc defect detection data; 根据缺陷检测需求,提取第二检测需求特征;Extracting second detection requirement features according to defect detection requirements; 将同一检测需求特征类型的第一检测需求特征和第二检测需求特征进行特征匹配,确定存在特征匹配不符合的检测需求特征类型,并作为缺失检测需求特征类型;Perform feature matching on the first detection requirement feature and the second detection requirement feature of the same detection requirement feature type, determine the detection requirement feature type for which the feature matching does not meet the requirements, and use it as the missing detection requirement feature type; 确定缺失检测需求特征类型的特征拟合条件;Determine the feature fitting conditions for the feature type required for missing detection; 基于特征拟合条件,根据缺失检测需求特征类型的第一检测需求特征以及缺失检测需求特征类型的第二检测需求特征,判断是否能够进行特征拟合;Based on the feature fitting condition, judging whether feature fitting can be performed according to the first detection requirement feature of the missing detection requirement feature type and the second detection requirement feature of the missing detection requirement feature type; 根据判断结果的不同,进行训练全面性判定并确定目标训练样本。Based on the different judgment results, the comprehensiveness of the training is determined and the target training samples are determined. 2.如权利要求1所述的一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,步骤4:获取刹车盘的动态信息,包括:2. The method for positioning a light source in a brake disc defect detection process according to claim 1, wherein step 4: obtaining dynamic information of the brake disc comprises: 基于二值化算法进行刹车盘的定位,获取定位信息;The brake disc is positioned based on the binary algorithm to obtain positioning information; 根据目标时刻内的定位信息,确定刹车盘的动态信息。According to the positioning information within the target time, the dynamic information of the brake disc is determined. 3.如权利要求1所述的一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,步骤1:获取刹车盘的缺陷检测需求,包括:3. The method for positioning a light source in a brake disc defect detection process according to claim 1, wherein step 1: obtaining the defect detection requirements of the brake disc comprises: 获取用于刹车盘缺陷检测的检测平台信息;Obtain information about the testing platform used for brake disc defect detection; 获取刹车盘参数信息;Get brake disc parameter information; 获取需要检测的缺陷种类信息;Obtain information about the types of defects that need to be detected; 基于缺陷检测需求提取模版,根据检测平台信息、刹车盘参数信息和缺陷种类信息,确定缺陷检测需求。Extract the template based on the defect detection requirements, and determine the defect detection requirements according to the detection platform information, brake disc parameter information and defect type information. 4.如权利要求1所述的一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,步骤2:获取光源参数,包括:4. The method for positioning a light source in a brake disc defect detection process according to claim 1, wherein step 2: obtaining light source parameters comprises: 获取目标光源的光源种类信息和布局信息;Obtaining light source type information and layout information of the target light source; 获取目标光源的可调参数信息;Get the adjustable parameter information of the target light source; 将光源种类信息、布局信息和可调参数信息共同作为光源参数。The light source type information, layout information and adjustable parameter information are collectively used as light source parameters. 5.如权利要求1所述的一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,还包括:5. The method for positioning a light source in a brake disc defect detection process according to claim 1, further comprising: 步骤6:获取进行光源定位后的第一投影光斑,根据第一投影光斑进行光源参数的调整。Step 6: Obtain a first projection spot after positioning the light source, and adjust light source parameters according to the first projection spot. 6.如权利要求5所述的一种用于刹车盘缺陷检测过程中的光源定位方法,其特征在于,步骤6:获取进行光源定位后的第一投影光斑,根据第一投影光斑进行光源参数的调整,包括:6. A method for positioning a light source in a brake disc defect detection process according to claim 5, characterized in that step 6: obtaining a first projection spot after positioning the light source, and adjusting the light source parameters according to the first projection spot, comprises: 基于预设于刹车盘的检测平台的感光元器件,获取第一投影光斑投射在刹车盘之后的溢出光斑信息;Based on the photosensitive components preset on the detection platform of the brake disc, the overflow light spot information of the first projection light spot projected after the brake disc is obtained; 将溢出光斑信息特征化,获取溢出光斑特征;溢出光斑特征包括:光斑光照强度和光斑形状;Characterize the overflow light spot information to obtain the overflow light spot features; the overflow light spot features include: light spot illumination intensity and light spot shape; 获取标准光斑矩阵;Obtain standard spot matrix; 基于标准光斑矩阵相同的构建规则,根据溢出光斑特征,确定溢出光斑矩阵;Based on the same construction rules as the standard spot matrix, the overflow spot matrix is determined according to the overflow spot characteristics; 基于预设的矩阵运算规则,根据标准光斑矩阵和溢出光斑矩阵,确定运算结果矩阵;Based on the preset matrix operation rules, the operation result matrix is determined according to the standard spot matrix and the overflow spot matrix; 根据构建规则拆分运算结果矩阵,确定运算结果向量;Split the operation result matrix according to the construction rules and determine the operation result vector; 根据运算结果向量确定模型控制通道并输入,进行光源参数的调整。The model control channel is determined and input according to the calculation result vector to adjust the light source parameters. 7.一种用于刹车盘缺陷检测过程中的光源定位系统,其特征在于,包括:7. A light source positioning system for use in a brake disc defect detection process, comprising: 缺陷检测需求获取子系统,用于获取刹车盘的缺陷检测需求;Defect detection requirement acquisition subsystem, used to obtain the defect detection requirements of brake discs; 光源参数获取子系统,用于获取光源参数;Light source parameter acquisition subsystem, used to obtain light source parameters; 光照模型建立子系统,用于基于缺陷检测需求,根据光源参数,建立光照模型;The illumination model establishment subsystem is used to establish the illumination model based on the defect detection requirements and light source parameters; 动态信息获取子系统,用于获取刹车盘的动态信息;Dynamic information acquisition subsystem, used to obtain dynamic information of the brake disc; 光源定位子系统,用于根据动态信息和光照模型,确定光源定位向量,并根据光源定位向量进行光源定位;A light source positioning subsystem, used to determine a light source positioning vector according to dynamic information and a lighting model, and to position the light source according to the light source positioning vector; 光照模型建立子系统基于缺陷检测需求,根据光源参数,建立光照模型,执行如下操作:The illumination model establishment subsystem establishes an illumination model based on defect detection requirements and light source parameters, and performs the following operations: 根据光源参数,建立光源模型;According to the light source parameters, establish the light source model; 获取第一刹车盘缺陷检测数据;Acquiring first brake disc defect detection data; 对第一刹车盘缺陷检测数据进行筛选,确定第二刹车盘缺陷检测数据;第二刹车盘缺陷检测数据和缺陷检测需求的缺陷检测种类一致;The first brake disc defect detection data is screened to determine the second brake disc defect detection data; the second brake disc defect detection data is consistent with the defect detection type of the defect detection requirement; 对第二刹车盘缺陷检测数据进行训练全面性判定,确定目标训练样本;Conduct comprehensiveness assessment on the training of the second brake disc defect detection data and determine the target training samples; 基于目标训练样本,根据光源模型,建立光照模型;Based on the target training samples and the light source model, a lighting model is established; 光照模型建立子系统对第二刹车盘缺陷检测数据进行训练全面性判定,确定目标训练样本,执行如下操作:The illumination model building subsystem conducts a comprehensive assessment of the training of the second brake disc defect detection data, determines the target training samples, and performs the following operations: 基于第二刹车盘缺陷检测数据,提取第一检测需求特征;Extracting first detection requirement features based on the second brake disc defect detection data; 根据缺陷检测需求,提取第二检测需求特征;Extracting second detection requirement features according to defect detection requirements; 将同一检测需求特征类型的第一检测需求特征和第二检测需求特征进行特征匹配,确定存在特征匹配不符合的检测需求特征类型,并作为缺失检测需求特征类型;Perform feature matching on the first detection requirement feature and the second detection requirement feature of the same detection requirement feature type, determine the detection requirement feature type for which the feature matching does not meet the requirements, and use it as the missing detection requirement feature type; 确定缺失检测需求特征类型的特征拟合条件;Determine the feature fitting conditions for the feature type required for missing detection; 基于特征拟合条件,根据缺失检测需求特征类型的第一检测需求特征以及缺失检测需求特征类型的第二检测需求特征,判断是否能够进行特征拟合;Based on the feature fitting condition, judging whether feature fitting can be performed according to the first detection requirement feature of the missing detection requirement feature type and the second detection requirement feature of the missing detection requirement feature type; 根据判断结果的不同,进行训练全面性判定并确定目标训练样本。Based on the different judgment results, the comprehensiveness of the training is determined and the target training samples are determined. 8.如权利要求7所述的一种用于刹车盘缺陷检测过程中的光源定位系统,其特征在于,动态信息获取子系统,包括:8. The light source positioning system for brake disc defect detection according to claim 7, characterized in that the dynamic information acquisition subsystem comprises: 定位信息获取模块,用于基于二值化算法进行刹车盘的定位,获取定位信息;A positioning information acquisition module is used to locate the brake disc based on a binarization algorithm and obtain positioning information; 动态信息确定模块,用于根据目标时刻内的定位信息,确定刹车盘的动态信息。The dynamic information determination module is used to determine the dynamic information of the brake disc according to the positioning information within the target time.
CN202410718632.5A 2024-06-05 2024-06-05 A method and system for positioning a light source in a brake disc defect detection process Active CN118603991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410718632.5A CN118603991B (en) 2024-06-05 2024-06-05 A method and system for positioning a light source in a brake disc defect detection process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410718632.5A CN118603991B (en) 2024-06-05 2024-06-05 A method and system for positioning a light source in a brake disc defect detection process

Publications (2)

Publication Number Publication Date
CN118603991A CN118603991A (en) 2024-09-06
CN118603991B true CN118603991B (en) 2024-12-13

Family

ID=92547320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410718632.5A Active CN118603991B (en) 2024-06-05 2024-06-05 A method and system for positioning a light source in a brake disc defect detection process

Country Status (1)

Country Link
CN (1) CN118603991B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119804330B (en) * 2025-03-14 2025-06-13 深圳市晟大光电有限公司 Self-adaptive regulation and control method and device for wafer detection light source brightness

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117541568A (en) * 2023-11-24 2024-02-09 长春工业大学 Deep learning-based automobile brake disc surface defect detection method
CN118130477A (en) * 2024-03-11 2024-06-04 广东镁驰精密技术有限公司 A die-casting alloy workpiece defect detection method and system based on visual recognition

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6371044B2 (en) * 2013-08-31 2018-08-08 国立大学法人豊橋技術科学大学 Surface defect inspection apparatus and surface defect inspection method
US20190318469A1 (en) * 2018-04-17 2019-10-17 Coherent AI LLC Defect detection using coherent light illumination and artificial neural network analysis of speckle patterns
US12412263B2 (en) * 2020-08-11 2025-09-09 Baker Hughes Oilfield Operations Llc Automated defect detection
CN117388254A (en) * 2023-09-26 2024-01-12 华中科技大学 An industrial product defect detection method and detection system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117541568A (en) * 2023-11-24 2024-02-09 长春工业大学 Deep learning-based automobile brake disc surface defect detection method
CN118130477A (en) * 2024-03-11 2024-06-04 广东镁驰精密技术有限公司 A die-casting alloy workpiece defect detection method and system based on visual recognition

Also Published As

Publication number Publication date
CN118603991A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
CN109724984B (en) Device and method for defect detection and identification based on deep learning algorithm
US20210073975A1 (en) Method for enhancing optical feature of workpiece, method for enhancing optical feature of workpiece through deep learning, and non transitory computer readable recording medium
US11203494B2 (en) System and method for sorting moving objects
CN108021938A (en) A kind of Cold-strip Steel Surface defect online detection method and detecting system
CN117788400A (en) A photovoltaic module defect detection method and system based on binocular vision
CN114813783B (en) Chip surface flaw detection method
CN110108726A (en) A fully automatic optical inspection system for chip inspection
CN110956627A (en) Intelligent optical detection sample characteristic and flaw intelligent lighting image capturing method and device
CN117542301A (en) Display screen detection method and system
CN114494103A (en) Defect detection method and device
CN109693140A (en) A kind of intelligent flexible production line and its working method
CN118603991B (en) A method and system for positioning a light source in a brake disc defect detection process
CN111929239A (en) AOI detection device and detection method for PCB part defects
CN113222901A (en) Method for detecting surface defects of steel ball based on single stage
CN108705689B (en) Automatic tool setting process for repairing micro-defects on the surface of large-caliber precision optical crystals
CN113189109A (en) Flaw judgment system and flaw judgment method based on artificial intelligence
CN120219314A (en) A circuit board surface solder joint quality detection system
CN118443799A (en) Online defect detection method and system for calcium silicate decorative plate
CN119780119A (en) Electronic component appearance defect detection method and system based on multispectral imaging
CN111766255A (en) Flexible circuit board flaw detection method and device
CN119936026A (en) An AOI visual online high-speed detection method and system
JP2007147442A (en) Method, device, and program for inspecting wood
CN108838099A (en) Safety pin badge Defect Detection system and method based on machine vision
CN119624914B (en) Machine vision-driven fireplace surface defect detection method and system
CN116051531A (en) Intelligent detection method for injection molding object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250611

Address after: No. 928, Yangtian Gang West Avenue, Yangtian Villa, North Ring Road, Xiannvhu District, Xinyu City, Jiangxi Province, 338000

Patentee after: Xinyu Yunzhe Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: 224000 Yancheng City Province Lake Road hope Lake Road, No. 1, No.

Patentee before: YANCHENG INSTITUTE OF TECHNOLOGY

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20251216

Address after: Room 905, 9th Floor, 118 Xidazhi Street, Nangang District, Harbin City, Heilongjiang Province 150001

Patentee after: Heilongjiang Xintie Intelligent Equipment Co.,Ltd.

Country or region after: China

Address before: No. 928, Yangtian Gang West Avenue, Yangtian Villa, North Ring Road, Xiannvhu District, Xinyu City, Jiangxi Province, 338000

Patentee before: Xinyu Yunzhe Intelligent Technology Co.,Ltd.

Country or region before: China