CN117825381A - Optical fiber bundle end face detection device and use method - Google Patents
Optical fiber bundle end face detection device and use method Download PDFInfo
- Publication number
- CN117825381A CN117825381A CN202311794491.7A CN202311794491A CN117825381A CN 117825381 A CN117825381 A CN 117825381A CN 202311794491 A CN202311794491 A CN 202311794491A CN 117825381 A CN117825381 A CN 117825381A
- Authority
- CN
- China
- Prior art keywords
- image
- optical fiber
- fiber bundle
- face
- light source
- 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.)
- Pending
Links
- 239000013307 optical fiber Substances 0.000 title claims abstract description 118
- 238000001514 detection method Methods 0.000 title claims abstract description 99
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000005286 illumination Methods 0.000 claims abstract description 31
- 238000003384 imaging method Methods 0.000 claims abstract description 8
- 230000003749 cleanliness Effects 0.000 claims description 17
- 239000000835 fiber Substances 0.000 claims description 16
- 238000007781 pre-processing Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 239000003086 colorant Substances 0.000 claims description 6
- 238000009826 distribution Methods 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 6
- 230000002776 aggregation Effects 0.000 claims description 3
- 238000004220 aggregation Methods 0.000 claims description 3
- 230000007547 defect Effects 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 12
- 238000009499 grossing Methods 0.000 description 5
- 230000011218 segmentation Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000004075 alteration Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000000877 morphologic effect Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000005498 polishing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000002834 transmittance Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8806—Specially adapted optical and illumination features
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/952—Inspecting the exterior surface of cylindrical bodies or wires
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/187—Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/141—Control of illumination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20112—Image segmentation details
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Immunology (AREA)
- Health & Medical Sciences (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Pathology (AREA)
- Analytical Chemistry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
The invention relates to the technical field of optical fiber detection, in particular to an optical fiber bundle end face detection device and a use method thereof; the optical fiber bundle end face detection device comprises an illumination light source, an optical fiber bundle clamp, a focusing lens, an image acquisition unit and a processing unit; the illumination light source, the optical fiber bundle clamp and the image acquisition unit are in control connection with the processing unit. The method comprises the steps of carrying out initial imaging on the end face of the optical fiber bundle under the light of an initial light source, adjusting the end face of the optical fiber bundle to obtain an image to be detected under the optimal position and the brightness of the light of the optimal light source, carrying out flaw detection on the image to be detected, accurately generating detection result information of the end face of the optical fiber bundle, realizing automatic detection on the end face of the optical fiber bundle, accurately judging the defects of the end face, and improving detection efficiency and accuracy.
Description
Technical Field
The invention relates to the technical field of optical fiber detection, in particular to an optical fiber bundle end face detection device and a use method thereof.
Background
Optical fibers are widely used in the fields of communication, medical treatment and the like due to their high-quality light guiding properties. In particular, in the field of laser transmission, there are many applications in which a fiber bundle is used to transmit laser light. The optical fiber bundle is used as a precise transmission medium, and the defect conditions such as dust, dirt, scratches, damage, poor polishing and the like on the end face of the optical fiber bundle can seriously affect the light transmission efficiency and the signal integrity, so that the condition of the end face of the optical fiber bundle needs to be strictly checked in the production process, and the end face of the optical fiber bundle is ensured to be uniform and clean.
Currently, in the use process of a detector for detecting the end face of an optical fiber bundle in the market, the optical fiber bundle to be detected needs to be inserted into an adapter, and a detector can judge whether the end face of the optical fiber bundle is qualified or not by directly observing an eyepiece or an image of the end face of the optical fiber bundle displayed by a monitor.
In the process of detecting the end face of the optical fiber bundle by adopting the detector, the following defects can exist:
1) In the process of detecting the end face of the optical fiber bundle by the detector, an operator is required to roughly adjust the position of the end face of the optical fiber bundle relative to the detection lens by subjective judgment of the definition of the detection image through self experience, so that the efficiency is low, the precision is poor, a proper illumination light source cannot be provided, and the acquired detection image is unstable in quality.
2) The optical fiber bundle generally contains tens of thousands of optical fibers, and the omission is easily caused by naked eye observation, so that manual errors are generated.
3) The end face of the optical fiber bundle is in a honeycomb shape, and after the fine honeycomb shape is observed for a certain number of times by naked eyes, fatigue and discomfort are easily caused to eyes.
Disclosure of Invention
The invention aims at the technical problems in the prior art, and provides an optical fiber bundle end face detection device and a use method thereof, which are used for solving the problems of poor detection efficiency and unstable detection image quality caused by inconvenient accurate adjustment of the position of an optical fiber bundle and a light source when the detector detects the optical fiber bundle end face.
The technical scheme for solving the technical problems is as follows: the optical fiber bundle end face detection device comprises an illumination light source, an optical fiber bundle clamp, a focusing lens, an image acquisition unit and a processing unit; the illumination light source, the optical fiber bundle clamp and the image acquisition unit are in control connection with the processing unit.
Based on the technical scheme, the invention can also be improved as follows:
further, the optical fiber bundle focusing device further comprises a stepping device connected with the optical fiber bundle clamp, wherein the stepping device is used for driving the optical fiber bundle clamp to enable the end face of the optical fiber bundle to be in an optimal position relative to the focusing lens.
Further, the device also comprises an illumination light source controller connected with the illumination light source control, wherein the illumination light source controller is used for controlling the illumination light source to the optimal light brightness.
The invention also provides a use method of the optical fiber bundle end face detection device, which is characterized in that,
clamping the optical fiber bundle on an optical fiber bundle clamp, and turning on an illumination light source;
the image acquisition unit acquires a preliminary image of the end face of the optical fiber bundle after passing through the aggregation lens;
adjusting the end face of the optical fiber bundle to an optimal position relative to the focusing lens, adjusting the light source to optimal brightness, and collecting an image at the moment by an image collecting unit to serve as an image to be detected;
and the processing unit performs flaw detection on the image to be detected and generates detection result information of the end face of the optical fiber bundle.
Based on the technical scheme, the invention can also be improved as follows:
further, the processing unit performs flaw detection on the image to be detected as one or more of cleanliness detection, uniformity detection and wire breakage rate detection.
Further, the detection steps of the cleanliness detection are as follows:
preprocessing an image to be detected to obtain a processed image;
dividing the processed image, determining all connected domains and performing Delaunay triangulation;
calculating the side length of each of all Delaunay triangles, and fitting the side lengths according to Gaussian distribution to obtain u and sigma;
the gaussian distribution formula is:
if the edge length is larger than u+3σ, judging that the cleanliness detection does not reach the standard, filling color into Delaunay triangle containing the edge, and generating an image indicating the flaw position.
Further, the detecting step of the uniformity detection is as follows:
marking an original image of an image to be detected as an image I, selecting an area with the middle size of (2K+1) as a sub-image sI, and determining the size M of the area occupied by a single optical fiber based on the sub-image sI, wherein M and N are the length and the width of the occupied area respectively, and the value of K is a larger value in M and N;
building a correlation coefficient matrix C from image I and sub-image sI 1 ,C 1 The correlation coefficient matrix C is the same as the I 1 The calculation formula of (2) is as follows:
in C 1 Calculating a maximum value C in a (2K+1) size region by taking (i, j) as a center 2 (i,j),C 2 The calculation formula of (i, j) is as follows:
C 2 (i,j)=max{C 1 (i+k 1 ,j+k 2 )},-K≤k 1 ≤K,-K≤k 2 ≤K;
setting a threshold t c If C appears at a certain position 2 (i,j)<t c And judging that the uniformity detection does not reach the standard, filling colors in the corresponding positions on the image I, and generating an image indicating the positions with uneven brightness.
Further, the detection steps of the yarn breakage rate detection are as follows:
marking an original image of an image to be detected as an image I 1 Reducing the illuminance of the image to be detected to be an image I 2 ;
For image I 1 Image I 2 Preprocessing and dividing to determine all connected domains, and marking as { CC } k K=1, 2, …, K, wherein each connected domain represents one fiber of the bundle, the number of connected domains being denoted K;
respectively at image I 1 And image I 2 Calculating each connected domain CC k Is marked asAnd->
Computing image I 1 Average value of brightness values of all connected domains
Determining each connected domain, ifThe corresponding optical fiber of the communicating domain is broken; wherein alpha is a preset value;
and calculating the broken wire rate according to the number of the connected domains of the broken wires and the number of all the connected domains, filling colors into the connected domains of the broken wires, and generating an image indicating the broken wire position.
Further, the adjusting the end face of the optical fiber bundle to an optimal position relative to the condensing lens comprises the steps of:
presetting a series of positions comprising an initial position and a next preset position for the end face of the optical fiber bundle;
the method comprises the steps that the end face of an optical fiber bundle enters an initial position of a series of positions, the focusing degree of light rays of a light source at the initial position passing through a lens group is calculated based on an acquired initial image, and the focusing degree is defined as one or more of gradient mean value, gradient sum, variance and standard deviation of the image;
the end face of the optical fiber bundle enters a next preset position along the initial position, and the focusing degree of light source rays passing through the lens group at the next preset position is calculated based on the collected initial image;
if the focusing degree is reduced relative to the last preset position, the end face of the optical fiber bundle is moved to the last preset position;
otherwise, the end face of the optical fiber bundle is moved to the next preset position.
Further, the adjusting the optimal brightness of the light source light comprises the following steps:
presetting a series of illuminations comprising initial illuminance and next preset illuminance for the light source light, wherein the brightness defines one or more of the sum of pixel values of all pixel positions, the average value of pixel values of all pixel positions, the sum of pixel values of part of pixel positions and the average value of pixel values of part of pixel positions in the image;
the light source light brightness is adjusted to be the initial illuminance of the series illuminance, and the actual brightness of the initial illuminance light source light imaging is calculated based on the collected initial image;
the light source light brightness is adjusted to the next preset illuminance from the initial illuminance, and the actual brightness of the light source light imaging of the next preset illuminance is calculated based on the collected initial image;
if the actual brightness is increased relative to the previous preset illuminance, the light brightness of the light source is adjusted to the next preset illuminance;
otherwise, the light brightness of the light source is adjusted to be the last preset illuminance.
Compared with the prior art, the optical fiber bundle end face detection device and the use method provided by the invention have at least the following beneficial effects:
1) The method comprises the steps of carrying out initial imaging on the end face of the optical fiber bundle under the light of an initial light source, adjusting the end face of the optical fiber bundle to obtain an image to be detected under the optimal position and the brightness of the light of the optimal light source, carrying out flaw detection on the image to be detected, accurately generating detection result information of the end face of the optical fiber bundle, realizing automatic detection on the end face of the optical fiber bundle, accurately judging the defects of the end face, and improving detection efficiency and accuracy.
2) Through automatic adjustment and image acquisition, the time and cost of manual operation can be reduced, and the detection efficiency is improved. By conducting the detection under stable conditions, the influence of environmental factors on the detection result can be reduced. This helps to improve the stability and reliability of the detection.
3) The optical fiber bundle performance detection device can fully automatically complete detection of various performances of the optical fiber bundle, avoids errors caused by naked eye detection, and comprises cleanliness detection, uniformity detection and wire breakage rate detection, and can be flexibly selected according to actual detection requirements.
Drawings
FIG. 1 is a schematic diagram of the whole structure of an optical fiber end face detection device according to the present invention;
FIG. 2 is a schematic diagram of a complete flow chart of the method for detecting an end face of an optical fiber bundle according to the present invention;
FIG. 3 is an initialization flow chart of the method for detecting the end face of an optical fiber bundle according to the present invention;
FIG. 4 is a flow chart of the present invention for adjusting the optimal position of the end face of a fiber optic bundle relative to the lens group;
FIG. 5 is a flow chart of the present invention for adjusting the optimal brightness of the light source;
FIG. 6 is a flow chart of flaw detection in an embodiment of the invention.
In the drawings, the list of components represented by the various numbers is as follows:
an illumination light source 1, an illumination light source controller 2, a fiber bundle clamp 3, a stepping device 4, a stepping device controller 5, a focusing lens 6, an image acquisition unit 7, a processing unit 8, a display device 9, a storage medium 10, and a fiber bundle 11 to be detected.
Detailed Description
The principles and features of the present invention are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the invention and are not to be construed as limiting the scope of the invention.
It should be noted that the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed, unless otherwise specifically indicated and defined. The specific meaning of such terms in this patent will be understood by those of ordinary skill in the art as the case may be.
As shown in fig. 1, the optical fiber bundle end face detection device designed by the invention comprises an illumination light source 1, an optical fiber bundle clamp 3, a focusing lens 6, an image acquisition unit 7 and a processing unit 8; the illumination light source 1, the optical fiber bundle clamp 3 and the image acquisition unit 7 are in control connection with the processing unit 8.
In this embodiment, the optical fiber bundle fixture 3 is used for clamping an optical fiber bundle to be detected, the illumination light source 1 emits light source optical fibers along the detection light beams, a primary image is generated after focusing through the focusing lens 6, the image to be detected is obtained through the image acquisition unit 7, the processing unit 8 detects defects of the optical fibers, and finally, the end face detection result information of the optical fiber bundle is generated, so that the detection efficiency is ensured, and meanwhile, the detection precision is improved.
Through automatic adjustment and image acquisition, the time and cost of manual operation can be reduced, and the detection efficiency is improved. By conducting the detection under stable conditions, the influence of environmental factors on the detection result can be reduced. This helps to improve the stability and reliability of the detection.
In addition, the focusing lens 6 may be a set of two or more lenses, for example, a lens group composed of a first lens element, a second lens element, a third lens element and a fourth lens element, wherein the first lens element is a plano-convex lens, the second lens element is a biconvex lens, the third lens element is an aspheric lens, and the fourth lens element is a biconvex lens.
By adopting the lens group, the optical fibers passing through the optical fiber bundle can be focused, so that the acquired image to be detected is clearer, and the defect of the end face of the optical fiber bundle can be accurately determined.
In addition, the optical fiber end face detection device is also provided with a display device 9 to visually present the detection image and the final detection result information.
As an embodiment, the optical fiber end face detection device further comprises a stepping device 4 connected with the optical fiber bundle clamp, wherein the stepping device 4 is used for driving the optical fiber bundle clamp 3 to enable the optical fiber end face to be in an optimal position relative to the focusing lens 6.
Wherein, the stepping device 4 can adopt a stepping motor, a high-precision electric guide rail or other linear transmission mechanisms; the stepper 4 may be provided with a stepper controller 5 alone to precisely control the position of the end face of the fiber bundle relative to the focusing lens to an optimal position.
As an embodiment, the fiber-optic bundle end face detection device further comprises an illumination light source controller 1 connected with the illumination light source control, wherein the illumination light source controller 1 is used for controlling the illumination light source to the optimal light brightness.
Based on the optical fiber end face detection device, as shown in fig. 2-5, the invention also discloses a use method of the optical fiber end face detection device,
clamping the optical fiber bundle on an optical fiber bundle clamp, and turning on an illumination light source;
the image acquisition unit acquires a preliminary image of the end face of the optical fiber bundle after passing through the aggregation lens;
adjusting the end face of the optical fiber bundle to an optimal position relative to the focusing lens, adjusting the light source to optimal brightness, and collecting an image at the moment by an image collecting unit to serve as an image to be detected;
and the processing unit performs flaw detection on the image to be detected and generates detection result information of the end face of the optical fiber bundle.
In this embodiment, a clearer and more accurate image can be obtained by adjusting the end face of the optical fiber bundle to an optimal position with respect to the condensing lens and adjusting the light source to an optimal brightness. This helps to improve the accuracy of the end face detection of the optical fiber bundle, reducing the possibility of erroneous judgment and missed detection.
As an embodiment, as shown in fig. 6, the processing unit performs flaw detection on the image to be detected as one or more of cleanliness detection, uniformity detection and wire breakage rate detection.
Additionally, the detection result information of the end face of the optical fiber bundle comprises detection conclusion, detection data and images indicating flaw positions, uneven brightness and broken wire positions.
In this embodiment, the detection steps of the cleanliness detection are as follows:
preprocessing an image to be detected to obtain a processed image;
dividing the processed image, determining all connected domains and performing Delaunay triangulation;
calculating the side length of each of all Delaunay triangles, and fitting the side lengths according to Gaussian distribution to obtain u and sigma;
the gaussian distribution formula is:
if the edge length is larger than u+3σ, judging that the cleanliness detection does not reach the standard, filling color into Delaunay triangle containing the edge, and generating an image indicating the flaw position.
The principle of cleanliness detection based on Delaunay triangulation is as follows: if the cleanliness is good, the cleanliness is average, three points can be found out to be spliced into a triangle in the range of the nearly equilateral triangle, the side lengths of the triangle are not greatly different, and when the side lengths are not more than u+3σ, the cleanliness is up to the standard; if the cleanliness is not good, the cleanliness is uneven, three points cannot be found out to splice into a triangle in the range of the near equilateral triangle, the spliced triangle has particularly long side length, and when the side length is larger than the range of u+3σ, the cleanliness is judged to be not up to the standard.
Specifically, the preprocessing step of the image to be detected comprises the following steps: smoothing and anti-color processing is carried out on the image to be detected, and a processed image with noise reduction and color value inversion is generated, so that analysis, detection and feature extraction are better carried out on the subsequent image.
The smoothing process is mainly to make the image look smoother and more uniform by reducing noise and details of the image.
The color inversion process takes the color value of each pixel point in the image to obtain the color value, that is, if the color of one pixel point is red, the pixel point becomes black after the color inversion process. This process can highlight bright areas in the image, making dark areas more visible, thereby better viewing and extracting details in the image.
Specifically, when the processed image is segmented, a watershed algorithm can be adopted to segment the processed image, and pixel points in the image are divided into different areas, so that the pixel points in the same area have similar characteristics.
The watershed algorithm is a morphological algorithm, and is used for obtaining gradient values of all pixel points in an image by calculating the gradient of the image, dividing the image according to gradient information, and is often used for identifying and dividing a target object in the image so as to realize automatic division and analysis of the image. The principle is based on gray gradient and region boundary information in the image.
In addition, by using watershed algorithm and morphological processing function, not only the purpose of effectively dividing image can be achieved, but also the phenomenon of over division can be eliminated.
Specifically, when Delaunay triangle segmentation is performed on all the connected domains, the centroids of all the connected domains need to be calculated, so that the center point of each connected domain can be more accurate. The centroid is the center point of the connected domain, and the centroid of the connected domain can be obtained by calculating the coordinate average value of all pixel points in the connected domain.
Delaunay triangulation of all connected domain centroids can make the separation result more reliable. Delaunay triangulation is a triangle-based segmentation method that can connect connected domain centroids to form a Delaunay triangular mesh. This grid may better describe the geometry and structure in the image, making the segmentation result more accurate and reliable.
In this embodiment, the detecting steps of the uniformity detection are as follows:
marking an original image of an image to be detected as an image I, selecting an area with the middle size of (2K+1) as a sub-image sI, and determining the size M of the area occupied by a single optical fiber based on the sub-image sI, wherein M and N are the length and the width of the occupied area respectively, and the value of K is a larger value in M and N;
building a correlation coefficient matrix C from image I and sub-image sI 1 ,C 1 The correlation coefficient matrix C is the same as the I 1 The calculation formula of (2) is as follows:
in C 1 Calculating a maximum value C in a (2K+1) size region by taking (i, j) as a center 2 (i,j),C 2 The calculation formula of (i, j) is as follows:
C 2 (i,j)=max{C 1 (i+k 1 ,j+k 2 )},-K≤k 1 ≤K,-K≤k 2 ≤K;
setting a threshold t c ,t c Removable [0.8,0.99 ]]Values within the range, if C appears at a certain position 2 (i,j)<t c And judging that the uniformity detection does not reach the standard, filling colors in the corresponding positions on the image I to be detected, and generating an image indicating the positions with uneven brightness.
In this embodiment, the detection steps of the yarn breakage rate detection are as follows:
marking an original image of an image to be detected as an image I 1 Reducing the illuminance of the image to be detected to be an image I 2 (e.g., reduced to half of the optimal illumination);
for image I 1 Image I 2 Preprocessing and dividing to determine all connected domains, and marking as { CC } k K=1, 2, …, K, wherein each connected domain represents one fiber of the bundle, the number of connected domains being denoted K;
respectively at image I 1 And image I 2 Calculating each connected domain CC k Is marked asAnd->
Computing image I 1 Average value of brightness values of all connected domainsThe brightness value of the connected domain is the maximum pixel value in the pixels contained in the corresponding connected domain;
determining each connected domain, ifThe corresponding optical fiber of the communicating domain is broken; wherein, alpha is a preset value, and alpha is generally 0.2,0.5]Values within the range;
and calculating the broken wire rate according to the number of the connected domains of the broken wires and the number of all the connected domains, filling colors into the connected domains of the broken wires, and generating an image indicating the broken wire position.
Specifically, the luminance value of the connected domain is the maximum pixel value among the pixels included in the corresponding connected domain.
Specifically, for image I 1 Image I 2 The steps of preprocessing and segmentation are consistent with the steps of preprocessing and segmentation of the image, and the smoothing process can adopt Gaussian smoothing or average smoothing, wherein the inverse color process is to change the pixel value in the image into the maximum value minus the current pixel value, and redundant description is omitted.
As an embodiment, as shown in fig. 4, the criterion of the end face of the optical fiber bundle at the optimal position is that the focusing degree of the end face of the optical fiber bundle is maximum, and the focusing degree of the optimal position can be defined as the average gradient, the sum gradient, the variance and the standard deviation of the image.
Specifically, the adjusting the end face of the optical fiber bundle to an optimal position relative to the focusing lens includes the following steps:
presetting a series of positions comprising an initial position and a next preset position for the end face of the optical fiber bundle;
the method comprises the steps that the end face of an optical fiber bundle enters an initial position of a series of positions, the focusing degree of light rays of a light source at the initial position passing through a lens group is calculated based on an acquired initial image, and the focusing degree is defined as one or more of gradient mean value, gradient sum, variance and standard deviation of the image;
the end face of the optical fiber bundle enters a next preset position along the initial position, and the focusing degree of light source rays passing through the lens group at the next preset position is calculated based on the collected initial image;
if the focusing degree is reduced relative to the last preset position, the end face of the optical fiber bundle is moved to the last preset position;
otherwise, the end face of the optical fiber bundle is moved to the next preset position.
As an embodiment, as shown in fig. 5, the optical fiber bundle has the maximum brightness as the judgment standard under the optimal light brightness, and the optimal light brightness can be defined as the gradient mean, gradient sum, variance and standard deviation of the image.
The adjusting of the optimal brightness of the light source light rays comprises the following steps:
presetting a series of illuminations comprising initial illuminance and next preset illuminance for the light source light, wherein the brightness defines one or more of the sum of pixel values of all pixel positions, the average value of pixel values of all pixel positions, the sum of pixel values of part of pixel positions and the average value of pixel values of part of pixel positions in the image;
the light source light brightness is adjusted to be the initial illuminance of the series illuminance, and the actual brightness of the initial illuminance light source light imaging is calculated based on the collected initial image;
the light source light brightness is adjusted to the next preset illuminance from the initial illuminance, and the actual brightness of the light source light imaging of the next preset illuminance is calculated based on the collected initial image;
if the actual brightness is increased relative to the previous preset illuminance, the light brightness of the light source is adjusted to the next preset illuminance;
otherwise, the light brightness of the light source is adjusted to be the last preset illuminance.
By selecting the optimal brightness of the light source light and the optimal position of the end face of the optical fiber bundle relative to the lens group, the optical fiber bundle can adapt to optical fiber bundles with different lengths and different transmittances, and the application range is wider.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and "coupled" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The invention also relates to a computer readable storage medium, which stores a fiber bundle end face detection execution program for executing each step in the using process of the fiber bundle end face detection device and fiber bundle end face detection result information.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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 (10)
1. The optical fiber bundle end face detection device is characterized by comprising an illumination light source, an optical fiber bundle clamp, a focusing lens, an image acquisition unit and a processing unit; the illumination light source, the optical fiber bundle clamp and the image acquisition unit are in control connection with the processing unit.
2. The fiber optic bundle end face detector according to claim 1, further comprising a stepper device coupled to the fiber optic bundle clamp for driving the fiber optic bundle clamp to an optimal position relative to the focusing lens.
3. The fiber optic bundle end face detection device according to claim 1, further comprising an illumination source controller in control connection with the illumination source, the illumination source controller for controlling the illumination source to an optimal light brightness.
4. A method for using an optical fiber bundle end face detection device is characterized in that,
clamping the optical fiber bundle on an optical fiber bundle clamp, and turning on an illumination light source;
the image acquisition unit acquires a preliminary image of the end face of the optical fiber bundle after passing through the aggregation lens;
adjusting the end face of the optical fiber bundle to an optimal position relative to the focusing lens, adjusting the light source to optimal brightness, and collecting an image at the moment by an image collecting unit to serve as an image to be detected;
and the processing unit performs flaw detection on the image to be detected and generates detection result information of the end face of the optical fiber bundle.
5. The method according to claim 4, wherein the processing unit performs one or more of cleanliness detection, uniformity detection and breakage rate detection on the image to be detected.
6. The method of claim 5, wherein the step of detecting the cleanliness is as follows:
preprocessing an image to be detected to obtain a processed image;
dividing the processed image, determining all connected domains and performing Delaunay triangulation;
calculating the side length of each of all Delaunay triangles, and fitting the side lengths according to Gaussian distribution to obtain u and sigma;
the gaussian distribution formula is:
if the edge length is larger than u+3σ, judging that the cleanliness detection does not reach the standard, filling color into Delaunay triangle containing the edge, and generating an image indicating the flaw position.
7. The method of claim 5, wherein the step of detecting the uniformity is as follows:
marking an original image of an image to be detected as an image I, selecting an area with the middle size of (2K+1) as a sub-image sI, and determining the size M of the area occupied by a single optical fiber based on the sub-image sI, wherein M and N are the length and the width of the occupied area respectively, and the value of K is a larger value in M and N;
building a correlation coefficient matrix C from image I and image sI 1 ,C 1 The correlation coefficient matrix C is the same as the I 1 The calculation formula of (2) is as follows:
in C 1 Calculating a maximum value C in a (2K+1) size region by taking (i, j) as a center 2 (i,j),C 2 The calculation formula of (i, j) is as follows:
C 2 (i,j)=max{C 1 (i+k 1 ,j+k 2 )},-K≤k 1 ≤K,-K≤k 2 ≤K;
setting a threshold t c If C appears at a certain position 2 (i,j)<t c And judging that the uniformity detection does not reach the standard, filling colors in the corresponding positions on the image I, and generating an image indicating the positions with uneven brightness.
8. The method of claim 5, wherein the step of detecting the breakage rate comprises:
marking an original image of an image to be detected as an image I 1 Reducing the illuminance of the image to be detected to be an image I 2 ;
For image I 1 Image I 2 Preprocessing and dividing to determine all connected domains, and marking as { CC } k K=1, 2, …, K, wherein each connected domain represents a fiber bundleThe number of the connected domains is recorded as K;
respectively at image I 1 And image I 2 Calculating each connected domain CC k Is marked asAnd->
Computing image I 1 Average value of brightness values of all connected domains
Determining each connected domain, ifThe corresponding optical fiber of the communicating domain is broken; wherein alpha is a preset value;
and calculating the broken wire rate according to the number of the connected domains of the broken wires and the number of all the connected domains, filling colors into the connected domains of the broken wires, and generating an image indicating the broken wire position.
9. A method of using a fiber-optic bundle end-face detector according to claim 4, wherein adjusting the fiber-optic bundle end-face to an optimal position relative to the focusing lens comprises the steps of:
presetting a series of positions comprising an initial position and a next preset position for the end face of the optical fiber bundle;
the method comprises the steps that the end face of an optical fiber bundle enters an initial position of a series of positions, the focusing degree of light rays of a light source at the initial position passing through a lens group is calculated based on an acquired initial image, and the focusing degree is defined as one or more of gradient mean value, gradient sum, variance and standard deviation of the image;
the end face of the optical fiber bundle enters a next preset position along the initial position, and the focusing degree of light source rays passing through the lens group at the next preset position is calculated based on the collected initial image;
if the focusing degree is reduced relative to the last preset position, the end face of the optical fiber bundle is moved to the last preset position;
otherwise, the end face of the optical fiber bundle is moved to the next preset position.
10. A method of using a fiber optic bundle end face detector according to claim 4, wherein the adjusting the optimal brightness of the light from the light source comprises the steps of:
presetting a series of illuminations comprising initial illuminance and next preset illuminance for the light source light, wherein the brightness defines one or more of the sum of pixel values of all pixel positions, the average value of pixel values of all pixel positions, the sum of pixel values of part of pixel positions and the average value of pixel values of part of pixel positions in the image;
the light source light brightness is adjusted to be the initial illuminance of the series illuminance, and the actual brightness of the initial illuminance light source light imaging is calculated based on the collected initial image;
the light source light brightness is adjusted to the next preset illuminance from the initial illuminance, and the actual brightness of the light source light imaging of the next preset illuminance is calculated based on the collected initial image;
if the actual brightness is increased relative to the previous preset illuminance, the light brightness of the light source is adjusted to the next preset illuminance;
otherwise, the light brightness of the light source is adjusted to be the last preset illuminance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311794491.7A CN117825381A (en) | 2023-12-25 | 2023-12-25 | Optical fiber bundle end face detection device and use method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311794491.7A CN117825381A (en) | 2023-12-25 | 2023-12-25 | Optical fiber bundle end face detection device and use method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117825381A true CN117825381A (en) | 2024-04-05 |
Family
ID=90522239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311794491.7A Pending CN117825381A (en) | 2023-12-25 | 2023-12-25 | Optical fiber bundle end face detection device and use method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117825381A (en) |
-
2023
- 2023-12-25 CN CN202311794491.7A patent/CN117825381A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105067639B (en) | The eyeglass defect automatic detection device and method of a kind of Grating Modulation | |
CN1234030C (en) | Fusion splicing device and fusion splicing method | |
CN103558229B (en) | A kind of MURA vision automatic testing method of TFT-LCD processing procedure and device | |
CN109612689B (en) | Optical fiber end face detection method and system | |
CN105021628A (en) | Detection method for surface defects of optical fiber image inverter | |
CN115100200B (en) | Optical fiber defect detection method and system based on optical means | |
CN111062961A (en) | Contact lens edge defect detection method based on deep learning | |
CN104777172A (en) | Quick and intelligent defective optical lens detection device and method | |
CN105891228A (en) | Optical fiber appearance defect detecting and outer diameter measuring device based on machine vision | |
CN116128881B (en) | Lens detection system and method for defect product synchronous marking | |
CN108844494A (en) | Method based on optical means detection glasses curvature of curved surface parameter | |
CN113705298A (en) | Image acquisition method and device, computer equipment and storage medium | |
CN107784673B (en) | Optical fiber image processing method based on non-uniformity correction | |
CN117825381A (en) | Optical fiber bundle end face detection device and use method | |
CN103424808B (en) | Optical fiber propelling control method of optical fiber fusion splicer and optical fiber fusion splicer | |
CN105676356B (en) | A kind of localization method of fibre core and the fibre core of fused fiber splice align calibration method | |
CN106370673A (en) | Automatic lens flaw detection method | |
CN111812775A (en) | Special optical fiber parameter detection fusion splicing device and method | |
CN107091729A (en) | A kind of focal length of lens method of testing without mechanical movement | |
CN113066063B (en) | Optical fiber to-be-aligned end image processing method and optical fiber self-adaptive alignment method | |
CN110823920A (en) | Device, system and method for collecting surface defects of inner hole side wall | |
CN117808755A (en) | Optical fiber bundle end face detection method and computer readable storage medium | |
JP4785041B2 (en) | Method for measuring the outer diameter of the linear object to be measured | |
CN114967093A (en) | Automatic focusing method and system based on microscopic hyperspectral imaging platform | |
CN110672303B (en) | Optical fiber end face geometric parameter measuring device and method based on annular LED illumination |
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 |