Methods, systems, equipment, and media for identifying gap anomalies in pipeline wiring devices
By combining the instantaneous velocity of the optical fiber pipeline and the laser light transmission characteristics with image visual data for dual cross-verification, the problem of poor identification of abnormal spiral gaps in optical fiber pipelines has been solved, achieving efficient and accurate automated detection that is suitable for large-scale industrial production.
Patent Information
- Application Number
- CN202611217049.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2046-08-12
AI Technical Summary
Existing technologies have poor identification effects on the spiral gap anomaly of optical fiber pipelines, low anomaly detection efficiency, and high labor intensity for personnel, making them difficult to adapt to the needs of large-scale industrial production.
By acquiring the instantaneous velocity of the fiber optic cable and the light intensity signal of the through-beam laser, combined with an anti-bending interference algorithm, the true outer diameter of the fiber optic cable is accurately measured. The width of the helical gap is measured in real time using the laser's light transmission characteristics, and double cross-verification is performed using image visual data to achieve automated identification of the helical gap.
It significantly improves detection accuracy and real-time performance, reduces manpower input and false alarm rate, and meets the needs of large-scale industrial production for high-speed continuous fiber optic cable laying.
Smart Images

Figure CN122708671B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated inspection technology for optical fiber pipelines, and in particular to a method, system, equipment, and medium for identifying gap anomalies in pipeline threading devices. Background Technology
[0002] Current technologies for identifying and detecting gap anomalies in fiber optic cable threading devices largely rely on manual visual inspection and adjustment of excessively large helical gaps in the fiber optic cable. The shortcomings of these existing technologies are: It relies heavily on the experience of operators and is prone to missed detection under continuous high-speed pipeline transportation conditions. This results in poor identification of abnormalities in the spiral gap of the fiber optic pipeline, low anomaly detection efficiency, and high labor intensity for personnel, making it difficult to adapt to the needs of large-scale industrial production. Summary of the Invention
[0003] This invention provides a method, system, device, and medium for identifying gap anomalies in pipeline threading devices, in order to solve the problems of poor identification effect, low anomaly detection efficiency, and high labor intensity of personnel in the prior art, which makes it difficult to adapt to the needs of large-scale industrial production.
[0004] In a first aspect, the present invention provides a method for identifying gap anomalies in a pipeline threading device, the method comprising: Step 100: Obtain the instantaneous velocity of the target optical fiber pipeline and the light intensity signal of the receiving end of the through-beam laser within a preset time window; the target optical fiber pipeline is provided with a spiral outer tube. Step 200: Determine the sampling duration of the laser blocking period based on the light intensity signal; determine the diameter of the target optical fiber pipeline based on the sampling duration and the instantaneous velocity; Step 300: Based on the light intensity signal, determine the light transmission duration of the high-level light transmission signal segment of the light intensity signal; based on the light transmission duration and the instantaneous velocity, determine the width of the spiral gap to be identified in the spiral outer tube. Step 400: Based on the diameter and the preset redundant width, obtain the gap anomaly determination threshold; based on the width of the helical gap to be identified and the gap anomaly determination threshold, perform the first determination on the helical gap to be identified, and obtain the preliminary identification result of the abnormal gap of the helical gap to be identified. Step 500: When the preliminary identification result is a suspected abnormal gap, determine the center position coordinates of the suspected abnormal gap based on the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap; determine the image of the suspected abnormal gap based on the center position coordinates. Step 600: Based on the image of the suspected abnormal gap, determine the effective gap width of the suspected abnormal gap; based on the effective gap width and the gap abnormality determination threshold, perform a second determination on the spiral gap to be identified, and obtain the final identification result of the abnormal gap of the spiral gap to be identified.
[0005] Secondly, the present invention provides a gap anomaly identification system for a pipeline threading device. The system includes a pipeline threading machine, a controller, a traction motor, and a high-speed industrial camera and a through-beam laser mounted on the pipeline threading machine. The controller is communicatively connected to the high-speed industrial camera, the through-beam laser, and the traction motor. The pipeline threading machine is used to thread a spiral outer tube onto a target optical fiber pipeline. The traction motor drives the target optical fiber pipeline to move axially, and a matching encoder collects and feeds back the data in real time. The instantaneous velocity of the target fiber optic cable is transmitted to the controller; the high-speed industrial camera receives the center position coordinate command of the suspected abnormal gap issued by the controller, acquires images of the suspected abnormal gap and the surface of the tube within a preset length range before and after it, and feeds them back to the controller; the through-beam laser emits and receives the detection laser beam, transmitting the light intensity signal from the receiving end to the controller in real time; the controller acquires the instantaneous velocity of the target fiber optic cable and the light intensity signal from the receiving end of the through-beam laser within a preset time window, wherein a spiral outer tube passes through the target fiber optic cable; based on the light intensity signal, the sampling period for the laser blocking time is determined. Duration; Based on the sampling duration and the instantaneous velocity, determine the diameter of the target optical fiber tube; Based on the light intensity signal, determine the transmission duration of the high-level transmission signal segment of the light intensity signal; Based on the transmission duration and the instantaneous velocity, determine the width of the spiral gap to be identified in the spiral outer tube; Based on the diameter and the preset redundancy width, obtain the gap anomaly judgment threshold; Based on the width of the spiral gap to be identified and the gap anomaly judgment threshold, perform the first judgment on the spiral gap to be identified to obtain the preliminary identification result of the abnormal gap of the spiral gap to be identified; When the preliminary identification... When the result indicates a suspected abnormal gap, the center coordinates of the suspected abnormal gap are determined based on the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap. An image of the suspected abnormal gap is then determined based on the center coordinates. The effective gap width of the suspected abnormal gap is determined based on the image. Finally, the spiral gap to be identified is re-evaluated based on the effective gap width and the gap abnormality determination threshold, resulting in the final identification result of the abnormal gap.
[0006] Thirdly, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the gap anomaly identification method for the conduit threading device as described in the first aspect.
[0007] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the gap anomaly identification method for a conduit threading device as described in the first aspect.
[0008] The aforementioned gap anomaly identification method, system, equipment, and medium for pipeline threading devices utilize the instantaneous velocity of the target optical fiber pipeline acquired by the traction motor and the light intensity signal at the receiving end of the through-beam laser. Combined with an anti-bending interference algorithm, this method can accurately measure the true outer diameter of the target optical fiber pipeline, effectively avoiding fiber bending and interference from the external environment, significantly improving detection accuracy and real-time performance. It leverages the laser's light transmission characteristics to achieve real-time dynamic measurement of the spiral gap width and generates an adaptive dynamic gap anomaly judgment threshold based on the measured true outer diameter. This allows for real-time calculation of the spiral gap width and preliminary judgment of abnormal gaps, achieving uninterrupted, fully automated preliminary screening. While ensuring detection flexibility, it significantly reduces manpower input and false alarm rate. For suspected abnormal gaps identified by the laser initial screening, it automatically calculates the center coordinates of the suspected abnormal gap and triggers image acquisition, achieving precise spatial positioning of the suspected abnormal gap. Based on the image of the suspected abnormal gap, it calculates the effective gap width, completing a second precise verification of the abnormal gap. This achieves dual cross-verification of laser data and visual data, avoiding false detections caused by instantaneous measurement errors, signal noise, and equipment vibration, significantly improving the accuracy of abnormal gap identification. Compared with existing technologies, this invention provides an automated detection scheme that combines online laser preliminary detection with final image visual verification. This scheme balances the accuracy of anomaly identification with detection efficiency while reducing maintenance costs, thus fully meeting the needs of large-scale industrial production for high-speed continuous fiber optic cable installation. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a flowchart of a gap anomaly identification method for a pipeline threading device in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the structure of a computer device provided in Embodiment 9 of this application. Detailed Description of the Embodiments
[0011] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.
[0012] In the first embodiment, as shown in Figure 1 the present embodiment provides a gap abnormality identification method for a pipeline threading device, and the gap abnormality identification method for the pipeline threading device comprises: Step 100: acquiring the instantaneous speed of the target optical fiber pipeline and the light intensity signal at the receiving end of the opposite-emitting laser within a preset time window, wherein a spiral outer sleeve is threaded onto the target optical fiber pipeline; The preset time window refers to a pre-set time period for collecting the instantaneous speed of the target optical fiber pipeline and the light intensity signal at the receiving end of the opposite-emitting laser. The target optical fiber pipeline refers to a cable that is driven by a traction motor to move axially, contains an optical fiber inside, and is being wrapped by a spiral outer sleeve on the outside. The instantaneous speed of the target optical fiber pipeline is the actual axial conveying speed of the target optical fiber pipeline at a certain sampling moment collected by an encoder matched with the traction motor. The opposite-emitting laser refers to a laser detection assembly comprising a transmitting end and a receiving end which are arranged in correspondence with each other. The light intensity signal refers to the laser energy received by the receiving end of the opposite-emitting laser after passing through the detection area, and converted into a light intensity electrical signal. The spiral outer sleeve refers to a protective sleeve with a continuous spiral winding structure threaded on the outside of the target optical fiber pipeline.
[0013] In this embodiment, the opposite-emitting laser is a laser detection assembly installed on both sides of the pipeline conveying path of the pipeline threading device, with the transmitting end and the receiving end arranged opposite to each other in a matching manner.
[0014] Step 200: determining the sampling duration of the laser shielding period according to the light intensity signal; determining the diameter of the target optical fiber pipeline according to the sampling duration and the instantaneous speed; The laser shielding period refers to a continuous time period during which the pipe body of the target optical fiber pipeline shields the laser optical path of the opposite-emitting laser, causing the light intensity signal at the receiving end thereof to be continuously lower than a preset light intensity threshold. The sampling duration refers to the duration of effective laser shielding corresponding to a single sampling. The diameter of the target optical fiber pipeline refers to the true outer diameter of the target optical fiber pipeline.
[0015] In this embodiment, when the target optical fiber tube passes through the laser beam detection area, the tube body of the target optical fiber tube blocks the laser light path, and the light intensity at the receiving end of the laser beam is significantly attenuated. When the signal amplitude is lower than the preset light intensity threshold, the time period is determined to be the laser blocking time period, and the corresponding duration is the single sampling blocking duration.
[0016] Because fiber optic cables inevitably undergo bending deformation during transport, the cross-section cut by the laser beam cannot always maintain the maximum diameter of a perfect circle, resulting in random fluctuations and insufficient accuracy in single-sample diameter measurements. Therefore, the specific method for obtaining the diameter of the target fiber optic cable is as follows: Within a preset time window T, sampling is performed based on a preset sampling frequency f (e.g., f = 10kHz, which can be adjusted according to the instantaneous velocity of the target fiber optic cable), accumulating N (N = T × f) sets of effective laser blocking signals. For the i-th set of effective laser blocking signals within the preset time window T, combined with the instantaneous velocity of the target fiber optic cable corresponding to that sampling number, the projection width of the target fiber optic cable on the laser beam normal plane corresponding to that sampling number is obtained. The specific calculation formula is as follows: L i =v i ×Δt i , Where i is the sampling sequence number of the effective laser blocking signal acquired within the preset time window T, and L i v is the projected width (in mm) of the target fiber optic tube corresponding to the i-th sampling on the laser beam normal plane. i Let Δt be the instantaneous velocity (in mm / s) of the target fiber optic cable corresponding to the i-th sampling. i The duration of effective laser blocking corresponding to the i-th sampling (in seconds).
[0017] Because the cross-sectional width measured by laser projection is always greater than or equal to the true outer diameter of the target fiber optic cable when the target fiber optic cable bends, and the greater the degree of bending deformation of the target fiber optic cable, the greater the measurement deviation of the corresponding projection width. Therefore, within a preset time window T, the minimum value of the projection width of the target fiber optic cable body on the laser beam normal plane corresponding to all sampling times is taken as the true outer diameter of the target fiber optic cable.
[0018] To further eliminate abnormal spike interference data caused by external factors such as dust obstruction, equipment mechanical vibration, or voltage fluctuations in the testing environment, and to improve the robustness and stability of the diameter detection results of the target optical fiber pipeline, before extracting the minimum value of the projected width of the target optical fiber pipeline on the laser beam plane corresponding to all sampling times, it is necessary to first calculate the average and standard deviation of all projected width data, and remove outlier abnormal projected width data that are outside the range of the sum of the average value and three times the standard deviation of all projected width data, as well as outlier abnormal projected width data that are outside the range of the difference between the average value and three times the standard deviation of all projected width data; then, extract the minimum value of the projected width from all the projected width data after the above preprocessing, as the final true outer diameter of the target optical fiber pipeline.
[0019] Step 300: Based on the light intensity signal, determine the light transmission duration of the high-level light transmission signal segment of the light intensity signal; based on the light transmission duration and the instantaneous velocity, determine the width of the spiral gap to be identified in the spiral outer tube. The high-level transmission signal segment refers to the continuous time interval corresponding to the continuous signal range where the amplitude of the light intensity signal at the receiving end recovers to a high amplitude or full amplitude when the laser beam is aligned with the gap between adjacent spiral outer tubes and the optical path is unobstructed. The transmission duration refers to the complete duration experienced by a single high-level transmission signal segment from the rising edge (transition from low to high level) to the falling edge (transition from high to low level). The width of the spiral gap to be identified refers to the actual physical size of the gap region formed between adjacent spiral bands of the spiral outer tube.
[0020] In this embodiment, when the laser beam detection area corresponds to the physical position of the spiral band of the spiral outer tube, the laser path of the through-beam laser is blocked, and its receiving end presents a low-level signal; when the laser beam is precisely aligned with the gap between adjacent spiral bands of the spiral outer tube, the laser path of the through-beam laser is unobstructed, and the light intensity at its receiving end recovers to full amplitude or increases significantly, presenting a high-level signal. Therefore, the controller extracts the transmission duration of each high-level transmission signal segment of the light intensity signal, and combines it with the instantaneous velocity of the target fiber optic tube corresponding to each transmission duration to obtain the actual width of the spiral gap to be identified corresponding to each transmission duration. The specific calculation formula is as follows: F j =v j ×Δt gap,j , Where j is the sequence number of each high-level transmitted light signal segment of the light intensity signal, and F j v is the measured dynamic width of the helical gap to be identified, corresponding to the transmission duration of the j-th high-level transmission signal segment. jLet Δt be the instantaneous velocity (in mm / s) of the target optical fiber tube corresponding to the duration of the j-th high-level transmission signal segment. gap,j The duration of light transmission for the j-th high-level light-transmitting signal segment (in seconds).
[0021] Step 400: Based on the diameter and the preset redundant width, obtain the gap anomaly determination threshold; based on the width of the helical gap to be identified and the gap anomaly determination threshold, perform the first determination on the helical gap to be identified, and obtain the preliminary identification result of the abnormal gap of the helical gap to be identified. The preset redundancy width refers to the pre-set allowable gap width increment threshold used to ensure the safety of exposed optical fibers. The gap anomaly judgment threshold is a dynamic adaptive critical threshold used to determine whether the width of the helical gap to be identified is too large. The preliminary identification result indicates that the abnormal gap of the helical gap to be identified is a reasonable gap or a suspected abnormal gap.
[0022] In this embodiment, preferably, the preset redundancy width is in the range of 0-0.5mm, and can be flexibly adjusted according to the material elasticity, deformation and winding process precision of the spiral outer tube.
[0023] The formula for calculating the gap anomaly detection threshold is: F th =D+Δ, Among them, F th Δ is the threshold for gap anomaly detection, D is the diameter of the target fiber optic cable, and Δ is the preset redundancy width.
[0024] When the width of the helical gap to be identified is less than or equal to the gap anomaly judgment threshold, the preliminary identification result of the abnormal gap of the helical gap to be identified is a reasonable gap (the outer helical tube is well covered and no intervention is required); when the width of the helical gap to be identified is greater than the gap anomaly judgment threshold, the preliminary identification result of the abnormal gap of the helical gap to be identified is a suspected abnormal gap (the outer helical tube is poorly covered and the internal optical fiber is exposed, requiring marking and subsequent processing).
[0025] To avoid initial misjudgment of abnormal gaps in the helical gaps to be identified due to random noise in the detection signal or instantaneous speed fluctuations in the target fiber optic pipeline, a gap abnormality alarm signal is only triggered when the width of the helical gap to be identified is greater than 1.05 times the gap abnormality judgment threshold. By filtering boundary interference signals through a small threshold redundancy, the stability and reliability of the detection are greatly improved.
[0026] Step 500: When the preliminary identification result is a suspected abnormal gap, determine the center position coordinates of the suspected abnormal gap based on the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap; determine the image of the suspected abnormal gap based on the center position coordinates. The start and end times of the high-level transmitted light signal segment corresponding to the suspected abnormal gap refer to the rising edge (from low level to high level) and falling edge (from high level to low level) of the high-level transmitted light signal segment corresponding to the suspected abnormal gap. The center position coordinates refer to the spatial position coordinates of the center point of the suspected abnormal gap along the length of the target optical fiber pipeline.
[0027] In this embodiment, the controller sends the center position coordinates of the suspected abnormal gap to the high-speed industrial camera in real time. The high-speed industrial camera can be installed on the pipeline threading machine using an axially movable installation structure or a fixed installation structure, and is equipped with a ring auxiliary light source to ensure imaging clarity under low light and complex conditions.
[0028] The high-speed industrial camera is triggered to capture images synchronously by the center position coordinates. The specific implementation method is as follows: the high-speed industrial camera uses the center position coordinates of the suspected abnormal gap as the target coordinates to complete the position alignment and adaptive focal length adjustment of the suspected abnormal gap. High-definition images are captured on the surface of the tube body within a certain preset length range (preferably, the preset length range is twice the preset pitch of the spiral outer tube) on both sides of the suspected abnormal gap area. This ensures that the image acquisition area includes the suspected abnormal gap area and the complete neighboring normal gap area, thus obtaining the original image of the suspected abnormal gap.
[0029] Step 600: Based on the image of the suspected abnormal gap, determine the effective gap width of the suspected abnormal gap; based on the effective gap width and the gap abnormality determination threshold, perform a second determination on the spiral gap to be identified, and obtain the final identification result of the abnormal gap of the spiral gap to be identified.
[0030] The effective gap width refers to the gap size that reflects the remaining permanent defect size after the material stress is completely released and the temporary deformation has receded. The final identification result indicates whether the abnormal gap of the helical gap to be identified is a reasonable gap or an abnormal gap.
[0031] The gap anomaly identification method of the pipeline threading device in this embodiment uses the instantaneous velocity of the target optical fiber pipeline collected by the traction motor and the light intensity signal of the receiving end of the through-beam laser, combined with an anti-bending interference algorithm, to accurately measure the true outer diameter of the target optical fiber pipeline. This effectively avoids interference from fiber bending and the external environment, significantly improving detection accuracy and real-time performance. It utilizes the laser's light transmission characteristics to achieve real-time dynamic measurement of the width of the helical gap, and generates an adaptive dynamic gap anomaly judgment threshold based on the measured true outer diameter. This allows for real-time calculation of the helical gap width and preliminary judgment of abnormal gaps, achieving uninterrupted, fully automatic preliminary screening. While ensuring detection flexibility, it significantly reduces manpower and false alarm rates. For suspected abnormal gaps identified by the laser initial screening, it automatically calculates the center coordinates of the suspected abnormal gap and triggers image acquisition, achieving precise spatial positioning of the suspected abnormal gap. Based on the image of the suspected abnormal gap, it calculates the effective gap width, completing a second precise verification of the abnormal gap. This achieves dual cross-verification of laser data and visual data, avoiding false detections caused by instantaneous measurement errors, signal noise, and equipment vibration, significantly improving the accuracy of abnormal gap identification. An automated inspection solution that combines online laser preliminary inspection with final inspection via image visual verification balances anomaly identification accuracy and inspection efficiency while reducing maintenance costs, fully meeting the needs of large-scale industrial production for high-speed continuous fiber optic cable installation.
[0032] In Embodiment 2, step 600 includes: Step 601: Based on the image of the suspected abnormal gap, determine the visually measured width of the suspected abnormal gap and the visually measured width of the neighboring normal gap of the suspected abnormal gap. The visually measured width of the suspected abnormal gap refers to the physical geometric width value of the suspected abnormal gap, which is directly measured from the image of the suspected abnormal gap using image processing and visual measurement technology. The visually measured width of the neighboring normal gap refers to the physical geometric width value of multiple adjacent normal helical gaps selected within a certain preset length range (preferably, the preset length range is twice the preset pitch of the helical outer tube) on both sides of the suspected abnormal gap, which is directly measured from the image of the suspected abnormal gap using image processing and visual measurement technology.
[0033] Step 602: Determine the effective gap width of the suspected abnormal gap based on the average of the visually measured width of the suspected abnormal gap, the visually measured width of the neighboring normal gap, and a preset plastic relaxation factor. Among them, the preset plastic relaxation factor refers to the adjustment coefficient (with a value range of 0 to 1) that is pre-calibrated based on the material mechanical properties of the spiral outer tube and is used to quantify the proportion of deformation that can be self-recovered through material stress relaxation and subsequent extrusion in the excess deformation of abnormal gaps that exceed the normal gaps in the neighborhood.
[0034] In this embodiment, when the spiral outer tube is a flexible tube or a highly ductile tube, the preset plastic relaxation factor ranges from 0.7 to 0.9; when the spiral outer tube is a rigid tube or a low-ductile tube, the preset plastic relaxation factor ranges from 0.2 to 0.4.
[0035] Step 603: Based on the effective gap width and the gap anomaly determination threshold, perform a second determination on the spiral gap to be identified to determine whether the suspected abnormal gap is a permanent defect abnormal gap; In this embodiment, when the effective gap width is less than or equal to the gap anomaly determination threshold, the suspected abnormal gap is a self-recoverable normal gap; when the effective gap width is greater than the gap anomaly determination threshold, the suspected abnormal gap is a permanent defect abnormal gap.
[0036] The controller stores the start and end coordinates of abnormal gaps identified as permanent defects, the visually measured width, the visually measured width of neighboring normal gaps, and the effective gap width in the abnormal gap database in its internal memory. This provides data support for subsequent process optimization, equipment parameter tuning, and anomaly tracing. For normal gaps that are determined to be self-recoverable, the abnormal marker will be automatically cleared to avoid invalid re-inspection and incorrect process adjustments.
[0037] Step 604: When the suspected abnormal gap is a permanent defect abnormal gap, the final identification result of the abnormal gap of the spiral gap to be identified is an abnormal gap.
[0038] In this embodiment, when the suspected abnormal gap is a permanent defect abnormal gap, the final identification result of the abnormal gap of the spiral gap to be identified is an abnormal gap; when the suspected abnormal gap is a self-recoverable normal gap, the final identification result of the abnormal gap of the spiral gap to be identified is a reasonable gap.
[0039] The gap anomaly identification method for the pipeline threading device in this embodiment first extracts the visually measured width of suspected abnormal gaps and their surrounding normal gaps from high-definition images. Combined with a plastic relaxation factor, this yields an effective gap width that reflects the true permanent deformation state of the pipe, eliminating temporary deformation interference caused by the instantaneous stretching of the target optical fiber pipeline. Then, the effective gap width is compared with a gap anomaly judgment threshold. Based on the comparison result, a secondary verification judgment of the abnormal gaps in the spiral gaps to be identified is completed. Only gaps with permanent defects (irreversible plastic deformation) are marked as abnormal gaps. This layered secondary judgment mechanism effectively distinguishes between temporary elastic expansion gaps caused by production line traction and permanent defect gaps caused by pipe creep and forming defects. It significantly reduces false alarms caused by pipeline speed fluctuations or instantaneous stretching deformation during the initial laser identification stage, improving the accuracy and efficiency of spiral gap identification for optical fiber pipelines, and fully meeting the high reliability requirements of intelligent detection equipment in large-scale industrial production.
[0040] In Embodiment 3, step 601 includes: Step 6011: Perform preprocessing and edge localization processing on the image of the suspected abnormal gap to determine the shortest vertical distance between the feature lines of the spiral bands on both sides of the suspected abnormal gap; and obtain the visually measured width of the suspected abnormal gap based on the shortest vertical distance and a preset pixel calibration coefficient. Among them, the preset pixel calibration coefficient refers to the pre-calibrated proportional conversion coefficient used to convert the image pixel size into the actual physical size.
[0041] In this embodiment, the controller first performs preprocessing on the acquired original image of the suspected abnormal gap, including grayscale conversion, Gaussian filtering for noise reduction, and Canny edge detection, to accurately extract the spiral edge contour of the outer spiral tube and eliminate image noise and light and shadow interference. Then, after sub-pixel level edge positioning processing, the edge contour lines of the two spiral bands that constitute the boundary of the suspected abnormal gap are extracted from the image. The shortest spatial distance between the two edge contour lines perpendicular to the axial direction of the pipeline is calculated as the shortest vertical distance between them. The visually measured width of the suspected abnormal gap is obtained by multiplying the shortest vertical distance between the feature lines of the spiral bands on both sides of the suspected abnormal gap with a preset pixel calibration coefficient.
[0042] Step 6012: Based on the vertical shortest distance between the spiral edge feature lines of the two sides of the m neighboring normal gaps on both sides of the center position coordinates of the suspected abnormal gap and the preset pixel calibration coefficient, the visual measured width of the neighboring normal gap is obtained, where m is a positive integer greater than 1.
[0043] In this embodiment, within a certain preset length range (preferably, the preset length range is twice the preset pitch of the spiral outer tube) on both sides of the suspected abnormal gap, m adjacent normal spiral gaps are selected as neighboring normal gaps (preferably, the value of m ranges from 3 to 5), for a total of 2m groups of neighboring normal gaps. Following the measurement method in step 6011 above, image preprocessing and sub-pixel level edge positioning processing are performed on each group of neighboring normal gaps. The edge feature lines of the spiral bands on both sides are extracted, and the shortest vertical distance between them perpendicular to the pipeline axis is calculated and multiplied by a preset pixel calibration coefficient to obtain the visually measured width of each group of neighboring normal gaps.
[0044] The gap anomaly identification method of the pipeline threading device in this embodiment preprocesses and edge-localizes the image of suspected abnormal gaps sequentially. It accurately extracts the edge feature lines of the spiral bands on both sides of the gap and solves the shortest vertical distance between them. Then, it combines the pixel calibration coefficient to calculate the visually measured width of the physical size. The vertical shortest distance measurement method can avoid the size measurement distortion caused by slight deviation of the target optical fiber pipeline or the deviation of the image shooting angle. Image preprocessing can filter out the interference of dust, reflection and imaging noise in the production site, ensuring the accuracy of edge extraction and allowing the visual width measurement result to truly reflect the actual physical size of the gap. At the same time, using the center position coordinates of the suspected abnormal gap as a reference, it extracts m groups of neighboring normal gaps before and after, and uses the same image processing and pixel conversion to complete the edge distance measurement and size conversion simultaneously to obtain the visually measured width of the neighboring normal gaps. It constructs a dynamic size reference that fits the local forming condition of the current target optical fiber pipeline, which can avoid the reference offset caused by the forming fluctuation of a single normal gap, reduce the gap size measurement error from the bottom measurement stage, and improve the accuracy of abnormal gap identification from the source.
[0045] In Embodiment 4, step 602 includes: Step 6021: Based on the absolute difference between the visually measured width of the suspected abnormal gap and the width of the spiral gap to be identified, the measurement deviation between visual measurement and laser measurement is obtained. In this embodiment, the formula for calculating the measurement deviation is: δ j =|F img,j -F j |, Where j is the sequence number of each high-level transmission signal segment of the light intensity signal, δ j F is the absolute difference between the visually measured width of the suspected abnormal gap corresponding to the light transmission duration of the j-th high-level light transmission signal segment and the width of the spiral gap to be identified. img,j F is the visually measured width of the suspected abnormal gap corresponding to the transmission duration of the j-th high-level transmission signal segment. jThe laser dynamic measured width of the spiral gap to be identified corresponds to the light transmission duration of the j-th high-level light transmission signal segment.
[0046] Step 6022: When the measurement deviation is less than or equal to a preset allowable deviation threshold, determine the final measured width of the suspected abnormal gap. The preset allowable deviation threshold refers to the maximum allowable deviation threshold that is pre-set and used to determine whether the laser measurement data is valid.
[0047] In this embodiment, preferably, the preset allowable deviation threshold is 0.2 mm (which can be finely adjusted according to the detection accuracy requirements). When the measurement deviation is less than or equal to the preset allowable deviation threshold, the laser measurement data is determined to be true and valid, and the instantaneous laser measurement error is controllable. The controller uses high-precision visual measurement data as the standard and adopts the visually measured width of the suspected abnormal gap as the final measured width of the suspected abnormal gap to complete the dynamic calibration and correction of the laser measurement data. When the measurement deviation is greater than the preset allowable deviation threshold, the laser measurement data is determined to be affected by strong external interference, and the laser measurement data is distorted. The corresponding abnormality determination is invalid, and the system automatically discards the suspected abnormal gap, cancels the mark, and records the detection data of the suspected abnormal gap as invalid data to avoid false alarms.
[0048] Step 6023: Based on the average of the final measured width and the visually measured width of the normal gap in the neighborhood, obtain the local distortion rate of the suspected abnormal gap; Among them, the local distortion rate is a quantitative indicator used to characterize the degree of deformation and distortion of suspected abnormal gaps relative to neighboring normal gaps.
[0049] In this embodiment, the formula for calculating the average visually measured width of the normal gap in the neighborhood is as follows: ,
[0050] in, is the average visually measured width of the normal neighboring gaps, m is the number of normal neighboring gaps selected within a certain preset length range on either side of the suspected abnormal gap, 2m is the total number of normal neighboring gaps, k is the sequence number of the normal neighboring gap, and F img,k is the visually measured width of the normal gap in the k-th neighborhood.
[0051] In this embodiment, the formula for calculating the local distortion rate is: , Where j is the sequence number of each high-level transmitted light signal segment of the light intensity signal, ξ j F represents the local distortion rate of the suspected abnormal gap corresponding to the transmission duration of the j-th high-level transmission signal segment.final,j The final measured width of the suspected abnormal gap corresponds to the light transmission duration of the j-th high-level light transmission signal segment. This represents the average visually measured width of the normal gap in the neighborhood.
[0052] Step 6024: When the local distortion rate is greater than 0, the effective gap width of the suspected abnormal gap is obtained based on the final measured width, the average of the visually measured widths of the neighboring normal gaps, and the preset plastic relaxation factor.
[0053] In this embodiment, the formula for calculating the effective gap width is: F eff,j =F final,j -γ×Δ j , Where j is the sequence number of each high-level transmitted light signal segment of the light intensity signal, and F eff,j F represents the effective gap width of the suspected abnormal gap corresponding to the light transmission duration of the j-th high-level light transmission signal segment. final,j γ is the final measured width of the suspected abnormal gap corresponding to the transmission duration of the j-th high-level transmission signal segment, γ is the preset plastic relaxation factor, and Δ j Δ represents the absolute increment of the suspected abnormal gap relative to the neighboring normal gap, corresponding to the transmission duration of the j-th high-level transmission signal segment. j The calculation formula is: , Where j is the sequence number of each high-level transmitted light signal segment of the light intensity signal, and F final,j The final measured width of the suspected abnormal gap corresponds to the light transmission duration of the j-th high-level light transmission signal segment. This represents the average visually measured width of the normal gap in the neighborhood.
[0054] The gap anomaly identification method of the pipeline threading device in this embodiment calculates the absolute difference between the visually measured width of the suspected abnormal gap and the width of the laser-measured spiral gap to obtain the measurement deviation of the two detection methods. The final measured width is only output when the deviation does not exceed the preset allowable deviation threshold, effectively eliminating invalid distortion data caused by laser speed measurement jitter and image imaging distortion, ensuring the reliability of the gap's basic size data. The local distortion rate is calculated based on the average of the final measured width and the visually measured width of the neighboring normal gaps. Only when the local distortion rate is greater than 0 (in the case of outward expansion deformation of the gap) is a plastic relaxation factor introduced for size compensation correction, effectively removing the temporary size increment caused by the instantaneous elastic stretching of the target optical fiber pipeline during the transportation and traction process, and solving for the effective gap width that can reflect the irreversible deformation characteristics of the pipe material. By integrating multi-dimensional data verification and layered deformation correction mechanisms of laser dynamic online measurement and high-definition visual precision measurement, the optimal balance between laser coarse inspection and visual precision inspection is achieved. This not only avoids the inherent measurement errors of single detection methods, but also accurately distinguishes between temporary elastic deformation and permanent plastic distortion. It provides a true and interference-free dimensional basis for the secondary judgment of the helical gap to be identified, significantly reduces the probability of misjudgment and missed judgment of abnormal gaps, and improves the overall stability and detection accuracy of online inspection of fiber optic pipelines.
[0055] In Embodiment 5, step 603, the step of obtaining the gap anomaly determination threshold, includes: Step 631: Based on the preset plasticity safety factor, the diameter is corrected to obtain the corrected diameter; The preset plastic safety factor refers to a safety margin factor that is pre-set to compensate for the small deformation increments caused by creep in the spiral outer tube material during long-term service.
[0056] In this embodiment, the corrected formula for calculating the diameter is: D new =ε×D, Among them, D new The corrected diameter is ε, the preset plastic safety factor (preferably, the value of ε ranges from 0.1 to 0.3), and D is the diameter of the target optical fiber pipeline.
[0057] Step 632: Obtain the average visual measured width of the historical abnormal gap and the average visual measured width of the historical neighboring normal gap; based on the absolute difference between the average visual measured width of the historical abnormal gap and the average visual measured width of the historical neighboring normal gap, obtain the deformation deviation between historical temporary deformation and historical permanent deformation. Among them, the historical abnormal gap refers to the spiral gap that is determined to be an abnormal gap within the historical time window. The historical neighboring normal gap refers to multiple historically adjacent normal spiral gaps selected within the historical time window, on both sides of the historical abnormal gap, within a certain preset length range (preferably, the preset length range is twice the preset pitch of the spiral outer tube).
[0058] Step 633: Based on the preset historical deviation learning rate, the deformation deviation is corrected to obtain the corrected deformation deviation. The preset historical deviation learning rate refers to a pre-set weighting coefficient used to control the impact of historical real anomaly gaps on the update magnitude of the current gap anomaly judgment threshold.
[0059] In this embodiment, the formula for calculating the corrected deformation deviation is: , Where, Δ a,new The corrected deformation deviation is denoted by η, which is the preset historical deviation learning rate (preferably, η ranges from 0.1 to 0.3), e is the sequence number of the deformation deviation, and n is the total number of deformation deviations (preferably, n ranges from 20). Δ a This represents the deformation deviation.
[0060] Step 634: Based on the average visually measured width of the normal gap in the neighborhood, the corrected diameter, and the corrected deformation deviation, the updated gap anomaly determination threshold is obtained.
[0061] In this embodiment, the formula for calculating the gap anomaly determination threshold is: , Among them, F th,new The updated threshold for determining gap anomalies. D is the mean of the visually measured width of the normal gap in the neighborhood. new For the corrected diameter, Δ a,new This is the corrected deformation deviation.
[0062] To reduce the computational burden on the controller and improve its practicality in engineering applications, a lightweight gap anomaly detection threshold update scheme can be adopted. This simplifies the calculation while ensuring accuracy. The specific calculation formula is as follows:
[0063] Among them, F th,new F is the updated threshold for determining gap anomalies. th The threshold for determining gap anomalies. D is the mean of the visually measured width of the normal gap in the neighborhood. new This is the corrected diameter.
[0064] The gap anomaly identification method for the pipeline threading device in this embodiment, based on a plastic safety factor, corrects the original diameter of the target optical fiber pipeline to compensate for diameter deviations caused by long-term creep or forming tolerances, resulting in a corrected diameter that conforms to actual working conditions. It collects visual dimension data of historical abnormal gaps and corresponding neighboring normal gaps, quantifying the deformation deviation between temporary elastic deformation and permanent plastic deformation under historical working conditions through the difference between the two. Then, it uses a historical deviation learning rate to smooth the deformation deviation, filtering out data interference caused by single accidental anomalies or instantaneous equipment jitter, and preserving the long-term stable deformation pattern of the optical fiber pipeline. Finally, it merges neighboring... The average visually measured width of the normal gap, the corrected diameter, and the corrected deformation deviation are adaptively and iteratively updated to update the gap anomaly judgment threshold. This enables the judgment standard to be dynamically adjusted according to the fluctuation of raw materials in the production line, the aging deformation of pipes, and the traction speed of the pipeline. This improves the adaptability of the gap anomaly judgment threshold, reduces the false alarm rate of batch detection, and allows the judgment standard to match the real-time forming state and the long-term historical anomaly distribution. It continuously reduces the judgment deviation caused by temporary tensile deformation, effectively reduces the false judgment and false alarm of the spiral gap detection of optical fiber pipelines, and greatly improves the reliability and adaptability of online detection in long-term continuous industrial mass production detection scenarios.
[0065] In Example 6, step 100, the step of obtaining the length of the preset time window, includes: Step 111: Obtain the instantaneous velocity of the target optical fiber pipeline within the current time window; based on the preset sampling time point within the current time window and the instantaneous velocity of the target optical fiber pipeline within the current time window, obtain the projection width of the optical fiber pipeline on the laser beam normal plane at each sampling time point within the current time window. The preset sampling time points refer to the discrete time points that are pre-set and used to collect data at a preset constant sampling frequency within the current time window.
[0066] In this embodiment, within the current time window, sampling is performed based on a preset sampling frequency f (e.g., f = 10kHz, which can be adjusted according to the instantaneous velocity of the target fiber optic cable), accumulating M groups of effective laser blocking signals. For the d-th group of effective laser blocking signals within the current time window, combined with the instantaneous velocity of the target fiber optic cable corresponding to that sampling number, the projection width of the target fiber optic cable body on the laser beam normal plane corresponding to that sampling number is obtained. The specific calculation formula is as follows: L c =v c ×Δt c , Where c is the sampling sequence number of the effective laser occlusion signal acquired within the current time window, and Lc v is the projected width (in mm) of the target fiber optic tube corresponding to the c-th sampling on the laser beam normal plane. c Let Δt be the instantaneous velocity (in mm / s) of the target fiber optic cable corresponding to the c-th sampling. c The duration of effective laser blocking corresponding to the c-th sampling (in seconds).
[0067] Step 112: Based on the mean of the projection width of the fiber optic tube on the laser beam normal plane at all sampling time points within the current time window, the standard deviation of the projection width, the preset pitch of the spiral outer tube, the instantaneous velocity of the target fiber optic tube within the current time window, and the preset sampling frequency, the length of the preset time window is obtained.
[0068] The preset pitch of the spiral outer tube refers to the standard axial distance between two adjacent spiral strips in the normal winding state of the spiral outer tube. The preset sampling frequency refers to the constant sampling frequency of the light intensity signal at the receiving end of the through-beam laser.
[0069] In this embodiment, the formula for calculating the length of the preset time window is: , Where T is the length of the preset time window, α is the preset bending response coefficient used to adapt to the bending deformation response characteristics of different optical fiber materials (preferably, the value of α ranges from 0.5 to 1.5), P is the preset pitch of the spiral outer tube, v is the instantaneous velocity of the target optical fiber tube within the current time window, and σ L The standard deviation, μ, represents the projected width of the fiber optic tube onto the laser beam normal plane at all sampling time points within the current time window. L β is the average projection width of the fiber optic tube on the laser beam normal plane for all sampling time points within the current time window, β is a preset sampling guarantee coefficient used to ensure the basic number of sampling points and avoid statistical failure caused by insufficient sampling data under high-speed conditions (preferably, the value of β ranges from 30 to 100), and f is a preset sampling frequency.
[0070] The gap anomaly identification method of the pipeline threading device in this embodiment simultaneously collects the instantaneous velocity and laser intensity data of the target optical fiber pipeline within the current time window. Combined with the sampling time, it calculates the projection width of the optical fiber tube on the laser beam normal plane and completes the size conversion with the perpendicular optical path reference plane to eliminate the basic ranging error caused by the tilt of the optical fiber pipeline or the optical path offset. At the same time, based on the mean and standard deviation of all projection widths within the current time window, it quantifies the degree of size fluctuation of the current production line. Combined with the inherent pitch of the spiral outer tube, the real-time velocity of the target optical fiber pipeline, and the sampling frequency, it dynamically and adaptively updates the duration of the acquisition window. When the pipeline forming or traction speed fluctuates drastically, it can automatically lengthen the sampling time window to ensure sufficient sampling samples to smooth random noise. When the pipeline runs smoothly or the conveying speed is fast, it can automatically shorten the sampling time window to reduce the amount of computing power and data storage pressure of the controller. This adaptive adjustment mechanism for the sampling time window ensures measurement accuracy under extreme bending conditions while also taking into account the real-time detection performance under straight conditions. It achieves a dynamic optimal balance between detection accuracy and real-time detection, reducing the probability of false and missed identification of abnormal gaps from the data acquisition source, and is suitable for continuous high-speed industrial online detection scenarios for fiber optic pipelines.
[0071] In Embodiment Seven, step 500, the step of determining the center position coordinates of the suspected abnormal gap, includes: Step 511: When the preliminary identification result is a suspected abnormal gap, determine the cumulative length of the target optical fiber pipeline relative to the preset length origin based on the instantaneous velocity. The preset length origin refers to the absolute starting reference point that is pre-set and used to measure the cumulative length of the target optical fiber pipeline.
[0072] In this embodiment, the initial start-up time of the pipeline threading machine or the preset zero-position mark point of the pipeline threading machine is used as the preset length origin.
[0073] The formula for calculating the cumulative length of the target optical fiber pipeline relative to the preset length origin is: , Where t is the current time, X(t) is the cumulative length of the target optical fiber pipeline relative to the preset length origin at time t, X0 is the coordinate of the preset length origin (X0=0), and v(t) is the instantaneous velocity of the target optical fiber pipeline at time t.
[0074] To adapt to the actual operating scenarios of industrial discrete control systems and improve the computing efficiency of the controller, the calculation formula for the cumulative length has been changed from integration to discrete summation. The specific calculation formula is as follows: X k =X k-1 +v k ×ΔT s, Where k is the current sampling period, X k X is the cumulative length of the target fiber optic cable relative to the preset length origin during the current sampling period. k-1 v is the cumulative length of the target fiber optic cable relative to the preset length origin during the previous sampling period. k Let ΔT be the instantaneous velocity of the target fiber optic cable during the current sampling period. s This represents the duration of the current sampling period.
[0075] Step 512: Determine the starting position coordinates of the suspected abnormal gap based on the cumulative length matching the rising edge time of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap. In this embodiment, the formula for calculating the starting position coordinates of the suspected abnormal gap is: , Where j is the sequence number of each high-level transmission signal segment of the light intensity signal, and X start,j Let be the coordinates of the starting position of the suspected abnormal gap corresponding to the duration of the transmission of the j-th high-level transmission signal segment, and let X() be the formula for calculating the cumulative length of the target optical fiber pipeline relative to the preset length origin. start,j Let X0 be the rising edge time of the start and end times of the j-th high-level transparent signal segment, and let X0 be the coordinates of the preset length origin (X0=0). start,j ) represents the instantaneous velocity of the target fiber optic pipeline at the rising edge.
[0076] Step 513: Determine the ending position coordinates of the suspected abnormal gap based on the starting position coordinates and the width of the spiral gap to be identified; In this embodiment, the formula for calculating the coordinates of the termination position of the suspected abnormal gap is: , Where j is the sequence number of each high-level transmission signal segment of the light intensity signal, and X end,j Let be the coordinates of the termination position of the suspected abnormal gap corresponding to the duration of the transmission of the j-th high-level transmission signal segment, and let X() be the formula for calculating the cumulative length of the target optical fiber pipeline relative to the preset length origin. end,j Let X0 be the falling edge time of the start and end times of the j-th high-level transparent signal segment, and let X0 be the coordinates of the preset length origin (X0=0). end,j X represents the instantaneous velocity of the target fiber optic cable at the falling edge. start,j Let F be the coordinates of the starting position of the suspected abnormal gap corresponding to the duration of light transmission of the j-th high-level light-transmitting signal segment. jThe laser dynamic measured width of the spiral gap to be identified corresponds to the light transmission duration of the j-th high-level light transmission signal segment.
[0077] Step 514: Based on the starting position coordinates and the ending position coordinates, obtain the center position coordinates of the suspected abnormal gap.
[0078] In this embodiment, the arithmetic mean of the starting position coordinates and the ending position coordinates is the center position coordinate of the suspected abnormal gap.
[0079] The gap anomaly identification method of the pipeline threading device in this embodiment, after initially identifying suspected abnormal gaps with laser, continuously integrates the real-time velocity of the target optical fiber pipeline to obtain the axial cumulative length of the pipeline relative to a unified fixed length origin. Using the length origin as a unified spatial measurement reference, length measurement deviations between different batches of optical fiber pipelines and under different operating conditions can be eliminated. The starting and ending coordinates of the suspected abnormal gap are accurately located using the time sequence lengths corresponding to the rising and falling edges of the transmitted light signal of the light intensity signal corresponding to the suspected abnormal gap. The center coordinates of the suspected abnormal gap are then calculated by averaging these two coordinates, thus completing the precise identification of each suspected abnormal gap. Quasi-axial positioning, based on the laser transmission time sequence and the fiber optic pipeline delivery speed, solves the position coordinates of suspected abnormal gaps. It can achieve non-contact real-time positioning of gap points without the need for additional ranging sensors, resulting in lower hardware costs. Relying on the complete start and end position coordinate range of suspected abnormal gaps, it can accurately quantify the axial range of suspected abnormal gaps. This lays the foundation for subsequent positioning based on its center point as a positioning reference for visual imaging and screening of neighboring normal gaps, avoiding image omissions and distortion of reference size selection due to positioning offset. It ensures the accuracy of size measurement and anomaly verification of the spiral gaps to be identified from the positioning stage of suspected abnormal gaps, and is suitable for the positioning requirements of high-speed continuous online detection of fiber optic pipelines.
[0080] In Embodiment 8, a gap anomaly identification system for a pipeline threading device is provided. The system includes a pipeline threading machine, a controller, a traction motor, and a high-speed industrial camera and a through-beam laser mounted on the pipeline threading machine. The controller is communicatively connected to the high-speed industrial camera, the through-beam laser, and the traction motor. The pipeline threading machine is used to thread a spiral outer tube through a target optical fiber pipeline. The traction motor drives the target optical fiber pipeline to move axially, and a matching encoder collects and feeds back the data in real time. The instantaneous velocity of the target fiber optic cable is transmitted to the controller; the high-speed industrial camera receives the center position coordinate command of the suspected abnormal gap issued by the controller, acquires images of the suspected abnormal gap and the surface of the tube within a preset length range before and after it, and feeds them back to the controller; the through-beam laser emits and receives the detection laser beam, transmitting the light intensity signal from the receiving end to the controller in real time; the controller acquires the instantaneous velocity of the target fiber optic cable and the light intensity signal from the receiving end of the through-beam laser within a preset time window, wherein a spiral outer tube passes through the target fiber optic cable; based on the light intensity signal, the sampling period for the laser blocking time is determined. Duration; Based on the sampling duration and the instantaneous velocity, determine the diameter of the target optical fiber tube; Based on the light intensity signal, determine the transmission duration of the high-level transmission signal segment of the light intensity signal; Based on the transmission duration and the instantaneous velocity, determine the width of the spiral gap to be identified in the spiral outer tube; Based on the diameter and the preset redundancy width, obtain the gap anomaly judgment threshold; Based on the width of the spiral gap to be identified and the gap anomaly judgment threshold, perform the first judgment on the spiral gap to be identified to obtain the preliminary identification result of the abnormal gap of the spiral gap to be identified; When the preliminary identification... When the result indicates a suspected abnormal gap, the center coordinates of the suspected abnormal gap are determined based on the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap. An image of the suspected abnormal gap is then determined based on the center coordinates. The effective gap width of the suspected abnormal gap is obtained based on the image. Finally, the spiral gap to be identified is re-evaluated based on the effective gap width and the gap abnormality determination threshold to obtain the final identification result of the abnormal gap.
[0081] Optionally, the controller is further configured to: determine the visually measured width of the suspected abnormal gap and the visually measured width of the neighboring normal gap based on the image of the suspected abnormal gap; determine the effective gap width of the suspected abnormal gap based on the average of the visually measured widths of the suspected abnormal gap and the neighboring normal gaps, and a preset plastic relaxation factor; perform a second determination on the helical gap to be identified based on the effective gap width and the gap anomaly determination threshold to determine whether the suspected abnormal gap is a permanent defect abnormal gap; when the suspected abnormal gap is a permanent defect abnormal gap, the final identification result of the abnormal gap of the helical gap to be identified is an abnormal gap.
[0082] Optionally, the controller is further configured to preprocess and perform edge localization processing on the image of the suspected abnormal gap, determine the shortest vertical distance between the spiral edge feature lines on both sides of the suspected abnormal gap; obtain the visually measured width of the suspected abnormal gap based on the shortest vertical distance and a preset pixel calibration coefficient; and obtain the visually measured width of the neighboring normal gap based on the shortest vertical distance between the spiral edge feature lines on both sides of each of the m neighboring normal gaps on both sides of the center position coordinates of the suspected abnormal gap and the preset pixel calibration coefficient, where m is a positive integer greater than 1.
[0083] Optionally, the controller is further configured to obtain a measurement deviation between visual measurement and laser measurement based on the absolute difference between the visually measured width of the suspected abnormal gap and the width of the helical gap to be identified; when the measurement deviation is less than or equal to a preset allowable deviation threshold, determine the final measured width of the suspected abnormal gap; obtain the local distortion rate of the suspected abnormal gap based on the average of the final measured width and the visually measured width of the neighboring normal gaps; when the local distortion rate is greater than 0, obtain the effective gap width of the suspected abnormal gap based on the final measured width, the average of the visually measured widths of the neighboring normal gaps, and the preset plastic relaxation factor.
[0084] Optionally, the controller is further configured to: correct the diameter according to a preset plastic safety factor to obtain a corrected diameter; obtain the average visual measured width of historical abnormal gaps and the average visual measured width of historical neighboring normal gaps; obtain the deformation deviation between historical temporary deformation and historical permanent deformation based on the difference between the visual measured width of historical abnormal gaps and the average visual measured width of historical neighboring normal gaps; correct the deformation deviation based on a preset historical deviation learning rate to obtain a corrected deformation deviation; and obtain an updated gap anomaly determination threshold based on the average visual measured width of the neighboring normal gaps, the corrected diameter, and the corrected deformation deviation.
[0085] Optionally, the controller is further configured to acquire the instantaneous velocity of the target optical fiber pipeline within the current time window; based on the preset sampling time points within the current time window and the instantaneous velocity of the target optical fiber pipeline within the current time window, obtain the projection width of the optical fiber pipeline on the laser beam normal plane at each of the sampling time points within the current time window; and based on the mean of the projection width of the optical fiber pipeline on the laser beam normal plane at all sampling time points within the current time window, the standard deviation of the projection width, the preset pitch of the spiral outer tube, the instantaneous velocity of the target optical fiber pipeline within the current time window, and the preset sampling frequency, obtain the length of the preset time window.
[0086] Optionally, the controller is further configured to, when the preliminary identification result is a suspected abnormal gap, determine the cumulative length of the target optical fiber relative to a preset length origin based on the instantaneous velocity; determine the starting position coordinates of the suspected abnormal gap based on the cumulative length matching the rising edge time of the start and end times of the high-level transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap; determine the ending position coordinates of the suspected abnormal gap based on the starting position coordinates and the width of the spiral gap to be identified; and obtain the center position coordinates of the suspected abnormal gap based on the starting position coordinates and the ending position coordinates.
[0087] The traction motor is also used to receive speed and tension compensation signals from the controller, and fine-tune its own rotation speed and pipeline conveying tension to optimize the winding density of the subsequent spiral outer tube.
[0088] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0089] In embodiment nine, a computer device is provided, such as Figure 2As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the gap anomaly identification method for the pipeline threading device described in any of the embodiments one to seven above, for example... Figure 1 Steps 100 to 600 shown are not repeated here to avoid repetition.
[0090] In Embodiment 10, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program implements the gap anomaly identification method for pipeline threading devices described in any of Embodiments 1 to 7. For example... Figure 1 Steps 100 to 600 shown are not repeated here to avoid repetition.
[0091] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0092] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0093] While specific embodiments of the invention have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of the invention. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the invention. The scope of this invention is defined by the appended claims.
Claims
1. A method for identifying gap anomalies in a pipeline wiring device, characterized in that, The method for identifying gap anomalies in the pipeline threading device includes: Step 100: Obtain the instantaneous velocity of the target optical fiber pipeline and the light intensity signal of the receiving end of the through-beam laser within a preset time window; the target optical fiber pipeline is provided with a spiral outer tube. Step 200: Determine the sampling duration of the laser blocking period based on the light intensity signal; determine the diameter of the target optical fiber pipeline based on the sampling duration and the instantaneous velocity; Step 300: Based on the light intensity signal, determine the transmission duration of the high-level transmission signal segment of the light intensity signal; based on the transmission duration and the instantaneous speed, determine the width of the spiral gap to be identified in the spiral outer tube; the target optical fiber pipeline refers to a cable that is driven by a traction motor to move axially, contains optical fibers internally, and is being wrapped by the spiral outer tube externally; the through-beam laser is a laser detection component installed on both sides of the pipeline conveying path of the pipeline threading device, with the transmitting end and receiving end facing each other; Step 400: Based on the diameter and the preset redundant width, obtain the gap anomaly determination threshold; based on the width of the helical gap to be identified and the gap anomaly determination threshold, perform the first determination on the helical gap to be identified, and obtain the preliminary identification result of the abnormal gap of the helical gap to be identified. Step 500: When the preliminary identification result is a suspected abnormal gap, determine the center position coordinates of the suspected abnormal gap based on the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap; determine the image of the suspected abnormal gap based on the center position coordinates. Step 600: Based on the image of the suspected abnormal gap, determine the effective gap width of the suspected abnormal gap; based on the effective gap width and the gap abnormality determination threshold, perform a second determination on the spiral gap to be identified, and obtain the final identification result of the abnormal gap of the spiral gap to be identified.
2. The method for identifying gap anomalies in pipeline wiring devices according to claim 1, characterized in that, Step 600 includes: Step 601: Based on the image of the suspected abnormal gap, determine the visually measured width of the suspected abnormal gap and the visually measured width of the neighboring normal gap of the suspected abnormal gap. Step 602: Determine the effective gap width of the suspected abnormal gap based on the average of the visually measured width of the suspected abnormal gap, the visually measured width of the neighboring normal gap, and a preset plastic relaxation factor. Step 603: Based on the effective gap width and the gap anomaly determination threshold, perform a second determination on the spiral gap to be identified to determine whether the suspected abnormal gap is a permanent defect abnormal gap; Step 604: When the suspected abnormal gap is a permanent defect abnormal gap, the final identification result of the abnormal gap of the spiral gap to be identified is an abnormal gap.
3. The method for identifying gap anomalies in pipeline wiring devices according to claim 2, characterized in that, Step 601 includes: Step 6011: Perform preprocessing and edge localization processing on the image of the suspected abnormal gap to determine the shortest vertical distance between the feature lines of the spiral bands on both sides of the suspected abnormal gap; and obtain the visually measured width of the suspected abnormal gap based on the shortest vertical distance and a preset pixel calibration coefficient. Step 6012: Based on the vertical shortest distance between the spiral edge feature lines of the two sides of the m neighboring normal gaps on both sides of the center position coordinates of the suspected abnormal gap and the preset pixel calibration coefficient, the visual measured width of the neighboring normal gap is obtained, where m is a positive integer greater than 1.
4. The method for identifying gap anomalies in pipeline wiring devices according to claim 2, characterized in that, Step 602 includes: Step 6021: Based on the absolute difference between the visually measured width of the suspected abnormal gap and the width of the spiral gap to be identified, the measurement deviation between visual measurement and laser measurement is obtained. Step 6022: When the measurement deviation is less than or equal to a preset allowable deviation threshold, determine the final measured width of the suspected abnormal gap. Step 6023: Based on the average of the final measured width and the visually measured width of the normal gap in the neighborhood, obtain the local distortion rate of the suspected abnormal gap; Step 6024: When the local distortion rate is greater than 0, the effective gap width of the suspected abnormal gap is obtained based on the final measured width, the average of the visually measured widths of the neighboring normal gaps, and the preset plastic relaxation factor.
5. The method for identifying gap anomalies in a pipeline threading device according to claim 2, characterized in that, In step 603, the step of obtaining the gap anomaly determination threshold includes: Step 631: Based on the preset plasticity safety factor, the diameter is corrected to obtain the corrected diameter; Step 632: Obtain the average visual measured width of the historical abnormal gap and the average visual measured width of the historical neighboring normal gap; based on the difference between the average visual measured width of the historical abnormal gap and the average visual measured width of the historical neighboring normal gap, obtain the deformation deviation between historical temporary deformation and historical permanent deformation. Step 633: Based on the preset historical deviation learning rate, the deformation deviation is corrected to obtain the corrected deformation deviation. Step 634: Based on the average visually measured width of the normal gap in the neighborhood, the corrected diameter, and the corrected deformation deviation, the updated gap anomaly determination threshold is obtained.
6. The method for identifying gap anomalies in a pipeline threading device according to claim 1, characterized in that, Step 100, the steps for obtaining the length of the preset time window include: Step 111: Obtain the instantaneous velocity of the target optical fiber pipeline within the current time window; based on the preset sampling time point within the current time window and the instantaneous velocity of the target optical fiber pipeline within the current time window, obtain the projection width of the optical fiber pipeline on the laser beam normal plane at each sampling time point within the current time window. Step 112: Based on the mean of the projection width of the fiber optic tube on the laser beam normal plane at all sampling time points within the current time window, the standard deviation of the projection width, the preset pitch of the spiral outer tube, the instantaneous velocity of the target fiber optic tube within the current time window, and the preset sampling frequency, the length of the preset time window is obtained.
7. The method for identifying gap anomalies in a pipeline threading device according to claim 1, characterized in that, In step 500, the step of determining the center position coordinates of the suspected abnormal gap includes: Step 511: When the preliminary identification result is a suspected abnormal gap, determine the cumulative length of the target optical fiber pipeline relative to the preset length origin based on the instantaneous velocity. Step 512: Determine the starting position coordinates of the suspected abnormal gap based on the cumulative length matching the rising edge time of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap. Step 513: Determine the ending position coordinates of the suspected abnormal gap based on the starting position coordinates and the width of the spiral gap to be identified; Step 514: Based on the starting position coordinates and the ending position coordinates, obtain the center position coordinates of the suspected abnormal gap.
8. A gap anomaly identification system for a pipeline wiring device, characterized in that, The gap anomaly identification system of the pipeline threading device includes a pipeline threading machine, a controller, a traction motor, and a high-speed industrial camera and a through-beam laser mounted on the pipeline threading machine. The controller is communicatively connected to the high-speed industrial camera, the through-beam laser, and the traction motor. The pipeline threading machine is used to thread a spiral outer tube onto the target optical fiber pipeline. The traction motor is used to drive the target optical fiber pipeline to move axially and to collect and feed back the instantaneous speed of the target optical fiber pipeline to the controller in real time through a matching encoder. The high-speed industrial camera is used to receive the center position coordinate command of the suspected abnormal gap issued by the controller, to collect images of the suspected abnormal gap and the surface of the pipe body within a preset length range before and after it at a fixed point, and to feed them back to the controller. The through-beam laser is used to emit and receive detection laser beams, transmitting the light intensity signal from the receiving end to the controller in real time. The controller is used to acquire the instantaneous velocity of the target fiber optic cable and the light intensity signal from the receiving end of the through-beam laser within a preset time window. A spiral outer tube passes through the target fiber optic cable. Based on the light intensity signal, the sampling duration of the laser blocking period is determined. Based on the sampling duration and the instantaneous velocity, the diameter of the target fiber optic cable is determined. Based on the light intensity signal, the transmission duration of the high-level transmission signal segment of the light intensity signal is determined. The width of the helical gap to be identified in the helical outer tube is determined based on the duration of light transmission and the instantaneous velocity. The target optical fiber pipeline refers to a cable that is driven axially by the traction motor, contains optical fibers internally, and is being wrapped by the helical outer tube externally. The through-beam laser is a laser detection component installed on both sides of the pipeline delivery path of the pipeline threading device, with the transmitting and receiving ends facing each other. A gap anomaly judgment threshold is obtained based on the diameter and the preset redundancy width. Based on the width of the helical gap to be identified and the gap anomaly judgment threshold, the helical gap to be identified is judged for the first time to determine the anomaly of the helical gap to be identified. The initial identification result of the gap; when the initial identification result is a suspected abnormal gap, the center position coordinates of the suspected abnormal gap are determined according to the instantaneous velocity, the width of the spiral gap to be identified, and the start and end times of the high-level light transmission signal segment of the light intensity signal corresponding to the suspected abnormal gap; the image of the suspected abnormal gap is determined according to the center position coordinates; the effective gap width of the suspected abnormal gap is determined according to the image of the suspected abnormal gap; the spiral gap to be identified is judged a second time according to the effective gap width and the gap abnormality judgment threshold, and the final identification result of the abnormal gap of the spiral gap to be identified is obtained.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the gap anomaly identification method of the pipeline threading device according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the gap anomaly identification method of the pipeline threading device according to any one of claims 1 to 7.
Citation Information
Patent Citations
Thread detection method based on difference value
CN113701632A
High-speed blade pitch angle measuring system and method
CN122329195A
